Documentation
¶
Overview ¶
Package api is the platform client, generated from the committed OpenAPI spec.
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- func NewAddExecutionPropertyValueRequest(server string, id int64, key string, ...) (*http.Request, error)
- func NewAddExecutionPropertyValueRequestWithBody(server string, id int64, key string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddTeamEnvironmentsRequest(server string, key string, params *AddTeamEnvironmentsParams, ...) (*http.Request, error)
- func NewAddTeamEnvironmentsRequestWithBody(server string, key string, params *AddTeamEnvironmentsParams, ...) (*http.Request, error)
- func NewAddTeamMembersRequest(server string, key string, params *AddTeamMembersParams, ...) (*http.Request, error)
- func NewAddTeamMembersRequestWithBody(server string, key string, params *AddTeamMembersParams, contentType string, ...) (*http.Request, error)
- func NewCancelExperimentExecutionRequest(server string, id int64) (*http.Request, error)
- func NewConnectionCheckRequest(server string, body ConnectionCheckJSONRequestBody) (*http.Request, error)
- func NewConnectionCheckRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateAccessToken1Request(server string, body CreateAccessToken1JSONRequestBody) (*http.Request, error)
- func NewCreateAccessToken1RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateAccessTokenRequest(server string, body CreateAccessTokenJSONRequestBody) (*http.Request, error)
- func NewCreateAccessTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateExperimentByTemplateRequest(server string, id openapi_types.UUID, params *CreateExperimentByTemplateParams, ...) (*http.Request, error)
- func NewCreateExperimentByTemplateRequestWithBody(server string, id openapi_types.UUID, params *CreateExperimentByTemplateParams, ...) (*http.Request, error)
- func NewCreateLandscapeViewRequest(server string, body CreateLandscapeViewJSONRequestBody) (*http.Request, error)
- func NewCreateLandscapeViewRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateOrUpdateExperimentRequest(server string, body CreateOrUpdateExperimentJSONRequestBody) (*http.Request, error)
- func NewCreateOrUpdateExperimentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteAccessToken1Request(server string, id string) (*http.Request, error)
- func NewDeleteAccessTokenRequest(server string, id string) (*http.Request, error)
- func NewDeleteCustomWebhookRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteEnvironmentRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteExperimentRequest(server string, key string) (*http.Request, error)
- func NewDeleteExperimentTemplateRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteHubRequest(server string, id openapi_types.UUID, params *DeleteHubParams) (*http.Request, error)
- func NewDeleteLandscapeViewRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeletePreflightActionIntegrationRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeletePreflightWebhookRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteProfileRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeletePropertyAssociationRequest(server string, id openapi_types.UUID, params *DeletePropertyAssociationParams) (*http.Request, error)
- func NewDeletePropertyDefinitionRequest(server string, key string, params *DeletePropertyDefinitionParams) (*http.Request, error)
- func NewDeleteServiceRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteSlackIntegrationRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteTeamRequest(server string, key string, params *DeleteTeamParams) (*http.Request, error)
- func NewDisengageKillswitchRequest(server string) (*http.Request, error)
- func NewEngageKillswitchRequest(server string) (*http.Request, error)
- func NewExecuteExperimentRequest(server string, key string, params *ExecuteExperimentParams, ...) (*http.Request, error)
- func NewExecuteExperimentRequestWithBody(server string, key string, params *ExecuteExperimentParams, contentType string, ...) (*http.Request, error)
- func NewFindAllActionsRequest(server string, params *FindAllActionsParams) (*http.Request, error)
- func NewFindRequest(server string, params *FindParams) (*http.Request, error)
- func NewForwardToPlatformRequest(server string, params *ForwardToPlatformParams) (*http.Request, error)
- func NewGetAccessTokens1Request(server string, params *GetAccessTokens1Params) (*http.Request, error)
- func NewGetAccessTokensRequest(server string, params *GetAccessTokensParams) (*http.Request, error)
- func NewGetActionRequest(server string, actionId string) (*http.Request, error)
- func NewGetAllSchedulesV2Request(server string, params *GetAllSchedulesV2Params) (*http.Request, error)
- func NewGetArtifactRequest(server string, id int64, targetExecutionId string, artifactId string) (*http.Request, error)
- func NewGetAssociationsRequest(server string, params *GetAssociationsParams) (*http.Request, error)
- func NewGetAverageRiskRequest(server string, body GetAverageRiskJSONRequestBody) (*http.Request, error)
- func NewGetAverageRiskRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetCustomWebhookRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetCustomWebhooksRequest(server string) (*http.Request, error)
- func NewGetEnvironmentCountsRequest(server string, body GetEnvironmentCountsJSONRequestBody) (*http.Request, error)
- func NewGetEnvironmentCountsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetEnvironmentRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetEnvironmentVariablesRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetEnvironmentsRequest(server string, params *GetEnvironmentsParams) (*http.Request, error)
- func NewGetExperimentBadgeRequest(server string, key string, params *GetExperimentBadgeParams) (*http.Request, error)
- func NewGetExperimentCreationsRequest(server string, params *GetExperimentCreationsParams, ...) (*http.Request, error)
- func NewGetExperimentCreationsRequestWithBody(server string, params *GetExperimentCreationsParams, contentType string, ...) (*http.Request, error)
- func NewGetExperimentExecutionRequest(server string, id int64, params *GetExperimentExecutionParams) (*http.Request, error)
- func NewGetExperimentExecutions1Request(server string, params *GetExperimentExecutions1Params) (*http.Request, error)
- func NewGetExperimentExecutions2Request(server string, body GetExperimentExecutions2JSONRequestBody) (*http.Request, error)
- func NewGetExperimentExecutions2RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetExperimentExecutions3Request(server string, key string, params *GetExperimentExecutions3Params) (*http.Request, error)
- func NewGetExperimentExecutionsRequest(server string, params *GetExperimentExecutionsParams, ...) (*http.Request, error)
- func NewGetExperimentExecutionsRequestWithBody(server string, params *GetExperimentExecutionsParams, contentType string, ...) (*http.Request, error)
- func NewGetExperimentRequest(server string, key string) (*http.Request, error)
- func NewGetExperimentTemplateRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetExperimentTemplatesRequest(server string, params *GetExperimentTemplatesParams) (*http.Request, error)
- func NewGetExperimentsRequest(server string, params *GetExperimentsParams) (*http.Request, error)
- func NewGetHubByIdRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetHubsRequest(server string) (*http.Request, error)
- func NewGetKillswitchRequest(server string) (*http.Request, error)
- func NewGetLandscapeViewRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetLandscapeViewsRequest(server string, params *GetLandscapeViewsParams) (*http.Request, error)
- func NewGetLicenseSummaryRequest(server string) (*http.Request, error)
- func NewGetLinkedBadgeRequest(server string, params *GetLinkedBadgeParams) (*http.Request, error)
- func NewGetPreflightActionIntegrationRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetPreflightActionIntegrationsRequest(server string) (*http.Request, error)
- func NewGetPreflightActionSummaryRequest(server string, params *GetPreflightActionSummaryParams) (*http.Request, error)
- func NewGetPreflightWebhookRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetPreflightWebhooksRequest(server string) (*http.Request, error)
- func NewGetProfileRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetProfilesRequest(server string, params *GetProfilesParams) (*http.Request, error)
- func NewGetPropertyDefinition1Request(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetPropertyDefinitionRequest(server string, key string) (*http.Request, error)
- func NewGetPropertyDefinitionsRequest(server string, params *GetPropertyDefinitionsParams) (*http.Request, error)
- func NewGetReportRequest(server string) (*http.Request, error)
- func NewGetRiskByCategoryRequest(server string, body GetRiskByCategoryJSONRequestBody) (*http.Request, error)
- func NewGetRiskByCategoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetRiskDistributionRequest(server string, body GetRiskDistributionJSONRequestBody) (*http.Request, error)
- func NewGetRiskDistributionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetRiskRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetSchedulesRequest(server string, id string) (*http.Request, error)
- func NewGetServiceExperimentsRequest(server string, id openapi_types.UUID, params *GetServiceExperimentsParams) (*http.Request, error)
- func NewGetServiceListRequest(server string, params *GetServiceListParams) (*http.Request, error)
- func NewGetServiceRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetServiceVariablesRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetSlackIntegrationRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetSlackIntegrationsRequest(server string) (*http.Request, error)
- func NewGetTargetAdviceSummaryRequest(server string, body GetTargetAdviceSummaryJSONRequestBody) (*http.Request, error)
- func NewGetTargetAdviceSummaryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetTargetAttributeKeysRequest(server string, params *GetTargetAttributeKeysParams) (*http.Request, error)
- func NewGetTargetAttributeValuesRequest(server string, params *GetTargetAttributeValuesParams) (*http.Request, error)
- func NewGetTargetsRequest(server string, params *GetTargetsParams) (*http.Request, error)
- func NewGetTargetsStats1Request(server string, body GetTargetsStats1JSONRequestBody) (*http.Request, error)
- func NewGetTargetsStats1RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetTargetsStatsRequest(server string) (*http.Request, error)
- func NewGetTeamCountsRequest(server string, body GetTeamCountsJSONRequestBody) (*http.Request, error)
- func NewGetTeamCountsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetTeamEnvironmentsRequest(server string, key string) (*http.Request, error)
- func NewGetTeamMembersRequest(server string, key string) (*http.Request, error)
- func NewGetTeamRequest(server string, key string) (*http.Request, error)
- func NewGetTeamsRequest(server string, params *GetTeamsParams) (*http.Request, error)
- func NewGetUserCountsRequest(server string, body GetUserCountsJSONRequestBody) (*http.Request, error)
- func NewGetUserCountsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewHealthRequest(server string) (*http.Request, error)
- func NewImportFromHubRequest(server string, params *ImportFromHubParams, body ImportFromHubJSONRequestBody) (*http.Request, error)
- func NewImportFromHubRequestWithBody(server string, params *ImportFromHubParams, contentType string, body io.Reader) (*http.Request, error)
- func NewInviteUserRequest(server string, body InviteUserJSONRequestBody) (*http.Request, error)
- func NewInviteUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewLinkCustomExperimentRequest(server string, id openapi_types.UUID, body LinkCustomExperimentJSONRequestBody) (*http.Request, error)
- func NewLinkCustomExperimentRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewLivenessRequest(server string) (*http.Request, error)
- func NewMergeServiceVariablesRequest(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewMergeServiceVariablesRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchScheduleRequest(server string, id string, body PatchScheduleJSONRequestBody) (*http.Request, error)
- func NewPatchScheduleRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewReadinessRequest(server string) (*http.Request, error)
- func NewRecreateAccessTokenRequest(server string, id string, body RecreateAccessTokenJSONRequestBody) (*http.Request, error)
- func NewRecreateAccessTokenRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewRemoveExperimentScheduleByIdRequest(server string, id string) (*http.Request, error)
- func NewRemoveTeamEnvironmentsRequest(server string, key string, body RemoveTeamEnvironmentsJSONRequestBody) (*http.Request, error)
- func NewRemoveTeamEnvironmentsRequestWithBody(server string, key string, contentType string, body io.Reader) (*http.Request, error)
- func NewRemoveTeamMembersRequest(server string, key string, body RemoveTeamMembersJSONRequestBody) (*http.Request, error)
- func NewRemoveTeamMembersRequestWithBody(server string, key string, contentType string, body io.Reader) (*http.Request, error)
- func NewResyncHubRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewSaveAndRunFromTemplateRequest(server string, id openapi_types.UUID, params *SaveAndRunFromTemplateParams, ...) (*http.Request, error)
- func NewSaveAndRunFromTemplateRequestWithBody(server string, id openapi_types.UUID, params *SaveAndRunFromTemplateParams, ...) (*http.Request, error)
- func NewSaveAndRunRequest(server string, params *SaveAndRunParams, body SaveAndRunJSONRequestBody) (*http.Request, error)
- func NewSaveAndRunRequestWithBody(server string, params *SaveAndRunParams, contentType string, body io.Reader) (*http.Request, error)
- func NewSetEnvironmentVariablesRequest(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewSetEnvironmentVariablesRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewSetExecutionPropertyValueRequest(server string, id int64, key string, ...) (*http.Request, error)
- func NewSetExecutionPropertyValueRequestWithBody(server string, id int64, key string, contentType string, body io.Reader) (*http.Request, error)
- func NewSetServiceVariablesRequest(server string, id openapi_types.UUID, body SetServiceVariablesJSONRequestBody) (*http.Request, error)
- func NewSetServiceVariablesRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewSetTeamEnvironmentsRequest(server string, key string, params *SetTeamEnvironmentsParams, ...) (*http.Request, error)
- func NewSetTeamEnvironmentsRequestWithBody(server string, key string, params *SetTeamEnvironmentsParams, ...) (*http.Request, error)
- func NewSetTeamMembersRequest(server string, key string, params *SetTeamMembersParams, ...) (*http.Request, error)
- func NewSetTeamMembersRequestWithBody(server string, key string, params *SetTeamMembersParams, contentType string, ...) (*http.Request, error)
- func NewUnlinkCustomExperimentRequest(server string, id openapi_types.UUID, params *UnlinkCustomExperimentParams) (*http.Request, error)
- func NewUpdateEnvironmentVariablesRequest(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateEnvironmentVariablesRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateExecutionPropertiesRequest(server string, id int64, body UpdateExecutionPropertiesJSONRequestBody) (*http.Request, error)
- func NewUpdateExecutionPropertiesRequestWithBody(server string, id int64, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateExperimentByTemplateRequest(server string, id openapi_types.UUID, key string, ...) (*http.Request, error)
- func NewUpdateExperimentByTemplateRequestWithBody(server string, id openapi_types.UUID, key string, ...) (*http.Request, error)
- func NewUpdateExperimentRequest(server string, key string, body UpdateExperimentJSONRequestBody) (*http.Request, error)
- func NewUpdateExperimentRequestWithBody(server string, key string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateLandscapeViewRequest(server string, id openapi_types.UUID, body UpdateLandscapeViewJSONRequestBody) (*http.Request, error)
- func NewUpdateLandscapeViewRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpsertCustomWebhookRequest(server string, body UpsertCustomWebhookJSONRequestBody) (*http.Request, error)
- func NewUpsertCustomWebhookRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpsertEnvironmentRequest(server string, body UpsertEnvironmentJSONRequestBody) (*http.Request, error)
- func NewUpsertEnvironmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpsertExperimentTemplateRequest(server string, body UpsertExperimentTemplateJSONRequestBody) (*http.Request, error)
- func NewUpsertExperimentTemplateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpsertHubRequest(server string, params *UpsertHubParams, body UpsertHubJSONRequestBody) (*http.Request, error)
- func NewUpsertHubRequestWithBody(server string, params *UpsertHubParams, contentType string, body io.Reader) (*http.Request, error)
- func NewUpsertPreflightActionIntegrationRequest(server string, body UpsertPreflightActionIntegrationJSONRequestBody) (*http.Request, error)
- func NewUpsertPreflightActionIntegrationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpsertPreflightWebhookRequest(server string, body UpsertPreflightWebhookJSONRequestBody) (*http.Request, error)
- func NewUpsertPreflightWebhookRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpsertProfileRequest(server string, params *UpsertProfileParams, body UpsertProfileJSONRequestBody) (*http.Request, error)
- func NewUpsertProfileRequestWithBody(server string, params *UpsertProfileParams, contentType string, body io.Reader) (*http.Request, error)
- func NewUpsertPropertyAssociationRequest(server string, body UpsertPropertyAssociationJSONRequestBody) (*http.Request, error)
- func NewUpsertPropertyAssociationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpsertPropertyDefinitionRequest(server string, params *UpsertPropertyDefinitionParams, ...) (*http.Request, error)
- func NewUpsertPropertyDefinitionRequestWithBody(server string, params *UpsertPropertyDefinitionParams, contentType string, ...) (*http.Request, error)
- func NewUpsertProvidedExperimentRequest(server string, id openapi_types.UUID, params *UpsertProvidedExperimentParams, ...) (*http.Request, error)
- func NewUpsertProvidedExperimentRequestWithBody(server string, id openapi_types.UUID, params *UpsertProvidedExperimentParams, ...) (*http.Request, error)
- func NewUpsertScheduleRequest(server string, body UpsertScheduleJSONRequestBody) (*http.Request, error)
- func NewUpsertScheduleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpsertServiceRequest(server string, params *UpsertServiceParams, body UpsertServiceJSONRequestBody) (*http.Request, error)
- func NewUpsertServiceRequestWithBody(server string, params *UpsertServiceParams, contentType string, body io.Reader) (*http.Request, error)
- func NewUpsertSlackIntegrationRequest(server string, body UpsertSlackIntegrationJSONRequestBody) (*http.Request, error)
- func NewUpsertSlackIntegrationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpsertTeamRequest(server string, params *UpsertTeamParams, body UpsertTeamJSONRequestBody) (*http.Request, error)
- func NewUpsertTeamRequestWithBody(server string, params *UpsertTeamParams, contentType string, body io.Reader) (*http.Request, error)
- type AbstractExperimentExecutionStepAO
- func (t AbstractExperimentExecutionStepAO) AsExperimentExecutionStepActionAO() (ExperimentExecutionStepActionAO, error)
- func (t AbstractExperimentExecutionStepAO) AsExperimentExecutionStepServiceValidationAO() (ExperimentExecutionStepServiceValidationAO, error)
- func (t AbstractExperimentExecutionStepAO) AsExperimentExecutionStepWaitAO() (ExperimentExecutionStepWaitAO, error)
- func (t AbstractExperimentExecutionStepAO) Discriminator() (string, error)
- func (t *AbstractExperimentExecutionStepAO) FromExperimentExecutionStepActionAO(v ExperimentExecutionStepActionAO) error
- func (t *AbstractExperimentExecutionStepAO) FromExperimentExecutionStepServiceValidationAO(v ExperimentExecutionStepServiceValidationAO) error
- func (t *AbstractExperimentExecutionStepAO) FromExperimentExecutionStepWaitAO(v ExperimentExecutionStepWaitAO) error
- func (t AbstractExperimentExecutionStepAO) MarshalJSON() ([]byte, error)
- func (t *AbstractExperimentExecutionStepAO) MergeExperimentExecutionStepActionAO(v ExperimentExecutionStepActionAO) error
- func (t *AbstractExperimentExecutionStepAO) MergeExperimentExecutionStepServiceValidationAO(v ExperimentExecutionStepServiceValidationAO) error
- func (t *AbstractExperimentExecutionStepAO) MergeExperimentExecutionStepWaitAO(v ExperimentExecutionStepWaitAO) error
- func (t *AbstractExperimentExecutionStepAO) UnmarshalJSON(b []byte) error
- func (t AbstractExperimentExecutionStepAO) ValueByDiscriminator() (interface{}, error)
- type AccessTokenPrincipalAL
- type AccessTokenPrincipalALPrincipalType
- type AccessTokenPrincipalALTokenType
- type AccessTokensPageItemAO
- type AccessTokensPageItemAOType
- type AccessTokensPageItemV2AO
- type AccessTokensPageItemV2AOType
- type ActionAO
- type ActionAOKind
- type ActionAOMissingQuerySelection
- type ActionAOQuantityRestriction
- type ActionSummariesAO
- type AddExecutionPropertyValueJSONBody
- type AddExecutionPropertyValueJSONRequestBody
- type AddExecutionPropertyValueResponse
- type AddTeamEnvironmentsJSONRequestBody
- type AddTeamEnvironmentsParams
- type AddTeamEnvironmentsResponse
- func (r AddTeamEnvironmentsResponse) ContentType() string
- func (r AddTeamEnvironmentsResponse) GetBody() []byte
- func (r AddTeamEnvironmentsResponse) GetJSON200() *TeamEnvironmentsAO
- func (r AddTeamEnvironmentsResponse) GetYAML200() *TeamEnvironmentsAO
- func (r AddTeamEnvironmentsResponse) Status() string
- func (r AddTeamEnvironmentsResponse) StatusCode() int
- type AddTeamMembersJSONRequestBody
- type AddTeamMembersParams
- type AddTeamMembersResponse
- func (r AddTeamMembersResponse) ContentType() string
- func (r AddTeamMembersResponse) GetBody() []byte
- func (r AddTeamMembersResponse) GetJSON200() *TeamMembersAO
- func (r AddTeamMembersResponse) GetYAML200() *TeamMembersAO
- func (r AddTeamMembersResponse) Status() string
- func (r AddTeamMembersResponse) StatusCode() int
- type AdvancedRadiusAO
- type AdviceSummaryAO
- type AttributeAO
- type AuditLogEntry
- type AuditLogTrigger
- type BaseExperimentStepAO
- func (t BaseExperimentStepAO) AsExperimentStepActionAO() (ExperimentStepActionAO, error)
- func (t BaseExperimentStepAO) AsExperimentStepServiceValidationAO() (ExperimentStepServiceValidationAO, error)
- func (t BaseExperimentStepAO) AsExperimentStepWaitAO() (ExperimentStepWaitAO, error)
- func (t BaseExperimentStepAO) Discriminator() (string, error)
- func (t *BaseExperimentStepAO) FromExperimentStepActionAO(v ExperimentStepActionAO) error
- func (t *BaseExperimentStepAO) FromExperimentStepServiceValidationAO(v ExperimentStepServiceValidationAO) error
- func (t *BaseExperimentStepAO) FromExperimentStepWaitAO(v ExperimentStepWaitAO) error
- func (t BaseExperimentStepAO) MarshalJSON() ([]byte, error)
- func (t *BaseExperimentStepAO) MergeExperimentStepActionAO(v ExperimentStepActionAO) error
- func (t *BaseExperimentStepAO) MergeExperimentStepServiceValidationAO(v ExperimentStepServiceValidationAO) error
- func (t *BaseExperimentStepAO) MergeExperimentStepWaitAO(v ExperimentStepWaitAO) error
- func (t *BaseExperimentStepAO) UnmarshalJSON(b []byte) error
- func (t BaseExperimentStepAO) ValueByDiscriminator() (interface{}, error)
- type BatchPrincipalAL
- type BatchPrincipalALPrincipalType
- type BlastRadiusAO
- type CancelExperimentExecutionResponse
- type CategoryRiskAO
- type Client
- func (c *Client) AddExecutionPropertyValue(ctx context.Context, id int64, key string, ...) (*http.Response, error)
- func (c *Client) AddExecutionPropertyValueWithBody(ctx context.Context, id int64, key string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddTeamEnvironments(ctx context.Context, key string, params *AddTeamEnvironmentsParams, ...) (*http.Response, error)
- func (c *Client) AddTeamEnvironmentsWithBody(ctx context.Context, key string, params *AddTeamEnvironmentsParams, ...) (*http.Response, error)
- func (c *Client) AddTeamMembers(ctx context.Context, key string, params *AddTeamMembersParams, ...) (*http.Response, error)
- func (c *Client) AddTeamMembersWithBody(ctx context.Context, key string, params *AddTeamMembersParams, ...) (*http.Response, error)
- func (c *Client) CancelExperimentExecution(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ConnectionCheck(ctx context.Context, body ConnectionCheckJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ConnectionCheckWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateAccessToken(ctx context.Context, body CreateAccessTokenJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateAccessToken1(ctx context.Context, body CreateAccessToken1JSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateAccessToken1WithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateAccessTokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateExperimentByTemplate(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateExperimentByTemplateWithBody(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateLandscapeView(ctx context.Context, body CreateLandscapeViewJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateLandscapeViewWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateOrUpdateExperiment(ctx context.Context, body CreateOrUpdateExperimentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateOrUpdateExperimentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteAccessToken(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteAccessToken1(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteCustomWebhook(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteEnvironment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteExperiment(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteExperimentTemplate(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteHub(ctx context.Context, id openapi_types.UUID, params *DeleteHubParams, ...) (*http.Response, error)
- func (c *Client) DeleteLandscapeView(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeletePreflightActionIntegration(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeletePreflightWebhook(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteProfile(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeletePropertyAssociation(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeletePropertyDefinition(ctx context.Context, key string, params *DeletePropertyDefinitionParams, ...) (*http.Response, error)
- func (c *Client) DeleteService(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSlackIntegration(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteTeam(ctx context.Context, key string, params *DeleteTeamParams, ...) (*http.Response, error)
- func (c *Client) DisengageKillswitch(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) EngageKillswitch(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ExecuteExperiment(ctx context.Context, key string, params *ExecuteExperimentParams, ...) (*http.Response, error)
- func (c *Client) ExecuteExperimentWithBody(ctx context.Context, key string, params *ExecuteExperimentParams, ...) (*http.Response, error)
- func (c *Client) Find(ctx context.Context, params *FindParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FindAllActions(ctx context.Context, params *FindAllActionsParams, ...) (*http.Response, error)
- func (c *Client) ForwardToPlatform(ctx context.Context, params *ForwardToPlatformParams, ...) (*http.Response, error)
- func (c *Client) GetAccessTokens(ctx context.Context, params *GetAccessTokensParams, ...) (*http.Response, error)
- func (c *Client) GetAccessTokens1(ctx context.Context, params *GetAccessTokens1Params, ...) (*http.Response, error)
- func (c *Client) GetAction(ctx context.Context, actionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllSchedulesV2(ctx context.Context, params *GetAllSchedulesV2Params, ...) (*http.Response, error)
- func (c *Client) GetArtifact(ctx context.Context, id int64, targetExecutionId string, artifactId string, ...) (*http.Response, error)
- func (c *Client) GetAssociations(ctx context.Context, params *GetAssociationsParams, ...) (*http.Response, error)
- func (c *Client) GetAverageRisk(ctx context.Context, body GetAverageRiskJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetAverageRiskWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetCustomWebhook(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCustomWebhooks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEnvironment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEnvironmentCounts(ctx context.Context, body GetEnvironmentCountsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetEnvironmentCountsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetEnvironmentVariables(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEnvironments(ctx context.Context, params *GetEnvironmentsParams, ...) (*http.Response, error)
- func (c *Client) GetExperiment(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetExperimentBadge(ctx context.Context, key string, params *GetExperimentBadgeParams, ...) (*http.Response, error)
- func (c *Client) GetExperimentCreations(ctx context.Context, params *GetExperimentCreationsParams, ...) (*http.Response, error)
- func (c *Client) GetExperimentCreationsWithBody(ctx context.Context, params *GetExperimentCreationsParams, contentType string, ...) (*http.Response, error)
- func (c *Client) GetExperimentExecution(ctx context.Context, id int64, params *GetExperimentExecutionParams, ...) (*http.Response, error)
- func (c *Client) GetExperimentExecutions(ctx context.Context, params *GetExperimentExecutionsParams, ...) (*http.Response, error)
- func (c *Client) GetExperimentExecutions1(ctx context.Context, params *GetExperimentExecutions1Params, ...) (*http.Response, error)
- func (c *Client) GetExperimentExecutions2(ctx context.Context, body GetExperimentExecutions2JSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetExperimentExecutions2WithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetExperimentExecutions3(ctx context.Context, key string, params *GetExperimentExecutions3Params, ...) (*http.Response, error)
- func (c *Client) GetExperimentExecutionsWithBody(ctx context.Context, params *GetExperimentExecutionsParams, contentType string, ...) (*http.Response, error)
- func (c *Client) GetExperimentTemplate(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetExperimentTemplates(ctx context.Context, params *GetExperimentTemplatesParams, ...) (*http.Response, error)
- func (c *Client) GetExperiments(ctx context.Context, params *GetExperimentsParams, ...) (*http.Response, error)
- func (c *Client) GetHubById(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetHubs(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetKillswitch(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLandscapeView(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLandscapeViews(ctx context.Context, params *GetLandscapeViewsParams, ...) (*http.Response, error)
- func (c *Client) GetLicenseSummary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLinkedBadge(ctx context.Context, params *GetLinkedBadgeParams, ...) (*http.Response, error)
- func (c *Client) GetPreflightActionIntegration(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPreflightActionIntegrations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPreflightActionSummary(ctx context.Context, params *GetPreflightActionSummaryParams, ...) (*http.Response, error)
- func (c *Client) GetPreflightWebhook(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPreflightWebhooks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProfile(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProfiles(ctx context.Context, params *GetProfilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPropertyDefinition(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPropertyDefinition1(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPropertyDefinitions(ctx context.Context, params *GetPropertyDefinitionsParams, ...) (*http.Response, error)
- func (c *Client) GetReport(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRisk(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRiskByCategory(ctx context.Context, body GetRiskByCategoryJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetRiskByCategoryWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetRiskDistribution(ctx context.Context, body GetRiskDistributionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetRiskDistributionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetSchedules(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetService(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetServiceExperiments(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetServiceList(ctx context.Context, params *GetServiceListParams, ...) (*http.Response, error)
- func (c *Client) GetServiceVariables(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSlackIntegration(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSlackIntegrations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTargetAdviceSummary(ctx context.Context, body GetTargetAdviceSummaryJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetTargetAdviceSummaryWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetTargetAttributeKeys(ctx context.Context, params *GetTargetAttributeKeysParams, ...) (*http.Response, error)
- func (c *Client) GetTargetAttributeValues(ctx context.Context, params *GetTargetAttributeValuesParams, ...) (*http.Response, error)
- func (c *Client) GetTargets(ctx context.Context, params *GetTargetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTargetsStats(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTargetsStats1(ctx context.Context, body GetTargetsStats1JSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetTargetsStats1WithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetTeam(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTeamCounts(ctx context.Context, body GetTeamCountsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetTeamCountsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetTeamEnvironments(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTeamMembers(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTeams(ctx context.Context, params *GetTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUserCounts(ctx context.Context, body GetUserCountsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetUserCountsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Health(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ImportFromHub(ctx context.Context, params *ImportFromHubParams, ...) (*http.Response, error)
- func (c *Client) ImportFromHubWithBody(ctx context.Context, params *ImportFromHubParams, contentType string, ...) (*http.Response, error)
- func (c *Client) InviteUser(ctx context.Context, body InviteUserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InviteUserWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) LinkCustomExperiment(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LinkCustomExperimentWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Liveness(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MergeServiceVariables(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) MergeServiceVariablesWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchSchedule(ctx context.Context, id string, body PatchScheduleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchScheduleWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Readiness(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RecreateAccessToken(ctx context.Context, id string, body RecreateAccessTokenJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RecreateAccessTokenWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RemoveExperimentScheduleById(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RemoveTeamEnvironments(ctx context.Context, key string, body RemoveTeamEnvironmentsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RemoveTeamEnvironmentsWithBody(ctx context.Context, key string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RemoveTeamMembers(ctx context.Context, key string, body RemoveTeamMembersJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RemoveTeamMembersWithBody(ctx context.Context, key string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ResyncHub(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SaveAndRun(ctx context.Context, params *SaveAndRunParams, body SaveAndRunJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SaveAndRunFromTemplate(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) SaveAndRunFromTemplateWithBody(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) SaveAndRunWithBody(ctx context.Context, params *SaveAndRunParams, contentType string, ...) (*http.Response, error)
- func (c *Client) SetEnvironmentVariables(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) SetEnvironmentVariablesWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetExecutionPropertyValue(ctx context.Context, id int64, key string, ...) (*http.Response, error)
- func (c *Client) SetExecutionPropertyValueWithBody(ctx context.Context, id int64, key string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetServiceVariables(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) SetServiceVariablesWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetTeamEnvironments(ctx context.Context, key string, params *SetTeamEnvironmentsParams, ...) (*http.Response, error)
- func (c *Client) SetTeamEnvironmentsWithBody(ctx context.Context, key string, params *SetTeamEnvironmentsParams, ...) (*http.Response, error)
- func (c *Client) SetTeamMembers(ctx context.Context, key string, params *SetTeamMembersParams, ...) (*http.Response, error)
- func (c *Client) SetTeamMembersWithBody(ctx context.Context, key string, params *SetTeamMembersParams, ...) (*http.Response, error)
- func (c *Client) UnlinkCustomExperiment(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateEnvironmentVariables(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateEnvironmentVariablesWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateExecutionProperties(ctx context.Context, id int64, body UpdateExecutionPropertiesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateExecutionPropertiesWithBody(ctx context.Context, id int64, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateExperiment(ctx context.Context, key string, body UpdateExperimentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateExperimentByTemplate(ctx context.Context, id openapi_types.UUID, key string, ...) (*http.Response, error)
- func (c *Client) UpdateExperimentByTemplateWithBody(ctx context.Context, id openapi_types.UUID, key string, ...) (*http.Response, error)
- func (c *Client) UpdateExperimentWithBody(ctx context.Context, key string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateLandscapeView(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateLandscapeViewWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpsertCustomWebhook(ctx context.Context, body UpsertCustomWebhookJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpsertCustomWebhookWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpsertEnvironment(ctx context.Context, body UpsertEnvironmentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpsertEnvironmentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpsertExperimentTemplate(ctx context.Context, body UpsertExperimentTemplateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpsertExperimentTemplateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpsertHub(ctx context.Context, params *UpsertHubParams, body UpsertHubJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpsertHubWithBody(ctx context.Context, params *UpsertHubParams, contentType string, ...) (*http.Response, error)
- func (c *Client) UpsertPreflightActionIntegration(ctx context.Context, body UpsertPreflightActionIntegrationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpsertPreflightActionIntegrationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpsertPreflightWebhook(ctx context.Context, body UpsertPreflightWebhookJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpsertPreflightWebhookWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpsertProfile(ctx context.Context, params *UpsertProfileParams, ...) (*http.Response, error)
- func (c *Client) UpsertProfileWithBody(ctx context.Context, params *UpsertProfileParams, contentType string, ...) (*http.Response, error)
- func (c *Client) UpsertPropertyAssociation(ctx context.Context, body UpsertPropertyAssociationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpsertPropertyAssociationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpsertPropertyDefinition(ctx context.Context, params *UpsertPropertyDefinitionParams, ...) (*http.Response, error)
- func (c *Client) UpsertPropertyDefinitionWithBody(ctx context.Context, params *UpsertPropertyDefinitionParams, ...) (*http.Response, error)
- func (c *Client) UpsertProvidedExperiment(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpsertProvidedExperimentWithBody(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpsertSchedule(ctx context.Context, body UpsertScheduleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpsertScheduleWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpsertService(ctx context.Context, params *UpsertServiceParams, ...) (*http.Response, error)
- func (c *Client) UpsertServiceWithBody(ctx context.Context, params *UpsertServiceParams, contentType string, ...) (*http.Response, error)
- func (c *Client) UpsertSlackIntegration(ctx context.Context, body UpsertSlackIntegrationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpsertSlackIntegrationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpsertTeam(ctx context.Context, params *UpsertTeamParams, body UpsertTeamJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpsertTeamWithBody(ctx context.Context, params *UpsertTeamParams, contentType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddExecutionPropertyValueWithBodyWithResponse(ctx context.Context, id int64, key string, contentType string, body io.Reader, ...) (*AddExecutionPropertyValueResponse, error)
- func (c *ClientWithResponses) AddExecutionPropertyValueWithResponse(ctx context.Context, id int64, key string, ...) (*AddExecutionPropertyValueResponse, error)
- func (c *ClientWithResponses) AddTeamEnvironmentsWithBodyWithResponse(ctx context.Context, key string, params *AddTeamEnvironmentsParams, ...) (*AddTeamEnvironmentsResponse, error)
- func (c *ClientWithResponses) AddTeamEnvironmentsWithResponse(ctx context.Context, key string, params *AddTeamEnvironmentsParams, ...) (*AddTeamEnvironmentsResponse, error)
- func (c *ClientWithResponses) AddTeamMembersWithBodyWithResponse(ctx context.Context, key string, params *AddTeamMembersParams, ...) (*AddTeamMembersResponse, error)
- func (c *ClientWithResponses) AddTeamMembersWithResponse(ctx context.Context, key string, params *AddTeamMembersParams, ...) (*AddTeamMembersResponse, error)
- func (c *ClientWithResponses) CancelExperimentExecutionWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*CancelExperimentExecutionResponse, error)
- func (c *ClientWithResponses) ConnectionCheckWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ConnectionCheckResponse, error)
- func (c *ClientWithResponses) ConnectionCheckWithResponse(ctx context.Context, body ConnectionCheckJSONRequestBody, ...) (*ConnectionCheckResponse, error)
- func (c *ClientWithResponses) CreateAccessToken1WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateAccessToken1Response, error)
- func (c *ClientWithResponses) CreateAccessToken1WithResponse(ctx context.Context, body CreateAccessToken1JSONRequestBody, ...) (*CreateAccessToken1Response, error)
- func (c *ClientWithResponses) CreateAccessTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateAccessTokenResponse, error)deprecated
- func (c *ClientWithResponses) CreateAccessTokenWithResponse(ctx context.Context, body CreateAccessTokenJSONRequestBody, ...) (*CreateAccessTokenResponse, error)
- func (c *ClientWithResponses) CreateExperimentByTemplateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*CreateExperimentByTemplateResponse, error)
- func (c *ClientWithResponses) CreateExperimentByTemplateWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*CreateExperimentByTemplateResponse, error)
- func (c *ClientWithResponses) CreateLandscapeViewWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateLandscapeViewResponse, error)
- func (c *ClientWithResponses) CreateLandscapeViewWithResponse(ctx context.Context, body CreateLandscapeViewJSONRequestBody, ...) (*CreateLandscapeViewResponse, error)
- func (c *ClientWithResponses) CreateOrUpdateExperimentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateOrUpdateExperimentResponse, error)
- func (c *ClientWithResponses) CreateOrUpdateExperimentWithResponse(ctx context.Context, body CreateOrUpdateExperimentJSONRequestBody, ...) (*CreateOrUpdateExperimentResponse, error)
- func (c *ClientWithResponses) DeleteAccessToken1WithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAccessToken1Response, error)
- func (c *ClientWithResponses) DeleteAccessTokenWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAccessTokenResponse, error)deprecated
- func (c *ClientWithResponses) DeleteCustomWebhookWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCustomWebhookResponse, error)
- func (c *ClientWithResponses) DeleteEnvironmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error)
- func (c *ClientWithResponses) DeleteExperimentTemplateWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteExperimentTemplateResponse, error)
- func (c *ClientWithResponses) DeleteExperimentWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*DeleteExperimentResponse, error)
- func (c *ClientWithResponses) DeleteHubWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteHubParams, ...) (*DeleteHubResponse, error)
- func (c *ClientWithResponses) DeleteLandscapeViewWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteLandscapeViewResponse, error)
- func (c *ClientWithResponses) DeletePreflightActionIntegrationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeletePreflightActionIntegrationResponse, error)
- func (c *ClientWithResponses) DeletePreflightWebhookWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeletePreflightWebhookResponse, error)
- func (c *ClientWithResponses) DeleteProfileWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteProfileResponse, error)
- func (c *ClientWithResponses) DeletePropertyAssociationWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*DeletePropertyAssociationResponse, error)
- func (c *ClientWithResponses) DeletePropertyDefinitionWithResponse(ctx context.Context, key string, params *DeletePropertyDefinitionParams, ...) (*DeletePropertyDefinitionResponse, error)
- func (c *ClientWithResponses) DeleteServiceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteServiceResponse, error)
- func (c *ClientWithResponses) DeleteSlackIntegrationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteSlackIntegrationResponse, error)
- func (c *ClientWithResponses) DeleteTeamWithResponse(ctx context.Context, key string, params *DeleteTeamParams, ...) (*DeleteTeamResponse, error)
- func (c *ClientWithResponses) DisengageKillswitchWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DisengageKillswitchResponse, error)
- func (c *ClientWithResponses) EngageKillswitchWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EngageKillswitchResponse, error)
- func (c *ClientWithResponses) ExecuteExperimentWithBodyWithResponse(ctx context.Context, key string, params *ExecuteExperimentParams, ...) (*ExecuteExperimentResponse, error)
- func (c *ClientWithResponses) ExecuteExperimentWithResponse(ctx context.Context, key string, params *ExecuteExperimentParams, ...) (*ExecuteExperimentResponse, error)
- func (c *ClientWithResponses) FindAllActionsWithResponse(ctx context.Context, params *FindAllActionsParams, ...) (*FindAllActionsResponse, error)
- func (c *ClientWithResponses) FindWithResponse(ctx context.Context, params *FindParams, reqEditors ...RequestEditorFn) (*FindResponse, error)
- func (c *ClientWithResponses) ForwardToPlatformWithResponse(ctx context.Context, params *ForwardToPlatformParams, ...) (*ForwardToPlatformResponse, error)
- func (c *ClientWithResponses) GetAccessTokens1WithResponse(ctx context.Context, params *GetAccessTokens1Params, ...) (*GetAccessTokens1Response, error)
- func (c *ClientWithResponses) GetAccessTokensWithResponse(ctx context.Context, params *GetAccessTokensParams, ...) (*GetAccessTokensResponse, error)deprecated
- func (c *ClientWithResponses) GetActionWithResponse(ctx context.Context, actionId string, reqEditors ...RequestEditorFn) (*GetActionResponse, error)
- func (c *ClientWithResponses) GetAllSchedulesV2WithResponse(ctx context.Context, params *GetAllSchedulesV2Params, ...) (*GetAllSchedulesV2Response, error)
- func (c *ClientWithResponses) GetArtifactWithResponse(ctx context.Context, id int64, targetExecutionId string, artifactId string, ...) (*GetArtifactResponse, error)
- func (c *ClientWithResponses) GetAssociationsWithResponse(ctx context.Context, params *GetAssociationsParams, ...) (*GetAssociationsResponse, error)
- func (c *ClientWithResponses) GetAverageRiskWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetAverageRiskResponse, error)
- func (c *ClientWithResponses) GetAverageRiskWithResponse(ctx context.Context, body GetAverageRiskJSONRequestBody, ...) (*GetAverageRiskResponse, error)
- func (c *ClientWithResponses) GetCustomWebhookWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetCustomWebhookResponse, error)
- func (c *ClientWithResponses) GetCustomWebhooksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCustomWebhooksResponse, error)
- func (c *ClientWithResponses) GetEnvironmentCountsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetEnvironmentCountsResponse, error)
- func (c *ClientWithResponses) GetEnvironmentCountsWithResponse(ctx context.Context, body GetEnvironmentCountsJSONRequestBody, ...) (*GetEnvironmentCountsResponse, error)
- func (c *ClientWithResponses) GetEnvironmentVariablesWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnvironmentVariablesResponse, error)
- func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)
- func (c *ClientWithResponses) GetEnvironmentsWithResponse(ctx context.Context, params *GetEnvironmentsParams, ...) (*GetEnvironmentsResponse, error)
- func (c *ClientWithResponses) GetExperimentBadgeWithResponse(ctx context.Context, key string, params *GetExperimentBadgeParams, ...) (*GetExperimentBadgeResponse, error)
- func (c *ClientWithResponses) GetExperimentCreationsWithBodyWithResponse(ctx context.Context, params *GetExperimentCreationsParams, contentType string, ...) (*GetExperimentCreationsResponse, error)
- func (c *ClientWithResponses) GetExperimentCreationsWithResponse(ctx context.Context, params *GetExperimentCreationsParams, ...) (*GetExperimentCreationsResponse, error)
- func (c *ClientWithResponses) GetExperimentExecutionWithResponse(ctx context.Context, id int64, params *GetExperimentExecutionParams, ...) (*GetExperimentExecutionResponse, error)
- func (c *ClientWithResponses) GetExperimentExecutions1WithResponse(ctx context.Context, params *GetExperimentExecutions1Params, ...) (*GetExperimentExecutions1Response, error)deprecated
- func (c *ClientWithResponses) GetExperimentExecutions2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetExperimentExecutions2Response, error)
- func (c *ClientWithResponses) GetExperimentExecutions2WithResponse(ctx context.Context, body GetExperimentExecutions2JSONRequestBody, ...) (*GetExperimentExecutions2Response, error)
- func (c *ClientWithResponses) GetExperimentExecutions3WithResponse(ctx context.Context, key string, params *GetExperimentExecutions3Params, ...) (*GetExperimentExecutions3Response, error)
- func (c *ClientWithResponses) GetExperimentExecutionsWithBodyWithResponse(ctx context.Context, params *GetExperimentExecutionsParams, contentType string, ...) (*GetExperimentExecutionsResponse, error)
- func (c *ClientWithResponses) GetExperimentExecutionsWithResponse(ctx context.Context, params *GetExperimentExecutionsParams, ...) (*GetExperimentExecutionsResponse, error)
- func (c *ClientWithResponses) GetExperimentTemplateWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetExperimentTemplateResponse, error)
- func (c *ClientWithResponses) GetExperimentTemplatesWithResponse(ctx context.Context, params *GetExperimentTemplatesParams, ...) (*GetExperimentTemplatesResponse, error)
- func (c *ClientWithResponses) GetExperimentWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetExperimentResponse, error)
- func (c *ClientWithResponses) GetExperimentsWithResponse(ctx context.Context, params *GetExperimentsParams, ...) (*GetExperimentsResponse, error)
- func (c *ClientWithResponses) GetHubByIdWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetHubByIdResponse, error)
- func (c *ClientWithResponses) GetHubsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHubsResponse, error)
- func (c *ClientWithResponses) GetKillswitchWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKillswitchResponse, error)
- func (c *ClientWithResponses) GetLandscapeViewWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeViewResponse, error)
- func (c *ClientWithResponses) GetLandscapeViewsWithResponse(ctx context.Context, params *GetLandscapeViewsParams, ...) (*GetLandscapeViewsResponse, error)
- func (c *ClientWithResponses) GetLicenseSummaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLicenseSummaryResponse, error)
- func (c *ClientWithResponses) GetLinkedBadgeWithResponse(ctx context.Context, params *GetLinkedBadgeParams, ...) (*GetLinkedBadgeResponse, error)
- func (c *ClientWithResponses) GetPreflightActionIntegrationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPreflightActionIntegrationResponse, error)
- func (c *ClientWithResponses) GetPreflightActionIntegrationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPreflightActionIntegrationsResponse, error)
- func (c *ClientWithResponses) GetPreflightActionSummaryWithResponse(ctx context.Context, params *GetPreflightActionSummaryParams, ...) (*GetPreflightActionSummaryResponse, error)
- func (c *ClientWithResponses) GetPreflightWebhookWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPreflightWebhookResponse, error)
- func (c *ClientWithResponses) GetPreflightWebhooksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPreflightWebhooksResponse, error)
- func (c *ClientWithResponses) GetProfileWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetProfileResponse, error)
- func (c *ClientWithResponses) GetProfilesWithResponse(ctx context.Context, params *GetProfilesParams, reqEditors ...RequestEditorFn) (*GetProfilesResponse, error)
- func (c *ClientWithResponses) GetPropertyDefinition1WithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPropertyDefinition1Response, error)
- func (c *ClientWithResponses) GetPropertyDefinitionWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetPropertyDefinitionResponse, error)
- func (c *ClientWithResponses) GetPropertyDefinitionsWithResponse(ctx context.Context, params *GetPropertyDefinitionsParams, ...) (*GetPropertyDefinitionsResponse, error)
- func (c *ClientWithResponses) GetReportWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetReportResponse, error)
- func (c *ClientWithResponses) GetRiskByCategoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetRiskByCategoryResponse, error)
- func (c *ClientWithResponses) GetRiskByCategoryWithResponse(ctx context.Context, body GetRiskByCategoryJSONRequestBody, ...) (*GetRiskByCategoryResponse, error)
- func (c *ClientWithResponses) GetRiskDistributionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetRiskDistributionResponse, error)
- func (c *ClientWithResponses) GetRiskDistributionWithResponse(ctx context.Context, body GetRiskDistributionJSONRequestBody, ...) (*GetRiskDistributionResponse, error)
- func (c *ClientWithResponses) GetRiskWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRiskResponse, error)
- func (c *ClientWithResponses) GetSchedulesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSchedulesResponse, error)
- func (c *ClientWithResponses) GetServiceExperimentsWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*GetServiceExperimentsResponse, error)
- func (c *ClientWithResponses) GetServiceListWithResponse(ctx context.Context, params *GetServiceListParams, ...) (*GetServiceListResponse, error)
- func (c *ClientWithResponses) GetServiceVariablesWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetServiceVariablesResponse, error)
- func (c *ClientWithResponses) GetServiceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetServiceResponse, error)
- func (c *ClientWithResponses) GetSlackIntegrationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSlackIntegrationResponse, error)
- func (c *ClientWithResponses) GetSlackIntegrationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSlackIntegrationsResponse, error)
- func (c *ClientWithResponses) GetTargetAdviceSummaryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetTargetAdviceSummaryResponse, error)
- func (c *ClientWithResponses) GetTargetAdviceSummaryWithResponse(ctx context.Context, body GetTargetAdviceSummaryJSONRequestBody, ...) (*GetTargetAdviceSummaryResponse, error)
- func (c *ClientWithResponses) GetTargetAttributeKeysWithResponse(ctx context.Context, params *GetTargetAttributeKeysParams, ...) (*GetTargetAttributeKeysResponse, error)
- func (c *ClientWithResponses) GetTargetAttributeValuesWithResponse(ctx context.Context, params *GetTargetAttributeValuesParams, ...) (*GetTargetAttributeValuesResponse, error)
- func (c *ClientWithResponses) GetTargetsStats1WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetTargetsStats1Response, error)
- func (c *ClientWithResponses) GetTargetsStats1WithResponse(ctx context.Context, body GetTargetsStats1JSONRequestBody, ...) (*GetTargetsStats1Response, error)
- func (c *ClientWithResponses) GetTargetsStatsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTargetsStatsResponse, error)
- func (c *ClientWithResponses) GetTargetsWithResponse(ctx context.Context, params *GetTargetsParams, reqEditors ...RequestEditorFn) (*GetTargetsResponse, error)
- func (c *ClientWithResponses) GetTeamCountsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetTeamCountsResponse, error)
- func (c *ClientWithResponses) GetTeamCountsWithResponse(ctx context.Context, body GetTeamCountsJSONRequestBody, ...) (*GetTeamCountsResponse, error)
- func (c *ClientWithResponses) GetTeamEnvironmentsWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetTeamEnvironmentsResponse, error)
- func (c *ClientWithResponses) GetTeamMembersWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetTeamMembersResponse, error)
- func (c *ClientWithResponses) GetTeamWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)
- func (c *ClientWithResponses) GetTeamsWithResponse(ctx context.Context, params *GetTeamsParams, reqEditors ...RequestEditorFn) (*GetTeamsResponse, error)
- func (c *ClientWithResponses) GetUserCountsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetUserCountsResponse, error)
- func (c *ClientWithResponses) GetUserCountsWithResponse(ctx context.Context, body GetUserCountsJSONRequestBody, ...) (*GetUserCountsResponse, error)
- func (c *ClientWithResponses) HealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthResponse, error)
- func (c *ClientWithResponses) ImportFromHubWithBodyWithResponse(ctx context.Context, params *ImportFromHubParams, contentType string, ...) (*ImportFromHubResponse, error)
- func (c *ClientWithResponses) ImportFromHubWithResponse(ctx context.Context, params *ImportFromHubParams, ...) (*ImportFromHubResponse, error)
- func (c *ClientWithResponses) InviteUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InviteUserResponse, error)
- func (c *ClientWithResponses) InviteUserWithResponse(ctx context.Context, body InviteUserJSONRequestBody, ...) (*InviteUserResponse, error)
- func (c *ClientWithResponses) LinkCustomExperimentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*LinkCustomExperimentResponse, error)
- func (c *ClientWithResponses) LinkCustomExperimentWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*LinkCustomExperimentResponse, error)
- func (c *ClientWithResponses) LivenessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivenessResponse, error)
- func (c *ClientWithResponses) MergeServiceVariablesWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*MergeServiceVariablesResponse, error)
- func (c *ClientWithResponses) MergeServiceVariablesWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*MergeServiceVariablesResponse, error)
- func (c *ClientWithResponses) PatchScheduleWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PatchScheduleResponse, error)
- func (c *ClientWithResponses) PatchScheduleWithResponse(ctx context.Context, id string, body PatchScheduleJSONRequestBody, ...) (*PatchScheduleResponse, error)
- func (c *ClientWithResponses) ReadinessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadinessResponse, error)
- func (c *ClientWithResponses) RecreateAccessTokenWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*RecreateAccessTokenResponse, error)
- func (c *ClientWithResponses) RecreateAccessTokenWithResponse(ctx context.Context, id string, body RecreateAccessTokenJSONRequestBody, ...) (*RecreateAccessTokenResponse, error)
- func (c *ClientWithResponses) RemoveExperimentScheduleByIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RemoveExperimentScheduleByIdResponse, error)
- func (c *ClientWithResponses) RemoveTeamEnvironmentsWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, ...) (*RemoveTeamEnvironmentsResponse, error)
- func (c *ClientWithResponses) RemoveTeamEnvironmentsWithResponse(ctx context.Context, key string, body RemoveTeamEnvironmentsJSONRequestBody, ...) (*RemoveTeamEnvironmentsResponse, error)
- func (c *ClientWithResponses) RemoveTeamMembersWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, ...) (*RemoveTeamMembersResponse, error)
- func (c *ClientWithResponses) RemoveTeamMembersWithResponse(ctx context.Context, key string, body RemoveTeamMembersJSONRequestBody, ...) (*RemoveTeamMembersResponse, error)
- func (c *ClientWithResponses) ResyncHubWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ResyncHubResponse, error)
- func (c *ClientWithResponses) SaveAndRunFromTemplateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*SaveAndRunFromTemplateResponse, error)
- func (c *ClientWithResponses) SaveAndRunFromTemplateWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*SaveAndRunFromTemplateResponse, error)
- func (c *ClientWithResponses) SaveAndRunWithBodyWithResponse(ctx context.Context, params *SaveAndRunParams, contentType string, ...) (*SaveAndRunResponse, error)
- func (c *ClientWithResponses) SaveAndRunWithResponse(ctx context.Context, params *SaveAndRunParams, body SaveAndRunJSONRequestBody, ...) (*SaveAndRunResponse, error)
- func (c *ClientWithResponses) SetEnvironmentVariablesWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*SetEnvironmentVariablesResponse, error)
- func (c *ClientWithResponses) SetEnvironmentVariablesWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*SetEnvironmentVariablesResponse, error)
- func (c *ClientWithResponses) SetExecutionPropertyValueWithBodyWithResponse(ctx context.Context, id int64, key string, contentType string, body io.Reader, ...) (*SetExecutionPropertyValueResponse, error)
- func (c *ClientWithResponses) SetExecutionPropertyValueWithResponse(ctx context.Context, id int64, key string, ...) (*SetExecutionPropertyValueResponse, error)
- func (c *ClientWithResponses) SetServiceVariablesWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*SetServiceVariablesResponse, error)
- func (c *ClientWithResponses) SetServiceVariablesWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*SetServiceVariablesResponse, error)
- func (c *ClientWithResponses) SetTeamEnvironmentsWithBodyWithResponse(ctx context.Context, key string, params *SetTeamEnvironmentsParams, ...) (*SetTeamEnvironmentsResponse, error)
- func (c *ClientWithResponses) SetTeamEnvironmentsWithResponse(ctx context.Context, key string, params *SetTeamEnvironmentsParams, ...) (*SetTeamEnvironmentsResponse, error)
- func (c *ClientWithResponses) SetTeamMembersWithBodyWithResponse(ctx context.Context, key string, params *SetTeamMembersParams, ...) (*SetTeamMembersResponse, error)
- func (c *ClientWithResponses) SetTeamMembersWithResponse(ctx context.Context, key string, params *SetTeamMembersParams, ...) (*SetTeamMembersResponse, error)
- func (c *ClientWithResponses) UnlinkCustomExperimentWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*UnlinkCustomExperimentResponse, error)
- func (c *ClientWithResponses) UpdateEnvironmentVariablesWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateEnvironmentVariablesResponse, error)
- func (c *ClientWithResponses) UpdateEnvironmentVariablesWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*UpdateEnvironmentVariablesResponse, error)
- func (c *ClientWithResponses) UpdateExecutionPropertiesWithBodyWithResponse(ctx context.Context, id int64, contentType string, body io.Reader, ...) (*UpdateExecutionPropertiesResponse, error)
- func (c *ClientWithResponses) UpdateExecutionPropertiesWithResponse(ctx context.Context, id int64, body UpdateExecutionPropertiesJSONRequestBody, ...) (*UpdateExecutionPropertiesResponse, error)
- func (c *ClientWithResponses) UpdateExperimentByTemplateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, key string, ...) (*UpdateExperimentByTemplateResponse, error)
- func (c *ClientWithResponses) UpdateExperimentByTemplateWithResponse(ctx context.Context, id openapi_types.UUID, key string, ...) (*UpdateExperimentByTemplateResponse, error)
- func (c *ClientWithResponses) UpdateExperimentWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, ...) (*UpdateExperimentResponse, error)
- func (c *ClientWithResponses) UpdateExperimentWithResponse(ctx context.Context, key string, body UpdateExperimentJSONRequestBody, ...) (*UpdateExperimentResponse, error)
- func (c *ClientWithResponses) UpdateLandscapeViewWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateLandscapeViewResponse, error)
- func (c *ClientWithResponses) UpdateLandscapeViewWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*UpdateLandscapeViewResponse, error)
- func (c *ClientWithResponses) UpsertCustomWebhookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpsertCustomWebhookResponse, error)
- func (c *ClientWithResponses) UpsertCustomWebhookWithResponse(ctx context.Context, body UpsertCustomWebhookJSONRequestBody, ...) (*UpsertCustomWebhookResponse, error)
- func (c *ClientWithResponses) UpsertEnvironmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpsertEnvironmentResponse, error)
- func (c *ClientWithResponses) UpsertEnvironmentWithResponse(ctx context.Context, body UpsertEnvironmentJSONRequestBody, ...) (*UpsertEnvironmentResponse, error)
- func (c *ClientWithResponses) UpsertExperimentTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpsertExperimentTemplateResponse, error)
- func (c *ClientWithResponses) UpsertExperimentTemplateWithResponse(ctx context.Context, body UpsertExperimentTemplateJSONRequestBody, ...) (*UpsertExperimentTemplateResponse, error)
- func (c *ClientWithResponses) UpsertHubWithBodyWithResponse(ctx context.Context, params *UpsertHubParams, contentType string, ...) (*UpsertHubResponse, error)
- func (c *ClientWithResponses) UpsertHubWithResponse(ctx context.Context, params *UpsertHubParams, body UpsertHubJSONRequestBody, ...) (*UpsertHubResponse, error)
- func (c *ClientWithResponses) UpsertPreflightActionIntegrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpsertPreflightActionIntegrationResponse, error)
- func (c *ClientWithResponses) UpsertPreflightActionIntegrationWithResponse(ctx context.Context, body UpsertPreflightActionIntegrationJSONRequestBody, ...) (*UpsertPreflightActionIntegrationResponse, error)
- func (c *ClientWithResponses) UpsertPreflightWebhookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpsertPreflightWebhookResponse, error)
- func (c *ClientWithResponses) UpsertPreflightWebhookWithResponse(ctx context.Context, body UpsertPreflightWebhookJSONRequestBody, ...) (*UpsertPreflightWebhookResponse, error)
- func (c *ClientWithResponses) UpsertProfileWithBodyWithResponse(ctx context.Context, params *UpsertProfileParams, contentType string, ...) (*UpsertProfileResponse, error)
- func (c *ClientWithResponses) UpsertProfileWithResponse(ctx context.Context, params *UpsertProfileParams, ...) (*UpsertProfileResponse, error)
- func (c *ClientWithResponses) UpsertPropertyAssociationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpsertPropertyAssociationResponse, error)
- func (c *ClientWithResponses) UpsertPropertyAssociationWithResponse(ctx context.Context, body UpsertPropertyAssociationJSONRequestBody, ...) (*UpsertPropertyAssociationResponse, error)
- func (c *ClientWithResponses) UpsertPropertyDefinitionWithBodyWithResponse(ctx context.Context, params *UpsertPropertyDefinitionParams, ...) (*UpsertPropertyDefinitionResponse, error)
- func (c *ClientWithResponses) UpsertPropertyDefinitionWithResponse(ctx context.Context, params *UpsertPropertyDefinitionParams, ...) (*UpsertPropertyDefinitionResponse, error)
- func (c *ClientWithResponses) UpsertProvidedExperimentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*UpsertProvidedExperimentResponse, error)
- func (c *ClientWithResponses) UpsertProvidedExperimentWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*UpsertProvidedExperimentResponse, error)
- func (c *ClientWithResponses) UpsertScheduleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpsertScheduleResponse, error)
- func (c *ClientWithResponses) UpsertScheduleWithResponse(ctx context.Context, body UpsertScheduleJSONRequestBody, ...) (*UpsertScheduleResponse, error)
- func (c *ClientWithResponses) UpsertServiceWithBodyWithResponse(ctx context.Context, params *UpsertServiceParams, contentType string, ...) (*UpsertServiceResponse, error)
- func (c *ClientWithResponses) UpsertServiceWithResponse(ctx context.Context, params *UpsertServiceParams, ...) (*UpsertServiceResponse, error)
- func (c *ClientWithResponses) UpsertSlackIntegrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpsertSlackIntegrationResponse, error)
- func (c *ClientWithResponses) UpsertSlackIntegrationWithResponse(ctx context.Context, body UpsertSlackIntegrationJSONRequestBody, ...) (*UpsertSlackIntegrationResponse, error)
- func (c *ClientWithResponses) UpsertTeamWithBodyWithResponse(ctx context.Context, params *UpsertTeamParams, contentType string, ...) (*UpsertTeamResponse, error)
- func (c *ClientWithResponses) UpsertTeamWithResponse(ctx context.Context, params *UpsertTeamParams, body UpsertTeamJSONRequestBody, ...) (*UpsertTeamResponse, error)
- type ClientWithResponsesInterface
- type ComparableValueAO
- type ConnectionCheckJSONRequestBody
- type ConnectionCheckResponse
- func (r ConnectionCheckResponse) ContentType() string
- func (r ConnectionCheckResponse) GetBody() []byte
- func (r ConnectionCheckResponse) GetJSON200() *HubConnectionCheckResponseAO
- func (r ConnectionCheckResponse) GetYAML200() *HubConnectionCheckResponseAO
- func (r ConnectionCheckResponse) Status() string
- func (r ConnectionCheckResponse) StatusCode() int
- type CreateAccessToken1JSONRequestBody
- type CreateAccessToken1Response
- func (r CreateAccessToken1Response) ContentType() string
- func (r CreateAccessToken1Response) GetBody() []byte
- func (r CreateAccessToken1Response) GetJSON200() *CreateAccessTokenResponseV2AO
- func (r CreateAccessToken1Response) GetYAML200() *CreateAccessTokenResponseV2AO
- func (r CreateAccessToken1Response) Status() string
- func (r CreateAccessToken1Response) StatusCode() int
- type CreateAccessTokenJSONRequestBodydeprecated
- type CreateAccessTokenRequestAO
- type CreateAccessTokenRequestAOType
- type CreateAccessTokenRequestV2AO
- type CreateAccessTokenRequestV2AOType
- type CreateAccessTokenResponse
- func (r CreateAccessTokenResponse) ContentType() string
- func (r CreateAccessTokenResponse) GetBody() []byte
- func (r CreateAccessTokenResponse) GetJSON200() *CreateAccessTokenResponseAO
- func (r CreateAccessTokenResponse) GetYAML200() *CreateAccessTokenResponseAO
- func (r CreateAccessTokenResponse) Status() string
- func (r CreateAccessTokenResponse) StatusCode() int
- type CreateAccessTokenResponseAO
- type CreateAccessTokenResponseV2AO
- type CreateAndRunExperimentAO
- type CreateAndRunExperimentFromTemplateAO
- type CreateExperimentAO
- type CreateExperimentByTemplateJSONRequestBody
- type CreateExperimentByTemplateParams
- type CreateExperimentByTemplateResponse
- type CreateExperimentFromTemplateAO
- type CreateLandscapeViewJSONRequestBody
- type CreateLandscapeViewResponse
- func (r CreateLandscapeViewResponse) ContentType() string
- func (r CreateLandscapeViewResponse) GetBody() []byte
- func (r CreateLandscapeViewResponse) GetJSON201() *LandscapeViewAO
- func (r CreateLandscapeViewResponse) GetYAML201() *LandscapeViewAO
- func (r CreateLandscapeViewResponse) Status() string
- func (r CreateLandscapeViewResponse) StatusCode() int
- type CreateOrUpdateExperimentJSONRequestBody
- type CreateOrUpdateExperimentResponse
- type CursorSliceResponseAOTargetAO
- type CustomWebhookAO
- type CustomWebhookAOScope
- type CustomWebhookUpsertAO
- type CustomWebhookUpsertAOScope
- type DefaultBlastRadiusAO
- type DeleteAccessToken1Response
- type DeleteAccessTokenResponse
- type DeleteCustomWebhookResponse
- func (r DeleteCustomWebhookResponse) ContentType() string
- func (r DeleteCustomWebhookResponse) GetBody() []byte
- func (r DeleteCustomWebhookResponse) GetJSON200() *CustomWebhookAO
- func (r DeleteCustomWebhookResponse) GetYAML200() *CustomWebhookAO
- func (r DeleteCustomWebhookResponse) Status() string
- func (r DeleteCustomWebhookResponse) StatusCode() int
- type DeleteEnvironmentResponse
- type DeleteExperimentResponse
- type DeleteExperimentTemplateResponse
- type DeleteHubParams
- type DeleteHubResponse
- type DeleteLandscapeViewResponse
- type DeletePreflightActionIntegrationResponse
- func (r DeletePreflightActionIntegrationResponse) ContentType() string
- func (r DeletePreflightActionIntegrationResponse) GetBody() []byte
- func (r DeletePreflightActionIntegrationResponse) GetJSON200() *PreflightActionIntegrationAO
- func (r DeletePreflightActionIntegrationResponse) GetYAML200() *PreflightActionIntegrationAO
- func (r DeletePreflightActionIntegrationResponse) Status() string
- func (r DeletePreflightActionIntegrationResponse) StatusCode() int
- type DeletePreflightWebhookResponse
- func (r DeletePreflightWebhookResponse) ContentType() string
- func (r DeletePreflightWebhookResponse) GetBody() []byte
- func (r DeletePreflightWebhookResponse) GetJSON200() *PreflightWebhookAO
- func (r DeletePreflightWebhookResponse) GetYAML200() *PreflightWebhookAO
- func (r DeletePreflightWebhookResponse) Status() string
- func (r DeletePreflightWebhookResponse) StatusCode() int
- type DeleteProfileResponse
- type DeletePropertyAssociationParams
- type DeletePropertyAssociationResponse
- type DeletePropertyDefinitionParams
- type DeletePropertyDefinitionResponse
- type DeleteServiceResponse
- type DeleteSlackIntegrationResponse
- func (r DeleteSlackIntegrationResponse) ContentType() string
- func (r DeleteSlackIntegrationResponse) GetBody() []byte
- func (r DeleteSlackIntegrationResponse) GetJSON200() *SlackWebhookAO
- func (r DeleteSlackIntegrationResponse) GetYAML200() *SlackWebhookAO
- func (r DeleteSlackIntegrationResponse) Status() string
- func (r DeleteSlackIntegrationResponse) StatusCode() int
- type DeleteTeamParams
- type DeleteTeamResponse
- func (r DeleteTeamResponse) ContentType() string
- func (r DeleteTeamResponse) GetBody() []byte
- func (r DeleteTeamResponse) GetJSON200() *TeamAO
- func (r DeleteTeamResponse) GetJSON403() *TeamAO
- func (r DeleteTeamResponse) GetYAML200() *TeamAO
- func (r DeleteTeamResponse) GetYAML403() *TeamAO
- func (r DeleteTeamResponse) Status() string
- func (r DeleteTeamResponse) StatusCode() int
- type DisengageKillswitchResponse
- type EngageKillswitchResponse
- type EnvironmentAL
- type EnvironmentAO
- type EnvironmentAOState
- type EnvironmentSummariesAO
- type ExecuteExperimentJSONRequestBody
- type ExecuteExperimentParams
- type ExecuteExperimentRequestAO
- type ExecuteExperimentResponse
- func (r ExecuteExperimentResponse) ContentType() string
- func (r ExecuteExperimentResponse) GetBody() []byte
- func (r ExecuteExperimentResponse) GetJSON201() *ExecuteExperimentResponseAO
- func (r ExecuteExperimentResponse) GetJSON404() *ExecuteExperimentResponseAO
- func (r ExecuteExperimentResponse) GetYAML201() *ExecuteExperimentResponseAO
- func (r ExecuteExperimentResponse) GetYAML404() *ExecuteExperimentResponseAO
- func (r ExecuteExperimentResponse) Status() string
- func (r ExecuteExperimentResponse) StatusCode() int
- type ExecuteExperimentResponseAO
- type ExperimentAO
- type ExperimentExecutionAO
- type ExperimentExecutionAOCreatedVia
- type ExperimentExecutionPageItemAO
- type ExperimentExecutionReportFilterAO
- type ExperimentExecutionReportFilterAORollup
- type ExperimentExecutionStepActionAO
- type ExperimentExecutionStepActionAOActionKind
- type ExperimentExecutionStepServiceValidationAO
- func (t ExperimentExecutionStepServiceValidationAO) AsExperimentExecutionStepActionAO() (ExperimentExecutionStepActionAO, error)
- func (t ExperimentExecutionStepServiceValidationAO) AsExperimentExecutionStepServiceValidationAO() (ExperimentExecutionStepServiceValidationAO, error)
- func (t ExperimentExecutionStepServiceValidationAO) AsExperimentExecutionStepWaitAO() (ExperimentExecutionStepWaitAO, error)
- func (t ExperimentExecutionStepServiceValidationAO) Discriminator() (string, error)
- func (t *ExperimentExecutionStepServiceValidationAO) FromExperimentExecutionStepActionAO(v ExperimentExecutionStepActionAO) error
- func (t *ExperimentExecutionStepServiceValidationAO) FromExperimentExecutionStepServiceValidationAO(v ExperimentExecutionStepServiceValidationAO) error
- func (t *ExperimentExecutionStepServiceValidationAO) FromExperimentExecutionStepWaitAO(v ExperimentExecutionStepWaitAO) error
- func (t ExperimentExecutionStepServiceValidationAO) MarshalJSON() ([]byte, error)
- func (t *ExperimentExecutionStepServiceValidationAO) MergeExperimentExecutionStepActionAO(v ExperimentExecutionStepActionAO) error
- func (t *ExperimentExecutionStepServiceValidationAO) MergeExperimentExecutionStepServiceValidationAO(v ExperimentExecutionStepServiceValidationAO) error
- func (t *ExperimentExecutionStepServiceValidationAO) MergeExperimentExecutionStepWaitAO(v ExperimentExecutionStepWaitAO) error
- func (t *ExperimentExecutionStepServiceValidationAO) UnmarshalJSON(b []byte) error
- func (t ExperimentExecutionStepServiceValidationAO) ValueByDiscriminator() (interface{}, error)
- type ExperimentExecutionStepWaitAO
- type ExperimentExecutionSummariesAO
- type ExperimentExecutionSummaryAO
- type ExperimentExecutionVariableAO
- type ExperimentExecutionVariableAOOrigin
- type ExperimentExecutionVariableAOValue0
- type ExperimentExecutionVariableAOValue1
- type ExperimentExecutionVariableAO_Value
- func (t ExperimentExecutionVariableAO_Value) AsExperimentExecutionVariableAOValue0() (ExperimentExecutionVariableAOValue0, error)
- func (t ExperimentExecutionVariableAO_Value) AsExperimentExecutionVariableAOValue1() (ExperimentExecutionVariableAOValue1, error)
- func (t *ExperimentExecutionVariableAO_Value) FromExperimentExecutionVariableAOValue0(v ExperimentExecutionVariableAOValue0) error
- func (t *ExperimentExecutionVariableAO_Value) FromExperimentExecutionVariableAOValue1(v ExperimentExecutionVariableAOValue1) error
- func (t ExperimentExecutionVariableAO_Value) MarshalJSON() ([]byte, error)
- func (t *ExperimentExecutionVariableAO_Value) MergeExperimentExecutionVariableAOValue0(v ExperimentExecutionVariableAOValue0) error
- func (t *ExperimentExecutionVariableAO_Value) MergeExperimentExecutionVariableAOValue1(v ExperimentExecutionVariableAOValue1) error
- func (t *ExperimentExecutionVariableAO_Value) UnmarshalJSON(b []byte) error
- type ExperimentExecutionsRequestAO
- type ExperimentLaneAO
- type ExperimentReportFilterAO
- type ExperimentReportFilterAORollup
- type ExperimentRiskAO
- type ExperimentScheduleAO
- type ExperimentStepActionAO
- func (t ExperimentStepActionAO) AsExperimentStepActionAO() (ExperimentStepActionAO, error)
- func (t ExperimentStepActionAO) AsExperimentStepServiceValidationAO() (ExperimentStepServiceValidationAO, error)
- func (t ExperimentStepActionAO) AsExperimentStepWaitAO() (ExperimentStepWaitAO, error)
- func (t ExperimentStepActionAO) Discriminator() (string, error)
- func (t *ExperimentStepActionAO) FromExperimentStepActionAO(v ExperimentStepActionAO) error
- func (t *ExperimentStepActionAO) FromExperimentStepServiceValidationAO(v ExperimentStepServiceValidationAO) error
- func (t *ExperimentStepActionAO) FromExperimentStepWaitAO(v ExperimentStepWaitAO) error
- func (t ExperimentStepActionAO) MarshalJSON() ([]byte, error)
- func (t *ExperimentStepActionAO) MergeExperimentStepActionAO(v ExperimentStepActionAO) error
- func (t *ExperimentStepActionAO) MergeExperimentStepServiceValidationAO(v ExperimentStepServiceValidationAO) error
- func (t *ExperimentStepActionAO) MergeExperimentStepWaitAO(v ExperimentStepWaitAO) error
- func (t *ExperimentStepActionAO) UnmarshalJSON(b []byte) error
- func (t ExperimentStepActionAO) ValueByDiscriminator() (interface{}, error)
- type ExperimentStepRadiusAO
- type ExperimentStepServiceValidationAO
- func (t ExperimentStepServiceValidationAO) AsExperimentStepActionAO() (ExperimentStepActionAO, error)
- func (t ExperimentStepServiceValidationAO) AsExperimentStepServiceValidationAO() (ExperimentStepServiceValidationAO, error)
- func (t ExperimentStepServiceValidationAO) AsExperimentStepWaitAO() (ExperimentStepWaitAO, error)
- func (t ExperimentStepServiceValidationAO) Discriminator() (string, error)
- func (t *ExperimentStepServiceValidationAO) FromExperimentStepActionAO(v ExperimentStepActionAO) error
- func (t *ExperimentStepServiceValidationAO) FromExperimentStepServiceValidationAO(v ExperimentStepServiceValidationAO) error
- func (t *ExperimentStepServiceValidationAO) FromExperimentStepWaitAO(v ExperimentStepWaitAO) error
- func (t ExperimentStepServiceValidationAO) MarshalJSON() ([]byte, error)
- func (t *ExperimentStepServiceValidationAO) MergeExperimentStepActionAO(v ExperimentStepActionAO) error
- func (t *ExperimentStepServiceValidationAO) MergeExperimentStepServiceValidationAO(v ExperimentStepServiceValidationAO) error
- func (t *ExperimentStepServiceValidationAO) MergeExperimentStepWaitAO(v ExperimentStepWaitAO) error
- func (t *ExperimentStepServiceValidationAO) UnmarshalJSON(b []byte) error
- func (t ExperimentStepServiceValidationAO) ValueByDiscriminator() (interface{}, error)
- type ExperimentStepWaitAO
- type ExperimentSummariesAO
- type ExperimentSummaryAO
- type ExperimentTemplateAO
- type ExperimentTemplatePlaceholderAO
- type ExperimentTemplatePlaceholderValueAO
- type ExperimentTemplateSummariesAO
- type ExperimentTemplateSummaryAO
- type ExperimentTemplatesImportAO
- type FindAllActionsParams
- type FindAllActionsResponse
- func (r FindAllActionsResponse) ContentType() string
- func (r FindAllActionsResponse) GetBody() []byte
- func (r FindAllActionsResponse) GetJSON200() *ActionSummariesAO
- func (r FindAllActionsResponse) GetYAML200() *ActionSummariesAO
- func (r FindAllActionsResponse) Status() string
- func (r FindAllActionsResponse) StatusCode() int
- type FindParams
- type FindResponse
- type ForwardToPlatformParams
- type ForwardToPlatformResponse
- func (r ForwardToPlatformResponse) ContentType() string
- func (r ForwardToPlatformResponse) GetBody() []byte
- func (r ForwardToPlatformResponse) GetJSON307() *map[string]interface{}
- func (r ForwardToPlatformResponse) GetYAML307() *map[string]interface{}
- func (r ForwardToPlatformResponse) Status() string
- func (r ForwardToPlatformResponse) StatusCode() int
- type GetAccessTokens1Params
- type GetAccessTokens1ParamsType
- type GetAccessTokens1Response
- func (r GetAccessTokens1Response) ContentType() string
- func (r GetAccessTokens1Response) GetBody() []byte
- func (r GetAccessTokens1Response) GetJSON200() *PagedResponseAOAccessTokensPageItemV2AO
- func (r GetAccessTokens1Response) GetYAML200() *PagedResponseAOAccessTokensPageItemV2AO
- func (r GetAccessTokens1Response) Status() string
- func (r GetAccessTokens1Response) StatusCode() int
- type GetAccessTokensParams
- type GetAccessTokensParamsType
- type GetAccessTokensResponse
- func (r GetAccessTokensResponse) ContentType() string
- func (r GetAccessTokensResponse) GetBody() []byte
- func (r GetAccessTokensResponse) GetJSON200() *PagedResponseAOAccessTokensPageItemAO
- func (r GetAccessTokensResponse) GetYAML200() *PagedResponseAOAccessTokensPageItemAO
- func (r GetAccessTokensResponse) Status() string
- func (r GetAccessTokensResponse) StatusCode() int
- type GetActionResponse
- type GetAdviceApiRequestAO
- type GetAllSchedulesV2Params
- type GetAllSchedulesV2Response
- func (r GetAllSchedulesV2Response) ContentType() string
- func (r GetAllSchedulesV2Response) GetBody() []byte
- func (r GetAllSchedulesV2Response) GetJSON200() *[]ExperimentScheduleAO
- func (r GetAllSchedulesV2Response) GetYAML200() *[]ExperimentScheduleAO
- func (r GetAllSchedulesV2Response) Status() string
- func (r GetAllSchedulesV2Response) StatusCode() int
- type GetArtifactResponse
- type GetAssociationsParams
- type GetAssociationsParamsAssociationTypeAO
- type GetAssociationsResponse
- func (r GetAssociationsResponse) ContentType() string
- func (r GetAssociationsResponse) GetBody() []byte
- func (r GetAssociationsResponse) GetJSON200() *PagedResponseAOPropertyAssociationAO
- func (r GetAssociationsResponse) GetYAML200() *PagedResponseAOPropertyAssociationAO
- func (r GetAssociationsResponse) Status() string
- func (r GetAssociationsResponse) StatusCode() int
- type GetAverageRiskJSONRequestBody
- type GetAverageRiskResponse
- func (r GetAverageRiskResponse) ContentType() string
- func (r GetAverageRiskResponse) GetBody() []byte
- func (r GetAverageRiskResponse) GetJSON200() *TimeSeriesReportAO
- func (r GetAverageRiskResponse) GetYAML200() *TimeSeriesReportAO
- func (r GetAverageRiskResponse) Status() string
- func (r GetAverageRiskResponse) StatusCode() int
- type GetCustomWebhookResponse
- func (r GetCustomWebhookResponse) ContentType() string
- func (r GetCustomWebhookResponse) GetBody() []byte
- func (r GetCustomWebhookResponse) GetJSON200() *CustomWebhookAO
- func (r GetCustomWebhookResponse) GetYAML200() *CustomWebhookAO
- func (r GetCustomWebhookResponse) Status() string
- func (r GetCustomWebhookResponse) StatusCode() int
- type GetCustomWebhooksResponse
- func (r GetCustomWebhooksResponse) ContentType() string
- func (r GetCustomWebhooksResponse) GetBody() []byte
- func (r GetCustomWebhooksResponse) GetJSON200() *ListResponseCustomWebhookAO
- func (r GetCustomWebhooksResponse) GetYAML200() *ListResponseCustomWebhookAO
- func (r GetCustomWebhooksResponse) Status() string
- func (r GetCustomWebhooksResponse) StatusCode() int
- type GetEnvironmentCountsJSONRequestBody
- type GetEnvironmentCountsResponse
- func (r GetEnvironmentCountsResponse) ContentType() string
- func (r GetEnvironmentCountsResponse) GetBody() []byte
- func (r GetEnvironmentCountsResponse) GetJSON200() *TimeSeriesReportAO
- func (r GetEnvironmentCountsResponse) GetYAML200() *TimeSeriesReportAO
- func (r GetEnvironmentCountsResponse) Status() string
- func (r GetEnvironmentCountsResponse) StatusCode() int
- type GetEnvironmentResponse
- func (r GetEnvironmentResponse) ContentType() string
- func (r GetEnvironmentResponse) GetBody() []byte
- func (r GetEnvironmentResponse) GetJSON200() *EnvironmentAO
- func (r GetEnvironmentResponse) GetYAML200() *EnvironmentAO
- func (r GetEnvironmentResponse) Status() string
- func (r GetEnvironmentResponse) StatusCode() int
- type GetEnvironmentVariablesResponse
- func (r GetEnvironmentVariablesResponse) ContentType() string
- func (r GetEnvironmentVariablesResponse) GetBody() []byte
- func (r GetEnvironmentVariablesResponse) GetJSON200() *string
- func (r GetEnvironmentVariablesResponse) GetYAML200() *string
- func (r GetEnvironmentVariablesResponse) Status() string
- func (r GetEnvironmentVariablesResponse) StatusCode() int
- type GetEnvironmentsParams
- type GetEnvironmentsResponse
- func (r GetEnvironmentsResponse) ContentType() string
- func (r GetEnvironmentsResponse) GetBody() []byte
- func (r GetEnvironmentsResponse) GetJSON200() *EnvironmentSummariesAO
- func (r GetEnvironmentsResponse) GetYAML200() *EnvironmentSummariesAO
- func (r GetEnvironmentsResponse) Status() string
- func (r GetEnvironmentsResponse) StatusCode() int
- type GetExperimentBadgeParams
- type GetExperimentBadgeResponse
- type GetExperimentCreationsJSONRequestBody
- type GetExperimentCreationsParams
- type GetExperimentCreationsParamsGroupBy
- type GetExperimentCreationsResponse
- func (r GetExperimentCreationsResponse) ContentType() string
- func (r GetExperimentCreationsResponse) GetBody() []byte
- func (r GetExperimentCreationsResponse) GetJSON200() *TimeSeriesReportAO
- func (r GetExperimentCreationsResponse) GetYAML200() *TimeSeriesReportAO
- func (r GetExperimentCreationsResponse) Status() string
- func (r GetExperimentCreationsResponse) StatusCode() int
- type GetExperimentExecutionParams
- type GetExperimentExecutionResponse
- func (r GetExperimentExecutionResponse) ContentType() string
- func (r GetExperimentExecutionResponse) GetBody() []byte
- func (r GetExperimentExecutionResponse) GetJSON200() *ExperimentExecutionAO
- func (r GetExperimentExecutionResponse) GetYAML200() *ExperimentExecutionAO
- func (r GetExperimentExecutionResponse) Status() string
- func (r GetExperimentExecutionResponse) StatusCode() int
- type GetExperimentExecutions1Params
- type GetExperimentExecutions1ParamsState
- type GetExperimentExecutions1Response
- func (r GetExperimentExecutions1Response) ContentType() string
- func (r GetExperimentExecutions1Response) GetBody() []byte
- func (r GetExperimentExecutions1Response) GetJSON200() *ExperimentExecutionSummariesAO
- func (r GetExperimentExecutions1Response) GetYAML200() *ExperimentExecutionSummariesAO
- func (r GetExperimentExecutions1Response) Status() string
- func (r GetExperimentExecutions1Response) StatusCode() int
- type GetExperimentExecutions2JSONRequestBody
- type GetExperimentExecutions2Response
- func (r GetExperimentExecutions2Response) ContentType() string
- func (r GetExperimentExecutions2Response) GetBody() []byte
- func (r GetExperimentExecutions2Response) GetJSON200() *PagedResponseAOExperimentExecutionPageItemAO
- func (r GetExperimentExecutions2Response) GetYAML200() *PagedResponseAOExperimentExecutionPageItemAO
- func (r GetExperimentExecutions2Response) Status() string
- func (r GetExperimentExecutions2Response) StatusCode() int
- type GetExperimentExecutions3Params
- type GetExperimentExecutions3ParamsState
- type GetExperimentExecutions3Response
- func (r GetExperimentExecutions3Response) ContentType() string
- func (r GetExperimentExecutions3Response) GetBody() []byte
- func (r GetExperimentExecutions3Response) GetJSON200() *ExperimentExecutionSummariesAO
- func (r GetExperimentExecutions3Response) GetYAML200() *ExperimentExecutionSummariesAO
- func (r GetExperimentExecutions3Response) Status() string
- func (r GetExperimentExecutions3Response) StatusCode() int
- type GetExperimentExecutionsJSONRequestBody
- type GetExperimentExecutionsParams
- type GetExperimentExecutionsParamsGroupBy
- type GetExperimentExecutionsResponse
- func (r GetExperimentExecutionsResponse) ContentType() string
- func (r GetExperimentExecutionsResponse) GetBody() []byte
- func (r GetExperimentExecutionsResponse) GetJSON200() *TimeSeriesReportAO
- func (r GetExperimentExecutionsResponse) GetYAML200() *TimeSeriesReportAO
- func (r GetExperimentExecutionsResponse) Status() string
- func (r GetExperimentExecutionsResponse) StatusCode() int
- type GetExperimentResponse
- func (r GetExperimentResponse) ContentType() string
- func (r GetExperimentResponse) GetBody() []byte
- func (r GetExperimentResponse) GetJSON200() *ExperimentAO
- func (r GetExperimentResponse) GetYAML200() *ExperimentAO
- func (r GetExperimentResponse) Status() string
- func (r GetExperimentResponse) StatusCode() int
- type GetExperimentTemplateResponse
- func (r GetExperimentTemplateResponse) ContentType() string
- func (r GetExperimentTemplateResponse) GetBody() []byte
- func (r GetExperimentTemplateResponse) GetJSON200() *ExperimentTemplateAO
- func (r GetExperimentTemplateResponse) GetYAML200() *ExperimentTemplateAO
- func (r GetExperimentTemplateResponse) Status() string
- func (r GetExperimentTemplateResponse) StatusCode() int
- type GetExperimentTemplatesParams
- type GetExperimentTemplatesResponse
- func (r GetExperimentTemplatesResponse) ContentType() string
- func (r GetExperimentTemplatesResponse) GetBody() []byte
- func (r GetExperimentTemplatesResponse) GetJSON200() *ExperimentTemplateSummariesAO
- func (r GetExperimentTemplatesResponse) GetYAML200() *ExperimentTemplateSummariesAO
- func (r GetExperimentTemplatesResponse) Status() string
- func (r GetExperimentTemplatesResponse) StatusCode() int
- type GetExperimentsParams
- type GetExperimentsParamsKind
- type GetExperimentsResponse
- func (r GetExperimentsResponse) ContentType() string
- func (r GetExperimentsResponse) GetBody() []byte
- func (r GetExperimentsResponse) GetJSON200() *ExperimentSummariesAO
- func (r GetExperimentsResponse) GetYAML200() *ExperimentSummariesAO
- func (r GetExperimentsResponse) Status() string
- func (r GetExperimentsResponse) StatusCode() int
- type GetHubByIdResponse
- type GetHubsResponse
- type GetKillswitchResponse
- func (r GetKillswitchResponse) ContentType() string
- func (r GetKillswitchResponse) GetBody() []byte
- func (r GetKillswitchResponse) GetJSON200() *KillswitchAO
- func (r GetKillswitchResponse) GetYAML200() *KillswitchAO
- func (r GetKillswitchResponse) Status() string
- func (r GetKillswitchResponse) StatusCode() int
- type GetLandscapeViewResponse
- func (r GetLandscapeViewResponse) ContentType() string
- func (r GetLandscapeViewResponse) GetBody() []byte
- func (r GetLandscapeViewResponse) GetJSON200() *LandscapeViewAO
- func (r GetLandscapeViewResponse) GetYAML200() *LandscapeViewAO
- func (r GetLandscapeViewResponse) Status() string
- func (r GetLandscapeViewResponse) StatusCode() int
- type GetLandscapeViewsParams
- type GetLandscapeViewsResponse
- func (r GetLandscapeViewsResponse) ContentType() string
- func (r GetLandscapeViewsResponse) GetBody() []byte
- func (r GetLandscapeViewsResponse) GetJSON200() *ListResponseLandscapeViewAO
- func (r GetLandscapeViewsResponse) GetYAML200() *ListResponseLandscapeViewAO
- func (r GetLandscapeViewsResponse) Status() string
- func (r GetLandscapeViewsResponse) StatusCode() int
- type GetLicenseSummaryAO
- type GetLicenseSummaryResponse
- func (r GetLicenseSummaryResponse) ContentType() string
- func (r GetLicenseSummaryResponse) GetBody() []byte
- func (r GetLicenseSummaryResponse) GetJSON200() *GetLicenseSummaryAO
- func (r GetLicenseSummaryResponse) GetYAML200() *GetLicenseSummaryAO
- func (r GetLicenseSummaryResponse) Status() string
- func (r GetLicenseSummaryResponse) StatusCode() int
- type GetLinkedBadgeParams
- type GetLinkedBadgeResponse
- type GetPreflightActionIntegrationResponse
- func (r GetPreflightActionIntegrationResponse) ContentType() string
- func (r GetPreflightActionIntegrationResponse) GetBody() []byte
- func (r GetPreflightActionIntegrationResponse) GetJSON200() *PreflightActionIntegrationAO
- func (r GetPreflightActionIntegrationResponse) GetYAML200() *PreflightActionIntegrationAO
- func (r GetPreflightActionIntegrationResponse) Status() string
- func (r GetPreflightActionIntegrationResponse) StatusCode() int
- type GetPreflightActionIntegrationsResponse
- func (r GetPreflightActionIntegrationsResponse) ContentType() string
- func (r GetPreflightActionIntegrationsResponse) GetBody() []byte
- func (r GetPreflightActionIntegrationsResponse) GetJSON200() *ListResponsePreflightActionIntegrationAO
- func (r GetPreflightActionIntegrationsResponse) GetYAML200() *ListResponsePreflightActionIntegrationAO
- func (r GetPreflightActionIntegrationsResponse) Status() string
- func (r GetPreflightActionIntegrationsResponse) StatusCode() int
- type GetPreflightActionSummaryParams
- type GetPreflightActionSummaryResponse
- func (r GetPreflightActionSummaryResponse) ContentType() string
- func (r GetPreflightActionSummaryResponse) GetBody() []byte
- func (r GetPreflightActionSummaryResponse) GetJSON200() *PreflightActionSummaryAO
- func (r GetPreflightActionSummaryResponse) GetYAML200() *PreflightActionSummaryAO
- func (r GetPreflightActionSummaryResponse) Status() string
- func (r GetPreflightActionSummaryResponse) StatusCode() int
- type GetPreflightWebhookResponse
- func (r GetPreflightWebhookResponse) ContentType() string
- func (r GetPreflightWebhookResponse) GetBody() []byte
- func (r GetPreflightWebhookResponse) GetJSON200() *PreflightWebhookAO
- func (r GetPreflightWebhookResponse) GetYAML200() *PreflightWebhookAO
- func (r GetPreflightWebhookResponse) Status() string
- func (r GetPreflightWebhookResponse) StatusCode() int
- type GetPreflightWebhooksResponse
- func (r GetPreflightWebhooksResponse) ContentType() string
- func (r GetPreflightWebhooksResponse) GetBody() []byte
- func (r GetPreflightWebhooksResponse) GetJSON200() *ListResponsePreflightWebhookAO
- func (r GetPreflightWebhooksResponse) GetYAML200() *ListResponsePreflightWebhookAO
- func (r GetPreflightWebhooksResponse) Status() string
- func (r GetPreflightWebhooksResponse) StatusCode() int
- type GetProfileResponse
- func (r GetProfileResponse) ContentType() string
- func (r GetProfileResponse) GetBody() []byte
- func (r GetProfileResponse) GetJSON200() *ServiceProfileAO
- func (r GetProfileResponse) GetYAML200() *ServiceProfileAO
- func (r GetProfileResponse) Status() string
- func (r GetProfileResponse) StatusCode() int
- type GetProfilesParams
- type GetProfilesResponse
- func (r GetProfilesResponse) ContentType() string
- func (r GetProfilesResponse) GetBody() []byte
- func (r GetProfilesResponse) GetJSON200() *PagedResponseAOServiceProfileAO
- func (r GetProfilesResponse) GetYAML200() *PagedResponseAOServiceProfileAO
- func (r GetProfilesResponse) Status() string
- func (r GetProfilesResponse) StatusCode() int
- type GetPropertyDefinition1Response
- func (r GetPropertyDefinition1Response) ContentType() string
- func (r GetPropertyDefinition1Response) GetBody() []byte
- func (r GetPropertyDefinition1Response) GetJSON200() *PropertyAssociationAO
- func (r GetPropertyDefinition1Response) GetYAML200() *PropertyAssociationAO
- func (r GetPropertyDefinition1Response) Status() string
- func (r GetPropertyDefinition1Response) StatusCode() int
- type GetPropertyDefinitionResponse
- func (r GetPropertyDefinitionResponse) ContentType() string
- func (r GetPropertyDefinitionResponse) GetBody() []byte
- func (r GetPropertyDefinitionResponse) GetJSON200() *PropertyDefinitionAO
- func (r GetPropertyDefinitionResponse) GetYAML200() *PropertyDefinitionAO
- func (r GetPropertyDefinitionResponse) Status() string
- func (r GetPropertyDefinitionResponse) StatusCode() int
- type GetPropertyDefinitionsParams
- type GetPropertyDefinitionsResponse
- func (r GetPropertyDefinitionsResponse) ContentType() string
- func (r GetPropertyDefinitionsResponse) GetBody() []byte
- func (r GetPropertyDefinitionsResponse) GetJSON200() *PagedResponseAOPropertyDefinitionAO
- func (r GetPropertyDefinitionsResponse) GetYAML200() *PagedResponseAOPropertyDefinitionAO
- func (r GetPropertyDefinitionsResponse) Status() string
- func (r GetPropertyDefinitionsResponse) StatusCode() int
- type GetReportResponse
- type GetRiskByCategoryJSONRequestBody
- type GetRiskByCategoryResponse
- func (r GetRiskByCategoryResponse) ContentType() string
- func (r GetRiskByCategoryResponse) GetBody() []byte
- func (r GetRiskByCategoryResponse) GetJSON200() *TimeSeriesReportAO
- func (r GetRiskByCategoryResponse) GetYAML200() *TimeSeriesReportAO
- func (r GetRiskByCategoryResponse) Status() string
- func (r GetRiskByCategoryResponse) StatusCode() int
- type GetRiskDistributionJSONRequestBody
- type GetRiskDistributionResponse
- func (r GetRiskDistributionResponse) ContentType() string
- func (r GetRiskDistributionResponse) GetBody() []byte
- func (r GetRiskDistributionResponse) GetJSON200() *TimeSeriesReportAO
- func (r GetRiskDistributionResponse) GetYAML200() *TimeSeriesReportAO
- func (r GetRiskDistributionResponse) Status() string
- func (r GetRiskDistributionResponse) StatusCode() int
- type GetRiskResponse
- type GetSchedulesResponse
- func (r GetSchedulesResponse) ContentType() string
- func (r GetSchedulesResponse) GetBody() []byte
- func (r GetSchedulesResponse) GetJSON200() *ExperimentScheduleAO
- func (r GetSchedulesResponse) GetYAML200() *ExperimentScheduleAO
- func (r GetSchedulesResponse) Status() string
- func (r GetSchedulesResponse) StatusCode() int
- type GetServiceExperimentsParams
- type GetServiceExperimentsParamsType
- type GetServiceExperimentsResponse
- func (r GetServiceExperimentsResponse) ContentType() string
- func (r GetServiceExperimentsResponse) GetBody() []byte
- func (r GetServiceExperimentsResponse) GetJSON200() *PagedResponseAOServiceExperimentAO
- func (r GetServiceExperimentsResponse) GetYAML200() *PagedResponseAOServiceExperimentAO
- func (r GetServiceExperimentsResponse) Status() string
- func (r GetServiceExperimentsResponse) StatusCode() int
- type GetServiceListParams
- type GetServiceListResponse
- func (r GetServiceListResponse) ContentType() string
- func (r GetServiceListResponse) GetBody() []byte
- func (r GetServiceListResponse) GetJSON200() *PagedResponseAOServiceSummaryAO
- func (r GetServiceListResponse) GetYAML200() *PagedResponseAOServiceSummaryAO
- func (r GetServiceListResponse) Status() string
- func (r GetServiceListResponse) StatusCode() int
- type GetServiceResponse
- type GetServiceVariablesResponse
- func (r GetServiceVariablesResponse) ContentType() string
- func (r GetServiceVariablesResponse) GetBody() []byte
- func (r GetServiceVariablesResponse) GetJSON200() *string
- func (r GetServiceVariablesResponse) GetYAML200() *string
- func (r GetServiceVariablesResponse) Status() string
- func (r GetServiceVariablesResponse) StatusCode() int
- type GetSlackIntegrationResponse
- func (r GetSlackIntegrationResponse) ContentType() string
- func (r GetSlackIntegrationResponse) GetBody() []byte
- func (r GetSlackIntegrationResponse) GetJSON200() *SlackWebhookAO
- func (r GetSlackIntegrationResponse) GetYAML200() *SlackWebhookAO
- func (r GetSlackIntegrationResponse) Status() string
- func (r GetSlackIntegrationResponse) StatusCode() int
- type GetSlackIntegrationsResponse
- func (r GetSlackIntegrationsResponse) ContentType() string
- func (r GetSlackIntegrationsResponse) GetBody() []byte
- func (r GetSlackIntegrationsResponse) GetJSON200() *ListResponseSlackWebhookAO
- func (r GetSlackIntegrationsResponse) GetYAML200() *ListResponseSlackWebhookAO
- func (r GetSlackIntegrationsResponse) Status() string
- func (r GetSlackIntegrationsResponse) StatusCode() int
- type GetTargetAdviceSummaryJSONRequestBody
- type GetTargetAdviceSummaryResponse
- func (r GetTargetAdviceSummaryResponse) ContentType() string
- func (r GetTargetAdviceSummaryResponse) GetBody() []byte
- func (r GetTargetAdviceSummaryResponse) GetJSON200() *AdviceSummaryAO
- func (r GetTargetAdviceSummaryResponse) GetYAML200() *AdviceSummaryAO
- func (r GetTargetAdviceSummaryResponse) Status() string
- func (r GetTargetAdviceSummaryResponse) StatusCode() int
- type GetTargetAttributeKeysParams
- type GetTargetAttributeKeysResponse
- func (r GetTargetAttributeKeysResponse) ContentType() string
- func (r GetTargetAttributeKeysResponse) GetBody() []byte
- func (r GetTargetAttributeKeysResponse) GetJSON200() *PagedResponseAOString
- func (r GetTargetAttributeKeysResponse) GetYAML200() *PagedResponseAOString
- func (r GetTargetAttributeKeysResponse) Status() string
- func (r GetTargetAttributeKeysResponse) StatusCode() int
- type GetTargetAttributeValuesParams
- type GetTargetAttributeValuesResponse
- func (r GetTargetAttributeValuesResponse) ContentType() string
- func (r GetTargetAttributeValuesResponse) GetBody() []byte
- func (r GetTargetAttributeValuesResponse) GetJSON200() *PagedResponseAOString
- func (r GetTargetAttributeValuesResponse) GetYAML200() *PagedResponseAOString
- func (r GetTargetAttributeValuesResponse) Status() string
- func (r GetTargetAttributeValuesResponse) StatusCode() int
- type GetTargetsParams
- type GetTargetsResponse
- func (r GetTargetsResponse) ContentType() string
- func (r GetTargetsResponse) GetBody() []byte
- func (r GetTargetsResponse) GetJSON200() *CursorSliceResponseAOTargetAO
- func (r GetTargetsResponse) GetYAML200() *CursorSliceResponseAOTargetAO
- func (r GetTargetsResponse) Status() string
- func (r GetTargetsResponse) StatusCode() int
- type GetTargetsStats1JSONRequestBody
- type GetTargetsStats1Response
- func (r GetTargetsStats1Response) ContentType() string
- func (r GetTargetsStats1Response) GetBody() []byte
- func (r GetTargetsStats1Response) GetJSON200() *map[string]int64
- func (r GetTargetsStats1Response) GetYAML200() *map[string]int64
- func (r GetTargetsStats1Response) Status() string
- func (r GetTargetsStats1Response) StatusCode() int
- type GetTargetsStatsResponse
- func (r GetTargetsStatsResponse) ContentType() string
- func (r GetTargetsStatsResponse) GetBody() []byte
- func (r GetTargetsStatsResponse) GetJSON200() *map[string]int64
- func (r GetTargetsStatsResponse) GetYAML200() *map[string]int64
- func (r GetTargetsStatsResponse) Status() string
- func (r GetTargetsStatsResponse) StatusCode() int
- type GetTeamCountsJSONRequestBody
- type GetTeamCountsResponse
- func (r GetTeamCountsResponse) ContentType() string
- func (r GetTeamCountsResponse) GetBody() []byte
- func (r GetTeamCountsResponse) GetJSON200() *TimeSeriesReportAO
- func (r GetTeamCountsResponse) GetYAML200() *TimeSeriesReportAO
- func (r GetTeamCountsResponse) Status() string
- func (r GetTeamCountsResponse) StatusCode() int
- type GetTeamEnvironmentsResponse
- func (r GetTeamEnvironmentsResponse) ContentType() string
- func (r GetTeamEnvironmentsResponse) GetBody() []byte
- func (r GetTeamEnvironmentsResponse) GetJSON200() *TeamEnvironmentsAO
- func (r GetTeamEnvironmentsResponse) GetYAML200() *TeamEnvironmentsAO
- func (r GetTeamEnvironmentsResponse) Status() string
- func (r GetTeamEnvironmentsResponse) StatusCode() int
- type GetTeamMembersResponse
- func (r GetTeamMembersResponse) ContentType() string
- func (r GetTeamMembersResponse) GetBody() []byte
- func (r GetTeamMembersResponse) GetJSON200() *TeamMembersAO
- func (r GetTeamMembersResponse) GetYAML200() *TeamMembersAO
- func (r GetTeamMembersResponse) Status() string
- func (r GetTeamMembersResponse) StatusCode() int
- type GetTeamResponse
- type GetTeamsParams
- type GetTeamsResponse
- type GetUserCountsJSONRequestBody
- type GetUserCountsResponse
- func (r GetUserCountsResponse) ContentType() string
- func (r GetUserCountsResponse) GetBody() []byte
- func (r GetUserCountsResponse) GetJSON200() *TimeSeriesReportAO
- func (r GetUserCountsResponse) GetYAML200() *TimeSeriesReportAO
- func (r GetUserCountsResponse) Status() string
- func (r GetUserCountsResponse) StatusCode() int
- type HealthResponse
- type HintAO
- type HttpRequestDoer
- type HubAO
- type HubConnectionCheckAO
- type HubConnectionCheckResponseAO
- type HubSummariesAO
- type HubSummaryAO
- type ImportFromHubJSONRequestBody
- type ImportFromHubParams
- type ImportFromHubResponse
- type InvitationAO
- type InvitationAORole
- type InviteUserJSONRequestBody
- type InviteUserResponse
- type InviteUsersRequestAO
- type KillswitchAO
- type LandscapeViewAO
- type LandscapeViewColorByAO
- type LandscapeViewColorByAOOverrides
- type LandscapeViewGroupByAO
- type LandscapeViewMappedGroupingAO
- type LicenseFeatureSummaryAO
- type LicenseFeatureSummaryAOType
- type LicenseSummaryAO
- type LicenseSummaryAOLicenseType
- type LinkCustomExperimentJSONRequestBody
- type LinkCustomExperimentRequestAO
- type LinkCustomExperimentResponse
- type ListResponseCustomWebhookAO
- type ListResponseLandscapeViewAO
- type ListResponsePreflightActionIntegrationAO
- type ListResponsePreflightWebhookAO
- type ListResponseSlackWebhookAO
- type LivenessResponse
- func (r LivenessResponse) ContentType() string
- func (r LivenessResponse) GetBody() []byte
- func (r LivenessResponse) GetJSON200() *map[string]interface{}
- func (r LivenessResponse) GetYAML200() *map[string]interface{}
- func (r LivenessResponse) Status() string
- func (r LivenessResponse) StatusCode() int
- type MemberAO
- type MemberAOManagedBy
- type MemberAORole
- type MemberUpdateAO
- type MemberUpdateAORole
- type MergeServiceVariablesJSONBody
- type MergeServiceVariablesJSONRequestBody
- type MergeServiceVariablesResponse
- type MetricCheckAO
- type MetricCheckAOCondition
- type MetricCheckAO_B
- func (t MetricCheckAO_B) AsMetricValueAO() (MetricValueAO, error)
- func (t MetricCheckAO_B) AsScalarValueAO() (ScalarValueAO, error)
- func (t MetricCheckAO_B) AsVariableValueAO() (VariableValueAO, error)
- func (t *MetricCheckAO_B) FromMetricValueAO(v MetricValueAO) error
- func (t *MetricCheckAO_B) FromScalarValueAO(v ScalarValueAO) error
- func (t *MetricCheckAO_B) FromVariableValueAO(v VariableValueAO) error
- func (t MetricCheckAO_B) MarshalJSON() ([]byte, error)
- func (t *MetricCheckAO_B) MergeMetricValueAO(v MetricValueAO) error
- func (t *MetricCheckAO_B) MergeScalarValueAO(v ScalarValueAO) error
- func (t *MetricCheckAO_B) MergeVariableValueAO(v VariableValueAO) error
- func (t *MetricCheckAO_B) UnmarshalJSON(b []byte) error
- type MetricQueryAO
- type MetricValueAO
- type NegationTargetPredicateAO
- func (t NegationTargetPredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
- func (t NegationTargetPredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
- func (t NegationTargetPredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
- func (t NegationTargetPredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
- func (t NegationTargetPredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
- func (t NegationTargetPredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
- func (t NegationTargetPredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
- func (t NegationTargetPredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
- func (t NegationTargetPredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
- func (t *NegationTargetPredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *NegationTargetPredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *NegationTargetPredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *NegationTargetPredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *NegationTargetPredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *NegationTargetPredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *NegationTargetPredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *NegationTargetPredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *NegationTargetPredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t NegationTargetPredicateAO) MarshalJSON() ([]byte, error)
- func (t *NegationTargetPredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *NegationTargetPredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *NegationTargetPredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *NegationTargetPredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *NegationTargetPredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *NegationTargetPredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *NegationTargetPredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *NegationTargetPredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *NegationTargetPredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t *NegationTargetPredicateAO) UnmarshalJSON(b []byte) error
- type OptionAO
- type PageRequestAO
- type PagedResponseAOAccessTokensPageItemAO
- type PagedResponseAOAccessTokensPageItemV2AO
- type PagedResponseAOExperimentExecutionPageItemAO
- type PagedResponseAOPropertyAssociationAO
- type PagedResponseAOPropertyDefinitionAO
- type PagedResponseAOServiceExperimentAO
- type PagedResponseAOServiceProfileAO
- type PagedResponseAOServiceSummaryAO
- type PagedResponseAOString
- type ParameterAO
- type PatchExperimentScheduleAO
- type PatchScheduleJSONRequestBody
- type PatchScheduleResponse
- func (r PatchScheduleResponse) ContentType() string
- func (r PatchScheduleResponse) GetBody() []byte
- func (r PatchScheduleResponse) GetJSON200() *ExperimentScheduleAO
- func (r PatchScheduleResponse) GetYAML200() *ExperimentScheduleAO
- func (r PatchScheduleResponse) Status() string
- func (r PatchScheduleResponse) StatusCode() int
- type PreflightActionAO
- type PreflightActionIntegrationAO
- type PreflightActionIntegrationAOScope
- type PreflightActionIntegrationUpsertAO
- type PreflightActionIntegrationUpsertAOScope
- type PreflightActionSummaryAO
- type PreflightWebhookAO
- type PreflightWebhookAOScope
- type PreflightWebhookUpsertAO
- type PreflightWebhookUpsertAOScope
- type PrincipalAL
- func (t PrincipalAL) AsAccessTokenPrincipalAL() (AccessTokenPrincipalAL, error)
- func (t PrincipalAL) AsBatchPrincipalAL() (BatchPrincipalAL, error)
- func (t PrincipalAL) AsUserPrincipalAL() (UserPrincipalAL, error)
- func (t *PrincipalAL) FromAccessTokenPrincipalAL(v AccessTokenPrincipalAL) error
- func (t *PrincipalAL) FromBatchPrincipalAL(v BatchPrincipalAL) error
- func (t *PrincipalAL) FromUserPrincipalAL(v UserPrincipalAL) error
- func (t PrincipalAL) MarshalJSON() ([]byte, error)
- func (t *PrincipalAL) MergeAccessTokenPrincipalAL(v AccessTokenPrincipalAL) error
- func (t *PrincipalAL) MergeBatchPrincipalAL(v BatchPrincipalAL) error
- func (t *PrincipalAL) MergeUserPrincipalAL(v UserPrincipalAL) error
- func (t *PrincipalAL) UnmarshalJSON(b []byte) error
- type PrincipalALPrincipalType
- type PropertyAssociationAO
- type PropertyAssociationAOAssociationType
- type PropertyDefinitionAO
- type PropertyDefinitionAODataType
- type PropertyMetadataAO
- type QueryLanguagePredicateAO
- func (t QueryLanguagePredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
- func (t QueryLanguagePredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
- func (t QueryLanguagePredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
- func (t QueryLanguagePredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
- func (t QueryLanguagePredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
- func (t QueryLanguagePredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
- func (t QueryLanguagePredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
- func (t QueryLanguagePredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
- func (t QueryLanguagePredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
- func (t *QueryLanguagePredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *QueryLanguagePredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *QueryLanguagePredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *QueryLanguagePredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *QueryLanguagePredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *QueryLanguagePredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *QueryLanguagePredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *QueryLanguagePredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *QueryLanguagePredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t QueryLanguagePredicateAO) MarshalJSON() ([]byte, error)
- func (t *QueryLanguagePredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *QueryLanguagePredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *QueryLanguagePredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *QueryLanguagePredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *QueryLanguagePredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *QueryLanguagePredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *QueryLanguagePredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *QueryLanguagePredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *QueryLanguagePredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t *QueryLanguagePredicateAO) UnmarshalJSON(b []byte) error
- type ReadinessResponse
- func (r ReadinessResponse) ContentType() string
- func (r ReadinessResponse) GetBody() []byte
- func (r ReadinessResponse) GetJSON200() *map[string]interface{}
- func (r ReadinessResponse) GetYAML200() *map[string]interface{}
- func (r ReadinessResponse) Status() string
- func (r ReadinessResponse) StatusCode() int
- type RecreateAccessTokenJSONRequestBody
- type RecreateAccessTokenRequestV2AO
- type RecreateAccessTokenResponse
- func (r RecreateAccessTokenResponse) ContentType() string
- func (r RecreateAccessTokenResponse) GetBody() []byte
- func (r RecreateAccessTokenResponse) GetJSON200() *CreateAccessTokenResponseV2AO
- func (r RecreateAccessTokenResponse) GetYAML200() *CreateAccessTokenResponseV2AO
- func (r RecreateAccessTokenResponse) Status() string
- func (r RecreateAccessTokenResponse) StatusCode() int
- type RemoveExperimentScheduleByIdResponse
- type RemoveTeamEnvironmentsJSONRequestBody
- type RemoveTeamEnvironmentsResponse
- func (r RemoveTeamEnvironmentsResponse) ContentType() string
- func (r RemoveTeamEnvironmentsResponse) GetBody() []byte
- func (r RemoveTeamEnvironmentsResponse) GetJSON200() *TeamEnvironmentsAO
- func (r RemoveTeamEnvironmentsResponse) GetYAML200() *TeamEnvironmentsAO
- func (r RemoveTeamEnvironmentsResponse) Status() string
- func (r RemoveTeamEnvironmentsResponse) StatusCode() int
- type RemoveTeamMembersJSONRequestBody
- type RemoveTeamMembersResponse
- func (r RemoveTeamMembersResponse) ContentType() string
- func (r RemoveTeamMembersResponse) GetBody() []byte
- func (r RemoveTeamMembersResponse) GetJSON200() *TeamMembersAO
- func (r RemoveTeamMembersResponse) GetYAML200() *TeamMembersAO
- func (r RemoveTeamMembersResponse) Status() string
- func (r RemoveTeamMembersResponse) StatusCode() int
- type ReportFilterAO
- type ReportFilterAORollup
- type RequestEditorFn
- type ResyncHubResponse
- type SaveAndRunFromTemplateJSONRequestBody
- type SaveAndRunFromTemplateParams
- type SaveAndRunFromTemplateResponse
- func (r SaveAndRunFromTemplateResponse) ContentType() string
- func (r SaveAndRunFromTemplateResponse) GetBody() []byte
- func (r SaveAndRunFromTemplateResponse) GetJSON200() *ExecuteExperimentResponseAO
- func (r SaveAndRunFromTemplateResponse) GetJSON422() *ExecuteExperimentResponseAO
- func (r SaveAndRunFromTemplateResponse) GetYAML200() *ExecuteExperimentResponseAO
- func (r SaveAndRunFromTemplateResponse) GetYAML422() *ExecuteExperimentResponseAO
- func (r SaveAndRunFromTemplateResponse) Status() string
- func (r SaveAndRunFromTemplateResponse) StatusCode() int
- type SaveAndRunJSONRequestBody
- type SaveAndRunParams
- type SaveAndRunResponse
- func (r SaveAndRunResponse) ContentType() string
- func (r SaveAndRunResponse) GetBody() []byte
- func (r SaveAndRunResponse) GetJSON200() *ExecuteExperimentResponseAO
- func (r SaveAndRunResponse) GetJSON422() *ExecuteExperimentResponseAO
- func (r SaveAndRunResponse) GetYAML200() *ExecuteExperimentResponseAO
- func (r SaveAndRunResponse) GetYAML422() *ExecuteExperimentResponseAO
- func (r SaveAndRunResponse) Status() string
- func (r SaveAndRunResponse) StatusCode() int
- type ScalarValueAO
- type SelectExpressionAO
- type SelectExpressionAOMode
- type SelectExpressionAOScope
- type ServiceAO
- type ServiceExperimentAO
- type ServiceExperimentAOAssociationType
- type ServiceProfileAO
- type ServiceProfileAOOrigin
- type ServiceProfileCategoryAO
- type ServiceRiskAO
- type ServiceRiskReportFilterAO
- type ServiceRiskReportFilterAORollup
- type ServiceSummaryAO
- type SetEnvironmentVariablesJSONBody
- type SetEnvironmentVariablesJSONRequestBody
- type SetEnvironmentVariablesResponse
- type SetExecutionPropertyValueJSONBody
- type SetExecutionPropertyValueJSONRequestBody
- type SetExecutionPropertyValueResponse
- type SetServiceVariablesJSONBody
- type SetServiceVariablesJSONRequestBody
- type SetServiceVariablesResponse
- type SetTeamEnvironmentsJSONRequestBody
- type SetTeamEnvironmentsParams
- type SetTeamEnvironmentsResponse
- func (r SetTeamEnvironmentsResponse) ContentType() string
- func (r SetTeamEnvironmentsResponse) GetBody() []byte
- func (r SetTeamEnvironmentsResponse) GetJSON200() *TeamEnvironmentsAO
- func (r SetTeamEnvironmentsResponse) GetYAML200() *TeamEnvironmentsAO
- func (r SetTeamEnvironmentsResponse) Status() string
- func (r SetTeamEnvironmentsResponse) StatusCode() int
- type SetTeamMembersJSONRequestBody
- type SetTeamMembersParams
- type SetTeamMembersResponse
- func (r SetTeamMembersResponse) ContentType() string
- func (r SetTeamMembersResponse) GetBody() []byte
- func (r SetTeamMembersResponse) GetJSON200() *TeamMembersAO
- func (r SetTeamMembersResponse) GetYAML200() *TeamMembersAO
- func (r SetTeamMembersResponse) Status() string
- func (r SetTeamMembersResponse) StatusCode() int
- type SlackWebhookAO
- type SlackWebhookAOScope
- type SlackWebhookUpsertAO
- type SlackWebhookUpsertAOScope
- type TargetAO
- type TargetAdviceAO
- type TargetAdviceAdvicePartAO
- type TargetAdviceTargetPartAO
- type TargetAgentIdPredicateAO
- func (t TargetAgentIdPredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
- func (t TargetAgentIdPredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
- func (t TargetAgentIdPredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
- func (t TargetAgentIdPredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
- func (t TargetAgentIdPredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
- func (t TargetAgentIdPredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
- func (t TargetAgentIdPredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
- func (t TargetAgentIdPredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
- func (t TargetAgentIdPredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
- func (t *TargetAgentIdPredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *TargetAgentIdPredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *TargetAgentIdPredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *TargetAgentIdPredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *TargetAgentIdPredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *TargetAgentIdPredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *TargetAgentIdPredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *TargetAgentIdPredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *TargetAgentIdPredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t TargetAgentIdPredicateAO) MarshalJSON() ([]byte, error)
- func (t *TargetAgentIdPredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *TargetAgentIdPredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *TargetAgentIdPredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *TargetAgentIdPredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *TargetAgentIdPredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *TargetAgentIdPredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *TargetAgentIdPredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *TargetAgentIdPredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *TargetAgentIdPredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t *TargetAgentIdPredicateAO) UnmarshalJSON(b []byte) error
- type TargetAttributeKeyCountPredicateAO
- func (t TargetAttributeKeyCountPredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
- func (t TargetAttributeKeyCountPredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
- func (t TargetAttributeKeyCountPredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
- func (t TargetAttributeKeyCountPredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
- func (t TargetAttributeKeyCountPredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
- func (t TargetAttributeKeyCountPredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
- func (t TargetAttributeKeyCountPredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
- func (t TargetAttributeKeyCountPredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
- func (t TargetAttributeKeyCountPredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
- func (t *TargetAttributeKeyCountPredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t TargetAttributeKeyCountPredicateAO) MarshalJSON() ([]byte, error)
- func (t *TargetAttributeKeyCountPredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t *TargetAttributeKeyCountPredicateAO) UnmarshalJSON(b []byte) error
- type TargetAttributeKeyCountPredicateAOValueCountOperator
- type TargetAttributeKeyPredicateAO
- func (t TargetAttributeKeyPredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
- func (t TargetAttributeKeyPredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
- func (t TargetAttributeKeyPredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
- func (t TargetAttributeKeyPredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
- func (t TargetAttributeKeyPredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
- func (t TargetAttributeKeyPredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
- func (t TargetAttributeKeyPredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
- func (t TargetAttributeKeyPredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
- func (t TargetAttributeKeyPredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
- func (t *TargetAttributeKeyPredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t TargetAttributeKeyPredicateAO) MarshalJSON() ([]byte, error)
- func (t *TargetAttributeKeyPredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t *TargetAttributeKeyPredicateAO) UnmarshalJSON(b []byte) error
- type TargetAttributeKeyPresencePredicateAO
- func (t TargetAttributeKeyPresencePredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
- func (t TargetAttributeKeyPresencePredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
- func (t TargetAttributeKeyPresencePredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
- func (t TargetAttributeKeyPresencePredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
- func (t TargetAttributeKeyPresencePredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
- func (t TargetAttributeKeyPresencePredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
- func (t TargetAttributeKeyPresencePredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
- func (t TargetAttributeKeyPresencePredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
- func (t TargetAttributeKeyPresencePredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
- func (t *TargetAttributeKeyPresencePredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t TargetAttributeKeyPresencePredicateAO) MarshalJSON() ([]byte, error)
- func (t *TargetAttributeKeyPresencePredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t *TargetAttributeKeyPresencePredicateAO) UnmarshalJSON(b []byte) error
- type TargetAttributeKeyPresencePredicateAOPresenceOperator
- type TargetAttributeKeyValuePredicateAO
- func (t TargetAttributeKeyValuePredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
- func (t TargetAttributeKeyValuePredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
- func (t TargetAttributeKeyValuePredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
- func (t TargetAttributeKeyValuePredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
- func (t TargetAttributeKeyValuePredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
- func (t TargetAttributeKeyValuePredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
- func (t TargetAttributeKeyValuePredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
- func (t TargetAttributeKeyValuePredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
- func (t TargetAttributeKeyValuePredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
- func (t *TargetAttributeKeyValuePredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t TargetAttributeKeyValuePredicateAO) MarshalJSON() ([]byte, error)
- func (t *TargetAttributeKeyValuePredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t *TargetAttributeKeyValuePredicateAO) UnmarshalJSON(b []byte) error
- type TargetExecutionAO
- type TargetExecutionSummaryAO
- type TargetNamePredicateAO
- func (t TargetNamePredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
- func (t TargetNamePredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
- func (t TargetNamePredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
- func (t TargetNamePredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
- func (t TargetNamePredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
- func (t TargetNamePredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
- func (t TargetNamePredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
- func (t TargetNamePredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
- func (t TargetNamePredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
- func (t *TargetNamePredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *TargetNamePredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *TargetNamePredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *TargetNamePredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *TargetNamePredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *TargetNamePredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *TargetNamePredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *TargetNamePredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *TargetNamePredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t TargetNamePredicateAO) MarshalJSON() ([]byte, error)
- func (t *TargetNamePredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *TargetNamePredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *TargetNamePredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *TargetNamePredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *TargetNamePredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *TargetNamePredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *TargetNamePredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *TargetNamePredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *TargetNamePredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t *TargetNamePredicateAO) UnmarshalJSON(b []byte) error
- type TargetPredicateAO
- func (t TargetPredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
- func (t TargetPredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
- func (t TargetPredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
- func (t TargetPredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
- func (t TargetPredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
- func (t TargetPredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
- func (t TargetPredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
- func (t TargetPredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
- func (t TargetPredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
- func (t *TargetPredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *TargetPredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *TargetPredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *TargetPredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *TargetPredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *TargetPredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *TargetPredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *TargetPredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *TargetPredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t TargetPredicateAO) MarshalJSON() ([]byte, error)
- func (t *TargetPredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *TargetPredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *TargetPredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *TargetPredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *TargetPredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *TargetPredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *TargetPredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *TargetPredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *TargetPredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t *TargetPredicateAO) UnmarshalJSON(b []byte) error
- type TargetPredicateTemplateAO
- type TargetSelectorAO
- type TargetStatsRequest
- type TargetTypePredicateAO
- func (t TargetTypePredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
- func (t TargetTypePredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
- func (t TargetTypePredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
- func (t TargetTypePredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
- func (t TargetTypePredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
- func (t TargetTypePredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
- func (t TargetTypePredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
- func (t TargetTypePredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
- func (t TargetTypePredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
- func (t *TargetTypePredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *TargetTypePredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *TargetTypePredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *TargetTypePredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *TargetTypePredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *TargetTypePredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *TargetTypePredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *TargetTypePredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *TargetTypePredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t TargetTypePredicateAO) MarshalJSON() ([]byte, error)
- func (t *TargetTypePredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
- func (t *TargetTypePredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
- func (t *TargetTypePredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
- func (t *TargetTypePredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
- func (t *TargetTypePredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
- func (t *TargetTypePredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
- func (t *TargetTypePredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
- func (t *TargetTypePredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
- func (t *TargetTypePredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
- func (t *TargetTypePredicateAO) UnmarshalJSON(b []byte) error
- type TeamAL
- type TeamAO
- type TeamAOManagedBy
- type TeamEnvironmentAO
- type TeamEnvironmentsAO
- type TeamEnvironmentsUpdateAO
- type TeamMembersAO
- type TeamMembersRemoveAO
- type TeamMembersUpdateAO
- type TeamSummariesAO
- type TenantAL
- type TimeSeriesAO
- type TimeSeriesReportAO
- type TimeSeriesReportAOGroupBy
- type TimeSeriesReportAORollup
- type TimeSeriesValueAO
- type UnlinkCustomExperimentParams
- type UnlinkCustomExperimentResponse
- type UpdateEnvironmentVariablesJSONBody
- type UpdateEnvironmentVariablesJSONRequestBody
- type UpdateEnvironmentVariablesResponse
- type UpdateExecutionPropertiesJSONRequestBody
- type UpdateExecutionPropertiesResponse
- type UpdateExperimentAO
- type UpdateExperimentByTemplateJSONRequestBody
- type UpdateExperimentByTemplateParams
- type UpdateExperimentByTemplateResponse
- type UpdateExperimentExecutionPropertiesAO
- type UpdateExperimentFromTemplateAO
- type UpdateExperimentJSONRequestBody
- type UpdateExperimentResponse
- type UpdateLandscapeViewJSONRequestBody
- type UpdateLandscapeViewResponse
- func (r UpdateLandscapeViewResponse) ContentType() string
- func (r UpdateLandscapeViewResponse) GetBody() []byte
- func (r UpdateLandscapeViewResponse) GetJSON200() *LandscapeViewAO
- func (r UpdateLandscapeViewResponse) GetYAML200() *LandscapeViewAO
- func (r UpdateLandscapeViewResponse) Status() string
- func (r UpdateLandscapeViewResponse) StatusCode() int
- type UpsertCustomWebhookJSONRequestBody
- type UpsertCustomWebhookResponse
- func (r UpsertCustomWebhookResponse) ContentType() string
- func (r UpsertCustomWebhookResponse) GetBody() []byte
- func (r UpsertCustomWebhookResponse) GetJSON200() *CustomWebhookAO
- func (r UpsertCustomWebhookResponse) GetJSON201() *CustomWebhookAO
- func (r UpsertCustomWebhookResponse) GetYAML200() *CustomWebhookAO
- func (r UpsertCustomWebhookResponse) GetYAML201() *CustomWebhookAO
- func (r UpsertCustomWebhookResponse) Status() string
- func (r UpsertCustomWebhookResponse) StatusCode() int
- type UpsertEnvironmentAO
- type UpsertEnvironmentJSONRequestBody
- type UpsertEnvironmentResponse
- func (r UpsertEnvironmentResponse) ContentType() string
- func (r UpsertEnvironmentResponse) GetBody() []byte
- func (r UpsertEnvironmentResponse) GetJSON200() *EnvironmentAO
- func (r UpsertEnvironmentResponse) GetJSON201() *EnvironmentAO
- func (r UpsertEnvironmentResponse) GetYAML200() *EnvironmentAO
- func (r UpsertEnvironmentResponse) GetYAML201() *EnvironmentAO
- func (r UpsertEnvironmentResponse) Status() string
- func (r UpsertEnvironmentResponse) StatusCode() int
- type UpsertExperimentScheduleAO
- type UpsertExperimentTemplateAO
- type UpsertExperimentTemplateJSONRequestBody
- type UpsertExperimentTemplateResponse
- func (r UpsertExperimentTemplateResponse) ContentType() string
- func (r UpsertExperimentTemplateResponse) GetBody() []byte
- func (r UpsertExperimentTemplateResponse) GetJSON200() *ExperimentTemplateAO
- func (r UpsertExperimentTemplateResponse) GetJSON201() *ExperimentTemplateAO
- func (r UpsertExperimentTemplateResponse) GetYAML200() *ExperimentTemplateAO
- func (r UpsertExperimentTemplateResponse) GetYAML201() *ExperimentTemplateAO
- func (r UpsertExperimentTemplateResponse) Status() string
- func (r UpsertExperimentTemplateResponse) StatusCode() int
- type UpsertHubAO
- type UpsertHubJSONRequestBody
- type UpsertHubParams
- type UpsertHubResponse
- func (r UpsertHubResponse) ContentType() string
- func (r UpsertHubResponse) GetBody() []byte
- func (r UpsertHubResponse) GetJSON200() *HubAO
- func (r UpsertHubResponse) GetJSON201() *HubAO
- func (r UpsertHubResponse) GetYAML200() *HubAO
- func (r UpsertHubResponse) GetYAML201() *HubAO
- func (r UpsertHubResponse) Status() string
- func (r UpsertHubResponse) StatusCode() int
- type UpsertLandscapeViewAO
- type UpsertPreflightActionIntegrationJSONRequestBody
- type UpsertPreflightActionIntegrationResponse
- func (r UpsertPreflightActionIntegrationResponse) ContentType() string
- func (r UpsertPreflightActionIntegrationResponse) GetBody() []byte
- func (r UpsertPreflightActionIntegrationResponse) GetJSON200() *PreflightActionIntegrationAO
- func (r UpsertPreflightActionIntegrationResponse) GetJSON201() *PreflightActionIntegrationAO
- func (r UpsertPreflightActionIntegrationResponse) GetYAML200() *PreflightActionIntegrationAO
- func (r UpsertPreflightActionIntegrationResponse) GetYAML201() *PreflightActionIntegrationAO
- func (r UpsertPreflightActionIntegrationResponse) Status() string
- func (r UpsertPreflightActionIntegrationResponse) StatusCode() int
- type UpsertPreflightWebhookJSONRequestBody
- type UpsertPreflightWebhookResponse
- func (r UpsertPreflightWebhookResponse) ContentType() string
- func (r UpsertPreflightWebhookResponse) GetBody() []byte
- func (r UpsertPreflightWebhookResponse) GetJSON200() *PreflightWebhookAO
- func (r UpsertPreflightWebhookResponse) GetJSON201() *PreflightWebhookAO
- func (r UpsertPreflightWebhookResponse) GetYAML200() *PreflightWebhookAO
- func (r UpsertPreflightWebhookResponse) GetYAML201() *PreflightWebhookAO
- func (r UpsertPreflightWebhookResponse) Status() string
- func (r UpsertPreflightWebhookResponse) StatusCode() int
- type UpsertProfileJSONRequestBody
- type UpsertProfileParams
- type UpsertProfileResponse
- func (r UpsertProfileResponse) ContentType() string
- func (r UpsertProfileResponse) GetBody() []byte
- func (r UpsertProfileResponse) GetJSON200() *ServiceProfileAO
- func (r UpsertProfileResponse) GetJSON201() *ServiceProfileAO
- func (r UpsertProfileResponse) GetYAML200() *ServiceProfileAO
- func (r UpsertProfileResponse) GetYAML201() *ServiceProfileAO
- func (r UpsertProfileResponse) Status() string
- func (r UpsertProfileResponse) StatusCode() int
- type UpsertPropertyAssociationAO
- type UpsertPropertyAssociationAOAssociationType
- type UpsertPropertyAssociationJSONRequestBody
- type UpsertPropertyAssociationResponse
- func (r UpsertPropertyAssociationResponse) ContentType() string
- func (r UpsertPropertyAssociationResponse) GetBody() []byte
- func (r UpsertPropertyAssociationResponse) GetJSON200() *PropertyAssociationAO
- func (r UpsertPropertyAssociationResponse) GetJSON201() *PropertyAssociationAO
- func (r UpsertPropertyAssociationResponse) GetYAML200() *PropertyAssociationAO
- func (r UpsertPropertyAssociationResponse) GetYAML201() *PropertyAssociationAO
- func (r UpsertPropertyAssociationResponse) Status() string
- func (r UpsertPropertyAssociationResponse) StatusCode() int
- type UpsertPropertyDefinitionAO
- type UpsertPropertyDefinitionAODataType
- type UpsertPropertyDefinitionJSONRequestBody
- type UpsertPropertyDefinitionParams
- type UpsertPropertyDefinitionResponse
- func (r UpsertPropertyDefinitionResponse) ContentType() string
- func (r UpsertPropertyDefinitionResponse) GetBody() []byte
- func (r UpsertPropertyDefinitionResponse) GetJSON200() *PropertyDefinitionAO
- func (r UpsertPropertyDefinitionResponse) GetJSON201() *PropertyDefinitionAO
- func (r UpsertPropertyDefinitionResponse) GetYAML200() *PropertyDefinitionAO
- func (r UpsertPropertyDefinitionResponse) GetYAML201() *PropertyDefinitionAO
- func (r UpsertPropertyDefinitionResponse) Status() string
- func (r UpsertPropertyDefinitionResponse) StatusCode() int
- type UpsertProvidedExperimentJSONRequestBody
- type UpsertProvidedExperimentParams
- type UpsertProvidedExperimentRequestAO
- type UpsertProvidedExperimentResponse
- type UpsertScheduleJSONRequestBody
- type UpsertScheduleResponse
- func (r UpsertScheduleResponse) ContentType() string
- func (r UpsertScheduleResponse) GetBody() []byte
- func (r UpsertScheduleResponse) GetJSON200() *ExperimentScheduleAO
- func (r UpsertScheduleResponse) GetJSON201() *ExperimentScheduleAO
- func (r UpsertScheduleResponse) GetYAML200() *ExperimentScheduleAO
- func (r UpsertScheduleResponse) GetYAML201() *ExperimentScheduleAO
- func (r UpsertScheduleResponse) Status() string
- func (r UpsertScheduleResponse) StatusCode() int
- type UpsertServiceAO
- type UpsertServiceJSONRequestBody
- type UpsertServiceParams
- type UpsertServiceProfileAO
- type UpsertServiceProfileAOOrigin
- type UpsertServiceResponse
- func (r UpsertServiceResponse) ContentType() string
- func (r UpsertServiceResponse) GetBody() []byte
- func (r UpsertServiceResponse) GetJSON200() *ServiceAO
- func (r UpsertServiceResponse) GetJSON201() *ServiceAO
- func (r UpsertServiceResponse) GetYAML200() *ServiceAO
- func (r UpsertServiceResponse) GetYAML201() *ServiceAO
- func (r UpsertServiceResponse) Status() string
- func (r UpsertServiceResponse) StatusCode() int
- type UpsertSlackIntegrationJSONRequestBody
- type UpsertSlackIntegrationResponse
- func (r UpsertSlackIntegrationResponse) ContentType() string
- func (r UpsertSlackIntegrationResponse) GetBody() []byte
- func (r UpsertSlackIntegrationResponse) GetJSON200() *SlackWebhookAO
- func (r UpsertSlackIntegrationResponse) GetJSON201() *SlackWebhookAO
- func (r UpsertSlackIntegrationResponse) GetYAML200() *SlackWebhookAO
- func (r UpsertSlackIntegrationResponse) GetYAML201() *SlackWebhookAO
- func (r UpsertSlackIntegrationResponse) Status() string
- func (r UpsertSlackIntegrationResponse) StatusCode() int
- type UpsertTeamAO
- type UpsertTeamAOManagedBy
- type UpsertTeamJSONRequestBody
- type UpsertTeamParams
- type UpsertTeamResponse
- func (r UpsertTeamResponse) ContentType() string
- func (r UpsertTeamResponse) GetBody() []byte
- func (r UpsertTeamResponse) GetJSON200() *TeamAO
- func (r UpsertTeamResponse) GetJSON201() *TeamAO
- func (r UpsertTeamResponse) GetYAML200() *TeamAO
- func (r UpsertTeamResponse) GetYAML201() *TeamAO
- func (r UpsertTeamResponse) Status() string
- func (r UpsertTeamResponse) StatusCode() int
- type UserPrincipalAL
- type UserPrincipalALPrincipalType
- type UserPrincipalALRole
- type UserSummaryAO
- type VariableExpressionAO
- func (t VariableExpressionAO) AsSelectExpressionAO() (SelectExpressionAO, error)
- func (t VariableExpressionAO) AsVariableExpressionAO0() (VariableExpressionAO0, error)
- func (t VariableExpressionAO) AsVariableExpressionAO1() (VariableExpressionAO1, error)
- func (t *VariableExpressionAO) FromSelectExpressionAO(v SelectExpressionAO) error
- func (t *VariableExpressionAO) FromVariableExpressionAO0(v VariableExpressionAO0) error
- func (t *VariableExpressionAO) FromVariableExpressionAO1(v VariableExpressionAO1) error
- func (t VariableExpressionAO) MarshalJSON() ([]byte, error)
- func (t *VariableExpressionAO) MergeSelectExpressionAO(v SelectExpressionAO) error
- func (t *VariableExpressionAO) MergeVariableExpressionAO0(v VariableExpressionAO0) error
- func (t *VariableExpressionAO) MergeVariableExpressionAO1(v VariableExpressionAO1) error
- func (t *VariableExpressionAO) UnmarshalJSON(b []byte) error
- type VariableExpressionAO0
- type VariableExpressionAO1
- type VariableValueAO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddExecutionPropertyValueRequest ¶
func NewAddExecutionPropertyValueRequest(server string, id int64, key string, body AddExecutionPropertyValueJSONRequestBody) (*http.Request, error)
NewAddExecutionPropertyValueRequest calls the generic AddExecutionPropertyValue builder with application/json body
func NewAddExecutionPropertyValueRequestWithBody ¶
func NewAddExecutionPropertyValueRequestWithBody(server string, id int64, key string, contentType string, body io.Reader) (*http.Request, error)
NewAddExecutionPropertyValueRequestWithBody constructs an http.Request for the AddExecutionPropertyValue method, with any body, and a specified content type
func NewAddTeamEnvironmentsRequest ¶
func NewAddTeamEnvironmentsRequest(server string, key string, params *AddTeamEnvironmentsParams, body AddTeamEnvironmentsJSONRequestBody) (*http.Request, error)
NewAddTeamEnvironmentsRequest calls the generic AddTeamEnvironments builder with application/json body
func NewAddTeamEnvironmentsRequestWithBody ¶
func NewAddTeamEnvironmentsRequestWithBody(server string, key string, params *AddTeamEnvironmentsParams, contentType string, body io.Reader) (*http.Request, error)
NewAddTeamEnvironmentsRequestWithBody constructs an http.Request for the AddTeamEnvironments method, with any body, and a specified content type
func NewAddTeamMembersRequest ¶
func NewAddTeamMembersRequest(server string, key string, params *AddTeamMembersParams, body AddTeamMembersJSONRequestBody) (*http.Request, error)
NewAddTeamMembersRequest calls the generic AddTeamMembers builder with application/json body
func NewAddTeamMembersRequestWithBody ¶
func NewAddTeamMembersRequestWithBody(server string, key string, params *AddTeamMembersParams, contentType string, body io.Reader) (*http.Request, error)
NewAddTeamMembersRequestWithBody constructs an http.Request for the AddTeamMembers method, with any body, and a specified content type
func NewCancelExperimentExecutionRequest ¶
NewCancelExperimentExecutionRequest constructs an http.Request for the CancelExperimentExecution method
func NewConnectionCheckRequest ¶
func NewConnectionCheckRequest(server string, body ConnectionCheckJSONRequestBody) (*http.Request, error)
NewConnectionCheckRequest calls the generic ConnectionCheck builder with application/json body
func NewConnectionCheckRequestWithBody ¶
func NewConnectionCheckRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewConnectionCheckRequestWithBody constructs an http.Request for the ConnectionCheck method, with any body, and a specified content type
func NewCreateAccessToken1Request ¶
func NewCreateAccessToken1Request(server string, body CreateAccessToken1JSONRequestBody) (*http.Request, error)
NewCreateAccessToken1Request calls the generic CreateAccessToken1 builder with application/json body
func NewCreateAccessToken1RequestWithBody ¶
func NewCreateAccessToken1RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAccessToken1RequestWithBody constructs an http.Request for the CreateAccessToken1 method, with any body, and a specified content type
func NewCreateAccessTokenRequest ¶
func NewCreateAccessTokenRequest(server string, body CreateAccessTokenJSONRequestBody) (*http.Request, error)
NewCreateAccessTokenRequest calls the generic CreateAccessToken builder with application/json body
func NewCreateAccessTokenRequestWithBody ¶
func NewCreateAccessTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAccessTokenRequestWithBody constructs an http.Request for the CreateAccessToken method, with any body, and a specified content type
func NewCreateExperimentByTemplateRequest ¶
func NewCreateExperimentByTemplateRequest(server string, id openapi_types.UUID, params *CreateExperimentByTemplateParams, body CreateExperimentByTemplateJSONRequestBody) (*http.Request, error)
NewCreateExperimentByTemplateRequest calls the generic CreateExperimentByTemplate builder with application/json body
func NewCreateExperimentByTemplateRequestWithBody ¶
func NewCreateExperimentByTemplateRequestWithBody(server string, id openapi_types.UUID, params *CreateExperimentByTemplateParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateExperimentByTemplateRequestWithBody constructs an http.Request for the CreateExperimentByTemplate method, with any body, and a specified content type
func NewCreateLandscapeViewRequest ¶
func NewCreateLandscapeViewRequest(server string, body CreateLandscapeViewJSONRequestBody) (*http.Request, error)
NewCreateLandscapeViewRequest calls the generic CreateLandscapeView builder with application/json body
func NewCreateLandscapeViewRequestWithBody ¶
func NewCreateLandscapeViewRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateLandscapeViewRequestWithBody constructs an http.Request for the CreateLandscapeView method, with any body, and a specified content type
func NewCreateOrUpdateExperimentRequest ¶
func NewCreateOrUpdateExperimentRequest(server string, body CreateOrUpdateExperimentJSONRequestBody) (*http.Request, error)
NewCreateOrUpdateExperimentRequest calls the generic CreateOrUpdateExperiment builder with application/json body
func NewCreateOrUpdateExperimentRequestWithBody ¶
func NewCreateOrUpdateExperimentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateOrUpdateExperimentRequestWithBody constructs an http.Request for the CreateOrUpdateExperiment method, with any body, and a specified content type
func NewDeleteAccessToken1Request ¶
NewDeleteAccessToken1Request constructs an http.Request for the DeleteAccessToken1 method
func NewDeleteAccessTokenRequest ¶
NewDeleteAccessTokenRequest constructs an http.Request for the DeleteAccessToken method
func NewDeleteCustomWebhookRequest ¶
NewDeleteCustomWebhookRequest constructs an http.Request for the DeleteCustomWebhook method
func NewDeleteEnvironmentRequest ¶
NewDeleteEnvironmentRequest constructs an http.Request for the DeleteEnvironment method
func NewDeleteExperimentRequest ¶
NewDeleteExperimentRequest constructs an http.Request for the DeleteExperiment method
func NewDeleteExperimentTemplateRequest ¶
func NewDeleteExperimentTemplateRequest(server string, id openapi_types.UUID) (*http.Request, error)
NewDeleteExperimentTemplateRequest constructs an http.Request for the DeleteExperimentTemplate method
func NewDeleteHubRequest ¶
func NewDeleteHubRequest(server string, id openapi_types.UUID, params *DeleteHubParams) (*http.Request, error)
NewDeleteHubRequest constructs an http.Request for the DeleteHub method
func NewDeleteLandscapeViewRequest ¶
NewDeleteLandscapeViewRequest constructs an http.Request for the DeleteLandscapeView method
func NewDeletePreflightActionIntegrationRequest ¶
func NewDeletePreflightActionIntegrationRequest(server string, id openapi_types.UUID) (*http.Request, error)
NewDeletePreflightActionIntegrationRequest constructs an http.Request for the DeletePreflightActionIntegration method
func NewDeletePreflightWebhookRequest ¶
NewDeletePreflightWebhookRequest constructs an http.Request for the DeletePreflightWebhook method
func NewDeleteProfileRequest ¶
NewDeleteProfileRequest constructs an http.Request for the DeleteProfile method
func NewDeletePropertyAssociationRequest ¶
func NewDeletePropertyAssociationRequest(server string, id openapi_types.UUID, params *DeletePropertyAssociationParams) (*http.Request, error)
NewDeletePropertyAssociationRequest constructs an http.Request for the DeletePropertyAssociation method
func NewDeletePropertyDefinitionRequest ¶
func NewDeletePropertyDefinitionRequest(server string, key string, params *DeletePropertyDefinitionParams) (*http.Request, error)
NewDeletePropertyDefinitionRequest constructs an http.Request for the DeletePropertyDefinition method
func NewDeleteServiceRequest ¶
NewDeleteServiceRequest constructs an http.Request for the DeleteService method
func NewDeleteSlackIntegrationRequest ¶
NewDeleteSlackIntegrationRequest constructs an http.Request for the DeleteSlackIntegration method
func NewDeleteTeamRequest ¶
func NewDeleteTeamRequest(server string, key string, params *DeleteTeamParams) (*http.Request, error)
NewDeleteTeamRequest constructs an http.Request for the DeleteTeam method
func NewDisengageKillswitchRequest ¶
NewDisengageKillswitchRequest constructs an http.Request for the DisengageKillswitch method
func NewEngageKillswitchRequest ¶
NewEngageKillswitchRequest constructs an http.Request for the EngageKillswitch method
func NewExecuteExperimentRequest ¶
func NewExecuteExperimentRequest(server string, key string, params *ExecuteExperimentParams, body ExecuteExperimentJSONRequestBody) (*http.Request, error)
NewExecuteExperimentRequest calls the generic ExecuteExperiment builder with application/json body
func NewExecuteExperimentRequestWithBody ¶
func NewExecuteExperimentRequestWithBody(server string, key string, params *ExecuteExperimentParams, contentType string, body io.Reader) (*http.Request, error)
NewExecuteExperimentRequestWithBody constructs an http.Request for the ExecuteExperiment method, with any body, and a specified content type
func NewFindAllActionsRequest ¶
func NewFindAllActionsRequest(server string, params *FindAllActionsParams) (*http.Request, error)
NewFindAllActionsRequest constructs an http.Request for the FindAllActions method
func NewFindRequest ¶
func NewFindRequest(server string, params *FindParams) (*http.Request, error)
NewFindRequest constructs an http.Request for the Find method
func NewForwardToPlatformRequest ¶
func NewForwardToPlatformRequest(server string, params *ForwardToPlatformParams) (*http.Request, error)
NewForwardToPlatformRequest constructs an http.Request for the ForwardToPlatform method
func NewGetAccessTokens1Request ¶
func NewGetAccessTokens1Request(server string, params *GetAccessTokens1Params) (*http.Request, error)
NewGetAccessTokens1Request constructs an http.Request for the GetAccessTokens1 method
func NewGetAccessTokensRequest ¶
func NewGetAccessTokensRequest(server string, params *GetAccessTokensParams) (*http.Request, error)
NewGetAccessTokensRequest constructs an http.Request for the GetAccessTokens method
func NewGetActionRequest ¶
NewGetActionRequest constructs an http.Request for the GetAction method
func NewGetAllSchedulesV2Request ¶
func NewGetAllSchedulesV2Request(server string, params *GetAllSchedulesV2Params) (*http.Request, error)
NewGetAllSchedulesV2Request constructs an http.Request for the GetAllSchedulesV2 method
func NewGetArtifactRequest ¶
func NewGetArtifactRequest(server string, id int64, targetExecutionId string, artifactId string) (*http.Request, error)
NewGetArtifactRequest constructs an http.Request for the GetArtifact method
func NewGetAssociationsRequest ¶
func NewGetAssociationsRequest(server string, params *GetAssociationsParams) (*http.Request, error)
NewGetAssociationsRequest constructs an http.Request for the GetAssociations method
func NewGetAverageRiskRequest ¶
func NewGetAverageRiskRequest(server string, body GetAverageRiskJSONRequestBody) (*http.Request, error)
NewGetAverageRiskRequest calls the generic GetAverageRisk builder with application/json body
func NewGetAverageRiskRequestWithBody ¶
func NewGetAverageRiskRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetAverageRiskRequestWithBody constructs an http.Request for the GetAverageRisk method, with any body, and a specified content type
func NewGetCustomWebhookRequest ¶
NewGetCustomWebhookRequest constructs an http.Request for the GetCustomWebhook method
func NewGetCustomWebhooksRequest ¶
NewGetCustomWebhooksRequest constructs an http.Request for the GetCustomWebhooks method
func NewGetEnvironmentCountsRequest ¶
func NewGetEnvironmentCountsRequest(server string, body GetEnvironmentCountsJSONRequestBody) (*http.Request, error)
NewGetEnvironmentCountsRequest calls the generic GetEnvironmentCounts builder with application/json body
func NewGetEnvironmentCountsRequestWithBody ¶
func NewGetEnvironmentCountsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetEnvironmentCountsRequestWithBody constructs an http.Request for the GetEnvironmentCounts method, with any body, and a specified content type
func NewGetEnvironmentRequest ¶
NewGetEnvironmentRequest constructs an http.Request for the GetEnvironment method
func NewGetEnvironmentVariablesRequest ¶
NewGetEnvironmentVariablesRequest constructs an http.Request for the GetEnvironmentVariables method
func NewGetEnvironmentsRequest ¶
func NewGetEnvironmentsRequest(server string, params *GetEnvironmentsParams) (*http.Request, error)
NewGetEnvironmentsRequest constructs an http.Request for the GetEnvironments method
func NewGetExperimentBadgeRequest ¶
func NewGetExperimentBadgeRequest(server string, key string, params *GetExperimentBadgeParams) (*http.Request, error)
NewGetExperimentBadgeRequest constructs an http.Request for the GetExperimentBadge method
func NewGetExperimentCreationsRequest ¶
func NewGetExperimentCreationsRequest(server string, params *GetExperimentCreationsParams, body GetExperimentCreationsJSONRequestBody) (*http.Request, error)
NewGetExperimentCreationsRequest calls the generic GetExperimentCreations builder with application/json body
func NewGetExperimentCreationsRequestWithBody ¶
func NewGetExperimentCreationsRequestWithBody(server string, params *GetExperimentCreationsParams, contentType string, body io.Reader) (*http.Request, error)
NewGetExperimentCreationsRequestWithBody constructs an http.Request for the GetExperimentCreations method, with any body, and a specified content type
func NewGetExperimentExecutionRequest ¶
func NewGetExperimentExecutionRequest(server string, id int64, params *GetExperimentExecutionParams) (*http.Request, error)
NewGetExperimentExecutionRequest constructs an http.Request for the GetExperimentExecution method
func NewGetExperimentExecutions1Request ¶
func NewGetExperimentExecutions1Request(server string, params *GetExperimentExecutions1Params) (*http.Request, error)
NewGetExperimentExecutions1Request constructs an http.Request for the GetExperimentExecutions1 method
func NewGetExperimentExecutions2Request ¶
func NewGetExperimentExecutions2Request(server string, body GetExperimentExecutions2JSONRequestBody) (*http.Request, error)
NewGetExperimentExecutions2Request calls the generic GetExperimentExecutions2 builder with application/json body
func NewGetExperimentExecutions2RequestWithBody ¶
func NewGetExperimentExecutions2RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetExperimentExecutions2RequestWithBody constructs an http.Request for the GetExperimentExecutions2 method, with any body, and a specified content type
func NewGetExperimentExecutions3Request ¶
func NewGetExperimentExecutions3Request(server string, key string, params *GetExperimentExecutions3Params) (*http.Request, error)
NewGetExperimentExecutions3Request constructs an http.Request for the GetExperimentExecutions3 method
func NewGetExperimentExecutionsRequest ¶
func NewGetExperimentExecutionsRequest(server string, params *GetExperimentExecutionsParams, body GetExperimentExecutionsJSONRequestBody) (*http.Request, error)
NewGetExperimentExecutionsRequest calls the generic GetExperimentExecutions builder with application/json body
func NewGetExperimentExecutionsRequestWithBody ¶
func NewGetExperimentExecutionsRequestWithBody(server string, params *GetExperimentExecutionsParams, contentType string, body io.Reader) (*http.Request, error)
NewGetExperimentExecutionsRequestWithBody constructs an http.Request for the GetExperimentExecutions method, with any body, and a specified content type
func NewGetExperimentRequest ¶
NewGetExperimentRequest constructs an http.Request for the GetExperiment method
func NewGetExperimentTemplateRequest ¶
NewGetExperimentTemplateRequest constructs an http.Request for the GetExperimentTemplate method
func NewGetExperimentTemplatesRequest ¶
func NewGetExperimentTemplatesRequest(server string, params *GetExperimentTemplatesParams) (*http.Request, error)
NewGetExperimentTemplatesRequest constructs an http.Request for the GetExperimentTemplates method
func NewGetExperimentsRequest ¶
func NewGetExperimentsRequest(server string, params *GetExperimentsParams) (*http.Request, error)
NewGetExperimentsRequest constructs an http.Request for the GetExperiments method
func NewGetHubByIdRequest ¶
NewGetHubByIdRequest constructs an http.Request for the GetHubById method
func NewGetHubsRequest ¶
NewGetHubsRequest constructs an http.Request for the GetHubs method
func NewGetKillswitchRequest ¶
NewGetKillswitchRequest constructs an http.Request for the GetKillswitch method
func NewGetLandscapeViewRequest ¶
NewGetLandscapeViewRequest constructs an http.Request for the GetLandscapeView method
func NewGetLandscapeViewsRequest ¶
func NewGetLandscapeViewsRequest(server string, params *GetLandscapeViewsParams) (*http.Request, error)
NewGetLandscapeViewsRequest constructs an http.Request for the GetLandscapeViews method
func NewGetLicenseSummaryRequest ¶
NewGetLicenseSummaryRequest constructs an http.Request for the GetLicenseSummary method
func NewGetLinkedBadgeRequest ¶
func NewGetLinkedBadgeRequest(server string, params *GetLinkedBadgeParams) (*http.Request, error)
NewGetLinkedBadgeRequest constructs an http.Request for the GetLinkedBadge method
func NewGetPreflightActionIntegrationRequest ¶
func NewGetPreflightActionIntegrationRequest(server string, id openapi_types.UUID) (*http.Request, error)
NewGetPreflightActionIntegrationRequest constructs an http.Request for the GetPreflightActionIntegration method
func NewGetPreflightActionIntegrationsRequest ¶
NewGetPreflightActionIntegrationsRequest constructs an http.Request for the GetPreflightActionIntegrations method
func NewGetPreflightActionSummaryRequest ¶
func NewGetPreflightActionSummaryRequest(server string, params *GetPreflightActionSummaryParams) (*http.Request, error)
NewGetPreflightActionSummaryRequest constructs an http.Request for the GetPreflightActionSummary method
func NewGetPreflightWebhookRequest ¶
NewGetPreflightWebhookRequest constructs an http.Request for the GetPreflightWebhook method
func NewGetPreflightWebhooksRequest ¶
NewGetPreflightWebhooksRequest constructs an http.Request for the GetPreflightWebhooks method
func NewGetProfileRequest ¶
NewGetProfileRequest constructs an http.Request for the GetProfile method
func NewGetProfilesRequest ¶
func NewGetProfilesRequest(server string, params *GetProfilesParams) (*http.Request, error)
NewGetProfilesRequest constructs an http.Request for the GetProfiles method
func NewGetPropertyDefinition1Request ¶
NewGetPropertyDefinition1Request constructs an http.Request for the GetPropertyDefinition1 method
func NewGetPropertyDefinitionRequest ¶
NewGetPropertyDefinitionRequest constructs an http.Request for the GetPropertyDefinition method
func NewGetPropertyDefinitionsRequest ¶
func NewGetPropertyDefinitionsRequest(server string, params *GetPropertyDefinitionsParams) (*http.Request, error)
NewGetPropertyDefinitionsRequest constructs an http.Request for the GetPropertyDefinitions method
func NewGetReportRequest ¶
NewGetReportRequest constructs an http.Request for the GetReport method
func NewGetRiskByCategoryRequest ¶
func NewGetRiskByCategoryRequest(server string, body GetRiskByCategoryJSONRequestBody) (*http.Request, error)
NewGetRiskByCategoryRequest calls the generic GetRiskByCategory builder with application/json body
func NewGetRiskByCategoryRequestWithBody ¶
func NewGetRiskByCategoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetRiskByCategoryRequestWithBody constructs an http.Request for the GetRiskByCategory method, with any body, and a specified content type
func NewGetRiskDistributionRequest ¶
func NewGetRiskDistributionRequest(server string, body GetRiskDistributionJSONRequestBody) (*http.Request, error)
NewGetRiskDistributionRequest calls the generic GetRiskDistribution builder with application/json body
func NewGetRiskDistributionRequestWithBody ¶
func NewGetRiskDistributionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetRiskDistributionRequestWithBody constructs an http.Request for the GetRiskDistribution method, with any body, and a specified content type
func NewGetRiskRequest ¶
NewGetRiskRequest constructs an http.Request for the GetRisk method
func NewGetSchedulesRequest ¶
NewGetSchedulesRequest constructs an http.Request for the GetSchedules method
func NewGetServiceExperimentsRequest ¶
func NewGetServiceExperimentsRequest(server string, id openapi_types.UUID, params *GetServiceExperimentsParams) (*http.Request, error)
NewGetServiceExperimentsRequest constructs an http.Request for the GetServiceExperiments method
func NewGetServiceListRequest ¶
func NewGetServiceListRequest(server string, params *GetServiceListParams) (*http.Request, error)
NewGetServiceListRequest constructs an http.Request for the GetServiceList method
func NewGetServiceRequest ¶
NewGetServiceRequest constructs an http.Request for the GetService method
func NewGetServiceVariablesRequest ¶
NewGetServiceVariablesRequest constructs an http.Request for the GetServiceVariables method
func NewGetSlackIntegrationRequest ¶
NewGetSlackIntegrationRequest constructs an http.Request for the GetSlackIntegration method
func NewGetSlackIntegrationsRequest ¶
NewGetSlackIntegrationsRequest constructs an http.Request for the GetSlackIntegrations method
func NewGetTargetAdviceSummaryRequest ¶
func NewGetTargetAdviceSummaryRequest(server string, body GetTargetAdviceSummaryJSONRequestBody) (*http.Request, error)
NewGetTargetAdviceSummaryRequest calls the generic GetTargetAdviceSummary builder with application/json body
func NewGetTargetAdviceSummaryRequestWithBody ¶
func NewGetTargetAdviceSummaryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetTargetAdviceSummaryRequestWithBody constructs an http.Request for the GetTargetAdviceSummary method, with any body, and a specified content type
func NewGetTargetAttributeKeysRequest ¶
func NewGetTargetAttributeKeysRequest(server string, params *GetTargetAttributeKeysParams) (*http.Request, error)
NewGetTargetAttributeKeysRequest constructs an http.Request for the GetTargetAttributeKeys method
func NewGetTargetAttributeValuesRequest ¶
func NewGetTargetAttributeValuesRequest(server string, params *GetTargetAttributeValuesParams) (*http.Request, error)
NewGetTargetAttributeValuesRequest constructs an http.Request for the GetTargetAttributeValues method
func NewGetTargetsRequest ¶
func NewGetTargetsRequest(server string, params *GetTargetsParams) (*http.Request, error)
NewGetTargetsRequest constructs an http.Request for the GetTargets method
func NewGetTargetsStats1Request ¶
func NewGetTargetsStats1Request(server string, body GetTargetsStats1JSONRequestBody) (*http.Request, error)
NewGetTargetsStats1Request calls the generic GetTargetsStats1 builder with application/json body
func NewGetTargetsStats1RequestWithBody ¶
func NewGetTargetsStats1RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetTargetsStats1RequestWithBody constructs an http.Request for the GetTargetsStats1 method, with any body, and a specified content type
func NewGetTargetsStatsRequest ¶
NewGetTargetsStatsRequest constructs an http.Request for the GetTargetsStats method
func NewGetTeamCountsRequest ¶
func NewGetTeamCountsRequest(server string, body GetTeamCountsJSONRequestBody) (*http.Request, error)
NewGetTeamCountsRequest calls the generic GetTeamCounts builder with application/json body
func NewGetTeamCountsRequestWithBody ¶
func NewGetTeamCountsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetTeamCountsRequestWithBody constructs an http.Request for the GetTeamCounts method, with any body, and a specified content type
func NewGetTeamEnvironmentsRequest ¶
NewGetTeamEnvironmentsRequest constructs an http.Request for the GetTeamEnvironments method
func NewGetTeamMembersRequest ¶
NewGetTeamMembersRequest constructs an http.Request for the GetTeamMembers method
func NewGetTeamRequest ¶
NewGetTeamRequest constructs an http.Request for the GetTeam method
func NewGetTeamsRequest ¶
func NewGetTeamsRequest(server string, params *GetTeamsParams) (*http.Request, error)
NewGetTeamsRequest constructs an http.Request for the GetTeams method
func NewGetUserCountsRequest ¶
func NewGetUserCountsRequest(server string, body GetUserCountsJSONRequestBody) (*http.Request, error)
NewGetUserCountsRequest calls the generic GetUserCounts builder with application/json body
func NewGetUserCountsRequestWithBody ¶
func NewGetUserCountsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetUserCountsRequestWithBody constructs an http.Request for the GetUserCounts method, with any body, and a specified content type
func NewHealthRequest ¶
NewHealthRequest constructs an http.Request for the Health method
func NewImportFromHubRequest ¶
func NewImportFromHubRequest(server string, params *ImportFromHubParams, body ImportFromHubJSONRequestBody) (*http.Request, error)
NewImportFromHubRequest calls the generic ImportFromHub builder with application/json body
func NewImportFromHubRequestWithBody ¶
func NewImportFromHubRequestWithBody(server string, params *ImportFromHubParams, contentType string, body io.Reader) (*http.Request, error)
NewImportFromHubRequestWithBody constructs an http.Request for the ImportFromHub method, with any body, and a specified content type
func NewInviteUserRequest ¶
func NewInviteUserRequest(server string, body InviteUserJSONRequestBody) (*http.Request, error)
NewInviteUserRequest calls the generic InviteUser builder with application/json body
func NewInviteUserRequestWithBody ¶
func NewInviteUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInviteUserRequestWithBody constructs an http.Request for the InviteUser method, with any body, and a specified content type
func NewLinkCustomExperimentRequest ¶
func NewLinkCustomExperimentRequest(server string, id openapi_types.UUID, body LinkCustomExperimentJSONRequestBody) (*http.Request, error)
NewLinkCustomExperimentRequest calls the generic LinkCustomExperiment builder with application/json body
func NewLinkCustomExperimentRequestWithBody ¶
func NewLinkCustomExperimentRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewLinkCustomExperimentRequestWithBody constructs an http.Request for the LinkCustomExperiment method, with any body, and a specified content type
func NewLivenessRequest ¶
NewLivenessRequest constructs an http.Request for the Liveness method
func NewMergeServiceVariablesRequest ¶
func NewMergeServiceVariablesRequest(server string, id openapi_types.UUID, body MergeServiceVariablesJSONRequestBody) (*http.Request, error)
NewMergeServiceVariablesRequest calls the generic MergeServiceVariables builder with application/json body
func NewMergeServiceVariablesRequestWithBody ¶
func NewMergeServiceVariablesRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewMergeServiceVariablesRequestWithBody constructs an http.Request for the MergeServiceVariables method, with any body, and a specified content type
func NewPatchScheduleRequest ¶
func NewPatchScheduleRequest(server string, id string, body PatchScheduleJSONRequestBody) (*http.Request, error)
NewPatchScheduleRequest calls the generic PatchSchedule builder with application/json body
func NewPatchScheduleRequestWithBody ¶
func NewPatchScheduleRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPatchScheduleRequestWithBody constructs an http.Request for the PatchSchedule method, with any body, and a specified content type
func NewReadinessRequest ¶
NewReadinessRequest constructs an http.Request for the Readiness method
func NewRecreateAccessTokenRequest ¶
func NewRecreateAccessTokenRequest(server string, id string, body RecreateAccessTokenJSONRequestBody) (*http.Request, error)
NewRecreateAccessTokenRequest calls the generic RecreateAccessToken builder with application/json body
func NewRecreateAccessTokenRequestWithBody ¶
func NewRecreateAccessTokenRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewRecreateAccessTokenRequestWithBody constructs an http.Request for the RecreateAccessToken method, with any body, and a specified content type
func NewRemoveExperimentScheduleByIdRequest ¶
NewRemoveExperimentScheduleByIdRequest constructs an http.Request for the RemoveExperimentScheduleById method
func NewRemoveTeamEnvironmentsRequest ¶
func NewRemoveTeamEnvironmentsRequest(server string, key string, body RemoveTeamEnvironmentsJSONRequestBody) (*http.Request, error)
NewRemoveTeamEnvironmentsRequest calls the generic RemoveTeamEnvironments builder with application/json body
func NewRemoveTeamEnvironmentsRequestWithBody ¶
func NewRemoveTeamEnvironmentsRequestWithBody(server string, key string, contentType string, body io.Reader) (*http.Request, error)
NewRemoveTeamEnvironmentsRequestWithBody constructs an http.Request for the RemoveTeamEnvironments method, with any body, and a specified content type
func NewRemoveTeamMembersRequest ¶
func NewRemoveTeamMembersRequest(server string, key string, body RemoveTeamMembersJSONRequestBody) (*http.Request, error)
NewRemoveTeamMembersRequest calls the generic RemoveTeamMembers builder with application/json body
func NewRemoveTeamMembersRequestWithBody ¶
func NewRemoveTeamMembersRequestWithBody(server string, key string, contentType string, body io.Reader) (*http.Request, error)
NewRemoveTeamMembersRequestWithBody constructs an http.Request for the RemoveTeamMembers method, with any body, and a specified content type
func NewResyncHubRequest ¶
NewResyncHubRequest constructs an http.Request for the ResyncHub method
func NewSaveAndRunFromTemplateRequest ¶
func NewSaveAndRunFromTemplateRequest(server string, id openapi_types.UUID, params *SaveAndRunFromTemplateParams, body SaveAndRunFromTemplateJSONRequestBody) (*http.Request, error)
NewSaveAndRunFromTemplateRequest calls the generic SaveAndRunFromTemplate builder with application/json body
func NewSaveAndRunFromTemplateRequestWithBody ¶
func NewSaveAndRunFromTemplateRequestWithBody(server string, id openapi_types.UUID, params *SaveAndRunFromTemplateParams, contentType string, body io.Reader) (*http.Request, error)
NewSaveAndRunFromTemplateRequestWithBody constructs an http.Request for the SaveAndRunFromTemplate method, with any body, and a specified content type
func NewSaveAndRunRequest ¶
func NewSaveAndRunRequest(server string, params *SaveAndRunParams, body SaveAndRunJSONRequestBody) (*http.Request, error)
NewSaveAndRunRequest calls the generic SaveAndRun builder with application/json body
func NewSaveAndRunRequestWithBody ¶
func NewSaveAndRunRequestWithBody(server string, params *SaveAndRunParams, contentType string, body io.Reader) (*http.Request, error)
NewSaveAndRunRequestWithBody constructs an http.Request for the SaveAndRun method, with any body, and a specified content type
func NewSetEnvironmentVariablesRequest ¶
func NewSetEnvironmentVariablesRequest(server string, id openapi_types.UUID, body SetEnvironmentVariablesJSONRequestBody) (*http.Request, error)
NewSetEnvironmentVariablesRequest calls the generic SetEnvironmentVariables builder with application/json body
func NewSetEnvironmentVariablesRequestWithBody ¶
func NewSetEnvironmentVariablesRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewSetEnvironmentVariablesRequestWithBody constructs an http.Request for the SetEnvironmentVariables method, with any body, and a specified content type
func NewSetExecutionPropertyValueRequest ¶
func NewSetExecutionPropertyValueRequest(server string, id int64, key string, body SetExecutionPropertyValueJSONRequestBody) (*http.Request, error)
NewSetExecutionPropertyValueRequest calls the generic SetExecutionPropertyValue builder with application/json body
func NewSetExecutionPropertyValueRequestWithBody ¶
func NewSetExecutionPropertyValueRequestWithBody(server string, id int64, key string, contentType string, body io.Reader) (*http.Request, error)
NewSetExecutionPropertyValueRequestWithBody constructs an http.Request for the SetExecutionPropertyValue method, with any body, and a specified content type
func NewSetServiceVariablesRequest ¶
func NewSetServiceVariablesRequest(server string, id openapi_types.UUID, body SetServiceVariablesJSONRequestBody) (*http.Request, error)
NewSetServiceVariablesRequest calls the generic SetServiceVariables builder with application/json body
func NewSetServiceVariablesRequestWithBody ¶
func NewSetServiceVariablesRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewSetServiceVariablesRequestWithBody constructs an http.Request for the SetServiceVariables method, with any body, and a specified content type
func NewSetTeamEnvironmentsRequest ¶
func NewSetTeamEnvironmentsRequest(server string, key string, params *SetTeamEnvironmentsParams, body SetTeamEnvironmentsJSONRequestBody) (*http.Request, error)
NewSetTeamEnvironmentsRequest calls the generic SetTeamEnvironments builder with application/json body
func NewSetTeamEnvironmentsRequestWithBody ¶
func NewSetTeamEnvironmentsRequestWithBody(server string, key string, params *SetTeamEnvironmentsParams, contentType string, body io.Reader) (*http.Request, error)
NewSetTeamEnvironmentsRequestWithBody constructs an http.Request for the SetTeamEnvironments method, with any body, and a specified content type
func NewSetTeamMembersRequest ¶
func NewSetTeamMembersRequest(server string, key string, params *SetTeamMembersParams, body SetTeamMembersJSONRequestBody) (*http.Request, error)
NewSetTeamMembersRequest calls the generic SetTeamMembers builder with application/json body
func NewSetTeamMembersRequestWithBody ¶
func NewSetTeamMembersRequestWithBody(server string, key string, params *SetTeamMembersParams, contentType string, body io.Reader) (*http.Request, error)
NewSetTeamMembersRequestWithBody constructs an http.Request for the SetTeamMembers method, with any body, and a specified content type
func NewUnlinkCustomExperimentRequest ¶
func NewUnlinkCustomExperimentRequest(server string, id openapi_types.UUID, params *UnlinkCustomExperimentParams) (*http.Request, error)
NewUnlinkCustomExperimentRequest constructs an http.Request for the UnlinkCustomExperiment method
func NewUpdateEnvironmentVariablesRequest ¶
func NewUpdateEnvironmentVariablesRequest(server string, id openapi_types.UUID, body UpdateEnvironmentVariablesJSONRequestBody) (*http.Request, error)
NewUpdateEnvironmentVariablesRequest calls the generic UpdateEnvironmentVariables builder with application/json body
func NewUpdateEnvironmentVariablesRequestWithBody ¶
func NewUpdateEnvironmentVariablesRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEnvironmentVariablesRequestWithBody constructs an http.Request for the UpdateEnvironmentVariables method, with any body, and a specified content type
func NewUpdateExecutionPropertiesRequest ¶
func NewUpdateExecutionPropertiesRequest(server string, id int64, body UpdateExecutionPropertiesJSONRequestBody) (*http.Request, error)
NewUpdateExecutionPropertiesRequest calls the generic UpdateExecutionProperties builder with application/json body
func NewUpdateExecutionPropertiesRequestWithBody ¶
func NewUpdateExecutionPropertiesRequestWithBody(server string, id int64, contentType string, body io.Reader) (*http.Request, error)
NewUpdateExecutionPropertiesRequestWithBody constructs an http.Request for the UpdateExecutionProperties method, with any body, and a specified content type
func NewUpdateExperimentByTemplateRequest ¶
func NewUpdateExperimentByTemplateRequest(server string, id openapi_types.UUID, key string, params *UpdateExperimentByTemplateParams, body UpdateExperimentByTemplateJSONRequestBody) (*http.Request, error)
NewUpdateExperimentByTemplateRequest calls the generic UpdateExperimentByTemplate builder with application/json body
func NewUpdateExperimentByTemplateRequestWithBody ¶
func NewUpdateExperimentByTemplateRequestWithBody(server string, id openapi_types.UUID, key string, params *UpdateExperimentByTemplateParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateExperimentByTemplateRequestWithBody constructs an http.Request for the UpdateExperimentByTemplate method, with any body, and a specified content type
func NewUpdateExperimentRequest ¶
func NewUpdateExperimentRequest(server string, key string, body UpdateExperimentJSONRequestBody) (*http.Request, error)
NewUpdateExperimentRequest calls the generic UpdateExperiment builder with application/json body
func NewUpdateExperimentRequestWithBody ¶
func NewUpdateExperimentRequestWithBody(server string, key string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateExperimentRequestWithBody constructs an http.Request for the UpdateExperiment method, with any body, and a specified content type
func NewUpdateLandscapeViewRequest ¶
func NewUpdateLandscapeViewRequest(server string, id openapi_types.UUID, body UpdateLandscapeViewJSONRequestBody) (*http.Request, error)
NewUpdateLandscapeViewRequest calls the generic UpdateLandscapeView builder with application/json body
func NewUpdateLandscapeViewRequestWithBody ¶
func NewUpdateLandscapeViewRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateLandscapeViewRequestWithBody constructs an http.Request for the UpdateLandscapeView method, with any body, and a specified content type
func NewUpsertCustomWebhookRequest ¶
func NewUpsertCustomWebhookRequest(server string, body UpsertCustomWebhookJSONRequestBody) (*http.Request, error)
NewUpsertCustomWebhookRequest calls the generic UpsertCustomWebhook builder with application/json body
func NewUpsertCustomWebhookRequestWithBody ¶
func NewUpsertCustomWebhookRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpsertCustomWebhookRequestWithBody constructs an http.Request for the UpsertCustomWebhook method, with any body, and a specified content type
func NewUpsertEnvironmentRequest ¶
func NewUpsertEnvironmentRequest(server string, body UpsertEnvironmentJSONRequestBody) (*http.Request, error)
NewUpsertEnvironmentRequest calls the generic UpsertEnvironment builder with application/json body
func NewUpsertEnvironmentRequestWithBody ¶
func NewUpsertEnvironmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpsertEnvironmentRequestWithBody constructs an http.Request for the UpsertEnvironment method, with any body, and a specified content type
func NewUpsertExperimentTemplateRequest ¶
func NewUpsertExperimentTemplateRequest(server string, body UpsertExperimentTemplateJSONRequestBody) (*http.Request, error)
NewUpsertExperimentTemplateRequest calls the generic UpsertExperimentTemplate builder with application/json body
func NewUpsertExperimentTemplateRequestWithBody ¶
func NewUpsertExperimentTemplateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpsertExperimentTemplateRequestWithBody constructs an http.Request for the UpsertExperimentTemplate method, with any body, and a specified content type
func NewUpsertHubRequest ¶
func NewUpsertHubRequest(server string, params *UpsertHubParams, body UpsertHubJSONRequestBody) (*http.Request, error)
NewUpsertHubRequest calls the generic UpsertHub builder with application/json body
func NewUpsertHubRequestWithBody ¶
func NewUpsertHubRequestWithBody(server string, params *UpsertHubParams, contentType string, body io.Reader) (*http.Request, error)
NewUpsertHubRequestWithBody constructs an http.Request for the UpsertHub method, with any body, and a specified content type
func NewUpsertPreflightActionIntegrationRequest ¶
func NewUpsertPreflightActionIntegrationRequest(server string, body UpsertPreflightActionIntegrationJSONRequestBody) (*http.Request, error)
NewUpsertPreflightActionIntegrationRequest calls the generic UpsertPreflightActionIntegration builder with application/json body
func NewUpsertPreflightActionIntegrationRequestWithBody ¶
func NewUpsertPreflightActionIntegrationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpsertPreflightActionIntegrationRequestWithBody constructs an http.Request for the UpsertPreflightActionIntegration method, with any body, and a specified content type
func NewUpsertPreflightWebhookRequest ¶
func NewUpsertPreflightWebhookRequest(server string, body UpsertPreflightWebhookJSONRequestBody) (*http.Request, error)
NewUpsertPreflightWebhookRequest calls the generic UpsertPreflightWebhook builder with application/json body
func NewUpsertPreflightWebhookRequestWithBody ¶
func NewUpsertPreflightWebhookRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpsertPreflightWebhookRequestWithBody constructs an http.Request for the UpsertPreflightWebhook method, with any body, and a specified content type
func NewUpsertProfileRequest ¶
func NewUpsertProfileRequest(server string, params *UpsertProfileParams, body UpsertProfileJSONRequestBody) (*http.Request, error)
NewUpsertProfileRequest calls the generic UpsertProfile builder with application/json body
func NewUpsertProfileRequestWithBody ¶
func NewUpsertProfileRequestWithBody(server string, params *UpsertProfileParams, contentType string, body io.Reader) (*http.Request, error)
NewUpsertProfileRequestWithBody constructs an http.Request for the UpsertProfile method, with any body, and a specified content type
func NewUpsertPropertyAssociationRequest ¶
func NewUpsertPropertyAssociationRequest(server string, body UpsertPropertyAssociationJSONRequestBody) (*http.Request, error)
NewUpsertPropertyAssociationRequest calls the generic UpsertPropertyAssociation builder with application/json body
func NewUpsertPropertyAssociationRequestWithBody ¶
func NewUpsertPropertyAssociationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpsertPropertyAssociationRequestWithBody constructs an http.Request for the UpsertPropertyAssociation method, with any body, and a specified content type
func NewUpsertPropertyDefinitionRequest ¶
func NewUpsertPropertyDefinitionRequest(server string, params *UpsertPropertyDefinitionParams, body UpsertPropertyDefinitionJSONRequestBody) (*http.Request, error)
NewUpsertPropertyDefinitionRequest calls the generic UpsertPropertyDefinition builder with application/json body
func NewUpsertPropertyDefinitionRequestWithBody ¶
func NewUpsertPropertyDefinitionRequestWithBody(server string, params *UpsertPropertyDefinitionParams, contentType string, body io.Reader) (*http.Request, error)
NewUpsertPropertyDefinitionRequestWithBody constructs an http.Request for the UpsertPropertyDefinition method, with any body, and a specified content type
func NewUpsertProvidedExperimentRequest ¶
func NewUpsertProvidedExperimentRequest(server string, id openapi_types.UUID, params *UpsertProvidedExperimentParams, body UpsertProvidedExperimentJSONRequestBody) (*http.Request, error)
NewUpsertProvidedExperimentRequest calls the generic UpsertProvidedExperiment builder with application/json body
func NewUpsertProvidedExperimentRequestWithBody ¶
func NewUpsertProvidedExperimentRequestWithBody(server string, id openapi_types.UUID, params *UpsertProvidedExperimentParams, contentType string, body io.Reader) (*http.Request, error)
NewUpsertProvidedExperimentRequestWithBody constructs an http.Request for the UpsertProvidedExperiment method, with any body, and a specified content type
func NewUpsertScheduleRequest ¶
func NewUpsertScheduleRequest(server string, body UpsertScheduleJSONRequestBody) (*http.Request, error)
NewUpsertScheduleRequest calls the generic UpsertSchedule builder with application/json body
func NewUpsertScheduleRequestWithBody ¶
func NewUpsertScheduleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpsertScheduleRequestWithBody constructs an http.Request for the UpsertSchedule method, with any body, and a specified content type
func NewUpsertServiceRequest ¶
func NewUpsertServiceRequest(server string, params *UpsertServiceParams, body UpsertServiceJSONRequestBody) (*http.Request, error)
NewUpsertServiceRequest calls the generic UpsertService builder with application/json body
func NewUpsertServiceRequestWithBody ¶
func NewUpsertServiceRequestWithBody(server string, params *UpsertServiceParams, contentType string, body io.Reader) (*http.Request, error)
NewUpsertServiceRequestWithBody constructs an http.Request for the UpsertService method, with any body, and a specified content type
func NewUpsertSlackIntegrationRequest ¶
func NewUpsertSlackIntegrationRequest(server string, body UpsertSlackIntegrationJSONRequestBody) (*http.Request, error)
NewUpsertSlackIntegrationRequest calls the generic UpsertSlackIntegration builder with application/json body
func NewUpsertSlackIntegrationRequestWithBody ¶
func NewUpsertSlackIntegrationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpsertSlackIntegrationRequestWithBody constructs an http.Request for the UpsertSlackIntegration method, with any body, and a specified content type
func NewUpsertTeamRequest ¶
func NewUpsertTeamRequest(server string, params *UpsertTeamParams, body UpsertTeamJSONRequestBody) (*http.Request, error)
NewUpsertTeamRequest calls the generic UpsertTeam builder with application/json body
func NewUpsertTeamRequestWithBody ¶
func NewUpsertTeamRequestWithBody(server string, params *UpsertTeamParams, contentType string, body io.Reader) (*http.Request, error)
NewUpsertTeamRequestWithBody constructs an http.Request for the UpsertTeam method, with any body, and a specified content type
Types ¶
type AbstractExperimentExecutionStepAO ¶
type AbstractExperimentExecutionStepAO struct {
// CustomLabel Custom label assigned during experiment design to express the intention of this step
//
// Example: Container 'xyz' can not be reached
CustomLabel *string `json:"customLabel,omitempty"`
// Ended Timestamp when this experiment step ended
//
// Example: 2023-01-01T09:00:00Z
Ended *time.Time `json:"ended,omitempty"`
// Id Unique identifier of this step execution
//
// Example: 40b0f797-912d-4256-8887-1553561962a9
Id *openapi_types.UUID `json:"id,omitempty"`
// IgnoreFailure Whether the experiment should fail/error immediately in case this step fails/errors.
//
// Example: false
IgnoreFailure *bool `json:"ignoreFailure,omitempty"`
// Parameters Step-specific parameters of the experiment step configuration
//
// Example: {"duration":"10s"}
Parameters *map[string]interface{} `json:"parameters,omitempty"`
// PredecessorId Unique identifier of the step execution that precedes this step, null if it is the first step of a lane
//
// Example: 40b0f797-912d-4256-8887-1553561962a9
PredecessorId *openapi_types.UUID `json:"predecessorId,omitempty"`
// Reason Reason in case this experiment step execution failed or errored
//
// Example: Couldn't read state of container...
Reason *string `json:"reason,omitempty"`
// Started Timestamp when this experiment step was started
//
// Example: 2023-01-01T09:00:00Z
Started *time.Time `json:"started,omitempty"`
// State Current state of this step in the experiment (e.g. RUNNING, FAILED, ERRORED, COMPLETED)
//
// Example: RUNNING
State *string `json:"state,omitempty"`
// StepType Type of this step execution (e.g. ACTION, WAIT)
//
// Example: ACTION
StepType string `json:"stepType"`
// contains filtered or unexported fields
}
AbstractExperimentExecutionStepAO A step that is executed as part of an experiment.
Example: [{"id":"40b0f797-912d-4256-8887-1553561962a9","ignoreFailure":false,"parameters":{"duration":"10s"},"predecessorId":null}]
func (AbstractExperimentExecutionStepAO) AsExperimentExecutionStepActionAO ¶
func (t AbstractExperimentExecutionStepAO) AsExperimentExecutionStepActionAO() (ExperimentExecutionStepActionAO, error)
AsExperimentExecutionStepActionAO returns the union data inside the AbstractExperimentExecutionStepAO as a ExperimentExecutionStepActionAO
func (AbstractExperimentExecutionStepAO) AsExperimentExecutionStepServiceValidationAO ¶
func (t AbstractExperimentExecutionStepAO) AsExperimentExecutionStepServiceValidationAO() (ExperimentExecutionStepServiceValidationAO, error)
AsExperimentExecutionStepServiceValidationAO returns the union data inside the AbstractExperimentExecutionStepAO as a ExperimentExecutionStepServiceValidationAO
func (AbstractExperimentExecutionStepAO) AsExperimentExecutionStepWaitAO ¶
func (t AbstractExperimentExecutionStepAO) AsExperimentExecutionStepWaitAO() (ExperimentExecutionStepWaitAO, error)
AsExperimentExecutionStepWaitAO returns the union data inside the AbstractExperimentExecutionStepAO as a ExperimentExecutionStepWaitAO
func (AbstractExperimentExecutionStepAO) Discriminator ¶
func (t AbstractExperimentExecutionStepAO) Discriminator() (string, error)
func (*AbstractExperimentExecutionStepAO) FromExperimentExecutionStepActionAO ¶
func (t *AbstractExperimentExecutionStepAO) FromExperimentExecutionStepActionAO(v ExperimentExecutionStepActionAO) error
FromExperimentExecutionStepActionAO overwrites any union data inside the AbstractExperimentExecutionStepAO as the provided ExperimentExecutionStepActionAO
func (*AbstractExperimentExecutionStepAO) FromExperimentExecutionStepServiceValidationAO ¶
func (t *AbstractExperimentExecutionStepAO) FromExperimentExecutionStepServiceValidationAO(v ExperimentExecutionStepServiceValidationAO) error
FromExperimentExecutionStepServiceValidationAO overwrites any union data inside the AbstractExperimentExecutionStepAO as the provided ExperimentExecutionStepServiceValidationAO
func (*AbstractExperimentExecutionStepAO) FromExperimentExecutionStepWaitAO ¶
func (t *AbstractExperimentExecutionStepAO) FromExperimentExecutionStepWaitAO(v ExperimentExecutionStepWaitAO) error
FromExperimentExecutionStepWaitAO overwrites any union data inside the AbstractExperimentExecutionStepAO as the provided ExperimentExecutionStepWaitAO
func (AbstractExperimentExecutionStepAO) MarshalJSON ¶
func (t AbstractExperimentExecutionStepAO) MarshalJSON() ([]byte, error)
func (*AbstractExperimentExecutionStepAO) MergeExperimentExecutionStepActionAO ¶
func (t *AbstractExperimentExecutionStepAO) MergeExperimentExecutionStepActionAO(v ExperimentExecutionStepActionAO) error
MergeExperimentExecutionStepActionAO performs a merge with any union data inside the AbstractExperimentExecutionStepAO, using the provided ExperimentExecutionStepActionAO
func (*AbstractExperimentExecutionStepAO) MergeExperimentExecutionStepServiceValidationAO ¶
func (t *AbstractExperimentExecutionStepAO) MergeExperimentExecutionStepServiceValidationAO(v ExperimentExecutionStepServiceValidationAO) error
MergeExperimentExecutionStepServiceValidationAO performs a merge with any union data inside the AbstractExperimentExecutionStepAO, using the provided ExperimentExecutionStepServiceValidationAO
func (*AbstractExperimentExecutionStepAO) MergeExperimentExecutionStepWaitAO ¶
func (t *AbstractExperimentExecutionStepAO) MergeExperimentExecutionStepWaitAO(v ExperimentExecutionStepWaitAO) error
MergeExperimentExecutionStepWaitAO performs a merge with any union data inside the AbstractExperimentExecutionStepAO, using the provided ExperimentExecutionStepWaitAO
func (*AbstractExperimentExecutionStepAO) UnmarshalJSON ¶
func (t *AbstractExperimentExecutionStepAO) UnmarshalJSON(b []byte) error
func (AbstractExperimentExecutionStepAO) ValueByDiscriminator ¶
func (t AbstractExperimentExecutionStepAO) ValueByDiscriminator() (interface{}, error)
type AccessTokenPrincipalAL ¶
type AccessTokenPrincipalAL struct {
// Id Unique identifier of this access token principal
//
// Example: VDKTEBLl
Id string `json:"id"`
// Name Name of the access token that was used
//
// Example: CI/CD
Name string `json:"name"`
// PrincipalType Principal type for access token based principal
//
// Example: ACCESS_TOKEN
PrincipalType AccessTokenPrincipalALPrincipalType `json:"principalType"`
// TokenType Access token type that was used to perform the logged event
//
// Example: TEAM
TokenType AccessTokenPrincipalALTokenType `json:"tokenType"`
}
AccessTokenPrincipalAL The logged event was performed via API authorized via access token
Example: {"id":"VDKTEBLl","name":"CI/CD","principalType":"ACCESS_TOKEN","tokenType":"TEAM"}
type AccessTokenPrincipalALPrincipalType ¶
type AccessTokenPrincipalALPrincipalType string
AccessTokenPrincipalALPrincipalType Principal type for access token based principal
Example: ACCESS_TOKEN
const ( AccessTokenPrincipalALPrincipalTypeACCESSTOKEN AccessTokenPrincipalALPrincipalType = "ACCESS_TOKEN" AccessTokenPrincipalALPrincipalTypeBATCHJOB AccessTokenPrincipalALPrincipalType = "BATCH_JOB" AccessTokenPrincipalALPrincipalTypeUSER AccessTokenPrincipalALPrincipalType = "USER" )
Defines values for AccessTokenPrincipalALPrincipalType.
func (AccessTokenPrincipalALPrincipalType) Valid ¶
func (e AccessTokenPrincipalALPrincipalType) Valid() bool
Valid indicates whether the value is a known member of the AccessTokenPrincipalALPrincipalType enum.
type AccessTokenPrincipalALTokenType ¶
type AccessTokenPrincipalALTokenType string
AccessTokenPrincipalALTokenType Access token type that was used to perform the logged event
Example: TEAM
const ( AccessTokenPrincipalALTokenTypeADMIN AccessTokenPrincipalALTokenType = "ADMIN" AccessTokenPrincipalALTokenTypeTEAM AccessTokenPrincipalALTokenType = "TEAM" AccessTokenPrincipalALTokenTypeWILDCARD AccessTokenPrincipalALTokenType = "WILDCARD" )
Defines values for AccessTokenPrincipalALTokenType.
func (AccessTokenPrincipalALTokenType) Valid ¶
func (e AccessTokenPrincipalALTokenType) Valid() bool
Valid indicates whether the value is a known member of the AccessTokenPrincipalALTokenType enum.
type AccessTokensPageItemAO ¶
type AccessTokensPageItemAO struct {
// Id Unique identifier of the access token
//
// Example: CQer2Oar
Id *string `json:"id,omitempty"`
// Name Name of the Access Token to document e.g. its purpose
//
// Example: CI/CD access token
Name *string `json:"name,omitempty"`
// Team Team associated with this token or null if this is an admin token
//
// Example: ADM
Team *string `json:"team,omitempty"`
// Type Type of the access token
//
// Example: ADMIN
Type *AccessTokensPageItemAOType `json:"type,omitempty"`
}
AccessTokensPageItemAO A single access token of a team. The token itself can't be read again
Example: {"id":"aP4cDVfA","name":"CI/CD"}
type AccessTokensPageItemAOType ¶
type AccessTokensPageItemAOType string
AccessTokensPageItemAOType Type of the access token
Example: ADMIN
const ( AccessTokensPageItemAOTypeADMIN AccessTokensPageItemAOType = "ADMIN" AccessTokensPageItemAOTypeTEAM AccessTokensPageItemAOType = "TEAM" )
Defines values for AccessTokensPageItemAOType.
func (AccessTokensPageItemAOType) Valid ¶
func (e AccessTokensPageItemAOType) Valid() bool
Valid indicates whether the value is a known member of the AccessTokensPageItemAOType enum.
type AccessTokensPageItemV2AO ¶
type AccessTokensPageItemV2AO struct {
// ExpiresAt Expiration date of the token. Null means the token never expires.
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
// Id Unique identifier of this access token
Id *string `json:"id,omitempty"`
// LastUsed Date of the last token usage. Null means the token was never used.
LastUsed *time.Time `json:"lastUsed,omitempty"`
// Name Name of this access token
Name *string `json:"name,omitempty"`
// Teams Teams associated with this token.
Teams *[]string `json:"teams,omitempty"`
// Type Type of this token
Type *AccessTokensPageItemV2AOType `json:"type,omitempty"`
}
AccessTokensPageItemV2AO A single access token
type AccessTokensPageItemV2AOType ¶
type AccessTokensPageItemV2AOType string
AccessTokensPageItemV2AOType Type of this token
const ( AccessTokensPageItemV2AOTypeADMIN AccessTokensPageItemV2AOType = "ADMIN" AccessTokensPageItemV2AOTypeTEAM AccessTokensPageItemV2AOType = "TEAM" AccessTokensPageItemV2AOTypeWILDCARD AccessTokensPageItemV2AOType = "WILDCARD" )
Defines values for AccessTokensPageItemV2AOType.
func (AccessTokensPageItemV2AOType) Valid ¶
func (e AccessTokensPageItemV2AOType) Valid() bool
Valid indicates whether the value is a known member of the AccessTokensPageItemV2AOType enum.
type ActionAO ¶
type ActionAO struct {
// Category Category grouping similar actions.
//
// Example: Resource
Category *string `json:"category,omitempty"`
// DefaultBlastRadius Default blast radius configuration for an action.
DefaultBlastRadius DefaultBlastRadiusAO `json:"defaultBlastRadius"`
// Description Description of the action.
Description string `json:"description"`
// Hint An informational or warning hint displayed to the user.
Hint *HintAO `json:"hint,omitempty"`
HubSummary *string `json:"hubSummary,omitempty"`
// Icon Icon of the action as a data URI (may be a large base64-encoded image).
Icon *string `json:"icon,omitempty"`
// Id Unique identifier of the action.
//
// Example: com.steadybit.extension_container.stress_cpu
Id string `json:"id"`
// Kind Kind of the action.
//
// Example: ATTACK
Kind ActionAOKind `json:"kind"`
// MetricQueryParameters Parameters that describe how to fetch metrics for this action.
MetricQueryParameters []ParameterAO `json:"metricQueryParameters"`
// MissingQuerySelection Behavior when the target query does not match any targets.
//
// Example: INCLUDE_NONE
MissingQuerySelection ActionAOMissingQuerySelection `json:"missingQuerySelection"`
// Name Display name of the action.
//
// Example: Stress CPU
Name string `json:"name"`
Parameters *[]ParameterAO `json:"parameters,omitempty"`
// QuantityRestriction Restriction on the number of targets this action may operate on.
//
// Example: NONE
QuantityRestriction ActionAOQuantityRestriction `json:"quantityRestriction"`
// SupportsMetricQueries Whether this action supports metric queries.
SupportsMetricQueries *bool `json:"supportsMetricQueries,omitempty"`
Target *TargetSelectorAO `json:"target,omitempty"`
// TargetPredicateTemplates Predefined target predicate templates offered to the user when configuring this action.
TargetPredicateTemplates []TargetPredicateTemplateAO `json:"targetPredicateTemplates"`
// Technology Technology the action belongs to.
//
// Example: Container
Technology *string `json:"technology,omitempty"`
// Version Version of the action.
//
// Example: 1.2.3
Version *string `json:"version,omitempty"`
}
ActionAO An action that is currently registered.
type ActionAOKind ¶
type ActionAOKind string
ActionAOKind Kind of the action.
Example: ATTACK
const ( ActionAOKindATTACK ActionAOKind = "ATTACK" ActionAOKindBASIC ActionAOKind = "BASIC" ActionAOKindCHECK ActionAOKind = "CHECK" ActionAOKindLOADTEST ActionAOKind = "LOAD_TEST" ActionAOKindOTHER ActionAOKind = "OTHER" )
Defines values for ActionAOKind.
func (ActionAOKind) Valid ¶
func (e ActionAOKind) Valid() bool
Valid indicates whether the value is a known member of the ActionAOKind enum.
type ActionAOMissingQuerySelection ¶
type ActionAOMissingQuerySelection string
ActionAOMissingQuerySelection Behavior when the target query does not match any targets.
Example: INCLUDE_NONE
const ( INCLUDEALL ActionAOMissingQuerySelection = "INCLUDE_ALL" INCLUDENONE ActionAOMissingQuerySelection = "INCLUDE_NONE" )
Defines values for ActionAOMissingQuerySelection.
func (ActionAOMissingQuerySelection) Valid ¶
func (e ActionAOMissingQuerySelection) Valid() bool
Valid indicates whether the value is a known member of the ActionAOMissingQuerySelection enum.
type ActionAOQuantityRestriction ¶
type ActionAOQuantityRestriction string
ActionAOQuantityRestriction Restriction on the number of targets this action may operate on.
Example: NONE
const ( ActionAOQuantityRestrictionALL ActionAOQuantityRestriction = "ALL" ActionAOQuantityRestrictionEXACTLYONE ActionAOQuantityRestriction = "EXACTLY_ONE" ActionAOQuantityRestrictionNONE ActionAOQuantityRestriction = "NONE" )
Defines values for ActionAOQuantityRestriction.
func (ActionAOQuantityRestriction) Valid ¶
func (e ActionAOQuantityRestriction) Valid() bool
Valid indicates whether the value is a known member of the ActionAOQuantityRestriction enum.
type ActionSummariesAO ¶
type ActionSummariesAO struct {
// Actions List of actions.
Actions *[]ActionAO `json:"actions,omitempty"`
// NextPage Next page to query for next page of runs or null if there are none.
//
// Example: 4
NextPage *int32 `json:"nextPage,omitempty"`
// TotalItems Total amount of runs matching your query
//
// Example: 241
TotalItems *int64 `json:"totalItems,omitempty"`
}
ActionSummariesAO List of actions.
type AddExecutionPropertyValueJSONBody ¶
type AddExecutionPropertyValueJSONBody = map[string]interface{}
AddExecutionPropertyValueJSONBody defines parameters for AddExecutionPropertyValue.
type AddExecutionPropertyValueJSONRequestBody ¶
type AddExecutionPropertyValueJSONRequestBody = AddExecutionPropertyValueJSONBody
AddExecutionPropertyValueJSONRequestBody defines body for AddExecutionPropertyValue for application/json ContentType.
type AddExecutionPropertyValueResponse ¶
func ParseAddExecutionPropertyValueResponse ¶
func ParseAddExecutionPropertyValueResponse(rsp *http.Response) (*AddExecutionPropertyValueResponse, error)
ParseAddExecutionPropertyValueResponse parses an HTTP response from a AddExecutionPropertyValueWithResponse call
func (AddExecutionPropertyValueResponse) ContentType ¶
func (r AddExecutionPropertyValueResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddExecutionPropertyValueResponse) GetBody ¶
func (r AddExecutionPropertyValueResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddExecutionPropertyValueResponse) Status ¶
func (r AddExecutionPropertyValueResponse) Status() string
Status returns HTTPResponse.Status
func (AddExecutionPropertyValueResponse) StatusCode ¶
func (r AddExecutionPropertyValueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddTeamEnvironmentsJSONRequestBody ¶
type AddTeamEnvironmentsJSONRequestBody = TeamEnvironmentsUpdateAO
AddTeamEnvironmentsJSONRequestBody defines body for AddTeamEnvironments for application/json ContentType.
type AddTeamEnvironmentsParams ¶
type AddTeamEnvironmentsParams struct {
// ValidateEnvironments By default, Steadybit will skip environments, which are not yet know. If set to true, Steadybit will validate the given environments and show a 422 response.
ValidateEnvironments *bool `form:"validateEnvironments,omitempty" json:"validateEnvironments,omitempty"`
}
AddTeamEnvironmentsParams defines parameters for AddTeamEnvironments.
type AddTeamEnvironmentsResponse ¶
type AddTeamEnvironmentsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TeamEnvironmentsAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TeamEnvironmentsAO
}
func ParseAddTeamEnvironmentsResponse ¶
func ParseAddTeamEnvironmentsResponse(rsp *http.Response) (*AddTeamEnvironmentsResponse, error)
ParseAddTeamEnvironmentsResponse parses an HTTP response from a AddTeamEnvironmentsWithResponse call
func (AddTeamEnvironmentsResponse) ContentType ¶
func (r AddTeamEnvironmentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddTeamEnvironmentsResponse) GetBody ¶
func (r AddTeamEnvironmentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddTeamEnvironmentsResponse) GetJSON200 ¶
func (r AddTeamEnvironmentsResponse) GetJSON200() *TeamEnvironmentsAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AddTeamEnvironmentsResponse) GetYAML200 ¶
func (r AddTeamEnvironmentsResponse) GetYAML200() *TeamEnvironmentsAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (AddTeamEnvironmentsResponse) Status ¶
func (r AddTeamEnvironmentsResponse) Status() string
Status returns HTTPResponse.Status
func (AddTeamEnvironmentsResponse) StatusCode ¶
func (r AddTeamEnvironmentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddTeamMembersJSONRequestBody ¶
type AddTeamMembersJSONRequestBody = TeamMembersUpdateAO
AddTeamMembersJSONRequestBody defines body for AddTeamMembers for application/json ContentType.
type AddTeamMembersParams ¶
type AddTeamMembersParams struct {
// ValidateMembers By default, Steadybit will skip members, which are not yet know. If set to true, Steadybit will validate the given members and show a 422 response.
ValidateMembers *bool `form:"validateMembers,omitempty" json:"validateMembers,omitempty"`
}
AddTeamMembersParams defines parameters for AddTeamMembers.
type AddTeamMembersResponse ¶
type AddTeamMembersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TeamMembersAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TeamMembersAO
}
func ParseAddTeamMembersResponse ¶
func ParseAddTeamMembersResponse(rsp *http.Response) (*AddTeamMembersResponse, error)
ParseAddTeamMembersResponse parses an HTTP response from a AddTeamMembersWithResponse call
func (AddTeamMembersResponse) ContentType ¶
func (r AddTeamMembersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddTeamMembersResponse) GetBody ¶
func (r AddTeamMembersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddTeamMembersResponse) GetJSON200 ¶
func (r AddTeamMembersResponse) GetJSON200() *TeamMembersAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AddTeamMembersResponse) GetYAML200 ¶
func (r AddTeamMembersResponse) GetYAML200() *TeamMembersAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (AddTeamMembersResponse) Status ¶
func (r AddTeamMembersResponse) Status() string
Status returns HTTPResponse.Status
func (AddTeamMembersResponse) StatusCode ¶
func (r AddTeamMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdvancedRadiusAO ¶
type AdvancedRadiusAO struct {
// Attribute The target attribute that should be picked randomly
//
// Example: aws.zone
Attribute string `json:"attribute"`
// PickedValues Only in execution - the values that has been picked by the randomizer for the given execution
//
// Example: ['us-east-1a','us-east-1b']
PickedValues *[]string `json:"pickedValues,omitempty"`
// Value The percentage (example: `50%`) or fixed amount (example: `15#`)
//
// Example: 50%
Value string `json:"value"`
}
AdvancedRadiusAO defines model for AdvancedRadiusAO.
type AdviceSummaryAO ¶
type AdviceSummaryAO struct {
Items *[]TargetAdviceAO `json:"items,omitempty"`
// NextOffset Next queryable offset to query for next batch of advice
//
// Example: 21
NextOffset *int32 `json:"nextOffset,omitempty"`
// TotalItems Total amount of advice matching your query
//
// Example: 241
TotalItems *int64 `json:"totalItems,omitempty"`
}
AdviceSummaryAO A pageable list of pieces of advice.
Example: {"items":[{"advice":{"label":"Limit CPU Resources","status":"Validation needed","summary":"You already took action and configured a CPU limit. Validate your configuration via an experiment.","tags":["kubernetes","limit","cpu"],"type":"com.steadybit.extension_kubernetes.advice.k8s-cpu-limit"},"target":{"label":"gateway","reference":"prod-demo/steadybit-demo/gateway","type":"com.steadybit.extension_kubernetes.kubernetes-deployment"},"url":"https://platform.steadybit.com/permalink/advice/eyAiZW52..."},{"advice":{"label":"Requesting Reasonable CPU Resources","status":"Validation needed","summary":"You specified a CPU request that informs Kubernetes decision where to schedule your pods of *activemq*.\nPlease confirm that your requested CPU share is reasonable for your type of application.","tags":["kubernetes","request","cpu"],"type":"com.steadybit.extension_kubernetes.advice.k8s-cpu-request"},"target":{"label":"gateway","reference":"prod-demo/steadybit-demo/gateway","type":"com.steadybit.extension_kubernetes.kubernetes-deployment"},"url":"https://platform.steadybit.com/permalink/advice/eyAiZW52..."}],"nextOffset":3,"totalItems":108}
type AttributeAO ¶
type AttributeAO struct {
// Key The key of the attribute, may be associated multiple times to the same target
//
// Example: container.engine
Key string `json:"key"`
// Value The value of the attribute
//
// Example: docker
Value string `json:"value"`
}
AttributeAO An attributes (key-value-pair) that is associated to a target
Example: {"key":"container.port","value":"51152:2376"}
type AuditLogEntry ¶
type AuditLogEntry struct {
// Environment The environment in which the event was triggered
//
// Example: {"id":"1avfd231-8322-42f2-bad9-307dc962ec37","name":"Global","predicate":{"operator":"AND","predicates":[]}}
Environment *EnvironmentAL `json:"environment,omitempty"`
// EventName Event name that was audited
//
// Example: experiment.created
EventName string `json:"eventName"`
// EventTime The time at which the event was audited
//
// Example: 2023-01-03T09:13:00Z
EventTime time.Time `json:"eventTime"`
// Id Unique identifier of the audit log entry
Id openapi_types.UUID `json:"id"`
// Principal The principal that has performed the logged event
//
// Example: {"email":"example@example.com","name":"Jane Doe","principalType":"USER","role":"ADMIN","username":"1ava2afg-xju33-4c6a-9451-2854584c15be"}
Principal *PrincipalAL `json:"principal,omitempty"`
// Team The team in which the event was triggered
//
// Example: {"id":"a2167b29-e73b-4445-8468-4670a0b459b3","key":"ADMIN","name":"Administrators"}
Team *TeamAL `json:"team,omitempty"`
// Tenant The tenant in which the event was performed. Only relevant in case you are using multiple tenants of the Steadybit platform.
//
// Example: {"key":"Demo","name":"Demo Tenant"}
Tenant TenantAL `json:"tenant"`
// Trigger The trigger that caused the event to happen
//
// Example: {"triggerType":"HTTP_REQUEST","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"}
Trigger *AuditLogTrigger `json:"trigger,omitempty"`
}
AuditLogEntry Audit log entry.
Example: {"eventName":"experiment.created","eventTime":"2023-01-03T09:13:00Z","experiment":{"key":"ADM-1"},"id":"14av1421-aol3-4159-8ae2-47f5a9ba119e","tenant":{"key":"Demo","name":"Demo Tenant"},"trigger":{"triggerType":"HTTP_REQUEST","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"}}
type AuditLogTrigger ¶
type AuditLogTrigger struct {
TriggerType string `json:"triggerType"`
}
AuditLogTrigger The trigger that caused the event to happen
Example: {"triggerType":"HTTP_REQUEST","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"}
type BaseExperimentStepAO ¶
type BaseExperimentStepAO struct {
CustomLabel *string `json:"customLabel,omitempty"`
// IgnoreFailure Ignore any errors and failures of this single step and continue the execution of an experiment run
//
// Example: false
IgnoreFailure *bool `json:"ignoreFailure,omitempty"`
// MetricChecks Optional metric checks used to define success or failure of this step
MetricChecks *[]MetricCheckAO `json:"metricChecks,omitempty"`
// MetricQueries Optional metric queries used of this step to filter e.g. monitoring data
MetricQueries *[]MetricQueryAO `json:"metricQueries,omitempty"`
// Parameters Configuration parameters of this step that are saved during experiment design and evaluated at execution time.
//
// Example: {"duration":"30s"}
Parameters *map[string]interface{} `json:"parameters,omitempty"`
Type string `json:"type"`
// contains filtered or unexported fields
}
BaseExperimentStepAO A single step in a lane.
Example: {"actionType":"com.steadybit.extension_host.stress-cpu","ignoreFailure":false,"parameters":{"duration":"30s"},"radius":{"percentage":100,"predicate":{"operator":"AND","predicates":[{"key":"k8s.deployment","operator":"EQUALS","values":["hot-deals"]}]},"query":null,"targetType":"com.steadybit.extension_container.container"},"type":"action"}
func (BaseExperimentStepAO) AsExperimentStepActionAO ¶
func (t BaseExperimentStepAO) AsExperimentStepActionAO() (ExperimentStepActionAO, error)
AsExperimentStepActionAO returns the union data inside the BaseExperimentStepAO as a ExperimentStepActionAO
func (BaseExperimentStepAO) AsExperimentStepServiceValidationAO ¶
func (t BaseExperimentStepAO) AsExperimentStepServiceValidationAO() (ExperimentStepServiceValidationAO, error)
AsExperimentStepServiceValidationAO returns the union data inside the BaseExperimentStepAO as a ExperimentStepServiceValidationAO
func (BaseExperimentStepAO) AsExperimentStepWaitAO ¶
func (t BaseExperimentStepAO) AsExperimentStepWaitAO() (ExperimentStepWaitAO, error)
AsExperimentStepWaitAO returns the union data inside the BaseExperimentStepAO as a ExperimentStepWaitAO
func (BaseExperimentStepAO) Discriminator ¶
func (t BaseExperimentStepAO) Discriminator() (string, error)
func (*BaseExperimentStepAO) FromExperimentStepActionAO ¶
func (t *BaseExperimentStepAO) FromExperimentStepActionAO(v ExperimentStepActionAO) error
FromExperimentStepActionAO overwrites any union data inside the BaseExperimentStepAO as the provided ExperimentStepActionAO
func (*BaseExperimentStepAO) FromExperimentStepServiceValidationAO ¶
func (t *BaseExperimentStepAO) FromExperimentStepServiceValidationAO(v ExperimentStepServiceValidationAO) error
FromExperimentStepServiceValidationAO overwrites any union data inside the BaseExperimentStepAO as the provided ExperimentStepServiceValidationAO
func (*BaseExperimentStepAO) FromExperimentStepWaitAO ¶
func (t *BaseExperimentStepAO) FromExperimentStepWaitAO(v ExperimentStepWaitAO) error
FromExperimentStepWaitAO overwrites any union data inside the BaseExperimentStepAO as the provided ExperimentStepWaitAO
func (BaseExperimentStepAO) MarshalJSON ¶
func (t BaseExperimentStepAO) MarshalJSON() ([]byte, error)
func (*BaseExperimentStepAO) MergeExperimentStepActionAO ¶
func (t *BaseExperimentStepAO) MergeExperimentStepActionAO(v ExperimentStepActionAO) error
MergeExperimentStepActionAO performs a merge with any union data inside the BaseExperimentStepAO, using the provided ExperimentStepActionAO
func (*BaseExperimentStepAO) MergeExperimentStepServiceValidationAO ¶
func (t *BaseExperimentStepAO) MergeExperimentStepServiceValidationAO(v ExperimentStepServiceValidationAO) error
MergeExperimentStepServiceValidationAO performs a merge with any union data inside the BaseExperimentStepAO, using the provided ExperimentStepServiceValidationAO
func (*BaseExperimentStepAO) MergeExperimentStepWaitAO ¶
func (t *BaseExperimentStepAO) MergeExperimentStepWaitAO(v ExperimentStepWaitAO) error
MergeExperimentStepWaitAO performs a merge with any union data inside the BaseExperimentStepAO, using the provided ExperimentStepWaitAO
func (*BaseExperimentStepAO) UnmarshalJSON ¶
func (t *BaseExperimentStepAO) UnmarshalJSON(b []byte) error
func (BaseExperimentStepAO) ValueByDiscriminator ¶
func (t BaseExperimentStepAO) ValueByDiscriminator() (interface{}, error)
type BatchPrincipalAL ¶
type BatchPrincipalAL struct {
// PrincipalType Principal type for batch based principal
//
// Example: BATCH_JOB
PrincipalType BatchPrincipalALPrincipalType `json:"principalType"`
// Username Username of the user, internal identifier of Steadybit
//
// Example: 13av2737-b318-4048-a79d-4789d645bc31
Username *string `json:"username,omitempty"`
}
BatchPrincipalAL A batch job has performed the logged event
Example: {"principalType":"BATCH_JOB","username":"af1bw7kj-d299-47ab-998f-c2a53b433820"}
type BatchPrincipalALPrincipalType ¶
type BatchPrincipalALPrincipalType string
BatchPrincipalALPrincipalType Principal type for batch based principal
Example: BATCH_JOB
const ( BatchPrincipalALPrincipalTypeACCESSTOKEN BatchPrincipalALPrincipalType = "ACCESS_TOKEN" BatchPrincipalALPrincipalTypeBATCHJOB BatchPrincipalALPrincipalType = "BATCH_JOB" BatchPrincipalALPrincipalTypeUSER BatchPrincipalALPrincipalType = "USER" )
Defines values for BatchPrincipalALPrincipalType.
func (BatchPrincipalALPrincipalType) Valid ¶
func (e BatchPrincipalALPrincipalType) Valid() bool
Valid indicates whether the value is a known member of the BatchPrincipalALPrincipalType enum.
type BlastRadiusAO ¶
type BlastRadiusAO struct {
// Maximum In case a fixed number of as subset of specified targets should be effected
//
// Example: 2
Maximum *int32 `json:"maximum,omitempty"`
// Percentage In case a percentage subset of the specified targets should be effected
//
// Example: 40
Percentage *int32 `json:"percentage,omitempty"`
// Predicate Query defining the overall superset of targets being effected
//
// Example: [{"key":"container.host/name","operator":"EQUALS","values":["docker-desktop/minikube"]}]
Predicate *TargetPredicateAO `json:"predicate,omitempty"`
// TargetType Target type that is effected by that action
//
// Example: container
TargetType *string `json:"targetType,omitempty"`
}
BlastRadiusAO Blast radius that is applied to define the set of targets as well as an optional random subset
Example: {"percentage":50,"predicate":{"operator":"AND","predicates":[{"key":"container.host/name","operator":"EQUALS","values":["docker-desktop/minikube"]}]},"targetType":"com.steadybit.extension_container.container"}
type CancelExperimentExecutionResponse ¶
func ParseCancelExperimentExecutionResponse ¶
func ParseCancelExperimentExecutionResponse(rsp *http.Response) (*CancelExperimentExecutionResponse, error)
ParseCancelExperimentExecutionResponse parses an HTTP response from a CancelExperimentExecutionWithResponse call
func (CancelExperimentExecutionResponse) ContentType ¶
func (r CancelExperimentExecutionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CancelExperimentExecutionResponse) GetBody ¶
func (r CancelExperimentExecutionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CancelExperimentExecutionResponse) Status ¶
func (r CancelExperimentExecutionResponse) Status() string
Status returns HTTPResponse.Status
func (CancelExperimentExecutionResponse) StatusCode ¶
func (r CancelExperimentExecutionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CategoryRiskAO ¶
type CategoryRiskAO struct {
// Advice The advice risk for this category, or null when no advice could be found for the given target selection
Advice *int32 `json:"advice,omitempty"`
// Experiment The experiment risk for this category
Experiment *int32 `json:"experiment,omitempty"`
// Total The total risk for this category
Total *int32 `json:"total,omitempty"`
}
CategoryRiskAO The risk for a given category in a service
Example: {"advice":50,"experiment":50,"total":50}
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AddExecutionPropertyValue ¶
func (c *Client) AddExecutionPropertyValue(ctx context.Context, id int64, key string, body AddExecutionPropertyValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddExecutionPropertyValue Add a single value to a list property of an experiment execution.
This operation will fail if the property identified by `key` is not a list property. Only properties with `editableInExecution` set to `true` can be modified.
Takes a body of the `application/json` content type.
Corresponds with POST /api/experiments/executions/{id}/properties/{key}/add (the `AddExecutionPropertyValue` operationId).
func (*Client) AddExecutionPropertyValueWithBody ¶
func (c *Client) AddExecutionPropertyValueWithBody(ctx context.Context, id int64, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddExecutionPropertyValueWithBody Add a single value to a list property of an experiment execution.
This operation will fail if the property identified by `key` is not a list property. Only properties with `editableInExecution` set to `true` can be modified.
Takes any type of body and a specified content type.
Corresponds with POST /api/experiments/executions/{id}/properties/{key}/add (the `AddExecutionPropertyValue` operationId).
func (*Client) AddTeamEnvironments ¶
func (c *Client) AddTeamEnvironments(ctx context.Context, key string, params *AddTeamEnvironmentsParams, body AddTeamEnvironmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddTeamEnvironments Add an allowed environment to a team
The given environments will be added to the specified team.
Takes a body of the `application/json` content type.
Corresponds with POST /api/teams/{key}/environments/add (the `AddTeamEnvironments` operationId).
func (*Client) AddTeamEnvironmentsWithBody ¶
func (c *Client) AddTeamEnvironmentsWithBody(ctx context.Context, key string, params *AddTeamEnvironmentsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddTeamEnvironmentsWithBody Add an allowed environment to a team
The given environments will be added to the specified team.
Takes any type of body and a specified content type.
Corresponds with POST /api/teams/{key}/environments/add (the `AddTeamEnvironments` operationId).
func (*Client) AddTeamMembers ¶
func (c *Client) AddTeamMembers(ctx context.Context, key string, params *AddTeamMembersParams, body AddTeamMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddTeamMembers Add team members to a team
The given members will be added to the specified team.
Takes a body of the `application/json` content type.
Corresponds with POST /api/teams/{key}/members/add (the `AddTeamMembers` operationId).
func (*Client) AddTeamMembersWithBody ¶
func (c *Client) AddTeamMembersWithBody(ctx context.Context, key string, params *AddTeamMembersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddTeamMembersWithBody Add team members to a team
The given members will be added to the specified team.
Takes any type of body and a specified content type.
Corresponds with POST /api/teams/{key}/members/add (the `AddTeamMembers` operationId).
func (*Client) CancelExperimentExecution ¶
func (c *Client) CancelExperimentExecution(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
CancelExperimentExecution Cancel a running experiment execution of a single experiment
Cancels a currently running experiment execution to be stopped as soon as possible.
Corresponds with POST /api/experiments/executions/{id}/cancel (the `CancelExperimentExecution` operationId).
func (*Client) ConnectionCheck ¶
func (c *Client) ConnectionCheck(ctx context.Context, body ConnectionCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectionCheck Check a hub connection
Check if the given hub connection details point to a valid hub.
Takes a body of the `application/json` content type.
Corresponds with POST /api/hubs/connection-check (the `ConnectionCheck` operationId).
func (*Client) ConnectionCheckWithBody ¶
func (c *Client) ConnectionCheckWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectionCheckWithBody Check a hub connection
Check if the given hub connection details point to a valid hub.
Takes any type of body and a specified content type.
Corresponds with POST /api/hubs/connection-check (the `ConnectionCheck` operationId).
func (*Client) CreateAccessToken ¶
func (c *Client) CreateAccessToken(ctx context.Context, body CreateAccessTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAccessToken Add a access token
Deprecated, use v2 instead. Generate a new access token associated to. This access token can be used for e.g. creating new experiments and running experiments.
Takes a body of the `application/json` content type.
Corresponds with POST /api/access-tokens (the `CreateAccessToken` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreateAccessToken1 ¶
func (c *Client) CreateAccessToken1(ctx context.Context, body CreateAccessToken1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAccessToken1 Create an access token
Generate a new access token.
Takes a body of the `application/json` content type.
Corresponds with POST /api/access-tokens/v2 (the `CreateAccessToken1` operationId).
func (*Client) CreateAccessToken1WithBody ¶
func (c *Client) CreateAccessToken1WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAccessToken1WithBody Create an access token
Generate a new access token.
Takes any type of body and a specified content type.
Corresponds with POST /api/access-tokens/v2 (the `CreateAccessToken1` operationId).
func (*Client) CreateAccessTokenWithBody ¶
func (c *Client) CreateAccessTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAccessTokenWithBody Add a access token
Deprecated, use v2 instead. Generate a new access token associated to. This access token can be used for e.g. creating new experiments and running experiments.
Takes any type of body and a specified content type.
Corresponds with POST /api/access-tokens (the `CreateAccessToken` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) CreateExperimentByTemplate ¶
func (c *Client) CreateExperimentByTemplate(ctx context.Context, id openapi_types.UUID, params *CreateExperimentByTemplateParams, body CreateExperimentByTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateExperimentByTemplate Create an experiment based on an experiment template
Use the given experiment template id and the placeholder values to create or update the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
Takes a body of the `application/json` content type.
Corresponds with POST /api/experiments/templates/{id}/experiment-create (the `CreateExperimentByTemplate` operationId).
func (*Client) CreateExperimentByTemplateWithBody ¶
func (c *Client) CreateExperimentByTemplateWithBody(ctx context.Context, id openapi_types.UUID, params *CreateExperimentByTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateExperimentByTemplateWithBody Create an experiment based on an experiment template
Use the given experiment template id and the placeholder values to create or update the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
Takes any type of body and a specified content type.
Corresponds with POST /api/experiments/templates/{id}/experiment-create (the `CreateExperimentByTemplate` operationId).
func (*Client) CreateLandscapeView ¶
func (c *Client) CreateLandscapeView(ctx context.Context, body CreateLandscapeViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateLandscapeView Create a saved landscape view
Create a new saved explorer landscape view for a team.
Takes a body of the `application/json` content type.
Corresponds with POST /api/explore/landscape/views (the `CreateLandscapeView` operationId).
func (*Client) CreateLandscapeViewWithBody ¶
func (c *Client) CreateLandscapeViewWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateLandscapeViewWithBody Create a saved landscape view
Create a new saved explorer landscape view for a team.
Takes any type of body and a specified content type.
Corresponds with POST /api/explore/landscape/views (the `CreateLandscapeView` operationId).
func (*Client) CreateOrUpdateExperiment ¶
func (c *Client) CreateOrUpdateExperiment(ctx context.Context, body CreateOrUpdateExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrUpdateExperiment Create or update an experiment
Insert or update the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
Takes a body of the `application/json` content type.
Corresponds with POST /api/experiments (the `CreateOrUpdateExperiment` operationId).
func (*Client) CreateOrUpdateExperimentWithBody ¶
func (c *Client) CreateOrUpdateExperimentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrUpdateExperimentWithBody Create or update an experiment
Insert or update the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
Takes any type of body and a specified content type.
Corresponds with POST /api/experiments (the `CreateOrUpdateExperiment` operationId).
func (*Client) DeleteAccessToken ¶
func (c *Client) DeleteAccessToken(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAccessToken Delete access token
Remove the access token associated. After that, the access token can't be used anymore for e.g. creating a new experiment or running an experiment.
Corresponds with DELETE /api/access-tokens/{id} (the `DeleteAccessToken` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) DeleteAccessToken1 ¶
func (c *Client) DeleteAccessToken1(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAccessToken1 Delete access token
Remove the access token. After that, the access token can't be used anymore.
Corresponds with DELETE /api/access-tokens/v2/{id} (the `DeleteAccessToken1` operationId).
func (*Client) DeleteCustomWebhook ¶
func (c *Client) DeleteCustomWebhook(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteCustomWebhook Delete custom webhook
Remove the given custom webhook from the Steadybit platform.
Corresponds with DELETE /api/integrations/webhook/{id} (the `DeleteCustomWebhook` operationId).
func (*Client) DeleteEnvironment ¶
func (c *Client) DeleteEnvironment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteEnvironment Delete environment
Remove the given environment from the Steadybit platform.
Corresponds with DELETE /api/environments/{id} (the `DeleteEnvironment` operationId).
func (*Client) DeleteExperiment ¶
func (c *Client) DeleteExperiment(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteExperiment Delete experiment
Remove the given experiment. The associated number is still reserved afterwards and will not be reused.
Corresponds with DELETE /api/experiments/{key} (the `DeleteExperiment` operationId).
func (*Client) DeleteExperimentTemplate ¶
func (c *Client) DeleteExperimentTemplate(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteExperimentTemplate Delete experiment template
Remove the given experiment template from the Steadybit platform. If this template is used in a service profile, it will be removed from the profile and all provided service experiments will get deleted.
Corresponds with DELETE /api/experiments/templates/{id} (the `DeleteExperimentTemplate` operationId).
func (*Client) DeleteHub ¶
func (c *Client) DeleteHub(ctx context.Context, id openapi_types.UUID, params *DeleteHubParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteHub Delete a hub
Remove the given hub.
Corresponds with DELETE /api/hubs/{id} (the `DeleteHub` operationId).
func (*Client) DeleteLandscapeView ¶
func (c *Client) DeleteLandscapeView(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteLandscapeView Delete a saved landscape view
Remove the given saved explorer landscape view from the Steadybit platform.
Corresponds with DELETE /api/explore/landscape/views/{id} (the `DeleteLandscapeView` operationId).
func (*Client) DeletePreflightActionIntegration ¶
func (c *Client) DeletePreflightActionIntegration(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeletePreflightActionIntegration Delete preflight action integration
Remove the given preflight action integration from the Steadybit platform.
Corresponds with DELETE /api/integrations/preflight-action/{id} (the `DeletePreflightActionIntegration` operationId).
func (*Client) DeletePreflightWebhook ¶
func (c *Client) DeletePreflightWebhook(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeletePreflightWebhook Delete preflight webhook
Remove the given preflight webhook from the Steadybit platform.
Corresponds with DELETE /api/integrations/preflight/{id} (the `DeletePreflightWebhook` operationId).
func (*Client) DeleteProfile ¶
func (c *Client) DeleteProfile(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteProfile Delete an existing service profile
Corresponds with DELETE /api/services/profiles/{id} (the `DeleteProfile` operationId).
func (*Client) DeletePropertyAssociation ¶
func (c *Client) DeletePropertyAssociation(ctx context.Context, id openapi_types.UUID, params *DeletePropertyAssociationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DeletePropertyAssociation Remove an existing property association.
Corresponds with DELETE /api/properties/associations/{id} (the `DeletePropertyAssociation` operationId).
func (*Client) DeletePropertyDefinition ¶
func (c *Client) DeletePropertyDefinition(ctx context.Context, key string, params *DeletePropertyDefinitionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DeletePropertyDefinition Remove an existing property definition
Corresponds with DELETE /api/properties/definitions/{key} (the `DeletePropertyDefinition` operationId).
func (*Client) DeleteService ¶
func (c *Client) DeleteService(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteService Delete an existing service
Corresponds with DELETE /api/services/{id} (the `DeleteService` operationId).
func (*Client) DeleteSlackIntegration ¶
func (c *Client) DeleteSlackIntegration(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSlackIntegration Delete slack integration
Remove the given slack integration from the Steadybit platform.
Corresponds with DELETE /api/integrations/slack/{id} (the `DeleteSlackIntegration` operationId).
func (*Client) DeleteTeam ¶
func (c *Client) DeleteTeam(ctx context.Context, key string, params *DeleteTeamParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteTeam Delete team
Remove the given team from the Steadybit platform. This will only work, if there are no experiments running at the moment.
Corresponds with DELETE /api/teams/{key} (the `DeleteTeam` operationId).
func (*Client) DisengageKillswitch ¶
func (c *Client) DisengageKillswitch(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
DisengageKillswitch Deactivate / disengage the kill switch
Deactivates / disengages the kill switch to allow experiment runs.<br/>Experiment runs that were not executed due to engaged / active kill switch will not be automatically executed, they need to be triggered again.
Corresponds with DELETE /api/killswitch (the `DisengageKillswitch` operationId).
func (*Client) EngageKillswitch ¶
func (c *Client) EngageKillswitch(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
EngageKillswitch Activate / engage the kill switch
Activates / engages the kill switch to cancel all experiments running at the moment and prevent execution of new experiments until the kill switch is disengaged / deactivated again.
Corresponds with POST /api/killswitch (the `EngageKillswitch` operationId).
func (*Client) ExecuteExperiment ¶
func (c *Client) ExecuteExperiment(ctx context.Context, key string, params *ExecuteExperimentParams, body ExecuteExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ExecuteExperiment Execute an experiment
Trigger execution of a single experiment specified by `key`. The body is optional and allows to specify overrides and custom properties for the experiment execution.
Examples:
- Override environment from the experiment for a single run:
```
{
"environment": "Shop Stage"
}
```
- Override the variables for a single execution:
```
{
"variables": {
"httpEndpoint": "http://dev.shop.products.internal"
}
}
```
Takes a body of the `application/json` content type.
Corresponds with POST /api/experiments/{key}/execute (the `ExecuteExperiment` operationId).
func (*Client) ExecuteExperimentWithBody ¶
func (c *Client) ExecuteExperimentWithBody(ctx context.Context, key string, params *ExecuteExperimentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExecuteExperimentWithBody Execute an experiment
Trigger execution of a single experiment specified by `key`. The body is optional and allows to specify overrides and custom properties for the experiment execution.
Examples:
- Override environment from the experiment for a single run:
```
{
"environment": "Shop Stage"
}
```
- Override the variables for a single execution:
```
{
"variables": {
"httpEndpoint": "http://dev.shop.products.internal"
}
}
```
Takes any type of body and a specified content type.
Corresponds with POST /api/experiments/{key}/execute (the `ExecuteExperiment` operationId).
func (*Client) Find ¶
func (c *Client) Find(ctx context.Context, params *FindParams, reqEditors ...RequestEditorFn) (*http.Response, error)
Find Get all audit log entries
Retrieve all audit logs in the given time-frame.<br/>This endpoint requires an admin-token and can't be used with a team-based token.
Corresponds with GET /api/audit-log (the `Find` operationId).
func (*Client) FindAllActions ¶
func (c *Client) FindAllActions(ctx context.Context, params *FindAllActionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
FindAllActions Get all actions.
Corresponds with GET /api/actions (the `FindAllActions` operationId).
func (*Client) ForwardToPlatform ¶
func (c *Client) ForwardToPlatform(ctx context.Context, params *ForwardToPlatformParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ForwardToPlatform Forward to Steadybit platform to either create an experiment associated to the `tag` or forward to the experiments linked already to the `tag`
This endpoint can be used as a link for the badge of the `/api/badges/linked-badge.svg` API to either create a new experiment or show the linked experiments in Steadybit. This will help to link it correctly e.g. in your CMS-systems.
Corresponds with GET /api/badges/link (the `ForwardToPlatform` operationId).
func (*Client) GetAccessTokens ¶
func (c *Client) GetAccessTokens(ctx context.Context, params *GetAccessTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAccessTokens Get access token list
Deprecated, use v2 instead. Get a list of all access tokens. The access token itself is abbreviated for security reasons. Access tokens with v2 features are not returned, as they can not be represented cleanly in the old format.
Corresponds with GET /api/access-tokens (the `GetAccessTokens` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetAccessTokens1 ¶
func (c *Client) GetAccessTokens1(ctx context.Context, params *GetAccessTokens1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAccessTokens1 Get access token list
Get a list of all access tokens. The access token itself is abbreviated for security reasons.
Corresponds with GET /api/access-tokens/v2 (the `GetAccessTokens1` operationId).
func (*Client) GetAction ¶
func (c *Client) GetAction(ctx context.Context, actionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAction Fetch a single action description
Get action including their parameters.
Corresponds with GET /api/actions/{actionId} (the `GetAction` operationId).
func (*Client) GetAllSchedulesV2 ¶
func (c *Client) GetAllSchedulesV2(ctx context.Context, params *GetAllSchedulesV2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAllSchedulesV2 Get all current experiment schedule configurations
Corresponds with GET /api/experiments/schedules/v2 (the `GetAllSchedulesV2` operationId).
func (*Client) GetArtifact ¶
func (c *Client) GetArtifact(ctx context.Context, id int64, targetExecutionId string, artifactId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetArtifact performs a GET /api/experiments/executions/{id}/artifacts/{targetExecutionId}/{artifactId} (the `GetArtifact` operationId) request.
func (*Client) GetAssociations ¶
func (c *Client) GetAssociations(ctx context.Context, params *GetAssociationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAssociations Get all current associations.
Corresponds with GET /api/properties/associations (the `GetAssociations` operationId).
func (*Client) GetAverageRisk ¶
func (c *Client) GetAverageRisk(ctx context.Context, body GetAverageRiskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAverageRisk Get average service risk over time
Returns the average risk across services aggregated into time buckets. Risk is reported as an integer 0-100.
Takes a body of the `application/json` content type.
Corresponds with POST /api/reports/services/average (the `GetAverageRisk` operationId).
func (*Client) GetAverageRiskWithBody ¶
func (c *Client) GetAverageRiskWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAverageRiskWithBody Get average service risk over time
Returns the average risk across services aggregated into time buckets. Risk is reported as an integer 0-100.
Takes any type of body and a specified content type.
Corresponds with POST /api/reports/services/average (the `GetAverageRisk` operationId).
func (*Client) GetCustomWebhook ¶
func (c *Client) GetCustomWebhook(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCustomWebhook Fetch a single custom webhooks
Get all details of a single custom webhooks.
Corresponds with GET /api/integrations/webhook/{id} (the `GetCustomWebhook` operationId).
func (*Client) GetCustomWebhooks ¶
func (c *Client) GetCustomWebhooks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCustomWebhooks Fetch a list of custom webhooks
Get a list of all existing custom webhooks.
Corresponds with GET /api/integrations/webhook (the `GetCustomWebhooks` operationId).
func (*Client) GetEnvironment ¶
func (c *Client) GetEnvironment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEnvironment Fetch a single environment
Get all details of a single existing environment.
Corresponds with GET /api/environments/{id} (the `GetEnvironment` operationId).
func (*Client) GetEnvironmentCounts ¶
func (c *Client) GetEnvironmentCounts(ctx context.Context, body GetEnvironmentCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEnvironmentCounts Get environment counts over time
Returns the number of environments in the tenant aggregated into time buckets.
Takes a body of the `application/json` content type.
Corresponds with POST /api/reports/environments (the `GetEnvironmentCounts` operationId).
func (*Client) GetEnvironmentCountsWithBody ¶
func (c *Client) GetEnvironmentCountsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEnvironmentCountsWithBody Get environment counts over time
Returns the number of environments in the tenant aggregated into time buckets.
Takes any type of body and a specified content type.
Corresponds with POST /api/reports/environments (the `GetEnvironmentCounts` operationId).
func (*Client) GetEnvironmentVariables ¶
func (c *Client) GetEnvironmentVariables(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEnvironmentVariables Get environment variables
Get all environment variables associated to a single environment.
Corresponds with GET /api/environments/{id}/variables (the `GetEnvironmentVariables` operationId).
func (*Client) GetEnvironments ¶
func (c *Client) GetEnvironments(ctx context.Context, params *GetEnvironmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEnvironments Fetch a list of all environments
Get a list of all environments that exist.
Corresponds with GET /api/environments (the `GetEnvironments` operationId).
func (*Client) GetExperiment ¶
func (c *Client) GetExperiment(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetExperiment Fetch a single experiment
Get all details of a single existing experiment.
Corresponds with GET /api/experiments/{key} (the `GetExperiment` operationId).
func (*Client) GetExperimentBadge ¶
func (c *Client) GetExperimentBadge(ctx context.Context, key string, params *GetExperimentBadgeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetExperimentBadge Get experiment run status as SVG image
Get the status of the latest experiment run of the associated experiment as SVG to integrate it nicely e.g. into your CMS-systems.
Corresponds with GET /api/experiments/{key}/badge.svg (the `GetExperimentBadge` operationId).
func (*Client) GetExperimentCreations ¶
func (c *Client) GetExperimentCreations(ctx context.Context, params *GetExperimentCreationsParams, body GetExperimentCreationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetExperimentCreations Get experiment creation counts over time
Returns experiment creation counts aggregated into time buckets, optionally grouped by creation method or origin.
Takes a body of the `application/json` content type.
Corresponds with POST /api/reports/experiments/created (the `GetExperimentCreations` operationId).
func (*Client) GetExperimentCreationsWithBody ¶
func (c *Client) GetExperimentCreationsWithBody(ctx context.Context, params *GetExperimentCreationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetExperimentCreationsWithBody Get experiment creation counts over time
Returns experiment creation counts aggregated into time buckets, optionally grouped by creation method or origin.
Takes any type of body and a specified content type.
Corresponds with POST /api/reports/experiments/created (the `GetExperimentCreations` operationId).
func (*Client) GetExperimentExecution ¶
func (c *Client) GetExperimentExecution(ctx context.Context, id int64, params *GetExperimentExecutionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetExperimentExecution Fetch a single experiment executions of a single experiment
Get a single experiment execution that was performed for a specific experiment.
Corresponds with GET /api/experiments/executions/{id} (the `GetExperimentExecution` operationId).
func (*Client) GetExperimentExecutions ¶
func (c *Client) GetExperimentExecutions(ctx context.Context, params *GetExperimentExecutionsParams, body GetExperimentExecutionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetExperimentExecutions Get experiment execution counts over time
Returns experiment execution counts aggregated into time buckets, optionally grouped by state, trigger, or attack action.
Takes a body of the `application/json` content type.
Corresponds with POST /api/reports/experiments/executed (the `GetExperimentExecutions` operationId).
func (*Client) GetExperimentExecutions1 ¶
func (c *Client) GetExperimentExecutions1(ctx context.Context, params *GetExperimentExecutions1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
GetExperimentExecutions1 Fetch a list of all experiment executions
Get a list of all experiment executions that exist.
Corresponds with GET /api/experiments/executions (the `GetExperimentExecutions1` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) GetExperimentExecutions2 ¶
func (c *Client) GetExperimentExecutions2(ctx context.Context, body GetExperimentExecutions2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetExperimentExecutions2 Fetch a list of experiment executions
Get list of experiment executions given a set of filters. The result is sorted by creation date in descending order. The result is paged with a page size of 50.
Takes a body of the `application/json` content type.
Corresponds with POST /api/experiments/executions (the `GetExperimentExecutions2` operationId).
func (*Client) GetExperimentExecutions2WithBody ¶
func (c *Client) GetExperimentExecutions2WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetExperimentExecutions2WithBody Fetch a list of experiment executions
Get list of experiment executions given a set of filters. The result is sorted by creation date in descending order. The result is paged with a page size of 50.
Takes any type of body and a specified content type.
Corresponds with POST /api/experiments/executions (the `GetExperimentExecutions2` operationId).
func (*Client) GetExperimentExecutions3 ¶
func (c *Client) GetExperimentExecutions3(ctx context.Context, key string, params *GetExperimentExecutions3Params, reqEditors ...RequestEditorFn) (*http.Response, error)
GetExperimentExecutions3 Fetch a list of all experiment executions of a single experiment
Get a list of all experiment executions that were performed for a specific experiment.
Corresponds with GET /api/experiments/{key}/executions (the `GetExperimentExecutions3` operationId).
func (*Client) GetExperimentExecutionsWithBody ¶
func (c *Client) GetExperimentExecutionsWithBody(ctx context.Context, params *GetExperimentExecutionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetExperimentExecutionsWithBody Get experiment execution counts over time
Returns experiment execution counts aggregated into time buckets, optionally grouped by state, trigger, or attack action.
Takes any type of body and a specified content type.
Corresponds with POST /api/reports/experiments/executed (the `GetExperimentExecutions` operationId).
func (*Client) GetExperimentTemplate ¶
func (c *Client) GetExperimentTemplate(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetExperimentTemplate Fetch a single experiment template
Get all details of a single existing experiment template.
Corresponds with GET /api/experiments/templates/{id} (the `GetExperimentTemplate` operationId).
func (*Client) GetExperimentTemplates ¶
func (c *Client) GetExperimentTemplates(ctx context.Context, params *GetExperimentTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetExperimentTemplates Fetch a list of all templates
Get a list of all templates that exist.
Corresponds with GET /api/experiments/templates (the `GetExperimentTemplates` operationId).
func (*Client) GetExperiments ¶
func (c *Client) GetExperiments(ctx context.Context, params *GetExperimentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetExperiments Fetch a list of all experiments
Get a list of all experiments that exist.
Corresponds with GET /api/experiments (the `GetExperiments` operationId).
func (*Client) GetHubById ¶
func (c *Client) GetHubById(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetHubById Fetch a single hub
Get all details of a single hub.
Corresponds with GET /api/hubs/{id} (the `GetHubById` operationId).
func (*Client) GetHubs ¶
func (c *Client) GetHubs(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetHubs Fetch a list of all hubs
Get a list of all hubs that are currently connected.
Corresponds with GET /api/hubs (the `GetHubs` operationId).
func (*Client) GetKillswitch ¶
func (c *Client) GetKillswitch(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetKillswitch Get the current status of the kill switch
Determines the current status of the kill switch without changing it.
Corresponds with GET /api/killswitch (the `GetKillswitch` operationId).
func (*Client) GetLandscapeView ¶
func (c *Client) GetLandscapeView(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetLandscapeView Fetch a single saved landscape view
Get all details of a single saved explorer landscape view.
Corresponds with GET /api/explore/landscape/views/{id} (the `GetLandscapeView` operationId).
func (*Client) GetLandscapeViews ¶
func (c *Client) GetLandscapeViews(ctx context.Context, params *GetLandscapeViewsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetLandscapeViews Fetch all saved landscape views of a team
Get a list of all saved explorer landscape views that belong to the given team.
Corresponds with GET /api/explore/landscape/views (the `GetLandscapeViews` operationId).
func (*Client) GetLicenseSummary ¶
func (c *Client) GetLicenseSummary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetLicenseSummary Get license summary.
Corresponds with GET /api/license (the `GetLicenseSummary` operationId).
func (*Client) GetLinkedBadge ¶
func (c *Client) GetLinkedBadge(ctx context.Context, params *GetLinkedBadgeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetLinkedBadge Get badge for create experiment or run status as SVG image
Creates an image badge that is either for creating a new experiment linked to an `externalReference` or - if an experiment with the given `externalReference` already exists - a badge showing the run status of the experiment. The badge is return as SVG to integrate it nicely e.g. into your CMS-systems. You can use the `/api/badges/link` endpoint to link it appropriately
Corresponds with GET /api/badges/linked-badge.svg (the `GetLinkedBadge` operationId).
func (*Client) GetPreflightActionIntegration ¶
func (c *Client) GetPreflightActionIntegration(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPreflightActionIntegration Fetch a single preflight preflight action integrations
Get all details of a single preflight preflight action integrations.
Corresponds with GET /api/integrations/preflight-action/{id} (the `GetPreflightActionIntegration` operationId).
func (*Client) GetPreflightActionIntegrations ¶
func (c *Client) GetPreflightActionIntegrations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPreflightActionIntegrations Fetch a list of preflight action integrations
Get a list of all existing preflight preflight action integrations.
Corresponds with GET /api/integrations/preflight-action (the `GetPreflightActionIntegrations` operationId).
func (*Client) GetPreflightActionSummary ¶
func (c *Client) GetPreflightActionSummary(ctx context.Context, params *GetPreflightActionSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPreflightActionSummary Get all preflight actions.
Corresponds with GET /api/preflight/actions (the `GetPreflightActionSummary` operationId).
func (*Client) GetPreflightWebhook ¶
func (c *Client) GetPreflightWebhook(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPreflightWebhook Fetch a single preflight webhooks
Get all details of a single preflight webhooks.
Corresponds with GET /api/integrations/preflight/{id} (the `GetPreflightWebhook` operationId).
func (*Client) GetPreflightWebhooks ¶
func (c *Client) GetPreflightWebhooks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPreflightWebhooks Fetch a list of preflight webhooks
Get a list of all existing preflight webhooks.
Corresponds with GET /api/integrations/preflight (the `GetPreflightWebhooks` operationId).
func (*Client) GetProfile ¶
func (c *Client) GetProfile(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetProfile Get service profile by id.
Corresponds with GET /api/services/profiles/{id} (the `GetProfile` operationId).
func (*Client) GetProfiles ¶
func (c *Client) GetProfiles(ctx context.Context, params *GetProfilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetProfiles Fetch a list of service profiles
Corresponds with GET /api/services/profiles (the `GetProfiles` operationId).
func (*Client) GetPropertyDefinition ¶
func (c *Client) GetPropertyDefinition(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPropertyDefinition Get property definition for a specific property definition key.
Corresponds with GET /api/properties/definitions/{key} (the `GetPropertyDefinition` operationId).
func (*Client) GetPropertyDefinition1 ¶
func (c *Client) GetPropertyDefinition1(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPropertyDefinition1 Get property association by a given id.
Corresponds with GET /api/properties/associations/{id} (the `GetPropertyDefinition1` operationId).
func (*Client) GetPropertyDefinitions ¶
func (c *Client) GetPropertyDefinitions(ctx context.Context, params *GetPropertyDefinitionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPropertyDefinitions performs a GET /api/properties/definitions (the `GetPropertyDefinitions` operationId) request.
func (*Client) GetReport ¶
func (c *Client) GetReport(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetReport Get license report.
Corresponds with GET /api/license/report (the `GetReport` operationId).
func (*Client) GetRisk ¶
func (c *Client) GetRisk(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRisk Get the risk score for a service
Corresponds with GET /api/services/{id}/risk (the `GetRisk` operationId).
func (*Client) GetRiskByCategory ¶
func (c *Client) GetRiskByCategory(ctx context.Context, body GetRiskByCategoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRiskByCategory Get average service risk grouped by category over time
Returns the average risk per category (key from the categoryRisks map) across services, aggregated into time buckets.
Takes a body of the `application/json` content type.
Corresponds with POST /api/reports/services/by-category (the `GetRiskByCategory` operationId).
func (*Client) GetRiskByCategoryWithBody ¶
func (c *Client) GetRiskByCategoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRiskByCategoryWithBody Get average service risk grouped by category over time
Returns the average risk per category (key from the categoryRisks map) across services, aggregated into time buckets.
Takes any type of body and a specified content type.
Corresponds with POST /api/reports/services/by-category (the `GetRiskByCategory` operationId).
func (*Client) GetRiskDistribution ¶
func (c *Client) GetRiskDistribution(ctx context.Context, body GetRiskDistributionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRiskDistribution Get service risk level distribution over time
Returns the count of services in each risk level (LOW, MEDIUM, HIGH) aggregated into time buckets.
Takes a body of the `application/json` content type.
Corresponds with POST /api/reports/services/distribution (the `GetRiskDistribution` operationId).
func (*Client) GetRiskDistributionWithBody ¶
func (c *Client) GetRiskDistributionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRiskDistributionWithBody Get service risk level distribution over time
Returns the count of services in each risk level (LOW, MEDIUM, HIGH) aggregated into time buckets.
Takes any type of body and a specified content type.
Corresponds with POST /api/reports/services/distribution (the `GetRiskDistribution` operationId).
func (*Client) GetSchedules ¶
func (c *Client) GetSchedules(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSchedules Get experiment schedules for a specific experiment schedule id
Corresponds with GET /api/experiments/schedules/{id} (the `GetSchedules` operationId).
func (*Client) GetService ¶
func (c *Client) GetService(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetService Get service by id.
Corresponds with GET /api/services/{id} (the `GetService` operationId).
func (*Client) GetServiceExperiments ¶
func (c *Client) GetServiceExperiments(ctx context.Context, id openapi_types.UUID, params *GetServiceExperimentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetServiceExperiments Get experiments associated to an service.
Corresponds with GET /api/services/{id}/experiments (the `GetServiceExperiments` operationId).
func (*Client) GetServiceList ¶
func (c *Client) GetServiceList(ctx context.Context, params *GetServiceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetServiceList Fetch a list of services
Corresponds with GET /api/services (the `GetServiceList` operationId).
func (*Client) GetServiceVariables ¶
func (c *Client) GetServiceVariables(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetServiceVariables Get service variables
Get all variables owned by the service.
Corresponds with GET /api/services/{id}/variables (the `GetServiceVariables` operationId).
func (*Client) GetSlackIntegration ¶
func (c *Client) GetSlackIntegration(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSlackIntegration Fetch a single slack integration
Get all details of a single slack integration.
Corresponds with GET /api/integrations/slack/{id} (the `GetSlackIntegration` operationId).
func (*Client) GetSlackIntegrations ¶
func (c *Client) GetSlackIntegrations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSlackIntegrations Fetch a list of slack integrations
Get a list of all existing slack integrations.
Corresponds with GET /api/integrations/slack (the `GetSlackIntegrations` operationId).
func (*Client) GetTargetAdviceSummary ¶
func (c *Client) GetTargetAdviceSummary(ctx context.Context, body GetTargetAdviceSummaryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTargetAdviceSummary Get all currently active advice for a given environment and query.
Takes a body of the `application/json` content type.
Corresponds with POST /api/advice (the `GetTargetAdviceSummary` operationId).
func (*Client) GetTargetAdviceSummaryWithBody ¶
func (c *Client) GetTargetAdviceSummaryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTargetAdviceSummaryWithBody Get all currently active advice for a given environment and query.
Takes any type of body and a specified content type.
Corresponds with POST /api/advice (the `GetTargetAdviceSummary` operationId).
func (*Client) GetTargetAttributeKeys ¶
func (c *Client) GetTargetAttributeKeys(ctx context.Context, params *GetTargetAttributeKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTargetAttributeKeys Get attribute key
Get all available attribute keys for a specific target type in a given environment.
Corresponds with GET /api/targets/attributes/keys (the `GetTargetAttributeKeys` operationId).
func (*Client) GetTargetAttributeValues ¶
func (c *Client) GetTargetAttributeValues(ctx context.Context, params *GetTargetAttributeValuesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTargetAttributeValues Get attribute values
Get all available attribute values for a specific attribute and target type in a given environment.
Corresponds with GET /api/targets/attributes/values (the `GetTargetAttributeValues` operationId).
func (*Client) GetTargets ¶
func (c *Client) GetTargets(ctx context.Context, params *GetTargetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTargets Get targets
Get targets.
Corresponds with GET /api/targets (the `GetTargets` operationId).
func (*Client) GetTargetsStats ¶
func (c *Client) GetTargetsStats(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTargetsStats Gather target statistics without any filters
Corresponds with GET /api/target-stats (the `GetTargetsStats` operationId).
func (*Client) GetTargetsStats1 ¶
func (c *Client) GetTargetsStats1(ctx context.Context, body GetTargetsStats1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTargetsStats1 Gather target statistics for a given predicate or query
Takes a body of the `application/json` content type.
Corresponds with POST /api/target-stats (the `GetTargetsStats1` operationId).
func (*Client) GetTargetsStats1WithBody ¶
func (c *Client) GetTargetsStats1WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTargetsStats1WithBody Gather target statistics for a given predicate or query
Takes any type of body and a specified content type.
Corresponds with POST /api/target-stats (the `GetTargetsStats1` operationId).
func (*Client) GetTeam ¶
func (c *Client) GetTeam(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTeam Fetch a single team
Get all details of a single existing teams.
Corresponds with GET /api/teams/{key} (the `GetTeam` operationId).
func (*Client) GetTeamCounts ¶
func (c *Client) GetTeamCounts(ctx context.Context, body GetTeamCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTeamCounts Get team counts over time
Returns the number of teams in the tenant aggregated into time buckets.
Takes a body of the `application/json` content type.
Corresponds with POST /api/reports/teams (the `GetTeamCounts` operationId).
func (*Client) GetTeamCountsWithBody ¶
func (c *Client) GetTeamCountsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTeamCountsWithBody Get team counts over time
Returns the number of teams in the tenant aggregated into time buckets.
Takes any type of body and a specified content type.
Corresponds with POST /api/reports/teams (the `GetTeamCounts` operationId).
func (*Client) GetTeamEnvironments ¶
func (c *Client) GetTeamEnvironments(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTeamEnvironments Get all environments assigned to the team
Get a list of members that are part of the specified team. The list contains the username, being a Steadybit user id, and the role in this particular team (owner or member).
Corresponds with GET /api/teams/{key}/environments (the `GetTeamEnvironments` operationId).
func (*Client) GetTeamMembers ¶
func (c *Client) GetTeamMembers(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTeamMembers Get all members being part of the team
Get a list of members that are part of the specified team. The list contains the username, being a Steadybit user id, and the role in this particular team (owner or member).
Corresponds with GET /api/teams/{key}/members (the `GetTeamMembers` operationId).
func (*Client) GetTeams ¶
func (c *Client) GetTeams(ctx context.Context, params *GetTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetTeams Fetch a list of all teams
Get a list of all teams that exist.<br/> If used with a team-associated `accessToken` and `onlyAccessible` is set to `true` you only get the team of the `accessToken`.
Corresponds with GET /api/teams (the `GetTeams` operationId).
func (*Client) GetUserCounts ¶
func (c *Client) GetUserCounts(ctx context.Context, body GetUserCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetUserCounts Get user counts over time
Returns the number of users in the tenant aggregated into time buckets.
Takes a body of the `application/json` content type.
Corresponds with POST /api/reports/users (the `GetUserCounts` operationId).
func (*Client) GetUserCountsWithBody ¶
func (c *Client) GetUserCountsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetUserCountsWithBody Get user counts over time
Returns the number of users in the tenant aggregated into time buckets.
Takes any type of body and a specified content type.
Corresponds with POST /api/reports/users (the `GetUserCounts` operationId).
func (*Client) ImportFromHub ¶
func (c *Client) ImportFromHub(ctx context.Context, params *ImportFromHubParams, body ImportFromHubJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ImportFromHub Import experiment templates
Import experiment templates with given IDs from linked hub.
Takes a body of the `application/json` content type.
Corresponds with POST /api/experiments/templates/imports (the `ImportFromHub` operationId).
func (*Client) ImportFromHubWithBody ¶
func (c *Client) ImportFromHubWithBody(ctx context.Context, params *ImportFromHubParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ImportFromHubWithBody Import experiment templates
Import experiment templates with given IDs from linked hub.
Takes any type of body and a specified content type.
Corresponds with POST /api/experiments/templates/imports (the `ImportFromHub` operationId).
func (*Client) InviteUser ¶
func (c *Client) InviteUser(ctx context.Context, body InviteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
InviteUser Invite users to a tenant
Invite users to a tenant. The invited users will receive an email with an invitation link to join the tenant.
Takes a body of the `application/json` content type.
Corresponds with POST /api/users/invite (the `InviteUser` operationId).
func (*Client) InviteUserWithBody ¶
func (c *Client) InviteUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InviteUserWithBody Invite users to a tenant
Invite users to a tenant. The invited users will receive an email with an invitation link to join the tenant.
Takes any type of body and a specified content type.
Corresponds with POST /api/users/invite (the `InviteUser` operationId).
func (*Client) LinkCustomExperiment ¶
func (c *Client) LinkCustomExperiment(ctx context.Context, id openapi_types.UUID, body LinkCustomExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LinkCustomExperiment Link a custom experiment to a service.
Takes a body of the `application/json` content type.
Corresponds with POST /api/services/{id}/experiments/custom (the `LinkCustomExperiment` operationId).
func (*Client) LinkCustomExperimentWithBody ¶
func (c *Client) LinkCustomExperimentWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LinkCustomExperimentWithBody Link a custom experiment to a service.
Takes any type of body and a specified content type.
Corresponds with POST /api/services/{id}/experiments/custom (the `LinkCustomExperiment` operationId).
func (*Client) Liveness ¶
func (c *Client) Liveness(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
Liveness performs a GET /api/health/liveness (the `Liveness` operationId) request.
func (*Client) MergeServiceVariables ¶
func (c *Client) MergeServiceVariables(ctx context.Context, id openapi_types.UUID, body MergeServiceVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
MergeServiceVariables Add / merge service variables
All provided variables will be associated with the given service.<br/>If a variable key is already in use, its value is updated.<br/>If a variable is already associated but not provided, it continues to exist.
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/services/{id}/variables (the `MergeServiceVariables` operationId).
func (*Client) MergeServiceVariablesWithBody ¶
func (c *Client) MergeServiceVariablesWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MergeServiceVariablesWithBody Add / merge service variables
All provided variables will be associated with the given service.<br/>If a variable key is already in use, its value is updated.<br/>If a variable is already associated but not provided, it continues to exist.
Takes any type of body and a specified content type.
Corresponds with PATCH /api/services/{id}/variables (the `MergeServiceVariables` operationId).
func (*Client) PatchSchedule ¶
func (c *Client) PatchSchedule(ctx context.Context, id string, body PatchScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchSchedule Partially update an experiment schedule
Update specific fields of an existing experiment schedule. Only non-null fields in the request body will be updated.
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/experiments/schedules/{id} (the `PatchSchedule` operationId).
func (*Client) PatchScheduleWithBody ¶
func (c *Client) PatchScheduleWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchScheduleWithBody Partially update an experiment schedule
Update specific fields of an existing experiment schedule. Only non-null fields in the request body will be updated.
Takes any type of body and a specified content type.
Corresponds with PATCH /api/experiments/schedules/{id} (the `PatchSchedule` operationId).
func (*Client) Readiness ¶
func (c *Client) Readiness(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
Readiness performs a GET /api/health/readiness (the `Readiness` operationId) request.
func (*Client) RecreateAccessToken ¶
func (c *Client) RecreateAccessToken(ctx context.Context, id string, body RecreateAccessTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RecreateAccessToken Recreate an access token
Recreate an existing access token with a new expiration date. The old token is deleted and a new one is generated with the same name, type, and team associations.
Takes a body of the `application/json` content type.
Corresponds with POST /api/access-tokens/v2/{id}/recreate (the `RecreateAccessToken` operationId).
func (*Client) RecreateAccessTokenWithBody ¶
func (c *Client) RecreateAccessTokenWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RecreateAccessTokenWithBody Recreate an access token
Recreate an existing access token with a new expiration date. The old token is deleted and a new one is generated with the same name, type, and team associations.
Takes any type of body and a specified content type.
Corresponds with POST /api/access-tokens/v2/{id}/recreate (the `RecreateAccessToken` operationId).
func (*Client) RemoveExperimentScheduleById ¶
func (c *Client) RemoveExperimentScheduleById(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveExperimentScheduleById Remove an existing experiment schedule
Corresponds with DELETE /api/experiments/schedules/{id} (the `RemoveExperimentScheduleById` operationId).
func (*Client) RemoveTeamEnvironments ¶
func (c *Client) RemoveTeamEnvironments(ctx context.Context, key string, body RemoveTeamEnvironmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveTeamEnvironments Remove allowed environment from a team
The given environments will be removed from the specified team.
Takes a body of the `application/json` content type.
Corresponds with POST /api/teams/{key}/environments/remove (the `RemoveTeamEnvironments` operationId).
func (*Client) RemoveTeamEnvironmentsWithBody ¶
func (c *Client) RemoveTeamEnvironmentsWithBody(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveTeamEnvironmentsWithBody Remove allowed environment from a team
The given environments will be removed from the specified team.
Takes any type of body and a specified content type.
Corresponds with POST /api/teams/{key}/environments/remove (the `RemoveTeamEnvironments` operationId).
func (*Client) RemoveTeamMembers ¶
func (c *Client) RemoveTeamMembers(ctx context.Context, key string, body RemoveTeamMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveTeamMembers Remove team members from a team
The given members will be removed from the specified team. However, they are still able to login, view the content of the team and may still be member of another team.
Takes a body of the `application/json` content type.
Corresponds with POST /api/teams/{key}/members/remove (the `RemoveTeamMembers` operationId).
func (*Client) RemoveTeamMembersWithBody ¶
func (c *Client) RemoveTeamMembersWithBody(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveTeamMembersWithBody Remove team members from a team
The given members will be removed from the specified team. However, they are still able to login, view the content of the team and may still be member of another team.
Takes any type of body and a specified content type.
Corresponds with POST /api/teams/{key}/members/remove (the `RemoveTeamMembers` operationId).
func (*Client) ResyncHub ¶
func (c *Client) ResyncHub(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ResyncHub Re-synchronize a hub
Fetch the latest hub definition based on `hubRepository`. This operation is executed synchronously and may take some time to complete depending on the network connection to hub address.
Corresponds with POST /api/hubs/{id}/resync (the `ResyncHub` operationId).
func (*Client) SaveAndRun ¶
func (c *Client) SaveAndRun(ctx context.Context, params *SaveAndRunParams, body SaveAndRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SaveAndRun Save and run experiment
Save the given experiment and immediately run it.
Takes a body of the `application/json` content type.
Corresponds with POST /api/experiments/execute (the `SaveAndRun` operationId).
func (*Client) SaveAndRunFromTemplate ¶
func (c *Client) SaveAndRunFromTemplate(ctx context.Context, id openapi_types.UUID, params *SaveAndRunFromTemplateParams, body SaveAndRunFromTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SaveAndRunFromTemplate Create an experiment based on an experiment template and run experiment
Use the given experiment template id and the placeholder values to create or update and immediately run the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
Takes a body of the `application/json` content type.
Corresponds with POST /api/experiments/templates/{id}/experiment-execute (the `SaveAndRunFromTemplate` operationId).
func (*Client) SaveAndRunFromTemplateWithBody ¶
func (c *Client) SaveAndRunFromTemplateWithBody(ctx context.Context, id openapi_types.UUID, params *SaveAndRunFromTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SaveAndRunFromTemplateWithBody Create an experiment based on an experiment template and run experiment
Use the given experiment template id and the placeholder values to create or update and immediately run the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
Takes any type of body and a specified content type.
Corresponds with POST /api/experiments/templates/{id}/experiment-execute (the `SaveAndRunFromTemplate` operationId).
func (*Client) SaveAndRunWithBody ¶
func (c *Client) SaveAndRunWithBody(ctx context.Context, params *SaveAndRunParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SaveAndRunWithBody Save and run experiment
Save the given experiment and immediately run it.
Takes any type of body and a specified content type.
Corresponds with POST /api/experiments/execute (the `SaveAndRun` operationId).
func (*Client) SetEnvironmentVariables ¶
func (c *Client) SetEnvironmentVariables(ctx context.Context, id openapi_types.UUID, body SetEnvironmentVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetEnvironmentVariables Replace all environment variables
All provided environment variables will be associated to the given environment and existing ones removed.<br/>If an environment variable key is already in use, it's value is updated with the value being provided.<br/>If an environment variable is already associated to the environment but not provided, it will be removed.
Takes a body of the `application/json` content type.
Corresponds with POST /api/environments/{id}/variables (the `SetEnvironmentVariables` operationId).
func (*Client) SetEnvironmentVariablesWithBody ¶
func (c *Client) SetEnvironmentVariablesWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetEnvironmentVariablesWithBody Replace all environment variables
All provided environment variables will be associated to the given environment and existing ones removed.<br/>If an environment variable key is already in use, it's value is updated with the value being provided.<br/>If an environment variable is already associated to the environment but not provided, it will be removed.
Takes any type of body and a specified content type.
Corresponds with POST /api/environments/{id}/variables (the `SetEnvironmentVariables` operationId).
func (*Client) SetExecutionPropertyValue ¶
func (c *Client) SetExecutionPropertyValue(ctx context.Context, id int64, key string, body SetExecutionPropertyValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetExecutionPropertyValue Set the value of a property of an experiment execution.
Only properties with `editableInExecution` set to `true` can be modified.
Takes a body of the `application/json` content type.
Corresponds with POST /api/experiments/executions/{id}/properties/{key}/set (the `SetExecutionPropertyValue` operationId).
func (*Client) SetExecutionPropertyValueWithBody ¶
func (c *Client) SetExecutionPropertyValueWithBody(ctx context.Context, id int64, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetExecutionPropertyValueWithBody Set the value of a property of an experiment execution.
Only properties with `editableInExecution` set to `true` can be modified.
Takes any type of body and a specified content type.
Corresponds with POST /api/experiments/executions/{id}/properties/{key}/set (the `SetExecutionPropertyValue` operationId).
func (*Client) SetServiceVariables ¶
func (c *Client) SetServiceVariables(ctx context.Context, id openapi_types.UUID, body SetServiceVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetServiceVariables Replace all service variables
All provided variables will be associated with the given service and existing ones removed.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/services/{id}/variables (the `SetServiceVariables` operationId).
func (*Client) SetServiceVariablesWithBody ¶
func (c *Client) SetServiceVariablesWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetServiceVariablesWithBody Replace all service variables
All provided variables will be associated with the given service and existing ones removed.
Takes any type of body and a specified content type.
Corresponds with PUT /api/services/{id}/variables (the `SetServiceVariables` operationId).
func (*Client) SetTeamEnvironments ¶
func (c *Client) SetTeamEnvironments(ctx context.Context, key string, params *SetTeamEnvironmentsParams, body SetTeamEnvironmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetTeamEnvironments Update the environments of a specific team
The allowed environments of the specified team will be updated with these provided. New environments will be added to the team, environments not provided in the request will be removed from the team.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/teams/{key}/environments (the `SetTeamEnvironments` operationId).
func (*Client) SetTeamEnvironmentsWithBody ¶
func (c *Client) SetTeamEnvironmentsWithBody(ctx context.Context, key string, params *SetTeamEnvironmentsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetTeamEnvironmentsWithBody Update the environments of a specific team
The allowed environments of the specified team will be updated with these provided. New environments will be added to the team, environments not provided in the request will be removed from the team.
Takes any type of body and a specified content type.
Corresponds with PUT /api/teams/{key}/environments (the `SetTeamEnvironments` operationId).
func (*Client) SetTeamMembers ¶
func (c *Client) SetTeamMembers(ctx context.Context, key string, params *SetTeamMembersParams, body SetTeamMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetTeamMembers Update the members of a specific team
The members of the specified team will be updated with these provided. New team members will be added to the team, team members not provided in the request will be removed from the team.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/teams/{key}/members (the `SetTeamMembers` operationId).
func (*Client) SetTeamMembersWithBody ¶
func (c *Client) SetTeamMembersWithBody(ctx context.Context, key string, params *SetTeamMembersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetTeamMembersWithBody Update the members of a specific team
The members of the specified team will be updated with these provided. New team members will be added to the team, team members not provided in the request will be removed from the team.
Takes any type of body and a specified content type.
Corresponds with PUT /api/teams/{key}/members (the `SetTeamMembers` operationId).
func (*Client) UnlinkCustomExperiment ¶
func (c *Client) UnlinkCustomExperiment(ctx context.Context, id openapi_types.UUID, params *UnlinkCustomExperimentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
UnlinkCustomExperiment Remove a linked custom experiment from a service.
Corresponds with DELETE /api/services/{id}/experiments/custom (the `UnlinkCustomExperiment` operationId).
func (*Client) UpdateEnvironmentVariables ¶
func (c *Client) UpdateEnvironmentVariables(ctx context.Context, id openapi_types.UUID, body UpdateEnvironmentVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEnvironmentVariables Add / merge all environment variables
All provided environment variables will be associated to the given environment.<br/>If an environment variable key is already in use, it's value is updated with the value being provided.<br/>If an environment variable is already associated to the environment but not provided, it continues to exist.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/environments/{id}/variables (the `UpdateEnvironmentVariables` operationId).
func (*Client) UpdateEnvironmentVariablesWithBody ¶
func (c *Client) UpdateEnvironmentVariablesWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEnvironmentVariablesWithBody Add / merge all environment variables
All provided environment variables will be associated to the given environment.<br/>If an environment variable key is already in use, it's value is updated with the value being provided.<br/>If an environment variable is already associated to the environment but not provided, it continues to exist.
Takes any type of body and a specified content type.
Corresponds with PUT /api/environments/{id}/variables (the `UpdateEnvironmentVariables` operationId).
func (*Client) UpdateExecutionProperties ¶
func (c *Client) UpdateExecutionProperties(ctx context.Context, id int64, body UpdateExecutionPropertiesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateExecutionProperties Update properties of an experiment execution
Update properties of an experiment execution. This is only possible for associated properties with `editableInExecution` set to `true` or for properties that have been added after the execution.
Takes a body of the `application/json` content type.
Corresponds with POST /api/experiments/executions/{id}/properties (the `UpdateExecutionProperties` operationId).
func (*Client) UpdateExecutionPropertiesWithBody ¶
func (c *Client) UpdateExecutionPropertiesWithBody(ctx context.Context, id int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateExecutionPropertiesWithBody Update properties of an experiment execution
Update properties of an experiment execution. This is only possible for associated properties with `editableInExecution` set to `true` or for properties that have been added after the execution.
Takes any type of body and a specified content type.
Corresponds with POST /api/experiments/executions/{id}/properties (the `UpdateExecutionProperties` operationId).
func (*Client) UpdateExperiment ¶
func (c *Client) UpdateExperiment(ctx context.Context, key string, body UpdateExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateExperiment Update an experiment
Update the experiment identified by the experiment `key`.
Takes a body of the `application/json` content type.
Corresponds with POST /api/experiments/{key} (the `UpdateExperiment` operationId).
func (*Client) UpdateExperimentByTemplate ¶
func (c *Client) UpdateExperimentByTemplate(ctx context.Context, id openapi_types.UUID, key string, params *UpdateExperimentByTemplateParams, body UpdateExperimentByTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateExperimentByTemplate Update an existing experiment based on a template
Use the given experiment template id and the placeholder values to create or update the experiment. Placeholders that have been used for the initial creation will be reused. Provided placeholders from the body will overwrite existing placeholders.
Takes a body of the `application/json` content type.
Corresponds with POST /api/experiments/templates/{id}/experiment-update/{key} (the `UpdateExperimentByTemplate` operationId).
func (*Client) UpdateExperimentByTemplateWithBody ¶
func (c *Client) UpdateExperimentByTemplateWithBody(ctx context.Context, id openapi_types.UUID, key string, params *UpdateExperimentByTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateExperimentByTemplateWithBody Update an existing experiment based on a template
Use the given experiment template id and the placeholder values to create or update the experiment. Placeholders that have been used for the initial creation will be reused. Provided placeholders from the body will overwrite existing placeholders.
Takes any type of body and a specified content type.
Corresponds with POST /api/experiments/templates/{id}/experiment-update/{key} (the `UpdateExperimentByTemplate` operationId).
func (*Client) UpdateExperimentWithBody ¶
func (c *Client) UpdateExperimentWithBody(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateExperimentWithBody Update an experiment
Update the experiment identified by the experiment `key`.
Takes any type of body and a specified content type.
Corresponds with POST /api/experiments/{key} (the `UpdateExperiment` operationId).
func (*Client) UpdateLandscapeView ¶
func (c *Client) UpdateLandscapeView(ctx context.Context, id openapi_types.UUID, body UpdateLandscapeViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateLandscapeView Update a saved landscape view
Update an existing saved explorer landscape view. The view's thumbnail is rendered by the UI and cannot be produced through the API. When an update changes a field that affects how the landscape renders (environment, filter query, group-by, size-by, color-by or show-advice), the thumbnail is cleared so it is not left stale; a metadata-only change (e.g. name or description) keeps it. The UI regenerates the thumbnail on its next save.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/explore/landscape/views/{id} (the `UpdateLandscapeView` operationId).
func (*Client) UpdateLandscapeViewWithBody ¶
func (c *Client) UpdateLandscapeViewWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateLandscapeViewWithBody Update a saved landscape view
Update an existing saved explorer landscape view. The view's thumbnail is rendered by the UI and cannot be produced through the API. When an update changes a field that affects how the landscape renders (environment, filter query, group-by, size-by, color-by or show-advice), the thumbnail is cleared so it is not left stale; a metadata-only change (e.g. name or description) keeps it. The UI regenerates the thumbnail on its next save.
Takes any type of body and a specified content type.
Corresponds with PUT /api/explore/landscape/views/{id} (the `UpdateLandscapeView` operationId).
func (*Client) UpsertCustomWebhook ¶
func (c *Client) UpsertCustomWebhook(ctx context.Context, body UpsertCustomWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertCustomWebhook Create or update a custom webhook
Insert or update a custom webhook.<br/This endpoint requires an admin-token and can't be used with a team-based token.
Takes a body of the `application/json` content type.
Corresponds with POST /api/integrations/webhook (the `UpsertCustomWebhook` operationId).
func (*Client) UpsertCustomWebhookWithBody ¶
func (c *Client) UpsertCustomWebhookWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertCustomWebhookWithBody Create or update a custom webhook
Insert or update a custom webhook.<br/This endpoint requires an admin-token and can't be used with a team-based token.
Takes any type of body and a specified content type.
Corresponds with POST /api/integrations/webhook (the `UpsertCustomWebhook` operationId).
func (*Client) UpsertEnvironment ¶
func (c *Client) UpsertEnvironment(ctx context.Context, body UpsertEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertEnvironment Create or update an environment
Insert or update the environment in Steadybit. The `id` will be used to identify whether the environment exists already and should be updated or newly inserted.
Takes a body of the `application/json` content type.
Corresponds with POST /api/environments (the `UpsertEnvironment` operationId).
func (*Client) UpsertEnvironmentWithBody ¶
func (c *Client) UpsertEnvironmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertEnvironmentWithBody Create or update an environment
Insert or update the environment in Steadybit. The `id` will be used to identify whether the environment exists already and should be updated or newly inserted.
Takes any type of body and a specified content type.
Corresponds with POST /api/environments (the `UpsertEnvironment` operationId).
func (*Client) UpsertExperimentTemplate ¶
func (c *Client) UpsertExperimentTemplate(ctx context.Context, body UpsertExperimentTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertExperimentTemplate Create or update an experiment template
Insert or update the experiment template in Steadybit. The `id` will be used to identify whether the experiment template exists already and should be updated or newly inserted. If this template is used in a service profile, existing provided service experiments will get updated.
Takes a body of the `application/json` content type.
Corresponds with POST /api/experiments/templates (the `UpsertExperimentTemplate` operationId).
func (*Client) UpsertExperimentTemplateWithBody ¶
func (c *Client) UpsertExperimentTemplateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertExperimentTemplateWithBody Create or update an experiment template
Insert or update the experiment template in Steadybit. The `id` will be used to identify whether the experiment template exists already and should be updated or newly inserted. If this template is used in a service profile, existing provided service experiments will get updated.
Takes any type of body and a specified content type.
Corresponds with POST /api/experiments/templates (the `UpsertExperimentTemplate` operationId).
func (*Client) UpsertHub ¶
func (c *Client) UpsertHub(ctx context.Context, params *UpsertHubParams, body UpsertHubJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertHub Create or update a hub
Insert or update a hub. The `id` will be used to identify whether the hub exists already and should be updated or newly inserted. The hub content can be synchronized depending on the `resync` parameter. This operation is executed synchronously and may take some time to complete depending on the network connection to hub address.
Takes a body of the `application/json` content type.
Corresponds with POST /api/hubs (the `UpsertHub` operationId).
func (*Client) UpsertHubWithBody ¶
func (c *Client) UpsertHubWithBody(ctx context.Context, params *UpsertHubParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertHubWithBody Create or update a hub
Insert or update a hub. The `id` will be used to identify whether the hub exists already and should be updated or newly inserted. The hub content can be synchronized depending on the `resync` parameter. This operation is executed synchronously and may take some time to complete depending on the network connection to hub address.
Takes any type of body and a specified content type.
Corresponds with POST /api/hubs (the `UpsertHub` operationId).
func (*Client) UpsertPreflightActionIntegration ¶
func (c *Client) UpsertPreflightActionIntegration(ctx context.Context, body UpsertPreflightActionIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertPreflightActionIntegration Create or update a preflight action integration
Insert or update a preflight action integration.<br/This endpoint requires an admin-token and can't be used with a team-based token.
Takes a body of the `application/json` content type.
Corresponds with POST /api/integrations/preflight-action (the `UpsertPreflightActionIntegration` operationId).
func (*Client) UpsertPreflightActionIntegrationWithBody ¶
func (c *Client) UpsertPreflightActionIntegrationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertPreflightActionIntegrationWithBody Create or update a preflight action integration
Insert or update a preflight action integration.<br/This endpoint requires an admin-token and can't be used with a team-based token.
Takes any type of body and a specified content type.
Corresponds with POST /api/integrations/preflight-action (the `UpsertPreflightActionIntegration` operationId).
func (*Client) UpsertPreflightWebhook ¶
func (c *Client) UpsertPreflightWebhook(ctx context.Context, body UpsertPreflightWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertPreflightWebhook Create or update a preflight webhook
Insert or update a preflight webhook.<br/This endpoint requires an admin-token and can't be used with a team-based token.
Takes a body of the `application/json` content type.
Corresponds with POST /api/integrations/preflight (the `UpsertPreflightWebhook` operationId).
func (*Client) UpsertPreflightWebhookWithBody ¶
func (c *Client) UpsertPreflightWebhookWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertPreflightWebhookWithBody Create or update a preflight webhook
Insert or update a preflight webhook.<br/This endpoint requires an admin-token and can't be used with a team-based token.
Takes any type of body and a specified content type.
Corresponds with POST /api/integrations/preflight (the `UpsertPreflightWebhook` operationId).
func (*Client) UpsertProfile ¶
func (c *Client) UpsertProfile(ctx context.Context, params *UpsertProfileParams, body UpsertProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertProfile Create or update service profile
Insert or update the service profile specified by the given `id`.
Takes a body of the `application/json` content type.
Corresponds with POST /api/services/profiles (the `UpsertProfile` operationId).
func (*Client) UpsertProfileWithBody ¶
func (c *Client) UpsertProfileWithBody(ctx context.Context, params *UpsertProfileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertProfileWithBody Create or update service profile
Insert or update the service profile specified by the given `id`.
Takes any type of body and a specified content type.
Corresponds with POST /api/services/profiles (the `UpsertProfile` operationId).
func (*Client) UpsertPropertyAssociation ¶
func (c *Client) UpsertPropertyAssociation(ctx context.Context, body UpsertPropertyAssociationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertPropertyAssociation Create or update a property association
Insert or update the property association. The `id` will be used to identify whether the schedule exists already and should be updated or newly inserted.
Examples:
- Assign the property `RESULT_COLOR` to all experiment designs:
```
{
"key": "RESULT_COLOR",
"editableInExecution": false,
"required": true
}
```
- Assign the property `RESULT_COLOR` to the design ADM-15:
```
{
"key": "RESULT_COLOR",
"editableInExecution": false,
"experimentKey": "ADM-15",
"required": true
}
```
- Assign the property `RESULT_COLOR` that can be edited in each experiment execution of the experiment with key `ADM-15`:
```
{
"key": "RESULT_COLOR",
"editableInExecution": true,
"experimentKey": "ADM-15",
"required": false
}
```
- Assign the property `RESULT_COLOR` to a service `0a2d67b9-1d5a-4179-8c32-e5296be1f56f`:
```
{
"key": "RESULT_COLOR",
"associationType": "SERVICE",
"serviceId": "0a2d67b9-1d5a-4179-8c32-e5296be1f56f",
"required": false
}
```
Takes a body of the `application/json` content type.
Corresponds with POST /api/properties/associations (the `UpsertPropertyAssociation` operationId).
func (*Client) UpsertPropertyAssociationWithBody ¶
func (c *Client) UpsertPropertyAssociationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertPropertyAssociationWithBody Create or update a property association
Insert or update the property association. The `id` will be used to identify whether the schedule exists already and should be updated or newly inserted.
Examples:
- Assign the property `RESULT_COLOR` to all experiment designs:
```
{
"key": "RESULT_COLOR",
"editableInExecution": false,
"required": true
}
```
- Assign the property `RESULT_COLOR` to the design ADM-15:
```
{
"key": "RESULT_COLOR",
"editableInExecution": false,
"experimentKey": "ADM-15",
"required": true
}
```
- Assign the property `RESULT_COLOR` that can be edited in each experiment execution of the experiment with key `ADM-15`:
```
{
"key": "RESULT_COLOR",
"editableInExecution": true,
"experimentKey": "ADM-15",
"required": false
}
```
- Assign the property `RESULT_COLOR` to a service `0a2d67b9-1d5a-4179-8c32-e5296be1f56f`:
```
{
"key": "RESULT_COLOR",
"associationType": "SERVICE",
"serviceId": "0a2d67b9-1d5a-4179-8c32-e5296be1f56f",
"required": false
}
```
Takes any type of body and a specified content type.
Corresponds with POST /api/properties/associations (the `UpsertPropertyAssociation` operationId).
func (*Client) UpsertPropertyDefinition ¶
func (c *Client) UpsertPropertyDefinition(ctx context.Context, params *UpsertPropertyDefinitionParams, body UpsertPropertyDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertPropertyDefinition Create or update property definition
Insert or update the property definition specified by the given `key`.
Takes a body of the `application/json` content type.
Corresponds with POST /api/properties/definitions (the `UpsertPropertyDefinition` operationId).
func (*Client) UpsertPropertyDefinitionWithBody ¶
func (c *Client) UpsertPropertyDefinitionWithBody(ctx context.Context, params *UpsertPropertyDefinitionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertPropertyDefinitionWithBody Create or update property definition
Insert or update the property definition specified by the given `key`.
Takes any type of body and a specified content type.
Corresponds with POST /api/properties/definitions (the `UpsertPropertyDefinition` operationId).
func (*Client) UpsertProvidedExperiment ¶
func (c *Client) UpsertProvidedExperiment(ctx context.Context, id openapi_types.UUID, params *UpsertProvidedExperimentParams, body UpsertProvidedExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertProvidedExperiment Create or update a provided experiment.
Takes a body of the `application/json` content type.
Corresponds with POST /api/services/{id}/experiments/provided (the `UpsertProvidedExperiment` operationId).
func (*Client) UpsertProvidedExperimentWithBody ¶
func (c *Client) UpsertProvidedExperimentWithBody(ctx context.Context, id openapi_types.UUID, params *UpsertProvidedExperimentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertProvidedExperimentWithBody Create or update a provided experiment.
Takes any type of body and a specified content type.
Corresponds with POST /api/services/{id}/experiments/provided (the `UpsertProvidedExperiment` operationId).
func (*Client) UpsertSchedule ¶
func (c *Client) UpsertSchedule(ctx context.Context, body UpsertScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertSchedule Create or update an experiment schedule
Insert or update the experiment schedule. The `id` will be used to identify whether the schedule exists already and should be updated or newly inserted.
Takes a body of the `application/json` content type.
Corresponds with POST /api/experiments/schedules (the `UpsertSchedule` operationId).
func (*Client) UpsertScheduleWithBody ¶
func (c *Client) UpsertScheduleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertScheduleWithBody Create or update an experiment schedule
Insert or update the experiment schedule. The `id` will be used to identify whether the schedule exists already and should be updated or newly inserted.
Takes any type of body and a specified content type.
Corresponds with POST /api/experiments/schedules (the `UpsertSchedule` operationId).
func (*Client) UpsertService ¶
func (c *Client) UpsertService(ctx context.Context, params *UpsertServiceParams, body UpsertServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertService Create or update service
Insert or update the service specified by the given `id`.
Takes a body of the `application/json` content type.
Corresponds with POST /api/services (the `UpsertService` operationId).
func (*Client) UpsertServiceWithBody ¶
func (c *Client) UpsertServiceWithBody(ctx context.Context, params *UpsertServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertServiceWithBody Create or update service
Insert or update the service specified by the given `id`.
Takes any type of body and a specified content type.
Corresponds with POST /api/services (the `UpsertService` operationId).
func (*Client) UpsertSlackIntegration ¶
func (c *Client) UpsertSlackIntegration(ctx context.Context, body UpsertSlackIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertSlackIntegration Create or update a slack integration
Insert or update a slack integration.<br/This endpoint requires an admin-token and can't be used with a team-based token.
Takes a body of the `application/json` content type.
Corresponds with POST /api/integrations/slack (the `UpsertSlackIntegration` operationId).
func (*Client) UpsertSlackIntegrationWithBody ¶
func (c *Client) UpsertSlackIntegrationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertSlackIntegrationWithBody Create or update a slack integration
Insert or update a slack integration.<br/This endpoint requires an admin-token and can't be used with a team-based token.
Takes any type of body and a specified content type.
Corresponds with POST /api/integrations/slack (the `UpsertSlackIntegration` operationId).
func (*Client) UpsertTeam ¶
func (c *Client) UpsertTeam(ctx context.Context, params *UpsertTeamParams, body UpsertTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertTeam Create or update a team
Insert or update the team in Steadybit. The `key` will be used to identify whether the team exists already and should be updated or newly inserted. If a provided member's username or email is not yet known it will be skipped.
Takes a body of the `application/json` content type.
Corresponds with POST /api/teams (the `UpsertTeam` operationId).
func (*Client) UpsertTeamWithBody ¶
func (c *Client) UpsertTeamWithBody(ctx context.Context, params *UpsertTeamParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertTeamWithBody Create or update a team
Insert or update the team in Steadybit. The `key` will be used to identify whether the team exists already and should be updated or newly inserted. If a provided member's username or email is not yet known it will be skipped.
Takes any type of body and a specified content type.
Corresponds with POST /api/teams (the `UpsertTeam` operationId).
type ClientInterface ¶
type ClientInterface interface {
// GetAccessTokens Get access token list
//
// Deprecated, use v2 instead. Get a list of all access tokens. The access token itself is abbreviated for security reasons. Access tokens with v2 features are not returned, as they can not be represented cleanly in the old format.
//
// Corresponds with GET /api/access-tokens (the `GetAccessTokens` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetAccessTokens(ctx context.Context, params *GetAccessTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAccessTokenWithBody Add a access token
//
// Deprecated, use v2 instead. Generate a new access token associated to. This access token can be used for e.g. creating new experiments and running experiments.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/access-tokens (the `CreateAccessToken` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateAccessTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAccessToken Add a access token
//
// Deprecated, use v2 instead. Generate a new access token associated to. This access token can be used for e.g. creating new experiments and running experiments.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/access-tokens (the `CreateAccessToken` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateAccessToken(ctx context.Context, body CreateAccessTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAccessTokens1 Get access token list
//
// Get a list of all access tokens. The access token itself is abbreviated for security reasons.
//
// Corresponds with GET /api/access-tokens/v2 (the `GetAccessTokens1` operationId).
GetAccessTokens1(ctx context.Context, params *GetAccessTokens1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAccessToken1WithBody Create an access token
//
// Generate a new access token.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/access-tokens/v2 (the `CreateAccessToken1` operationId).
CreateAccessToken1WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAccessToken1 Create an access token
//
// Generate a new access token.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/access-tokens/v2 (the `CreateAccessToken1` operationId).
CreateAccessToken1(ctx context.Context, body CreateAccessToken1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAccessToken1 Delete access token
//
// Remove the access token. After that, the access token can't be used anymore.
//
// Corresponds with DELETE /api/access-tokens/v2/{id} (the `DeleteAccessToken1` operationId).
DeleteAccessToken1(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RecreateAccessTokenWithBody Recreate an access token
//
// Recreate an existing access token with a new expiration date. The old token is deleted and a new one is generated with the same name, type, and team associations.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/access-tokens/v2/{id}/recreate (the `RecreateAccessToken` operationId).
RecreateAccessTokenWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RecreateAccessToken Recreate an access token
//
// Recreate an existing access token with a new expiration date. The old token is deleted and a new one is generated with the same name, type, and team associations.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/access-tokens/v2/{id}/recreate (the `RecreateAccessToken` operationId).
RecreateAccessToken(ctx context.Context, id string, body RecreateAccessTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAccessToken Delete access token
//
// Remove the access token associated. After that, the access token can't be used anymore for e.g. creating a new experiment or running an experiment.
//
// Corresponds with DELETE /api/access-tokens/{id} (the `DeleteAccessToken` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DeleteAccessToken(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// FindAllActions Get all actions.
//
// Corresponds with GET /api/actions (the `FindAllActions` operationId).
FindAllActions(ctx context.Context, params *FindAllActionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAction Fetch a single action description
//
// Get action including their parameters.
//
// Corresponds with GET /api/actions/{actionId} (the `GetAction` operationId).
GetAction(ctx context.Context, actionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTargetAdviceSummaryWithBody Get all currently active advice for a given environment and query.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/advice (the `GetTargetAdviceSummary` operationId).
GetTargetAdviceSummaryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTargetAdviceSummary Get all currently active advice for a given environment and query.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/advice (the `GetTargetAdviceSummary` operationId).
GetTargetAdviceSummary(ctx context.Context, body GetTargetAdviceSummaryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// Find Get all audit log entries
//
// Retrieve all audit logs in the given time-frame.<br/>This endpoint requires an admin-token and can't be used with a team-based token.
//
// Corresponds with GET /api/audit-log (the `Find` operationId).
Find(ctx context.Context, params *FindParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ForwardToPlatform Forward to Steadybit platform to either create an experiment associated to the `tag` or forward to the experiments linked already to the `tag`
//
// This endpoint can be used as a link for the badge of the `/api/badges/linked-badge.svg` API to either create a new experiment or show the linked experiments in Steadybit. This will help to link it correctly e.g. in your CMS-systems.
//
// Corresponds with GET /api/badges/link (the `ForwardToPlatform` operationId).
ForwardToPlatform(ctx context.Context, params *ForwardToPlatformParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLinkedBadge Get badge for create experiment or run status as SVG image
//
// Creates an image badge that is either for creating a new experiment linked to an `externalReference` or - if an experiment with the given `externalReference` already exists - a badge showing the run status of the experiment. The badge is return as SVG to integrate it nicely e.g. into your CMS-systems. You can use the `/api/badges/link` endpoint to link it appropriately
//
// Corresponds with GET /api/badges/linked-badge.svg (the `GetLinkedBadge` operationId).
GetLinkedBadge(ctx context.Context, params *GetLinkedBadgeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEnvironments Fetch a list of all environments
//
// Get a list of all environments that exist.
//
// Corresponds with GET /api/environments (the `GetEnvironments` operationId).
GetEnvironments(ctx context.Context, params *GetEnvironmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertEnvironmentWithBody Create or update an environment
//
// Insert or update the environment in Steadybit. The `id` will be used to identify whether the environment exists already and should be updated or newly inserted.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/environments (the `UpsertEnvironment` operationId).
UpsertEnvironmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertEnvironment Create or update an environment
//
// Insert or update the environment in Steadybit. The `id` will be used to identify whether the environment exists already and should be updated or newly inserted.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/environments (the `UpsertEnvironment` operationId).
UpsertEnvironment(ctx context.Context, body UpsertEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEnvironment Delete environment
//
// Remove the given environment from the Steadybit platform.
//
// Corresponds with DELETE /api/environments/{id} (the `DeleteEnvironment` operationId).
DeleteEnvironment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEnvironment Fetch a single environment
//
// Get all details of a single existing environment.
//
// Corresponds with GET /api/environments/{id} (the `GetEnvironment` operationId).
GetEnvironment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEnvironmentVariables Get environment variables
//
// Get all environment variables associated to a single environment.
//
// Corresponds with GET /api/environments/{id}/variables (the `GetEnvironmentVariables` operationId).
GetEnvironmentVariables(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetEnvironmentVariablesWithBody Replace all environment variables
//
// All provided environment variables will be associated to the given environment and existing ones removed.<br/>If an environment variable key is already in use, it's value is updated with the value being provided.<br/>If an environment variable is already associated to the environment but not provided, it will be removed.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/environments/{id}/variables (the `SetEnvironmentVariables` operationId).
SetEnvironmentVariablesWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetEnvironmentVariables Replace all environment variables
//
// All provided environment variables will be associated to the given environment and existing ones removed.<br/>If an environment variable key is already in use, it's value is updated with the value being provided.<br/>If an environment variable is already associated to the environment but not provided, it will be removed.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/environments/{id}/variables (the `SetEnvironmentVariables` operationId).
SetEnvironmentVariables(ctx context.Context, id openapi_types.UUID, body SetEnvironmentVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEnvironmentVariablesWithBody Add / merge all environment variables
//
// All provided environment variables will be associated to the given environment.<br/>If an environment variable key is already in use, it's value is updated with the value being provided.<br/>If an environment variable is already associated to the environment but not provided, it continues to exist.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/environments/{id}/variables (the `UpdateEnvironmentVariables` operationId).
UpdateEnvironmentVariablesWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEnvironmentVariables Add / merge all environment variables
//
// All provided environment variables will be associated to the given environment.<br/>If an environment variable key is already in use, it's value is updated with the value being provided.<br/>If an environment variable is already associated to the environment but not provided, it continues to exist.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/environments/{id}/variables (the `UpdateEnvironmentVariables` operationId).
UpdateEnvironmentVariables(ctx context.Context, id openapi_types.UUID, body UpdateEnvironmentVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExperiments Fetch a list of all experiments
//
// Get a list of all experiments that exist.
//
// Corresponds with GET /api/experiments (the `GetExperiments` operationId).
GetExperiments(ctx context.Context, params *GetExperimentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrUpdateExperimentWithBody Create or update an experiment
//
// Insert or update the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/experiments (the `CreateOrUpdateExperiment` operationId).
CreateOrUpdateExperimentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrUpdateExperiment Create or update an experiment
//
// Insert or update the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/experiments (the `CreateOrUpdateExperiment` operationId).
CreateOrUpdateExperiment(ctx context.Context, body CreateOrUpdateExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SaveAndRunWithBody Save and run experiment
//
// Save the given experiment and immediately run it.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/experiments/execute (the `SaveAndRun` operationId).
SaveAndRunWithBody(ctx context.Context, params *SaveAndRunParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SaveAndRun Save and run experiment
//
// Save the given experiment and immediately run it.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/experiments/execute (the `SaveAndRun` operationId).
SaveAndRun(ctx context.Context, params *SaveAndRunParams, body SaveAndRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExperimentExecutions1 Fetch a list of all experiment executions
//
// Get a list of all experiment executions that exist.
//
// Corresponds with GET /api/experiments/executions (the `GetExperimentExecutions1` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetExperimentExecutions1(ctx context.Context, params *GetExperimentExecutions1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExperimentExecutions2WithBody Fetch a list of experiment executions
//
// Get list of experiment executions given a set of filters. The result is sorted by creation date in descending order. The result is paged with a page size of 50.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/experiments/executions (the `GetExperimentExecutions2` operationId).
GetExperimentExecutions2WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExperimentExecutions2 Fetch a list of experiment executions
//
// Get list of experiment executions given a set of filters. The result is sorted by creation date in descending order. The result is paged with a page size of 50.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/experiments/executions (the `GetExperimentExecutions2` operationId).
GetExperimentExecutions2(ctx context.Context, body GetExperimentExecutions2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExperimentExecution Fetch a single experiment executions of a single experiment
//
// Get a single experiment execution that was performed for a specific experiment.
//
// Corresponds with GET /api/experiments/executions/{id} (the `GetExperimentExecution` operationId).
GetExperimentExecution(ctx context.Context, id int64, params *GetExperimentExecutionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetArtifact performs a GET /api/experiments/executions/{id}/artifacts/{targetExecutionId}/{artifactId} (the `GetArtifact` operationId) request.
GetArtifact(ctx context.Context, id int64, targetExecutionId string, artifactId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelExperimentExecution Cancel a running experiment execution of a single experiment
//
// Cancels a currently running experiment execution to be stopped as soon as possible.
//
// Corresponds with POST /api/experiments/executions/{id}/cancel (the `CancelExperimentExecution` operationId).
CancelExperimentExecution(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateExecutionPropertiesWithBody Update properties of an experiment execution
//
// Update properties of an experiment execution. This is only possible for associated properties with `editableInExecution` set to `true` or for properties that have been added after the execution.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/experiments/executions/{id}/properties (the `UpdateExecutionProperties` operationId).
UpdateExecutionPropertiesWithBody(ctx context.Context, id int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateExecutionProperties Update properties of an experiment execution
//
// Update properties of an experiment execution. This is only possible for associated properties with `editableInExecution` set to `true` or for properties that have been added after the execution.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/experiments/executions/{id}/properties (the `UpdateExecutionProperties` operationId).
UpdateExecutionProperties(ctx context.Context, id int64, body UpdateExecutionPropertiesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddExecutionPropertyValueWithBody Add a single value to a list property of an experiment execution.
//
// This operation will fail if the property identified by `key` is not a list property. Only properties with `editableInExecution` set to `true` can be modified.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/experiments/executions/{id}/properties/{key}/add (the `AddExecutionPropertyValue` operationId).
AddExecutionPropertyValueWithBody(ctx context.Context, id int64, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddExecutionPropertyValue Add a single value to a list property of an experiment execution.
//
// This operation will fail if the property identified by `key` is not a list property. Only properties with `editableInExecution` set to `true` can be modified.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/experiments/executions/{id}/properties/{key}/add (the `AddExecutionPropertyValue` operationId).
AddExecutionPropertyValue(ctx context.Context, id int64, key string, body AddExecutionPropertyValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetExecutionPropertyValueWithBody Set the value of a property of an experiment execution.
//
// Only properties with `editableInExecution` set to `true` can be modified.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/experiments/executions/{id}/properties/{key}/set (the `SetExecutionPropertyValue` operationId).
SetExecutionPropertyValueWithBody(ctx context.Context, id int64, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetExecutionPropertyValue Set the value of a property of an experiment execution.
//
// Only properties with `editableInExecution` set to `true` can be modified.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/experiments/executions/{id}/properties/{key}/set (the `SetExecutionPropertyValue` operationId).
SetExecutionPropertyValue(ctx context.Context, id int64, key string, body SetExecutionPropertyValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertScheduleWithBody Create or update an experiment schedule
//
// Insert or update the experiment schedule. The `id` will be used to identify whether the schedule exists already and should be updated or newly inserted.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/experiments/schedules (the `UpsertSchedule` operationId).
UpsertScheduleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertSchedule Create or update an experiment schedule
//
// Insert or update the experiment schedule. The `id` will be used to identify whether the schedule exists already and should be updated or newly inserted.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/experiments/schedules (the `UpsertSchedule` operationId).
UpsertSchedule(ctx context.Context, body UpsertScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllSchedulesV2 Get all current experiment schedule configurations
//
// Corresponds with GET /api/experiments/schedules/v2 (the `GetAllSchedulesV2` operationId).
GetAllSchedulesV2(ctx context.Context, params *GetAllSchedulesV2Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveExperimentScheduleById Remove an existing experiment schedule
//
// Corresponds with DELETE /api/experiments/schedules/{id} (the `RemoveExperimentScheduleById` operationId).
RemoveExperimentScheduleById(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSchedules Get experiment schedules for a specific experiment schedule id
//
// Corresponds with GET /api/experiments/schedules/{id} (the `GetSchedules` operationId).
GetSchedules(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchScheduleWithBody Partially update an experiment schedule
//
// Update specific fields of an existing experiment schedule. Only non-null fields in the request body will be updated.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/experiments/schedules/{id} (the `PatchSchedule` operationId).
PatchScheduleWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchSchedule Partially update an experiment schedule
//
// Update specific fields of an existing experiment schedule. Only non-null fields in the request body will be updated.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/experiments/schedules/{id} (the `PatchSchedule` operationId).
PatchSchedule(ctx context.Context, id string, body PatchScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExperimentTemplates Fetch a list of all templates
//
// Get a list of all templates that exist.
//
// Corresponds with GET /api/experiments/templates (the `GetExperimentTemplates` operationId).
GetExperimentTemplates(ctx context.Context, params *GetExperimentTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertExperimentTemplateWithBody Create or update an experiment template
//
// Insert or update the experiment template in Steadybit. The `id` will be used to identify whether the experiment template exists already and should be updated or newly inserted. If this template is used in a service profile, existing provided service experiments will get updated.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/experiments/templates (the `UpsertExperimentTemplate` operationId).
UpsertExperimentTemplateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertExperimentTemplate Create or update an experiment template
//
// Insert or update the experiment template in Steadybit. The `id` will be used to identify whether the experiment template exists already and should be updated or newly inserted. If this template is used in a service profile, existing provided service experiments will get updated.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/experiments/templates (the `UpsertExperimentTemplate` operationId).
UpsertExperimentTemplate(ctx context.Context, body UpsertExperimentTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImportFromHubWithBody Import experiment templates
//
// Import experiment templates with given IDs from linked hub.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/experiments/templates/imports (the `ImportFromHub` operationId).
ImportFromHubWithBody(ctx context.Context, params *ImportFromHubParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImportFromHub Import experiment templates
//
// Import experiment templates with given IDs from linked hub.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/experiments/templates/imports (the `ImportFromHub` operationId).
ImportFromHub(ctx context.Context, params *ImportFromHubParams, body ImportFromHubJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteExperimentTemplate Delete experiment template
//
// Remove the given experiment template from the Steadybit platform. If this template is used in a service profile, it will be removed from the profile and all provided service experiments will get deleted.
//
// Corresponds with DELETE /api/experiments/templates/{id} (the `DeleteExperimentTemplate` operationId).
DeleteExperimentTemplate(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExperimentTemplate Fetch a single experiment template
//
// Get all details of a single existing experiment template.
//
// Corresponds with GET /api/experiments/templates/{id} (the `GetExperimentTemplate` operationId).
GetExperimentTemplate(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateExperimentByTemplateWithBody Create an experiment based on an experiment template
//
// Use the given experiment template id and the placeholder values to create or update the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/experiments/templates/{id}/experiment-create (the `CreateExperimentByTemplate` operationId).
CreateExperimentByTemplateWithBody(ctx context.Context, id openapi_types.UUID, params *CreateExperimentByTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateExperimentByTemplate Create an experiment based on an experiment template
//
// Use the given experiment template id and the placeholder values to create or update the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/experiments/templates/{id}/experiment-create (the `CreateExperimentByTemplate` operationId).
CreateExperimentByTemplate(ctx context.Context, id openapi_types.UUID, params *CreateExperimentByTemplateParams, body CreateExperimentByTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SaveAndRunFromTemplateWithBody Create an experiment based on an experiment template and run experiment
//
// Use the given experiment template id and the placeholder values to create or update and immediately run the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/experiments/templates/{id}/experiment-execute (the `SaveAndRunFromTemplate` operationId).
SaveAndRunFromTemplateWithBody(ctx context.Context, id openapi_types.UUID, params *SaveAndRunFromTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SaveAndRunFromTemplate Create an experiment based on an experiment template and run experiment
//
// Use the given experiment template id and the placeholder values to create or update and immediately run the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/experiments/templates/{id}/experiment-execute (the `SaveAndRunFromTemplate` operationId).
SaveAndRunFromTemplate(ctx context.Context, id openapi_types.UUID, params *SaveAndRunFromTemplateParams, body SaveAndRunFromTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateExperimentByTemplateWithBody Update an existing experiment based on a template
//
// Use the given experiment template id and the placeholder values to create or update the experiment. Placeholders that have been used for the initial creation will be reused. Provided placeholders from the body will overwrite existing placeholders.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/experiments/templates/{id}/experiment-update/{key} (the `UpdateExperimentByTemplate` operationId).
UpdateExperimentByTemplateWithBody(ctx context.Context, id openapi_types.UUID, key string, params *UpdateExperimentByTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateExperimentByTemplate Update an existing experiment based on a template
//
// Use the given experiment template id and the placeholder values to create or update the experiment. Placeholders that have been used for the initial creation will be reused. Provided placeholders from the body will overwrite existing placeholders.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/experiments/templates/{id}/experiment-update/{key} (the `UpdateExperimentByTemplate` operationId).
UpdateExperimentByTemplate(ctx context.Context, id openapi_types.UUID, key string, params *UpdateExperimentByTemplateParams, body UpdateExperimentByTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteExperiment Delete experiment
//
// Remove the given experiment. The associated number is still reserved afterwards and will not be reused.
//
// Corresponds with DELETE /api/experiments/{key} (the `DeleteExperiment` operationId).
DeleteExperiment(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExperiment Fetch a single experiment
//
// Get all details of a single existing experiment.
//
// Corresponds with GET /api/experiments/{key} (the `GetExperiment` operationId).
GetExperiment(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateExperimentWithBody Update an experiment
//
// Update the experiment identified by the experiment `key`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/experiments/{key} (the `UpdateExperiment` operationId).
UpdateExperimentWithBody(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateExperiment Update an experiment
//
// Update the experiment identified by the experiment `key`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/experiments/{key} (the `UpdateExperiment` operationId).
UpdateExperiment(ctx context.Context, key string, body UpdateExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExperimentBadge Get experiment run status as SVG image
//
// Get the status of the latest experiment run of the associated experiment as SVG to integrate it nicely e.g. into your CMS-systems.
//
// Corresponds with GET /api/experiments/{key}/badge.svg (the `GetExperimentBadge` operationId).
GetExperimentBadge(ctx context.Context, key string, params *GetExperimentBadgeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExecuteExperimentWithBody Execute an experiment
//
// Trigger execution of a single experiment specified by `key`. The body is optional and allows to specify overrides and custom properties for the experiment execution.
//
// Examples:
// - Override environment from the experiment for a single run:
// “`
// {
// "environment": "Shop Stage"
// }
// “`
// - Override the variables for a single execution:
// “`
// {
// "variables": {
// "httpEndpoint": "http://dev.shop.products.internal"
// }
// }
// “`
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/experiments/{key}/execute (the `ExecuteExperiment` operationId).
ExecuteExperimentWithBody(ctx context.Context, key string, params *ExecuteExperimentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExecuteExperiment Execute an experiment
//
// Trigger execution of a single experiment specified by `key`. The body is optional and allows to specify overrides and custom properties for the experiment execution.
//
// Examples:
// - Override environment from the experiment for a single run:
// “`
// {
// "environment": "Shop Stage"
// }
// “`
// - Override the variables for a single execution:
// “`
// {
// "variables": {
// "httpEndpoint": "http://dev.shop.products.internal"
// }
// }
// “`
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/experiments/{key}/execute (the `ExecuteExperiment` operationId).
ExecuteExperiment(ctx context.Context, key string, params *ExecuteExperimentParams, body ExecuteExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExperimentExecutions3 Fetch a list of all experiment executions of a single experiment
//
// Get a list of all experiment executions that were performed for a specific experiment.
//
// Corresponds with GET /api/experiments/{key}/executions (the `GetExperimentExecutions3` operationId).
GetExperimentExecutions3(ctx context.Context, key string, params *GetExperimentExecutions3Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLandscapeViews Fetch all saved landscape views of a team
//
// Get a list of all saved explorer landscape views that belong to the given team.
//
// Corresponds with GET /api/explore/landscape/views (the `GetLandscapeViews` operationId).
GetLandscapeViews(ctx context.Context, params *GetLandscapeViewsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateLandscapeViewWithBody Create a saved landscape view
//
// Create a new saved explorer landscape view for a team.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/explore/landscape/views (the `CreateLandscapeView` operationId).
CreateLandscapeViewWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateLandscapeView Create a saved landscape view
//
// Create a new saved explorer landscape view for a team.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/explore/landscape/views (the `CreateLandscapeView` operationId).
CreateLandscapeView(ctx context.Context, body CreateLandscapeViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteLandscapeView Delete a saved landscape view
//
// Remove the given saved explorer landscape view from the Steadybit platform.
//
// Corresponds with DELETE /api/explore/landscape/views/{id} (the `DeleteLandscapeView` operationId).
DeleteLandscapeView(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLandscapeView Fetch a single saved landscape view
//
// Get all details of a single saved explorer landscape view.
//
// Corresponds with GET /api/explore/landscape/views/{id} (the `GetLandscapeView` operationId).
GetLandscapeView(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateLandscapeViewWithBody Update a saved landscape view
//
// Update an existing saved explorer landscape view. The view's thumbnail is rendered by the UI and cannot be produced through the API. When an update changes a field that affects how the landscape renders (environment, filter query, group-by, size-by, color-by or show-advice), the thumbnail is cleared so it is not left stale; a metadata-only change (e.g. name or description) keeps it. The UI regenerates the thumbnail on its next save.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/explore/landscape/views/{id} (the `UpdateLandscapeView` operationId).
UpdateLandscapeViewWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateLandscapeView Update a saved landscape view
//
// Update an existing saved explorer landscape view. The view's thumbnail is rendered by the UI and cannot be produced through the API. When an update changes a field that affects how the landscape renders (environment, filter query, group-by, size-by, color-by or show-advice), the thumbnail is cleared so it is not left stale; a metadata-only change (e.g. name or description) keeps it. The UI regenerates the thumbnail on its next save.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/explore/landscape/views/{id} (the `UpdateLandscapeView` operationId).
UpdateLandscapeView(ctx context.Context, id openapi_types.UUID, body UpdateLandscapeViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// Health performs a GET /api/health (the `Health` operationId) request.
Health(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// Liveness performs a GET /api/health/liveness (the `Liveness` operationId) request.
Liveness(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// Readiness performs a GET /api/health/readiness (the `Readiness` operationId) request.
Readiness(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetHubs Fetch a list of all hubs
//
// Get a list of all hubs that are currently connected.
//
// Corresponds with GET /api/hubs (the `GetHubs` operationId).
GetHubs(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertHubWithBody Create or update a hub
//
// Insert or update a hub. The `id` will be used to identify whether the hub exists already and should be updated or newly inserted. The hub content can be synchronized depending on the `resync` parameter. This operation is executed synchronously and may take some time to complete depending on the network connection to hub address.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/hubs (the `UpsertHub` operationId).
UpsertHubWithBody(ctx context.Context, params *UpsertHubParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertHub Create or update a hub
//
// Insert or update a hub. The `id` will be used to identify whether the hub exists already and should be updated or newly inserted. The hub content can be synchronized depending on the `resync` parameter. This operation is executed synchronously and may take some time to complete depending on the network connection to hub address.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/hubs (the `UpsertHub` operationId).
UpsertHub(ctx context.Context, params *UpsertHubParams, body UpsertHubJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectionCheckWithBody Check a hub connection
//
// Check if the given hub connection details point to a valid hub.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/hubs/connection-check (the `ConnectionCheck` operationId).
ConnectionCheckWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectionCheck Check a hub connection
//
// Check if the given hub connection details point to a valid hub.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/hubs/connection-check (the `ConnectionCheck` operationId).
ConnectionCheck(ctx context.Context, body ConnectionCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteHub Delete a hub
//
// Remove the given hub.
//
// Corresponds with DELETE /api/hubs/{id} (the `DeleteHub` operationId).
DeleteHub(ctx context.Context, id openapi_types.UUID, params *DeleteHubParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetHubById Fetch a single hub
//
// Get all details of a single hub.
//
// Corresponds with GET /api/hubs/{id} (the `GetHubById` operationId).
GetHubById(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResyncHub Re-synchronize a hub
//
// Fetch the latest hub definition based on `hubRepository`. This operation is executed synchronously and may take some time to complete depending on the network connection to hub address.
//
// Corresponds with POST /api/hubs/{id}/resync (the `ResyncHub` operationId).
ResyncHub(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPreflightWebhooks Fetch a list of preflight webhooks
//
// Get a list of all existing preflight webhooks.
//
// Corresponds with GET /api/integrations/preflight (the `GetPreflightWebhooks` operationId).
GetPreflightWebhooks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertPreflightWebhookWithBody Create or update a preflight webhook
//
// Insert or update a preflight webhook.<br/This endpoint requires an admin-token and can't be used with a team-based token.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/integrations/preflight (the `UpsertPreflightWebhook` operationId).
UpsertPreflightWebhookWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertPreflightWebhook Create or update a preflight webhook
//
// Insert or update a preflight webhook.<br/This endpoint requires an admin-token and can't be used with a team-based token.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/integrations/preflight (the `UpsertPreflightWebhook` operationId).
UpsertPreflightWebhook(ctx context.Context, body UpsertPreflightWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPreflightActionIntegrations Fetch a list of preflight action integrations
//
// Get a list of all existing preflight preflight action integrations.
//
// Corresponds with GET /api/integrations/preflight-action (the `GetPreflightActionIntegrations` operationId).
GetPreflightActionIntegrations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertPreflightActionIntegrationWithBody Create or update a preflight action integration
//
// Insert or update a preflight action integration.<br/This endpoint requires an admin-token and can't be used with a team-based token.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/integrations/preflight-action (the `UpsertPreflightActionIntegration` operationId).
UpsertPreflightActionIntegrationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertPreflightActionIntegration Create or update a preflight action integration
//
// Insert or update a preflight action integration.<br/This endpoint requires an admin-token and can't be used with a team-based token.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/integrations/preflight-action (the `UpsertPreflightActionIntegration` operationId).
UpsertPreflightActionIntegration(ctx context.Context, body UpsertPreflightActionIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePreflightActionIntegration Delete preflight action integration
//
// Remove the given preflight action integration from the Steadybit platform.
//
// Corresponds with DELETE /api/integrations/preflight-action/{id} (the `DeletePreflightActionIntegration` operationId).
DeletePreflightActionIntegration(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPreflightActionIntegration Fetch a single preflight preflight action integrations
//
// Get all details of a single preflight preflight action integrations.
//
// Corresponds with GET /api/integrations/preflight-action/{id} (the `GetPreflightActionIntegration` operationId).
GetPreflightActionIntegration(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePreflightWebhook Delete preflight webhook
//
// Remove the given preflight webhook from the Steadybit platform.
//
// Corresponds with DELETE /api/integrations/preflight/{id} (the `DeletePreflightWebhook` operationId).
DeletePreflightWebhook(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPreflightWebhook Fetch a single preflight webhooks
//
// Get all details of a single preflight webhooks.
//
// Corresponds with GET /api/integrations/preflight/{id} (the `GetPreflightWebhook` operationId).
GetPreflightWebhook(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSlackIntegrations Fetch a list of slack integrations
//
// Get a list of all existing slack integrations.
//
// Corresponds with GET /api/integrations/slack (the `GetSlackIntegrations` operationId).
GetSlackIntegrations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertSlackIntegrationWithBody Create or update a slack integration
//
// Insert or update a slack integration.<br/This endpoint requires an admin-token and can't be used with a team-based token.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/integrations/slack (the `UpsertSlackIntegration` operationId).
UpsertSlackIntegrationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertSlackIntegration Create or update a slack integration
//
// Insert or update a slack integration.<br/This endpoint requires an admin-token and can't be used with a team-based token.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/integrations/slack (the `UpsertSlackIntegration` operationId).
UpsertSlackIntegration(ctx context.Context, body UpsertSlackIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSlackIntegration Delete slack integration
//
// Remove the given slack integration from the Steadybit platform.
//
// Corresponds with DELETE /api/integrations/slack/{id} (the `DeleteSlackIntegration` operationId).
DeleteSlackIntegration(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSlackIntegration Fetch a single slack integration
//
// Get all details of a single slack integration.
//
// Corresponds with GET /api/integrations/slack/{id} (the `GetSlackIntegration` operationId).
GetSlackIntegration(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCustomWebhooks Fetch a list of custom webhooks
//
// Get a list of all existing custom webhooks.
//
// Corresponds with GET /api/integrations/webhook (the `GetCustomWebhooks` operationId).
GetCustomWebhooks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertCustomWebhookWithBody Create or update a custom webhook
//
// Insert or update a custom webhook.<br/This endpoint requires an admin-token and can't be used with a team-based token.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/integrations/webhook (the `UpsertCustomWebhook` operationId).
UpsertCustomWebhookWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertCustomWebhook Create or update a custom webhook
//
// Insert or update a custom webhook.<br/This endpoint requires an admin-token and can't be used with a team-based token.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/integrations/webhook (the `UpsertCustomWebhook` operationId).
UpsertCustomWebhook(ctx context.Context, body UpsertCustomWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCustomWebhook Delete custom webhook
//
// Remove the given custom webhook from the Steadybit platform.
//
// Corresponds with DELETE /api/integrations/webhook/{id} (the `DeleteCustomWebhook` operationId).
DeleteCustomWebhook(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCustomWebhook Fetch a single custom webhooks
//
// Get all details of a single custom webhooks.
//
// Corresponds with GET /api/integrations/webhook/{id} (the `GetCustomWebhook` operationId).
GetCustomWebhook(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DisengageKillswitch Deactivate / disengage the kill switch
//
// Deactivates / disengages the kill switch to allow experiment runs.<br/>Experiment runs that were not executed due to engaged / active kill switch will not be automatically executed, they need to be triggered again.
//
// Corresponds with DELETE /api/killswitch (the `DisengageKillswitch` operationId).
DisengageKillswitch(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetKillswitch Get the current status of the kill switch
//
// Determines the current status of the kill switch without changing it.
//
// Corresponds with GET /api/killswitch (the `GetKillswitch` operationId).
GetKillswitch(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// EngageKillswitch Activate / engage the kill switch
//
// Activates / engages the kill switch to cancel all experiments running at the moment and prevent execution of new experiments until the kill switch is disengaged / deactivated again.
//
// Corresponds with POST /api/killswitch (the `EngageKillswitch` operationId).
EngageKillswitch(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLicenseSummary Get license summary.
//
// Corresponds with GET /api/license (the `GetLicenseSummary` operationId).
GetLicenseSummary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetReport Get license report.
//
// Corresponds with GET /api/license/report (the `GetReport` operationId).
GetReport(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPreflightActionSummary Get all preflight actions.
//
// Corresponds with GET /api/preflight/actions (the `GetPreflightActionSummary` operationId).
GetPreflightActionSummary(ctx context.Context, params *GetPreflightActionSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAssociations Get all current associations.
//
// Corresponds with GET /api/properties/associations (the `GetAssociations` operationId).
GetAssociations(ctx context.Context, params *GetAssociationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertPropertyAssociationWithBody Create or update a property association
//
// Insert or update the property association. The `id` will be used to identify whether the schedule exists already and should be updated or newly inserted.
//
// Examples:
// - Assign the property `RESULT_COLOR` to all experiment designs:
// “`
// {
// "key": "RESULT_COLOR",
// "editableInExecution": false,
// "required": true
// }
// “`
// - Assign the property `RESULT_COLOR` to the design ADM-15:
// “`
// {
// "key": "RESULT_COLOR",
// "editableInExecution": false,
// "experimentKey": "ADM-15",
// "required": true
// }
// “`
// - Assign the property `RESULT_COLOR` that can be edited in each experiment execution of the experiment with key `ADM-15`:
// “`
// {
// "key": "RESULT_COLOR",
// "editableInExecution": true,
// "experimentKey": "ADM-15",
// "required": false
// }
// “`
// - Assign the property `RESULT_COLOR` to a service `0a2d67b9-1d5a-4179-8c32-e5296be1f56f`:
// “`
// {
// "key": "RESULT_COLOR",
// "associationType": "SERVICE",
// "serviceId": "0a2d67b9-1d5a-4179-8c32-e5296be1f56f",
// "required": false
// }
// “`
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/properties/associations (the `UpsertPropertyAssociation` operationId).
UpsertPropertyAssociationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertPropertyAssociation Create or update a property association
//
// Insert or update the property association. The `id` will be used to identify whether the schedule exists already and should be updated or newly inserted.
//
// Examples:
// - Assign the property `RESULT_COLOR` to all experiment designs:
// “`
// {
// "key": "RESULT_COLOR",
// "editableInExecution": false,
// "required": true
// }
// “`
// - Assign the property `RESULT_COLOR` to the design ADM-15:
// “`
// {
// "key": "RESULT_COLOR",
// "editableInExecution": false,
// "experimentKey": "ADM-15",
// "required": true
// }
// “`
// - Assign the property `RESULT_COLOR` that can be edited in each experiment execution of the experiment with key `ADM-15`:
// “`
// {
// "key": "RESULT_COLOR",
// "editableInExecution": true,
// "experimentKey": "ADM-15",
// "required": false
// }
// “`
// - Assign the property `RESULT_COLOR` to a service `0a2d67b9-1d5a-4179-8c32-e5296be1f56f`:
// “`
// {
// "key": "RESULT_COLOR",
// "associationType": "SERVICE",
// "serviceId": "0a2d67b9-1d5a-4179-8c32-e5296be1f56f",
// "required": false
// }
// “`
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/properties/associations (the `UpsertPropertyAssociation` operationId).
UpsertPropertyAssociation(ctx context.Context, body UpsertPropertyAssociationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePropertyAssociation Remove an existing property association.
//
// Corresponds with DELETE /api/properties/associations/{id} (the `DeletePropertyAssociation` operationId).
DeletePropertyAssociation(ctx context.Context, id openapi_types.UUID, params *DeletePropertyAssociationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPropertyDefinition1 Get property association by a given id.
//
// Corresponds with GET /api/properties/associations/{id} (the `GetPropertyDefinition1` operationId).
GetPropertyDefinition1(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPropertyDefinitions performs a GET /api/properties/definitions (the `GetPropertyDefinitions` operationId) request.
GetPropertyDefinitions(ctx context.Context, params *GetPropertyDefinitionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertPropertyDefinitionWithBody Create or update property definition
//
// Insert or update the property definition specified by the given `key`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/properties/definitions (the `UpsertPropertyDefinition` operationId).
UpsertPropertyDefinitionWithBody(ctx context.Context, params *UpsertPropertyDefinitionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertPropertyDefinition Create or update property definition
//
// Insert or update the property definition specified by the given `key`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/properties/definitions (the `UpsertPropertyDefinition` operationId).
UpsertPropertyDefinition(ctx context.Context, params *UpsertPropertyDefinitionParams, body UpsertPropertyDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePropertyDefinition Remove an existing property definition
//
// Corresponds with DELETE /api/properties/definitions/{key} (the `DeletePropertyDefinition` operationId).
DeletePropertyDefinition(ctx context.Context, key string, params *DeletePropertyDefinitionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPropertyDefinition Get property definition for a specific property definition key.
//
// Corresponds with GET /api/properties/definitions/{key} (the `GetPropertyDefinition` operationId).
GetPropertyDefinition(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEnvironmentCountsWithBody Get environment counts over time
//
// Returns the number of environments in the tenant aggregated into time buckets.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/reports/environments (the `GetEnvironmentCounts` operationId).
GetEnvironmentCountsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEnvironmentCounts Get environment counts over time
//
// Returns the number of environments in the tenant aggregated into time buckets.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/reports/environments (the `GetEnvironmentCounts` operationId).
GetEnvironmentCounts(ctx context.Context, body GetEnvironmentCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExperimentCreationsWithBody Get experiment creation counts over time
//
// Returns experiment creation counts aggregated into time buckets, optionally grouped by creation method or origin.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/reports/experiments/created (the `GetExperimentCreations` operationId).
GetExperimentCreationsWithBody(ctx context.Context, params *GetExperimentCreationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExperimentCreations Get experiment creation counts over time
//
// Returns experiment creation counts aggregated into time buckets, optionally grouped by creation method or origin.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/reports/experiments/created (the `GetExperimentCreations` operationId).
GetExperimentCreations(ctx context.Context, params *GetExperimentCreationsParams, body GetExperimentCreationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExperimentExecutionsWithBody Get experiment execution counts over time
//
// Returns experiment execution counts aggregated into time buckets, optionally grouped by state, trigger, or attack action.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/reports/experiments/executed (the `GetExperimentExecutions` operationId).
GetExperimentExecutionsWithBody(ctx context.Context, params *GetExperimentExecutionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExperimentExecutions Get experiment execution counts over time
//
// Returns experiment execution counts aggregated into time buckets, optionally grouped by state, trigger, or attack action.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/reports/experiments/executed (the `GetExperimentExecutions` operationId).
GetExperimentExecutions(ctx context.Context, params *GetExperimentExecutionsParams, body GetExperimentExecutionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAverageRiskWithBody Get average service risk over time
//
// Returns the average risk across services aggregated into time buckets. Risk is reported as an integer 0-100.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/reports/services/average (the `GetAverageRisk` operationId).
GetAverageRiskWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAverageRisk Get average service risk over time
//
// Returns the average risk across services aggregated into time buckets. Risk is reported as an integer 0-100.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/reports/services/average (the `GetAverageRisk` operationId).
GetAverageRisk(ctx context.Context, body GetAverageRiskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRiskByCategoryWithBody Get average service risk grouped by category over time
//
// Returns the average risk per category (key from the categoryRisks map) across services, aggregated into time buckets.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/reports/services/by-category (the `GetRiskByCategory` operationId).
GetRiskByCategoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRiskByCategory Get average service risk grouped by category over time
//
// Returns the average risk per category (key from the categoryRisks map) across services, aggregated into time buckets.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/reports/services/by-category (the `GetRiskByCategory` operationId).
GetRiskByCategory(ctx context.Context, body GetRiskByCategoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRiskDistributionWithBody Get service risk level distribution over time
//
// Returns the count of services in each risk level (LOW, MEDIUM, HIGH) aggregated into time buckets.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/reports/services/distribution (the `GetRiskDistribution` operationId).
GetRiskDistributionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRiskDistribution Get service risk level distribution over time
//
// Returns the count of services in each risk level (LOW, MEDIUM, HIGH) aggregated into time buckets.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/reports/services/distribution (the `GetRiskDistribution` operationId).
GetRiskDistribution(ctx context.Context, body GetRiskDistributionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTeamCountsWithBody Get team counts over time
//
// Returns the number of teams in the tenant aggregated into time buckets.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/reports/teams (the `GetTeamCounts` operationId).
GetTeamCountsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTeamCounts Get team counts over time
//
// Returns the number of teams in the tenant aggregated into time buckets.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/reports/teams (the `GetTeamCounts` operationId).
GetTeamCounts(ctx context.Context, body GetTeamCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUserCountsWithBody Get user counts over time
//
// Returns the number of users in the tenant aggregated into time buckets.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/reports/users (the `GetUserCounts` operationId).
GetUserCountsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUserCounts Get user counts over time
//
// Returns the number of users in the tenant aggregated into time buckets.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/reports/users (the `GetUserCounts` operationId).
GetUserCounts(ctx context.Context, body GetUserCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetServiceList Fetch a list of services
//
// Corresponds with GET /api/services (the `GetServiceList` operationId).
GetServiceList(ctx context.Context, params *GetServiceListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertServiceWithBody Create or update service
//
// Insert or update the service specified by the given `id`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/services (the `UpsertService` operationId).
UpsertServiceWithBody(ctx context.Context, params *UpsertServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertService Create or update service
//
// Insert or update the service specified by the given `id`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/services (the `UpsertService` operationId).
UpsertService(ctx context.Context, params *UpsertServiceParams, body UpsertServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProfiles Fetch a list of service profiles
//
// Corresponds with GET /api/services/profiles (the `GetProfiles` operationId).
GetProfiles(ctx context.Context, params *GetProfilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertProfileWithBody Create or update service profile
//
// Insert or update the service profile specified by the given `id`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/services/profiles (the `UpsertProfile` operationId).
UpsertProfileWithBody(ctx context.Context, params *UpsertProfileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertProfile Create or update service profile
//
// Insert or update the service profile specified by the given `id`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/services/profiles (the `UpsertProfile` operationId).
UpsertProfile(ctx context.Context, params *UpsertProfileParams, body UpsertProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteProfile Delete an existing service profile
//
// Corresponds with DELETE /api/services/profiles/{id} (the `DeleteProfile` operationId).
DeleteProfile(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProfile Get service profile by id.
//
// Corresponds with GET /api/services/profiles/{id} (the `GetProfile` operationId).
GetProfile(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteService Delete an existing service
//
// Corresponds with DELETE /api/services/{id} (the `DeleteService` operationId).
DeleteService(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetService Get service by id.
//
// Corresponds with GET /api/services/{id} (the `GetService` operationId).
GetService(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetServiceExperiments Get experiments associated to an service.
//
// Corresponds with GET /api/services/{id}/experiments (the `GetServiceExperiments` operationId).
GetServiceExperiments(ctx context.Context, id openapi_types.UUID, params *GetServiceExperimentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnlinkCustomExperiment Remove a linked custom experiment from a service.
//
// Corresponds with DELETE /api/services/{id}/experiments/custom (the `UnlinkCustomExperiment` operationId).
UnlinkCustomExperiment(ctx context.Context, id openapi_types.UUID, params *UnlinkCustomExperimentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LinkCustomExperimentWithBody Link a custom experiment to a service.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/services/{id}/experiments/custom (the `LinkCustomExperiment` operationId).
LinkCustomExperimentWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LinkCustomExperiment Link a custom experiment to a service.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/services/{id}/experiments/custom (the `LinkCustomExperiment` operationId).
LinkCustomExperiment(ctx context.Context, id openapi_types.UUID, body LinkCustomExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertProvidedExperimentWithBody Create or update a provided experiment.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/services/{id}/experiments/provided (the `UpsertProvidedExperiment` operationId).
UpsertProvidedExperimentWithBody(ctx context.Context, id openapi_types.UUID, params *UpsertProvidedExperimentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertProvidedExperiment Create or update a provided experiment.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/services/{id}/experiments/provided (the `UpsertProvidedExperiment` operationId).
UpsertProvidedExperiment(ctx context.Context, id openapi_types.UUID, params *UpsertProvidedExperimentParams, body UpsertProvidedExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRisk Get the risk score for a service
//
// Corresponds with GET /api/services/{id}/risk (the `GetRisk` operationId).
GetRisk(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetServiceVariables Get service variables
//
// Get all variables owned by the service.
//
// Corresponds with GET /api/services/{id}/variables (the `GetServiceVariables` operationId).
GetServiceVariables(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// MergeServiceVariablesWithBody Add / merge service variables
//
// All provided variables will be associated with the given service.<br/>If a variable key is already in use, its value is updated.<br/>If a variable is already associated but not provided, it continues to exist.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/services/{id}/variables (the `MergeServiceVariables` operationId).
MergeServiceVariablesWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// MergeServiceVariables Add / merge service variables
//
// All provided variables will be associated with the given service.<br/>If a variable key is already in use, its value is updated.<br/>If a variable is already associated but not provided, it continues to exist.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/services/{id}/variables (the `MergeServiceVariables` operationId).
MergeServiceVariables(ctx context.Context, id openapi_types.UUID, body MergeServiceVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetServiceVariablesWithBody Replace all service variables
//
// All provided variables will be associated with the given service and existing ones removed.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/services/{id}/variables (the `SetServiceVariables` operationId).
SetServiceVariablesWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetServiceVariables Replace all service variables
//
// All provided variables will be associated with the given service and existing ones removed.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/services/{id}/variables (the `SetServiceVariables` operationId).
SetServiceVariables(ctx context.Context, id openapi_types.UUID, body SetServiceVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTargetsStats Gather target statistics without any filters
//
// Corresponds with GET /api/target-stats (the `GetTargetsStats` operationId).
GetTargetsStats(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTargetsStats1WithBody Gather target statistics for a given predicate or query
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/target-stats (the `GetTargetsStats1` operationId).
GetTargetsStats1WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTargetsStats1 Gather target statistics for a given predicate or query
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/target-stats (the `GetTargetsStats1` operationId).
GetTargetsStats1(ctx context.Context, body GetTargetsStats1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTargets Get targets
//
// Get targets.
//
// Corresponds with GET /api/targets (the `GetTargets` operationId).
GetTargets(ctx context.Context, params *GetTargetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTargetAttributeKeys Get attribute key
//
// Get all available attribute keys for a specific target type in a given environment.
//
// Corresponds with GET /api/targets/attributes/keys (the `GetTargetAttributeKeys` operationId).
GetTargetAttributeKeys(ctx context.Context, params *GetTargetAttributeKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTargetAttributeValues Get attribute values
//
// Get all available attribute values for a specific attribute and target type in a given environment.
//
// Corresponds with GET /api/targets/attributes/values (the `GetTargetAttributeValues` operationId).
GetTargetAttributeValues(ctx context.Context, params *GetTargetAttributeValuesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTeams Fetch a list of all teams
//
// Get a list of all teams that exist.<br/> If used with a team-associated `accessToken` and `onlyAccessible` is set to `true` you only get the team of the `accessToken`.
//
// Corresponds with GET /api/teams (the `GetTeams` operationId).
GetTeams(ctx context.Context, params *GetTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertTeamWithBody Create or update a team
//
// Insert or update the team in Steadybit. The `key` will be used to identify whether the team exists already and should be updated or newly inserted. If a provided member's username or email is not yet known it will be skipped.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/teams (the `UpsertTeam` operationId).
UpsertTeamWithBody(ctx context.Context, params *UpsertTeamParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertTeam Create or update a team
//
// Insert or update the team in Steadybit. The `key` will be used to identify whether the team exists already and should be updated or newly inserted. If a provided member's username or email is not yet known it will be skipped.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/teams (the `UpsertTeam` operationId).
UpsertTeam(ctx context.Context, params *UpsertTeamParams, body UpsertTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTeam Delete team
//
// Remove the given team from the Steadybit platform. This will only work, if there are no experiments running at the moment.
//
// Corresponds with DELETE /api/teams/{key} (the `DeleteTeam` operationId).
DeleteTeam(ctx context.Context, key string, params *DeleteTeamParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTeam Fetch a single team
//
// Get all details of a single existing teams.
//
// Corresponds with GET /api/teams/{key} (the `GetTeam` operationId).
GetTeam(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTeamEnvironments Get all environments assigned to the team
//
// Get a list of members that are part of the specified team. The list contains the username, being a Steadybit user id, and the role in this particular team (owner or member).
//
// Corresponds with GET /api/teams/{key}/environments (the `GetTeamEnvironments` operationId).
GetTeamEnvironments(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetTeamEnvironmentsWithBody Update the environments of a specific team
//
// The allowed environments of the specified team will be updated with these provided. New environments will be added to the team, environments not provided in the request will be removed from the team.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/teams/{key}/environments (the `SetTeamEnvironments` operationId).
SetTeamEnvironmentsWithBody(ctx context.Context, key string, params *SetTeamEnvironmentsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetTeamEnvironments Update the environments of a specific team
//
// The allowed environments of the specified team will be updated with these provided. New environments will be added to the team, environments not provided in the request will be removed from the team.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/teams/{key}/environments (the `SetTeamEnvironments` operationId).
SetTeamEnvironments(ctx context.Context, key string, params *SetTeamEnvironmentsParams, body SetTeamEnvironmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddTeamEnvironmentsWithBody Add an allowed environment to a team
//
// The given environments will be added to the specified team.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/teams/{key}/environments/add (the `AddTeamEnvironments` operationId).
AddTeamEnvironmentsWithBody(ctx context.Context, key string, params *AddTeamEnvironmentsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddTeamEnvironments Add an allowed environment to a team
//
// The given environments will be added to the specified team.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/teams/{key}/environments/add (the `AddTeamEnvironments` operationId).
AddTeamEnvironments(ctx context.Context, key string, params *AddTeamEnvironmentsParams, body AddTeamEnvironmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveTeamEnvironmentsWithBody Remove allowed environment from a team
//
// The given environments will be removed from the specified team.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/teams/{key}/environments/remove (the `RemoveTeamEnvironments` operationId).
RemoveTeamEnvironmentsWithBody(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveTeamEnvironments Remove allowed environment from a team
//
// The given environments will be removed from the specified team.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/teams/{key}/environments/remove (the `RemoveTeamEnvironments` operationId).
RemoveTeamEnvironments(ctx context.Context, key string, body RemoveTeamEnvironmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTeamMembers Get all members being part of the team
//
// Get a list of members that are part of the specified team. The list contains the username, being a Steadybit user id, and the role in this particular team (owner or member).
//
// Corresponds with GET /api/teams/{key}/members (the `GetTeamMembers` operationId).
GetTeamMembers(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetTeamMembersWithBody Update the members of a specific team
//
// The members of the specified team will be updated with these provided. New team members will be added to the team, team members not provided in the request will be removed from the team.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/teams/{key}/members (the `SetTeamMembers` operationId).
SetTeamMembersWithBody(ctx context.Context, key string, params *SetTeamMembersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetTeamMembers Update the members of a specific team
//
// The members of the specified team will be updated with these provided. New team members will be added to the team, team members not provided in the request will be removed from the team.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/teams/{key}/members (the `SetTeamMembers` operationId).
SetTeamMembers(ctx context.Context, key string, params *SetTeamMembersParams, body SetTeamMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddTeamMembersWithBody Add team members to a team
//
// The given members will be added to the specified team.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/teams/{key}/members/add (the `AddTeamMembers` operationId).
AddTeamMembersWithBody(ctx context.Context, key string, params *AddTeamMembersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddTeamMembers Add team members to a team
//
// The given members will be added to the specified team.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/teams/{key}/members/add (the `AddTeamMembers` operationId).
AddTeamMembers(ctx context.Context, key string, params *AddTeamMembersParams, body AddTeamMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveTeamMembersWithBody Remove team members from a team
//
// The given members will be removed from the specified team. However, they are still able to login, view the content of the team and may still be member of another team.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/teams/{key}/members/remove (the `RemoveTeamMembers` operationId).
RemoveTeamMembersWithBody(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveTeamMembers Remove team members from a team
//
// The given members will be removed from the specified team. However, they are still able to login, view the content of the team and may still be member of another team.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/teams/{key}/members/remove (the `RemoveTeamMembers` operationId).
RemoveTeamMembers(ctx context.Context, key string, body RemoveTeamMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InviteUserWithBody Invite users to a tenant
//
// Invite users to a tenant. The invited users will receive an email with an invitation link to join the tenant.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/users/invite (the `InviteUser` operationId).
InviteUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// InviteUser Invite users to a tenant
//
// Invite users to a tenant. The invited users will receive an email with an invitation link to join the tenant.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/users/invite (the `InviteUser` operationId).
InviteUser(ctx context.Context, body InviteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AddExecutionPropertyValueWithBodyWithResponse ¶
func (c *ClientWithResponses) AddExecutionPropertyValueWithBodyWithResponse(ctx context.Context, id int64, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddExecutionPropertyValueResponse, error)
AddExecutionPropertyValueWithBodyWithResponse Add a single value to a list property of an experiment execution.
This operation will fail if the property identified by `key` is not a list property. Only properties with `editableInExecution` set to `true` can be modified.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/executions/{id}/properties/{key}/add (the `AddExecutionPropertyValue` operationId).
func (*ClientWithResponses) AddExecutionPropertyValueWithResponse ¶
func (c *ClientWithResponses) AddExecutionPropertyValueWithResponse(ctx context.Context, id int64, key string, body AddExecutionPropertyValueJSONRequestBody, reqEditors ...RequestEditorFn) (*AddExecutionPropertyValueResponse, error)
AddExecutionPropertyValueWithResponse Add a single value to a list property of an experiment execution.
This operation will fail if the property identified by `key` is not a list property. Only properties with `editableInExecution` set to `true` can be modified.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/executions/{id}/properties/{key}/add (the `AddExecutionPropertyValue` operationId).
func (*ClientWithResponses) AddTeamEnvironmentsWithBodyWithResponse ¶
func (c *ClientWithResponses) AddTeamEnvironmentsWithBodyWithResponse(ctx context.Context, key string, params *AddTeamEnvironmentsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTeamEnvironmentsResponse, error)
AddTeamEnvironmentsWithBodyWithResponse Add an allowed environment to a team
The given environments will be added to the specified team.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/teams/{key}/environments/add (the `AddTeamEnvironments` operationId).
func (*ClientWithResponses) AddTeamEnvironmentsWithResponse ¶
func (c *ClientWithResponses) AddTeamEnvironmentsWithResponse(ctx context.Context, key string, params *AddTeamEnvironmentsParams, body AddTeamEnvironmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTeamEnvironmentsResponse, error)
AddTeamEnvironmentsWithResponse Add an allowed environment to a team
The given environments will be added to the specified team.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/teams/{key}/environments/add (the `AddTeamEnvironments` operationId).
func (*ClientWithResponses) AddTeamMembersWithBodyWithResponse ¶
func (c *ClientWithResponses) AddTeamMembersWithBodyWithResponse(ctx context.Context, key string, params *AddTeamMembersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTeamMembersResponse, error)
AddTeamMembersWithBodyWithResponse Add team members to a team
The given members will be added to the specified team.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/teams/{key}/members/add (the `AddTeamMembers` operationId).
func (*ClientWithResponses) AddTeamMembersWithResponse ¶
func (c *ClientWithResponses) AddTeamMembersWithResponse(ctx context.Context, key string, params *AddTeamMembersParams, body AddTeamMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTeamMembersResponse, error)
AddTeamMembersWithResponse Add team members to a team
The given members will be added to the specified team.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/teams/{key}/members/add (the `AddTeamMembers` operationId).
func (*ClientWithResponses) CancelExperimentExecutionWithResponse ¶
func (c *ClientWithResponses) CancelExperimentExecutionWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*CancelExperimentExecutionResponse, error)
CancelExperimentExecutionWithResponse Cancel a running experiment execution of a single experiment
Cancels a currently running experiment execution to be stopped as soon as possible.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/executions/{id}/cancel (the `CancelExperimentExecution` operationId).
func (*ClientWithResponses) ConnectionCheckWithBodyWithResponse ¶
func (c *ClientWithResponses) ConnectionCheckWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectionCheckResponse, error)
ConnectionCheckWithBodyWithResponse Check a hub connection
Check if the given hub connection details point to a valid hub.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/hubs/connection-check (the `ConnectionCheck` operationId).
func (*ClientWithResponses) ConnectionCheckWithResponse ¶
func (c *ClientWithResponses) ConnectionCheckWithResponse(ctx context.Context, body ConnectionCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectionCheckResponse, error)
ConnectionCheckWithResponse Check a hub connection
Check if the given hub connection details point to a valid hub.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/hubs/connection-check (the `ConnectionCheck` operationId).
func (*ClientWithResponses) CreateAccessToken1WithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAccessToken1WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAccessToken1Response, error)
CreateAccessToken1WithBodyWithResponse Create an access token
Generate a new access token.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/access-tokens/v2 (the `CreateAccessToken1` operationId).
func (*ClientWithResponses) CreateAccessToken1WithResponse ¶
func (c *ClientWithResponses) CreateAccessToken1WithResponse(ctx context.Context, body CreateAccessToken1JSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAccessToken1Response, error)
CreateAccessToken1WithResponse Create an access token
Generate a new access token.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/access-tokens/v2 (the `CreateAccessToken1` operationId).
func (*ClientWithResponses) CreateAccessTokenWithBodyWithResponse
deprecated
func (c *ClientWithResponses) CreateAccessTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAccessTokenResponse, error)
CreateAccessTokenWithBodyWithResponse Add a access token
Deprecated, use v2 instead. Generate a new access token associated to. This access token can be used for e.g. creating new experiments and running experiments.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/access-tokens (the `CreateAccessToken` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreateAccessTokenWithResponse ¶
func (c *ClientWithResponses) CreateAccessTokenWithResponse(ctx context.Context, body CreateAccessTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAccessTokenResponse, error)
CreateAccessTokenWithResponse Add a access token
Deprecated, use v2 instead. Generate a new access token associated to. This access token can be used for e.g. creating new experiments and running experiments.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/access-tokens (the `CreateAccessToken` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) CreateExperimentByTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateExperimentByTemplateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *CreateExperimentByTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateExperimentByTemplateResponse, error)
CreateExperimentByTemplateWithBodyWithResponse Create an experiment based on an experiment template
Use the given experiment template id and the placeholder values to create or update the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/templates/{id}/experiment-create (the `CreateExperimentByTemplate` operationId).
func (*ClientWithResponses) CreateExperimentByTemplateWithResponse ¶
func (c *ClientWithResponses) CreateExperimentByTemplateWithResponse(ctx context.Context, id openapi_types.UUID, params *CreateExperimentByTemplateParams, body CreateExperimentByTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateExperimentByTemplateResponse, error)
CreateExperimentByTemplateWithResponse Create an experiment based on an experiment template
Use the given experiment template id and the placeholder values to create or update the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/templates/{id}/experiment-create (the `CreateExperimentByTemplate` operationId).
func (*ClientWithResponses) CreateLandscapeViewWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateLandscapeViewWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLandscapeViewResponse, error)
CreateLandscapeViewWithBodyWithResponse Create a saved landscape view
Create a new saved explorer landscape view for a team.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/explore/landscape/views (the `CreateLandscapeView` operationId).
func (*ClientWithResponses) CreateLandscapeViewWithResponse ¶
func (c *ClientWithResponses) CreateLandscapeViewWithResponse(ctx context.Context, body CreateLandscapeViewJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLandscapeViewResponse, error)
CreateLandscapeViewWithResponse Create a saved landscape view
Create a new saved explorer landscape view for a team.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/explore/landscape/views (the `CreateLandscapeView` operationId).
func (*ClientWithResponses) CreateOrUpdateExperimentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateOrUpdateExperimentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrUpdateExperimentResponse, error)
CreateOrUpdateExperimentWithBodyWithResponse Create or update an experiment
Insert or update the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments (the `CreateOrUpdateExperiment` operationId).
func (*ClientWithResponses) CreateOrUpdateExperimentWithResponse ¶
func (c *ClientWithResponses) CreateOrUpdateExperimentWithResponse(ctx context.Context, body CreateOrUpdateExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrUpdateExperimentResponse, error)
CreateOrUpdateExperimentWithResponse Create or update an experiment
Insert or update the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments (the `CreateOrUpdateExperiment` operationId).
func (*ClientWithResponses) DeleteAccessToken1WithResponse ¶
func (c *ClientWithResponses) DeleteAccessToken1WithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAccessToken1Response, error)
DeleteAccessToken1WithResponse Delete access token
Remove the access token. After that, the access token can't be used anymore.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/access-tokens/v2/{id} (the `DeleteAccessToken1` operationId).
func (*ClientWithResponses) DeleteAccessTokenWithResponse
deprecated
func (c *ClientWithResponses) DeleteAccessTokenWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAccessTokenResponse, error)
DeleteAccessTokenWithResponse Delete access token
Remove the access token associated. After that, the access token can't be used anymore for e.g. creating a new experiment or running an experiment.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/access-tokens/{id} (the `DeleteAccessToken` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) DeleteCustomWebhookWithResponse ¶
func (c *ClientWithResponses) DeleteCustomWebhookWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCustomWebhookResponse, error)
DeleteCustomWebhookWithResponse Delete custom webhook
Remove the given custom webhook from the Steadybit platform.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/integrations/webhook/{id} (the `DeleteCustomWebhook` operationId).
func (*ClientWithResponses) DeleteEnvironmentWithResponse ¶
func (c *ClientWithResponses) DeleteEnvironmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error)
DeleteEnvironmentWithResponse Delete environment
Remove the given environment from the Steadybit platform.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/environments/{id} (the `DeleteEnvironment` operationId).
func (*ClientWithResponses) DeleteExperimentTemplateWithResponse ¶
func (c *ClientWithResponses) DeleteExperimentTemplateWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteExperimentTemplateResponse, error)
DeleteExperimentTemplateWithResponse Delete experiment template
Remove the given experiment template from the Steadybit platform. If this template is used in a service profile, it will be removed from the profile and all provided service experiments will get deleted.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/experiments/templates/{id} (the `DeleteExperimentTemplate` operationId).
func (*ClientWithResponses) DeleteExperimentWithResponse ¶
func (c *ClientWithResponses) DeleteExperimentWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*DeleteExperimentResponse, error)
DeleteExperimentWithResponse Delete experiment
Remove the given experiment. The associated number is still reserved afterwards and will not be reused.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/experiments/{key} (the `DeleteExperiment` operationId).
func (*ClientWithResponses) DeleteHubWithResponse ¶
func (c *ClientWithResponses) DeleteHubWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteHubParams, reqEditors ...RequestEditorFn) (*DeleteHubResponse, error)
DeleteHubWithResponse Delete a hub
Remove the given hub.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/hubs/{id} (the `DeleteHub` operationId).
func (*ClientWithResponses) DeleteLandscapeViewWithResponse ¶
func (c *ClientWithResponses) DeleteLandscapeViewWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteLandscapeViewResponse, error)
DeleteLandscapeViewWithResponse Delete a saved landscape view
Remove the given saved explorer landscape view from the Steadybit platform.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/explore/landscape/views/{id} (the `DeleteLandscapeView` operationId).
func (*ClientWithResponses) DeletePreflightActionIntegrationWithResponse ¶
func (c *ClientWithResponses) DeletePreflightActionIntegrationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeletePreflightActionIntegrationResponse, error)
DeletePreflightActionIntegrationWithResponse Delete preflight action integration
Remove the given preflight action integration from the Steadybit platform.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/integrations/preflight-action/{id} (the `DeletePreflightActionIntegration` operationId).
func (*ClientWithResponses) DeletePreflightWebhookWithResponse ¶
func (c *ClientWithResponses) DeletePreflightWebhookWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeletePreflightWebhookResponse, error)
DeletePreflightWebhookWithResponse Delete preflight webhook
Remove the given preflight webhook from the Steadybit platform.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/integrations/preflight/{id} (the `DeletePreflightWebhook` operationId).
func (*ClientWithResponses) DeleteProfileWithResponse ¶
func (c *ClientWithResponses) DeleteProfileWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteProfileResponse, error)
DeleteProfileWithResponse Delete an existing service profile
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/services/profiles/{id} (the `DeleteProfile` operationId).
func (*ClientWithResponses) DeletePropertyAssociationWithResponse ¶
func (c *ClientWithResponses) DeletePropertyAssociationWithResponse(ctx context.Context, id openapi_types.UUID, params *DeletePropertyAssociationParams, reqEditors ...RequestEditorFn) (*DeletePropertyAssociationResponse, error)
DeletePropertyAssociationWithResponse Remove an existing property association.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/properties/associations/{id} (the `DeletePropertyAssociation` operationId).
func (*ClientWithResponses) DeletePropertyDefinitionWithResponse ¶
func (c *ClientWithResponses) DeletePropertyDefinitionWithResponse(ctx context.Context, key string, params *DeletePropertyDefinitionParams, reqEditors ...RequestEditorFn) (*DeletePropertyDefinitionResponse, error)
DeletePropertyDefinitionWithResponse Remove an existing property definition
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/properties/definitions/{key} (the `DeletePropertyDefinition` operationId).
func (*ClientWithResponses) DeleteServiceWithResponse ¶
func (c *ClientWithResponses) DeleteServiceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteServiceResponse, error)
DeleteServiceWithResponse Delete an existing service
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/services/{id} (the `DeleteService` operationId).
func (*ClientWithResponses) DeleteSlackIntegrationWithResponse ¶
func (c *ClientWithResponses) DeleteSlackIntegrationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteSlackIntegrationResponse, error)
DeleteSlackIntegrationWithResponse Delete slack integration
Remove the given slack integration from the Steadybit platform.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/integrations/slack/{id} (the `DeleteSlackIntegration` operationId).
func (*ClientWithResponses) DeleteTeamWithResponse ¶
func (c *ClientWithResponses) DeleteTeamWithResponse(ctx context.Context, key string, params *DeleteTeamParams, reqEditors ...RequestEditorFn) (*DeleteTeamResponse, error)
DeleteTeamWithResponse Delete team
Remove the given team from the Steadybit platform. This will only work, if there are no experiments running at the moment.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/teams/{key} (the `DeleteTeam` operationId).
func (*ClientWithResponses) DisengageKillswitchWithResponse ¶
func (c *ClientWithResponses) DisengageKillswitchWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DisengageKillswitchResponse, error)
DisengageKillswitchWithResponse Deactivate / disengage the kill switch
Deactivates / disengages the kill switch to allow experiment runs.<br/>Experiment runs that were not executed due to engaged / active kill switch will not be automatically executed, they need to be triggered again.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/killswitch (the `DisengageKillswitch` operationId).
func (*ClientWithResponses) EngageKillswitchWithResponse ¶
func (c *ClientWithResponses) EngageKillswitchWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EngageKillswitchResponse, error)
EngageKillswitchWithResponse Activate / engage the kill switch
Activates / engages the kill switch to cancel all experiments running at the moment and prevent execution of new experiments until the kill switch is disengaged / deactivated again.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/killswitch (the `EngageKillswitch` operationId).
func (*ClientWithResponses) ExecuteExperimentWithBodyWithResponse ¶
func (c *ClientWithResponses) ExecuteExperimentWithBodyWithResponse(ctx context.Context, key string, params *ExecuteExperimentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecuteExperimentResponse, error)
ExecuteExperimentWithBodyWithResponse Execute an experiment
Trigger execution of a single experiment specified by `key`. The body is optional and allows to specify overrides and custom properties for the experiment execution.
Examples:
- Override environment from the experiment for a single run:
```
{
"environment": "Shop Stage"
}
```
- Override the variables for a single execution:
```
{
"variables": {
"httpEndpoint": "http://dev.shop.products.internal"
}
}
```
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/{key}/execute (the `ExecuteExperiment` operationId).
func (*ClientWithResponses) ExecuteExperimentWithResponse ¶
func (c *ClientWithResponses) ExecuteExperimentWithResponse(ctx context.Context, key string, params *ExecuteExperimentParams, body ExecuteExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecuteExperimentResponse, error)
ExecuteExperimentWithResponse Execute an experiment
Trigger execution of a single experiment specified by `key`. The body is optional and allows to specify overrides and custom properties for the experiment execution.
Examples:
- Override environment from the experiment for a single run:
```
{
"environment": "Shop Stage"
}
```
- Override the variables for a single execution:
```
{
"variables": {
"httpEndpoint": "http://dev.shop.products.internal"
}
}
```
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/{key}/execute (the `ExecuteExperiment` operationId).
func (*ClientWithResponses) FindAllActionsWithResponse ¶
func (c *ClientWithResponses) FindAllActionsWithResponse(ctx context.Context, params *FindAllActionsParams, reqEditors ...RequestEditorFn) (*FindAllActionsResponse, error)
FindAllActionsWithResponse Get all actions.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/actions (the `FindAllActions` operationId).
func (*ClientWithResponses) FindWithResponse ¶
func (c *ClientWithResponses) FindWithResponse(ctx context.Context, params *FindParams, reqEditors ...RequestEditorFn) (*FindResponse, error)
FindWithResponse Get all audit log entries
Retrieve all audit logs in the given time-frame.<br/>This endpoint requires an admin-token and can't be used with a team-based token.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/audit-log (the `Find` operationId).
func (*ClientWithResponses) ForwardToPlatformWithResponse ¶
func (c *ClientWithResponses) ForwardToPlatformWithResponse(ctx context.Context, params *ForwardToPlatformParams, reqEditors ...RequestEditorFn) (*ForwardToPlatformResponse, error)
ForwardToPlatformWithResponse Forward to Steadybit platform to either create an experiment associated to the `tag` or forward to the experiments linked already to the `tag`
This endpoint can be used as a link for the badge of the `/api/badges/linked-badge.svg` API to either create a new experiment or show the linked experiments in Steadybit. This will help to link it correctly e.g. in your CMS-systems.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/badges/link (the `ForwardToPlatform` operationId).
func (*ClientWithResponses) GetAccessTokens1WithResponse ¶
func (c *ClientWithResponses) GetAccessTokens1WithResponse(ctx context.Context, params *GetAccessTokens1Params, reqEditors ...RequestEditorFn) (*GetAccessTokens1Response, error)
GetAccessTokens1WithResponse Get access token list
Get a list of all access tokens. The access token itself is abbreviated for security reasons.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/access-tokens/v2 (the `GetAccessTokens1` operationId).
func (*ClientWithResponses) GetAccessTokensWithResponse
deprecated
func (c *ClientWithResponses) GetAccessTokensWithResponse(ctx context.Context, params *GetAccessTokensParams, reqEditors ...RequestEditorFn) (*GetAccessTokensResponse, error)
GetAccessTokensWithResponse Get access token list
Deprecated, use v2 instead. Get a list of all access tokens. The access token itself is abbreviated for security reasons. Access tokens with v2 features are not returned, as they can not be represented cleanly in the old format.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/access-tokens (the `GetAccessTokens` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetActionWithResponse ¶
func (c *ClientWithResponses) GetActionWithResponse(ctx context.Context, actionId string, reqEditors ...RequestEditorFn) (*GetActionResponse, error)
GetActionWithResponse Fetch a single action description
Get action including their parameters.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/actions/{actionId} (the `GetAction` operationId).
func (*ClientWithResponses) GetAllSchedulesV2WithResponse ¶
func (c *ClientWithResponses) GetAllSchedulesV2WithResponse(ctx context.Context, params *GetAllSchedulesV2Params, reqEditors ...RequestEditorFn) (*GetAllSchedulesV2Response, error)
GetAllSchedulesV2WithResponse Get all current experiment schedule configurations
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/experiments/schedules/v2 (the `GetAllSchedulesV2` operationId).
func (*ClientWithResponses) GetArtifactWithResponse ¶
func (c *ClientWithResponses) GetArtifactWithResponse(ctx context.Context, id int64, targetExecutionId string, artifactId string, reqEditors ...RequestEditorFn) (*GetArtifactResponse, error)
GetArtifactWithResponse performs a GET /api/experiments/executions/{id}/artifacts/{targetExecutionId}/{artifactId} (the `GetArtifact` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetAssociationsWithResponse ¶
func (c *ClientWithResponses) GetAssociationsWithResponse(ctx context.Context, params *GetAssociationsParams, reqEditors ...RequestEditorFn) (*GetAssociationsResponse, error)
GetAssociationsWithResponse Get all current associations.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/properties/associations (the `GetAssociations` operationId).
func (*ClientWithResponses) GetAverageRiskWithBodyWithResponse ¶
func (c *ClientWithResponses) GetAverageRiskWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetAverageRiskResponse, error)
GetAverageRiskWithBodyWithResponse Get average service risk over time
Returns the average risk across services aggregated into time buckets. Risk is reported as an integer 0-100.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/reports/services/average (the `GetAverageRisk` operationId).
func (*ClientWithResponses) GetAverageRiskWithResponse ¶
func (c *ClientWithResponses) GetAverageRiskWithResponse(ctx context.Context, body GetAverageRiskJSONRequestBody, reqEditors ...RequestEditorFn) (*GetAverageRiskResponse, error)
GetAverageRiskWithResponse Get average service risk over time
Returns the average risk across services aggregated into time buckets. Risk is reported as an integer 0-100.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/reports/services/average (the `GetAverageRisk` operationId).
func (*ClientWithResponses) GetCustomWebhookWithResponse ¶
func (c *ClientWithResponses) GetCustomWebhookWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetCustomWebhookResponse, error)
GetCustomWebhookWithResponse Fetch a single custom webhooks
Get all details of a single custom webhooks.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/integrations/webhook/{id} (the `GetCustomWebhook` operationId).
func (*ClientWithResponses) GetCustomWebhooksWithResponse ¶
func (c *ClientWithResponses) GetCustomWebhooksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCustomWebhooksResponse, error)
GetCustomWebhooksWithResponse Fetch a list of custom webhooks
Get a list of all existing custom webhooks.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/integrations/webhook (the `GetCustomWebhooks` operationId).
func (*ClientWithResponses) GetEnvironmentCountsWithBodyWithResponse ¶
func (c *ClientWithResponses) GetEnvironmentCountsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetEnvironmentCountsResponse, error)
GetEnvironmentCountsWithBodyWithResponse Get environment counts over time
Returns the number of environments in the tenant aggregated into time buckets.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/reports/environments (the `GetEnvironmentCounts` operationId).
func (*ClientWithResponses) GetEnvironmentCountsWithResponse ¶
func (c *ClientWithResponses) GetEnvironmentCountsWithResponse(ctx context.Context, body GetEnvironmentCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetEnvironmentCountsResponse, error)
GetEnvironmentCountsWithResponse Get environment counts over time
Returns the number of environments in the tenant aggregated into time buckets.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/reports/environments (the `GetEnvironmentCounts` operationId).
func (*ClientWithResponses) GetEnvironmentVariablesWithResponse ¶
func (c *ClientWithResponses) GetEnvironmentVariablesWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnvironmentVariablesResponse, error)
GetEnvironmentVariablesWithResponse Get environment variables
Get all environment variables associated to a single environment.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/environments/{id}/variables (the `GetEnvironmentVariables` operationId).
func (*ClientWithResponses) GetEnvironmentWithResponse ¶
func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)
GetEnvironmentWithResponse Fetch a single environment
Get all details of a single existing environment.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/environments/{id} (the `GetEnvironment` operationId).
func (*ClientWithResponses) GetEnvironmentsWithResponse ¶
func (c *ClientWithResponses) GetEnvironmentsWithResponse(ctx context.Context, params *GetEnvironmentsParams, reqEditors ...RequestEditorFn) (*GetEnvironmentsResponse, error)
GetEnvironmentsWithResponse Fetch a list of all environments
Get a list of all environments that exist.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/environments (the `GetEnvironments` operationId).
func (*ClientWithResponses) GetExperimentBadgeWithResponse ¶
func (c *ClientWithResponses) GetExperimentBadgeWithResponse(ctx context.Context, key string, params *GetExperimentBadgeParams, reqEditors ...RequestEditorFn) (*GetExperimentBadgeResponse, error)
GetExperimentBadgeWithResponse Get experiment run status as SVG image
Get the status of the latest experiment run of the associated experiment as SVG to integrate it nicely e.g. into your CMS-systems.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/experiments/{key}/badge.svg (the `GetExperimentBadge` operationId).
func (*ClientWithResponses) GetExperimentCreationsWithBodyWithResponse ¶
func (c *ClientWithResponses) GetExperimentCreationsWithBodyWithResponse(ctx context.Context, params *GetExperimentCreationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetExperimentCreationsResponse, error)
GetExperimentCreationsWithBodyWithResponse Get experiment creation counts over time
Returns experiment creation counts aggregated into time buckets, optionally grouped by creation method or origin.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/reports/experiments/created (the `GetExperimentCreations` operationId).
func (*ClientWithResponses) GetExperimentCreationsWithResponse ¶
func (c *ClientWithResponses) GetExperimentCreationsWithResponse(ctx context.Context, params *GetExperimentCreationsParams, body GetExperimentCreationsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetExperimentCreationsResponse, error)
GetExperimentCreationsWithResponse Get experiment creation counts over time
Returns experiment creation counts aggregated into time buckets, optionally grouped by creation method or origin.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/reports/experiments/created (the `GetExperimentCreations` operationId).
func (*ClientWithResponses) GetExperimentExecutionWithResponse ¶
func (c *ClientWithResponses) GetExperimentExecutionWithResponse(ctx context.Context, id int64, params *GetExperimentExecutionParams, reqEditors ...RequestEditorFn) (*GetExperimentExecutionResponse, error)
GetExperimentExecutionWithResponse Fetch a single experiment executions of a single experiment
Get a single experiment execution that was performed for a specific experiment.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/experiments/executions/{id} (the `GetExperimentExecution` operationId).
func (*ClientWithResponses) GetExperimentExecutions1WithResponse
deprecated
func (c *ClientWithResponses) GetExperimentExecutions1WithResponse(ctx context.Context, params *GetExperimentExecutions1Params, reqEditors ...RequestEditorFn) (*GetExperimentExecutions1Response, error)
GetExperimentExecutions1WithResponse Fetch a list of all experiment executions
Get a list of all experiment executions that exist.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/experiments/executions (the `GetExperimentExecutions1` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) GetExperimentExecutions2WithBodyWithResponse ¶
func (c *ClientWithResponses) GetExperimentExecutions2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetExperimentExecutions2Response, error)
GetExperimentExecutions2WithBodyWithResponse Fetch a list of experiment executions
Get list of experiment executions given a set of filters. The result is sorted by creation date in descending order. The result is paged with a page size of 50.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/executions (the `GetExperimentExecutions2` operationId).
func (*ClientWithResponses) GetExperimentExecutions2WithResponse ¶
func (c *ClientWithResponses) GetExperimentExecutions2WithResponse(ctx context.Context, body GetExperimentExecutions2JSONRequestBody, reqEditors ...RequestEditorFn) (*GetExperimentExecutions2Response, error)
GetExperimentExecutions2WithResponse Fetch a list of experiment executions
Get list of experiment executions given a set of filters. The result is sorted by creation date in descending order. The result is paged with a page size of 50.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/executions (the `GetExperimentExecutions2` operationId).
func (*ClientWithResponses) GetExperimentExecutions3WithResponse ¶
func (c *ClientWithResponses) GetExperimentExecutions3WithResponse(ctx context.Context, key string, params *GetExperimentExecutions3Params, reqEditors ...RequestEditorFn) (*GetExperimentExecutions3Response, error)
GetExperimentExecutions3WithResponse Fetch a list of all experiment executions of a single experiment
Get a list of all experiment executions that were performed for a specific experiment.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/experiments/{key}/executions (the `GetExperimentExecutions3` operationId).
func (*ClientWithResponses) GetExperimentExecutionsWithBodyWithResponse ¶
func (c *ClientWithResponses) GetExperimentExecutionsWithBodyWithResponse(ctx context.Context, params *GetExperimentExecutionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetExperimentExecutionsResponse, error)
GetExperimentExecutionsWithBodyWithResponse Get experiment execution counts over time
Returns experiment execution counts aggregated into time buckets, optionally grouped by state, trigger, or attack action.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/reports/experiments/executed (the `GetExperimentExecutions` operationId).
func (*ClientWithResponses) GetExperimentExecutionsWithResponse ¶
func (c *ClientWithResponses) GetExperimentExecutionsWithResponse(ctx context.Context, params *GetExperimentExecutionsParams, body GetExperimentExecutionsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetExperimentExecutionsResponse, error)
GetExperimentExecutionsWithResponse Get experiment execution counts over time
Returns experiment execution counts aggregated into time buckets, optionally grouped by state, trigger, or attack action.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/reports/experiments/executed (the `GetExperimentExecutions` operationId).
func (*ClientWithResponses) GetExperimentTemplateWithResponse ¶
func (c *ClientWithResponses) GetExperimentTemplateWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetExperimentTemplateResponse, error)
GetExperimentTemplateWithResponse Fetch a single experiment template
Get all details of a single existing experiment template.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/experiments/templates/{id} (the `GetExperimentTemplate` operationId).
func (*ClientWithResponses) GetExperimentTemplatesWithResponse ¶
func (c *ClientWithResponses) GetExperimentTemplatesWithResponse(ctx context.Context, params *GetExperimentTemplatesParams, reqEditors ...RequestEditorFn) (*GetExperimentTemplatesResponse, error)
GetExperimentTemplatesWithResponse Fetch a list of all templates
Get a list of all templates that exist.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/experiments/templates (the `GetExperimentTemplates` operationId).
func (*ClientWithResponses) GetExperimentWithResponse ¶
func (c *ClientWithResponses) GetExperimentWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetExperimentResponse, error)
GetExperimentWithResponse Fetch a single experiment
Get all details of a single existing experiment.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/experiments/{key} (the `GetExperiment` operationId).
func (*ClientWithResponses) GetExperimentsWithResponse ¶
func (c *ClientWithResponses) GetExperimentsWithResponse(ctx context.Context, params *GetExperimentsParams, reqEditors ...RequestEditorFn) (*GetExperimentsResponse, error)
GetExperimentsWithResponse Fetch a list of all experiments
Get a list of all experiments that exist.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/experiments (the `GetExperiments` operationId).
func (*ClientWithResponses) GetHubByIdWithResponse ¶
func (c *ClientWithResponses) GetHubByIdWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetHubByIdResponse, error)
GetHubByIdWithResponse Fetch a single hub
Get all details of a single hub.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/hubs/{id} (the `GetHubById` operationId).
func (*ClientWithResponses) GetHubsWithResponse ¶
func (c *ClientWithResponses) GetHubsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHubsResponse, error)
GetHubsWithResponse Fetch a list of all hubs
Get a list of all hubs that are currently connected.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/hubs (the `GetHubs` operationId).
func (*ClientWithResponses) GetKillswitchWithResponse ¶
func (c *ClientWithResponses) GetKillswitchWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKillswitchResponse, error)
GetKillswitchWithResponse Get the current status of the kill switch
Determines the current status of the kill switch without changing it.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/killswitch (the `GetKillswitch` operationId).
func (*ClientWithResponses) GetLandscapeViewWithResponse ¶
func (c *ClientWithResponses) GetLandscapeViewWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeViewResponse, error)
GetLandscapeViewWithResponse Fetch a single saved landscape view
Get all details of a single saved explorer landscape view.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/explore/landscape/views/{id} (the `GetLandscapeView` operationId).
func (*ClientWithResponses) GetLandscapeViewsWithResponse ¶
func (c *ClientWithResponses) GetLandscapeViewsWithResponse(ctx context.Context, params *GetLandscapeViewsParams, reqEditors ...RequestEditorFn) (*GetLandscapeViewsResponse, error)
GetLandscapeViewsWithResponse Fetch all saved landscape views of a team
Get a list of all saved explorer landscape views that belong to the given team.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/explore/landscape/views (the `GetLandscapeViews` operationId).
func (*ClientWithResponses) GetLicenseSummaryWithResponse ¶
func (c *ClientWithResponses) GetLicenseSummaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLicenseSummaryResponse, error)
GetLicenseSummaryWithResponse Get license summary.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/license (the `GetLicenseSummary` operationId).
func (*ClientWithResponses) GetLinkedBadgeWithResponse ¶
func (c *ClientWithResponses) GetLinkedBadgeWithResponse(ctx context.Context, params *GetLinkedBadgeParams, reqEditors ...RequestEditorFn) (*GetLinkedBadgeResponse, error)
GetLinkedBadgeWithResponse Get badge for create experiment or run status as SVG image
Creates an image badge that is either for creating a new experiment linked to an `externalReference` or - if an experiment with the given `externalReference` already exists - a badge showing the run status of the experiment. The badge is return as SVG to integrate it nicely e.g. into your CMS-systems. You can use the `/api/badges/link` endpoint to link it appropriately
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/badges/linked-badge.svg (the `GetLinkedBadge` operationId).
func (*ClientWithResponses) GetPreflightActionIntegrationWithResponse ¶
func (c *ClientWithResponses) GetPreflightActionIntegrationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPreflightActionIntegrationResponse, error)
GetPreflightActionIntegrationWithResponse Fetch a single preflight preflight action integrations
Get all details of a single preflight preflight action integrations.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/integrations/preflight-action/{id} (the `GetPreflightActionIntegration` operationId).
func (*ClientWithResponses) GetPreflightActionIntegrationsWithResponse ¶
func (c *ClientWithResponses) GetPreflightActionIntegrationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPreflightActionIntegrationsResponse, error)
GetPreflightActionIntegrationsWithResponse Fetch a list of preflight action integrations
Get a list of all existing preflight preflight action integrations.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/integrations/preflight-action (the `GetPreflightActionIntegrations` operationId).
func (*ClientWithResponses) GetPreflightActionSummaryWithResponse ¶
func (c *ClientWithResponses) GetPreflightActionSummaryWithResponse(ctx context.Context, params *GetPreflightActionSummaryParams, reqEditors ...RequestEditorFn) (*GetPreflightActionSummaryResponse, error)
GetPreflightActionSummaryWithResponse Get all preflight actions.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/preflight/actions (the `GetPreflightActionSummary` operationId).
func (*ClientWithResponses) GetPreflightWebhookWithResponse ¶
func (c *ClientWithResponses) GetPreflightWebhookWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPreflightWebhookResponse, error)
GetPreflightWebhookWithResponse Fetch a single preflight webhooks
Get all details of a single preflight webhooks.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/integrations/preflight/{id} (the `GetPreflightWebhook` operationId).
func (*ClientWithResponses) GetPreflightWebhooksWithResponse ¶
func (c *ClientWithResponses) GetPreflightWebhooksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPreflightWebhooksResponse, error)
GetPreflightWebhooksWithResponse Fetch a list of preflight webhooks
Get a list of all existing preflight webhooks.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/integrations/preflight (the `GetPreflightWebhooks` operationId).
func (*ClientWithResponses) GetProfileWithResponse ¶
func (c *ClientWithResponses) GetProfileWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetProfileResponse, error)
GetProfileWithResponse Get service profile by id.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/services/profiles/{id} (the `GetProfile` operationId).
func (*ClientWithResponses) GetProfilesWithResponse ¶
func (c *ClientWithResponses) GetProfilesWithResponse(ctx context.Context, params *GetProfilesParams, reqEditors ...RequestEditorFn) (*GetProfilesResponse, error)
GetProfilesWithResponse Fetch a list of service profiles
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/services/profiles (the `GetProfiles` operationId).
func (*ClientWithResponses) GetPropertyDefinition1WithResponse ¶
func (c *ClientWithResponses) GetPropertyDefinition1WithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPropertyDefinition1Response, error)
GetPropertyDefinition1WithResponse Get property association by a given id.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/properties/associations/{id} (the `GetPropertyDefinition1` operationId).
func (*ClientWithResponses) GetPropertyDefinitionWithResponse ¶
func (c *ClientWithResponses) GetPropertyDefinitionWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetPropertyDefinitionResponse, error)
GetPropertyDefinitionWithResponse Get property definition for a specific property definition key.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/properties/definitions/{key} (the `GetPropertyDefinition` operationId).
func (*ClientWithResponses) GetPropertyDefinitionsWithResponse ¶
func (c *ClientWithResponses) GetPropertyDefinitionsWithResponse(ctx context.Context, params *GetPropertyDefinitionsParams, reqEditors ...RequestEditorFn) (*GetPropertyDefinitionsResponse, error)
GetPropertyDefinitionsWithResponse performs a GET /api/properties/definitions (the `GetPropertyDefinitions` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) GetReportWithResponse ¶
func (c *ClientWithResponses) GetReportWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetReportResponse, error)
GetReportWithResponse Get license report.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/license/report (the `GetReport` operationId).
func (*ClientWithResponses) GetRiskByCategoryWithBodyWithResponse ¶
func (c *ClientWithResponses) GetRiskByCategoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetRiskByCategoryResponse, error)
GetRiskByCategoryWithBodyWithResponse Get average service risk grouped by category over time
Returns the average risk per category (key from the categoryRisks map) across services, aggregated into time buckets.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/reports/services/by-category (the `GetRiskByCategory` operationId).
func (*ClientWithResponses) GetRiskByCategoryWithResponse ¶
func (c *ClientWithResponses) GetRiskByCategoryWithResponse(ctx context.Context, body GetRiskByCategoryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetRiskByCategoryResponse, error)
GetRiskByCategoryWithResponse Get average service risk grouped by category over time
Returns the average risk per category (key from the categoryRisks map) across services, aggregated into time buckets.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/reports/services/by-category (the `GetRiskByCategory` operationId).
func (*ClientWithResponses) GetRiskDistributionWithBodyWithResponse ¶
func (c *ClientWithResponses) GetRiskDistributionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetRiskDistributionResponse, error)
GetRiskDistributionWithBodyWithResponse Get service risk level distribution over time
Returns the count of services in each risk level (LOW, MEDIUM, HIGH) aggregated into time buckets.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/reports/services/distribution (the `GetRiskDistribution` operationId).
func (*ClientWithResponses) GetRiskDistributionWithResponse ¶
func (c *ClientWithResponses) GetRiskDistributionWithResponse(ctx context.Context, body GetRiskDistributionJSONRequestBody, reqEditors ...RequestEditorFn) (*GetRiskDistributionResponse, error)
GetRiskDistributionWithResponse Get service risk level distribution over time
Returns the count of services in each risk level (LOW, MEDIUM, HIGH) aggregated into time buckets.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/reports/services/distribution (the `GetRiskDistribution` operationId).
func (*ClientWithResponses) GetRiskWithResponse ¶
func (c *ClientWithResponses) GetRiskWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRiskResponse, error)
GetRiskWithResponse Get the risk score for a service
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/services/{id}/risk (the `GetRisk` operationId).
func (*ClientWithResponses) GetSchedulesWithResponse ¶
func (c *ClientWithResponses) GetSchedulesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSchedulesResponse, error)
GetSchedulesWithResponse Get experiment schedules for a specific experiment schedule id
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/experiments/schedules/{id} (the `GetSchedules` operationId).
func (*ClientWithResponses) GetServiceExperimentsWithResponse ¶
func (c *ClientWithResponses) GetServiceExperimentsWithResponse(ctx context.Context, id openapi_types.UUID, params *GetServiceExperimentsParams, reqEditors ...RequestEditorFn) (*GetServiceExperimentsResponse, error)
GetServiceExperimentsWithResponse Get experiments associated to an service.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/services/{id}/experiments (the `GetServiceExperiments` operationId).
func (*ClientWithResponses) GetServiceListWithResponse ¶
func (c *ClientWithResponses) GetServiceListWithResponse(ctx context.Context, params *GetServiceListParams, reqEditors ...RequestEditorFn) (*GetServiceListResponse, error)
GetServiceListWithResponse Fetch a list of services
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/services (the `GetServiceList` operationId).
func (*ClientWithResponses) GetServiceVariablesWithResponse ¶
func (c *ClientWithResponses) GetServiceVariablesWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetServiceVariablesResponse, error)
GetServiceVariablesWithResponse Get service variables
Get all variables owned by the service.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/services/{id}/variables (the `GetServiceVariables` operationId).
func (*ClientWithResponses) GetServiceWithResponse ¶
func (c *ClientWithResponses) GetServiceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetServiceResponse, error)
GetServiceWithResponse Get service by id.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/services/{id} (the `GetService` operationId).
func (*ClientWithResponses) GetSlackIntegrationWithResponse ¶
func (c *ClientWithResponses) GetSlackIntegrationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSlackIntegrationResponse, error)
GetSlackIntegrationWithResponse Fetch a single slack integration
Get all details of a single slack integration.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/integrations/slack/{id} (the `GetSlackIntegration` operationId).
func (*ClientWithResponses) GetSlackIntegrationsWithResponse ¶
func (c *ClientWithResponses) GetSlackIntegrationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSlackIntegrationsResponse, error)
GetSlackIntegrationsWithResponse Fetch a list of slack integrations
Get a list of all existing slack integrations.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/integrations/slack (the `GetSlackIntegrations` operationId).
func (*ClientWithResponses) GetTargetAdviceSummaryWithBodyWithResponse ¶
func (c *ClientWithResponses) GetTargetAdviceSummaryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetTargetAdviceSummaryResponse, error)
GetTargetAdviceSummaryWithBodyWithResponse Get all currently active advice for a given environment and query.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/advice (the `GetTargetAdviceSummary` operationId).
func (*ClientWithResponses) GetTargetAdviceSummaryWithResponse ¶
func (c *ClientWithResponses) GetTargetAdviceSummaryWithResponse(ctx context.Context, body GetTargetAdviceSummaryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetTargetAdviceSummaryResponse, error)
GetTargetAdviceSummaryWithResponse Get all currently active advice for a given environment and query.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/advice (the `GetTargetAdviceSummary` operationId).
func (*ClientWithResponses) GetTargetAttributeKeysWithResponse ¶
func (c *ClientWithResponses) GetTargetAttributeKeysWithResponse(ctx context.Context, params *GetTargetAttributeKeysParams, reqEditors ...RequestEditorFn) (*GetTargetAttributeKeysResponse, error)
GetTargetAttributeKeysWithResponse Get attribute key
Get all available attribute keys for a specific target type in a given environment.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/targets/attributes/keys (the `GetTargetAttributeKeys` operationId).
func (*ClientWithResponses) GetTargetAttributeValuesWithResponse ¶
func (c *ClientWithResponses) GetTargetAttributeValuesWithResponse(ctx context.Context, params *GetTargetAttributeValuesParams, reqEditors ...RequestEditorFn) (*GetTargetAttributeValuesResponse, error)
GetTargetAttributeValuesWithResponse Get attribute values
Get all available attribute values for a specific attribute and target type in a given environment.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/targets/attributes/values (the `GetTargetAttributeValues` operationId).
func (*ClientWithResponses) GetTargetsStats1WithBodyWithResponse ¶
func (c *ClientWithResponses) GetTargetsStats1WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetTargetsStats1Response, error)
GetTargetsStats1WithBodyWithResponse Gather target statistics for a given predicate or query
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/target-stats (the `GetTargetsStats1` operationId).
func (*ClientWithResponses) GetTargetsStats1WithResponse ¶
func (c *ClientWithResponses) GetTargetsStats1WithResponse(ctx context.Context, body GetTargetsStats1JSONRequestBody, reqEditors ...RequestEditorFn) (*GetTargetsStats1Response, error)
GetTargetsStats1WithResponse Gather target statistics for a given predicate or query
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/target-stats (the `GetTargetsStats1` operationId).
func (*ClientWithResponses) GetTargetsStatsWithResponse ¶
func (c *ClientWithResponses) GetTargetsStatsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTargetsStatsResponse, error)
GetTargetsStatsWithResponse Gather target statistics without any filters
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/target-stats (the `GetTargetsStats` operationId).
func (*ClientWithResponses) GetTargetsWithResponse ¶
func (c *ClientWithResponses) GetTargetsWithResponse(ctx context.Context, params *GetTargetsParams, reqEditors ...RequestEditorFn) (*GetTargetsResponse, error)
GetTargetsWithResponse Get targets
Get targets.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/targets (the `GetTargets` operationId).
func (*ClientWithResponses) GetTeamCountsWithBodyWithResponse ¶
func (c *ClientWithResponses) GetTeamCountsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetTeamCountsResponse, error)
GetTeamCountsWithBodyWithResponse Get team counts over time
Returns the number of teams in the tenant aggregated into time buckets.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/reports/teams (the `GetTeamCounts` operationId).
func (*ClientWithResponses) GetTeamCountsWithResponse ¶
func (c *ClientWithResponses) GetTeamCountsWithResponse(ctx context.Context, body GetTeamCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetTeamCountsResponse, error)
GetTeamCountsWithResponse Get team counts over time
Returns the number of teams in the tenant aggregated into time buckets.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/reports/teams (the `GetTeamCounts` operationId).
func (*ClientWithResponses) GetTeamEnvironmentsWithResponse ¶
func (c *ClientWithResponses) GetTeamEnvironmentsWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetTeamEnvironmentsResponse, error)
GetTeamEnvironmentsWithResponse Get all environments assigned to the team
Get a list of members that are part of the specified team. The list contains the username, being a Steadybit user id, and the role in this particular team (owner or member).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/teams/{key}/environments (the `GetTeamEnvironments` operationId).
func (*ClientWithResponses) GetTeamMembersWithResponse ¶
func (c *ClientWithResponses) GetTeamMembersWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetTeamMembersResponse, error)
GetTeamMembersWithResponse Get all members being part of the team
Get a list of members that are part of the specified team. The list contains the username, being a Steadybit user id, and the role in this particular team (owner or member).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/teams/{key}/members (the `GetTeamMembers` operationId).
func (*ClientWithResponses) GetTeamWithResponse ¶
func (c *ClientWithResponses) GetTeamWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)
GetTeamWithResponse Fetch a single team
Get all details of a single existing teams.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/teams/{key} (the `GetTeam` operationId).
func (*ClientWithResponses) GetTeamsWithResponse ¶
func (c *ClientWithResponses) GetTeamsWithResponse(ctx context.Context, params *GetTeamsParams, reqEditors ...RequestEditorFn) (*GetTeamsResponse, error)
GetTeamsWithResponse Fetch a list of all teams
Get a list of all teams that exist.<br/> If used with a team-associated `accessToken` and `onlyAccessible` is set to `true` you only get the team of the `accessToken`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/teams (the `GetTeams` operationId).
func (*ClientWithResponses) GetUserCountsWithBodyWithResponse ¶
func (c *ClientWithResponses) GetUserCountsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetUserCountsResponse, error)
GetUserCountsWithBodyWithResponse Get user counts over time
Returns the number of users in the tenant aggregated into time buckets.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/reports/users (the `GetUserCounts` operationId).
func (*ClientWithResponses) GetUserCountsWithResponse ¶
func (c *ClientWithResponses) GetUserCountsWithResponse(ctx context.Context, body GetUserCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetUserCountsResponse, error)
GetUserCountsWithResponse Get user counts over time
Returns the number of users in the tenant aggregated into time buckets.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/reports/users (the `GetUserCounts` operationId).
func (*ClientWithResponses) HealthWithResponse ¶
func (c *ClientWithResponses) HealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthResponse, error)
HealthWithResponse performs a GET /api/health (the `Health` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) ImportFromHubWithBodyWithResponse ¶
func (c *ClientWithResponses) ImportFromHubWithBodyWithResponse(ctx context.Context, params *ImportFromHubParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportFromHubResponse, error)
ImportFromHubWithBodyWithResponse Import experiment templates
Import experiment templates with given IDs from linked hub.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/templates/imports (the `ImportFromHub` operationId).
func (*ClientWithResponses) ImportFromHubWithResponse ¶
func (c *ClientWithResponses) ImportFromHubWithResponse(ctx context.Context, params *ImportFromHubParams, body ImportFromHubJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportFromHubResponse, error)
ImportFromHubWithResponse Import experiment templates
Import experiment templates with given IDs from linked hub.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/templates/imports (the `ImportFromHub` operationId).
func (*ClientWithResponses) InviteUserWithBodyWithResponse ¶
func (c *ClientWithResponses) InviteUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteUserResponse, error)
InviteUserWithBodyWithResponse Invite users to a tenant
Invite users to a tenant. The invited users will receive an email with an invitation link to join the tenant.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/users/invite (the `InviteUser` operationId).
func (*ClientWithResponses) InviteUserWithResponse ¶
func (c *ClientWithResponses) InviteUserWithResponse(ctx context.Context, body InviteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteUserResponse, error)
InviteUserWithResponse Invite users to a tenant
Invite users to a tenant. The invited users will receive an email with an invitation link to join the tenant.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/users/invite (the `InviteUser` operationId).
func (*ClientWithResponses) LinkCustomExperimentWithBodyWithResponse ¶
func (c *ClientWithResponses) LinkCustomExperimentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LinkCustomExperimentResponse, error)
LinkCustomExperimentWithBodyWithResponse Link a custom experiment to a service.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/services/{id}/experiments/custom (the `LinkCustomExperiment` operationId).
func (*ClientWithResponses) LinkCustomExperimentWithResponse ¶
func (c *ClientWithResponses) LinkCustomExperimentWithResponse(ctx context.Context, id openapi_types.UUID, body LinkCustomExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*LinkCustomExperimentResponse, error)
LinkCustomExperimentWithResponse Link a custom experiment to a service.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/services/{id}/experiments/custom (the `LinkCustomExperiment` operationId).
func (*ClientWithResponses) LivenessWithResponse ¶
func (c *ClientWithResponses) LivenessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivenessResponse, error)
LivenessWithResponse performs a GET /api/health/liveness (the `Liveness` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) MergeServiceVariablesWithBodyWithResponse ¶
func (c *ClientWithResponses) MergeServiceVariablesWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MergeServiceVariablesResponse, error)
MergeServiceVariablesWithBodyWithResponse Add / merge service variables
All provided variables will be associated with the given service.<br/>If a variable key is already in use, its value is updated.<br/>If a variable is already associated but not provided, it continues to exist.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/services/{id}/variables (the `MergeServiceVariables` operationId).
func (*ClientWithResponses) MergeServiceVariablesWithResponse ¶
func (c *ClientWithResponses) MergeServiceVariablesWithResponse(ctx context.Context, id openapi_types.UUID, body MergeServiceVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*MergeServiceVariablesResponse, error)
MergeServiceVariablesWithResponse Add / merge service variables
All provided variables will be associated with the given service.<br/>If a variable key is already in use, its value is updated.<br/>If a variable is already associated but not provided, it continues to exist.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/services/{id}/variables (the `MergeServiceVariables` operationId).
func (*ClientWithResponses) PatchScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchScheduleWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchScheduleResponse, error)
PatchScheduleWithBodyWithResponse Partially update an experiment schedule
Update specific fields of an existing experiment schedule. Only non-null fields in the request body will be updated.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/experiments/schedules/{id} (the `PatchSchedule` operationId).
func (*ClientWithResponses) PatchScheduleWithResponse ¶
func (c *ClientWithResponses) PatchScheduleWithResponse(ctx context.Context, id string, body PatchScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchScheduleResponse, error)
PatchScheduleWithResponse Partially update an experiment schedule
Update specific fields of an existing experiment schedule. Only non-null fields in the request body will be updated.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/experiments/schedules/{id} (the `PatchSchedule` operationId).
func (*ClientWithResponses) ReadinessWithResponse ¶
func (c *ClientWithResponses) ReadinessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadinessResponse, error)
ReadinessWithResponse performs a GET /api/health/readiness (the `Readiness` operationId) request.
Returns a wrapper object for the known response body format(s).
func (*ClientWithResponses) RecreateAccessTokenWithBodyWithResponse ¶
func (c *ClientWithResponses) RecreateAccessTokenWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RecreateAccessTokenResponse, error)
RecreateAccessTokenWithBodyWithResponse Recreate an access token
Recreate an existing access token with a new expiration date. The old token is deleted and a new one is generated with the same name, type, and team associations.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/access-tokens/v2/{id}/recreate (the `RecreateAccessToken` operationId).
func (*ClientWithResponses) RecreateAccessTokenWithResponse ¶
func (c *ClientWithResponses) RecreateAccessTokenWithResponse(ctx context.Context, id string, body RecreateAccessTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*RecreateAccessTokenResponse, error)
RecreateAccessTokenWithResponse Recreate an access token
Recreate an existing access token with a new expiration date. The old token is deleted and a new one is generated with the same name, type, and team associations.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/access-tokens/v2/{id}/recreate (the `RecreateAccessToken` operationId).
func (*ClientWithResponses) RemoveExperimentScheduleByIdWithResponse ¶
func (c *ClientWithResponses) RemoveExperimentScheduleByIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RemoveExperimentScheduleByIdResponse, error)
RemoveExperimentScheduleByIdWithResponse Remove an existing experiment schedule
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/experiments/schedules/{id} (the `RemoveExperimentScheduleById` operationId).
func (*ClientWithResponses) RemoveTeamEnvironmentsWithBodyWithResponse ¶
func (c *ClientWithResponses) RemoveTeamEnvironmentsWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveTeamEnvironmentsResponse, error)
RemoveTeamEnvironmentsWithBodyWithResponse Remove allowed environment from a team
The given environments will be removed from the specified team.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/teams/{key}/environments/remove (the `RemoveTeamEnvironments` operationId).
func (*ClientWithResponses) RemoveTeamEnvironmentsWithResponse ¶
func (c *ClientWithResponses) RemoveTeamEnvironmentsWithResponse(ctx context.Context, key string, body RemoveTeamEnvironmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveTeamEnvironmentsResponse, error)
RemoveTeamEnvironmentsWithResponse Remove allowed environment from a team
The given environments will be removed from the specified team.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/teams/{key}/environments/remove (the `RemoveTeamEnvironments` operationId).
func (*ClientWithResponses) RemoveTeamMembersWithBodyWithResponse ¶
func (c *ClientWithResponses) RemoveTeamMembersWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveTeamMembersResponse, error)
RemoveTeamMembersWithBodyWithResponse Remove team members from a team
The given members will be removed from the specified team. However, they are still able to login, view the content of the team and may still be member of another team.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/teams/{key}/members/remove (the `RemoveTeamMembers` operationId).
func (*ClientWithResponses) RemoveTeamMembersWithResponse ¶
func (c *ClientWithResponses) RemoveTeamMembersWithResponse(ctx context.Context, key string, body RemoveTeamMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveTeamMembersResponse, error)
RemoveTeamMembersWithResponse Remove team members from a team
The given members will be removed from the specified team. However, they are still able to login, view the content of the team and may still be member of another team.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/teams/{key}/members/remove (the `RemoveTeamMembers` operationId).
func (*ClientWithResponses) ResyncHubWithResponse ¶
func (c *ClientWithResponses) ResyncHubWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ResyncHubResponse, error)
ResyncHubWithResponse Re-synchronize a hub
Fetch the latest hub definition based on `hubRepository`. This operation is executed synchronously and may take some time to complete depending on the network connection to hub address.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/hubs/{id}/resync (the `ResyncHub` operationId).
func (*ClientWithResponses) SaveAndRunFromTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) SaveAndRunFromTemplateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *SaveAndRunFromTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SaveAndRunFromTemplateResponse, error)
SaveAndRunFromTemplateWithBodyWithResponse Create an experiment based on an experiment template and run experiment
Use the given experiment template id and the placeholder values to create or update and immediately run the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/templates/{id}/experiment-execute (the `SaveAndRunFromTemplate` operationId).
func (*ClientWithResponses) SaveAndRunFromTemplateWithResponse ¶
func (c *ClientWithResponses) SaveAndRunFromTemplateWithResponse(ctx context.Context, id openapi_types.UUID, params *SaveAndRunFromTemplateParams, body SaveAndRunFromTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*SaveAndRunFromTemplateResponse, error)
SaveAndRunFromTemplateWithResponse Create an experiment based on an experiment template and run experiment
Use the given experiment template id and the placeholder values to create or update and immediately run the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/templates/{id}/experiment-execute (the `SaveAndRunFromTemplate` operationId).
func (*ClientWithResponses) SaveAndRunWithBodyWithResponse ¶
func (c *ClientWithResponses) SaveAndRunWithBodyWithResponse(ctx context.Context, params *SaveAndRunParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SaveAndRunResponse, error)
SaveAndRunWithBodyWithResponse Save and run experiment
Save the given experiment and immediately run it.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/execute (the `SaveAndRun` operationId).
func (*ClientWithResponses) SaveAndRunWithResponse ¶
func (c *ClientWithResponses) SaveAndRunWithResponse(ctx context.Context, params *SaveAndRunParams, body SaveAndRunJSONRequestBody, reqEditors ...RequestEditorFn) (*SaveAndRunResponse, error)
SaveAndRunWithResponse Save and run experiment
Save the given experiment and immediately run it.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/execute (the `SaveAndRun` operationId).
func (*ClientWithResponses) SetEnvironmentVariablesWithBodyWithResponse ¶
func (c *ClientWithResponses) SetEnvironmentVariablesWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetEnvironmentVariablesResponse, error)
SetEnvironmentVariablesWithBodyWithResponse Replace all environment variables
All provided environment variables will be associated to the given environment and existing ones removed.<br/>If an environment variable key is already in use, it's value is updated with the value being provided.<br/>If an environment variable is already associated to the environment but not provided, it will be removed.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/environments/{id}/variables (the `SetEnvironmentVariables` operationId).
func (*ClientWithResponses) SetEnvironmentVariablesWithResponse ¶
func (c *ClientWithResponses) SetEnvironmentVariablesWithResponse(ctx context.Context, id openapi_types.UUID, body SetEnvironmentVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*SetEnvironmentVariablesResponse, error)
SetEnvironmentVariablesWithResponse Replace all environment variables
All provided environment variables will be associated to the given environment and existing ones removed.<br/>If an environment variable key is already in use, it's value is updated with the value being provided.<br/>If an environment variable is already associated to the environment but not provided, it will be removed.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/environments/{id}/variables (the `SetEnvironmentVariables` operationId).
func (*ClientWithResponses) SetExecutionPropertyValueWithBodyWithResponse ¶
func (c *ClientWithResponses) SetExecutionPropertyValueWithBodyWithResponse(ctx context.Context, id int64, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetExecutionPropertyValueResponse, error)
SetExecutionPropertyValueWithBodyWithResponse Set the value of a property of an experiment execution.
Only properties with `editableInExecution` set to `true` can be modified.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/executions/{id}/properties/{key}/set (the `SetExecutionPropertyValue` operationId).
func (*ClientWithResponses) SetExecutionPropertyValueWithResponse ¶
func (c *ClientWithResponses) SetExecutionPropertyValueWithResponse(ctx context.Context, id int64, key string, body SetExecutionPropertyValueJSONRequestBody, reqEditors ...RequestEditorFn) (*SetExecutionPropertyValueResponse, error)
SetExecutionPropertyValueWithResponse Set the value of a property of an experiment execution.
Only properties with `editableInExecution` set to `true` can be modified.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/executions/{id}/properties/{key}/set (the `SetExecutionPropertyValue` operationId).
func (*ClientWithResponses) SetServiceVariablesWithBodyWithResponse ¶
func (c *ClientWithResponses) SetServiceVariablesWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetServiceVariablesResponse, error)
SetServiceVariablesWithBodyWithResponse Replace all service variables
All provided variables will be associated with the given service and existing ones removed.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/services/{id}/variables (the `SetServiceVariables` operationId).
func (*ClientWithResponses) SetServiceVariablesWithResponse ¶
func (c *ClientWithResponses) SetServiceVariablesWithResponse(ctx context.Context, id openapi_types.UUID, body SetServiceVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*SetServiceVariablesResponse, error)
SetServiceVariablesWithResponse Replace all service variables
All provided variables will be associated with the given service and existing ones removed.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/services/{id}/variables (the `SetServiceVariables` operationId).
func (*ClientWithResponses) SetTeamEnvironmentsWithBodyWithResponse ¶
func (c *ClientWithResponses) SetTeamEnvironmentsWithBodyWithResponse(ctx context.Context, key string, params *SetTeamEnvironmentsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetTeamEnvironmentsResponse, error)
SetTeamEnvironmentsWithBodyWithResponse Update the environments of a specific team
The allowed environments of the specified team will be updated with these provided. New environments will be added to the team, environments not provided in the request will be removed from the team.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/teams/{key}/environments (the `SetTeamEnvironments` operationId).
func (*ClientWithResponses) SetTeamEnvironmentsWithResponse ¶
func (c *ClientWithResponses) SetTeamEnvironmentsWithResponse(ctx context.Context, key string, params *SetTeamEnvironmentsParams, body SetTeamEnvironmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTeamEnvironmentsResponse, error)
SetTeamEnvironmentsWithResponse Update the environments of a specific team
The allowed environments of the specified team will be updated with these provided. New environments will be added to the team, environments not provided in the request will be removed from the team.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/teams/{key}/environments (the `SetTeamEnvironments` operationId).
func (*ClientWithResponses) SetTeamMembersWithBodyWithResponse ¶
func (c *ClientWithResponses) SetTeamMembersWithBodyWithResponse(ctx context.Context, key string, params *SetTeamMembersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetTeamMembersResponse, error)
SetTeamMembersWithBodyWithResponse Update the members of a specific team
The members of the specified team will be updated with these provided. New team members will be added to the team, team members not provided in the request will be removed from the team.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/teams/{key}/members (the `SetTeamMembers` operationId).
func (*ClientWithResponses) SetTeamMembersWithResponse ¶
func (c *ClientWithResponses) SetTeamMembersWithResponse(ctx context.Context, key string, params *SetTeamMembersParams, body SetTeamMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTeamMembersResponse, error)
SetTeamMembersWithResponse Update the members of a specific team
The members of the specified team will be updated with these provided. New team members will be added to the team, team members not provided in the request will be removed from the team.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/teams/{key}/members (the `SetTeamMembers` operationId).
func (*ClientWithResponses) UnlinkCustomExperimentWithResponse ¶
func (c *ClientWithResponses) UnlinkCustomExperimentWithResponse(ctx context.Context, id openapi_types.UUID, params *UnlinkCustomExperimentParams, reqEditors ...RequestEditorFn) (*UnlinkCustomExperimentResponse, error)
UnlinkCustomExperimentWithResponse Remove a linked custom experiment from a service.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/services/{id}/experiments/custom (the `UnlinkCustomExperiment` operationId).
func (*ClientWithResponses) UpdateEnvironmentVariablesWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEnvironmentVariablesWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentVariablesResponse, error)
UpdateEnvironmentVariablesWithBodyWithResponse Add / merge all environment variables
All provided environment variables will be associated to the given environment.<br/>If an environment variable key is already in use, it's value is updated with the value being provided.<br/>If an environment variable is already associated to the environment but not provided, it continues to exist.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/environments/{id}/variables (the `UpdateEnvironmentVariables` operationId).
func (*ClientWithResponses) UpdateEnvironmentVariablesWithResponse ¶
func (c *ClientWithResponses) UpdateEnvironmentVariablesWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateEnvironmentVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentVariablesResponse, error)
UpdateEnvironmentVariablesWithResponse Add / merge all environment variables
All provided environment variables will be associated to the given environment.<br/>If an environment variable key is already in use, it's value is updated with the value being provided.<br/>If an environment variable is already associated to the environment but not provided, it continues to exist.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/environments/{id}/variables (the `UpdateEnvironmentVariables` operationId).
func (*ClientWithResponses) UpdateExecutionPropertiesWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateExecutionPropertiesWithBodyWithResponse(ctx context.Context, id int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExecutionPropertiesResponse, error)
UpdateExecutionPropertiesWithBodyWithResponse Update properties of an experiment execution
Update properties of an experiment execution. This is only possible for associated properties with `editableInExecution` set to `true` or for properties that have been added after the execution.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/executions/{id}/properties (the `UpdateExecutionProperties` operationId).
func (*ClientWithResponses) UpdateExecutionPropertiesWithResponse ¶
func (c *ClientWithResponses) UpdateExecutionPropertiesWithResponse(ctx context.Context, id int64, body UpdateExecutionPropertiesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExecutionPropertiesResponse, error)
UpdateExecutionPropertiesWithResponse Update properties of an experiment execution
Update properties of an experiment execution. This is only possible for associated properties with `editableInExecution` set to `true` or for properties that have been added after the execution.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/executions/{id}/properties (the `UpdateExecutionProperties` operationId).
func (*ClientWithResponses) UpdateExperimentByTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateExperimentByTemplateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, key string, params *UpdateExperimentByTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExperimentByTemplateResponse, error)
UpdateExperimentByTemplateWithBodyWithResponse Update an existing experiment based on a template
Use the given experiment template id and the placeholder values to create or update the experiment. Placeholders that have been used for the initial creation will be reused. Provided placeholders from the body will overwrite existing placeholders.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/templates/{id}/experiment-update/{key} (the `UpdateExperimentByTemplate` operationId).
func (*ClientWithResponses) UpdateExperimentByTemplateWithResponse ¶
func (c *ClientWithResponses) UpdateExperimentByTemplateWithResponse(ctx context.Context, id openapi_types.UUID, key string, params *UpdateExperimentByTemplateParams, body UpdateExperimentByTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExperimentByTemplateResponse, error)
UpdateExperimentByTemplateWithResponse Update an existing experiment based on a template
Use the given experiment template id and the placeholder values to create or update the experiment. Placeholders that have been used for the initial creation will be reused. Provided placeholders from the body will overwrite existing placeholders.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/templates/{id}/experiment-update/{key} (the `UpdateExperimentByTemplate` operationId).
func (*ClientWithResponses) UpdateExperimentWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateExperimentWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExperimentResponse, error)
UpdateExperimentWithBodyWithResponse Update an experiment
Update the experiment identified by the experiment `key`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/{key} (the `UpdateExperiment` operationId).
func (*ClientWithResponses) UpdateExperimentWithResponse ¶
func (c *ClientWithResponses) UpdateExperimentWithResponse(ctx context.Context, key string, body UpdateExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExperimentResponse, error)
UpdateExperimentWithResponse Update an experiment
Update the experiment identified by the experiment `key`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/{key} (the `UpdateExperiment` operationId).
func (*ClientWithResponses) UpdateLandscapeViewWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateLandscapeViewWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLandscapeViewResponse, error)
UpdateLandscapeViewWithBodyWithResponse Update a saved landscape view
Update an existing saved explorer landscape view. The view's thumbnail is rendered by the UI and cannot be produced through the API. When an update changes a field that affects how the landscape renders (environment, filter query, group-by, size-by, color-by or show-advice), the thumbnail is cleared so it is not left stale; a metadata-only change (e.g. name or description) keeps it. The UI regenerates the thumbnail on its next save.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/explore/landscape/views/{id} (the `UpdateLandscapeView` operationId).
func (*ClientWithResponses) UpdateLandscapeViewWithResponse ¶
func (c *ClientWithResponses) UpdateLandscapeViewWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateLandscapeViewJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLandscapeViewResponse, error)
UpdateLandscapeViewWithResponse Update a saved landscape view
Update an existing saved explorer landscape view. The view's thumbnail is rendered by the UI and cannot be produced through the API. When an update changes a field that affects how the landscape renders (environment, filter query, group-by, size-by, color-by or show-advice), the thumbnail is cleared so it is not left stale; a metadata-only change (e.g. name or description) keeps it. The UI regenerates the thumbnail on its next save.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/explore/landscape/views/{id} (the `UpdateLandscapeView` operationId).
func (*ClientWithResponses) UpsertCustomWebhookWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertCustomWebhookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertCustomWebhookResponse, error)
UpsertCustomWebhookWithBodyWithResponse Create or update a custom webhook
Insert or update a custom webhook.<br/This endpoint requires an admin-token and can't be used with a team-based token.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/integrations/webhook (the `UpsertCustomWebhook` operationId).
func (*ClientWithResponses) UpsertCustomWebhookWithResponse ¶
func (c *ClientWithResponses) UpsertCustomWebhookWithResponse(ctx context.Context, body UpsertCustomWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertCustomWebhookResponse, error)
UpsertCustomWebhookWithResponse Create or update a custom webhook
Insert or update a custom webhook.<br/This endpoint requires an admin-token and can't be used with a team-based token.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/integrations/webhook (the `UpsertCustomWebhook` operationId).
func (*ClientWithResponses) UpsertEnvironmentWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertEnvironmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertEnvironmentResponse, error)
UpsertEnvironmentWithBodyWithResponse Create or update an environment
Insert or update the environment in Steadybit. The `id` will be used to identify whether the environment exists already and should be updated or newly inserted.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/environments (the `UpsertEnvironment` operationId).
func (*ClientWithResponses) UpsertEnvironmentWithResponse ¶
func (c *ClientWithResponses) UpsertEnvironmentWithResponse(ctx context.Context, body UpsertEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertEnvironmentResponse, error)
UpsertEnvironmentWithResponse Create or update an environment
Insert or update the environment in Steadybit. The `id` will be used to identify whether the environment exists already and should be updated or newly inserted.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/environments (the `UpsertEnvironment` operationId).
func (*ClientWithResponses) UpsertExperimentTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertExperimentTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertExperimentTemplateResponse, error)
UpsertExperimentTemplateWithBodyWithResponse Create or update an experiment template
Insert or update the experiment template in Steadybit. The `id` will be used to identify whether the experiment template exists already and should be updated or newly inserted. If this template is used in a service profile, existing provided service experiments will get updated.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/templates (the `UpsertExperimentTemplate` operationId).
func (*ClientWithResponses) UpsertExperimentTemplateWithResponse ¶
func (c *ClientWithResponses) UpsertExperimentTemplateWithResponse(ctx context.Context, body UpsertExperimentTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertExperimentTemplateResponse, error)
UpsertExperimentTemplateWithResponse Create or update an experiment template
Insert or update the experiment template in Steadybit. The `id` will be used to identify whether the experiment template exists already and should be updated or newly inserted. If this template is used in a service profile, existing provided service experiments will get updated.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/templates (the `UpsertExperimentTemplate` operationId).
func (*ClientWithResponses) UpsertHubWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertHubWithBodyWithResponse(ctx context.Context, params *UpsertHubParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertHubResponse, error)
UpsertHubWithBodyWithResponse Create or update a hub
Insert or update a hub. The `id` will be used to identify whether the hub exists already and should be updated or newly inserted. The hub content can be synchronized depending on the `resync` parameter. This operation is executed synchronously and may take some time to complete depending on the network connection to hub address.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/hubs (the `UpsertHub` operationId).
func (*ClientWithResponses) UpsertHubWithResponse ¶
func (c *ClientWithResponses) UpsertHubWithResponse(ctx context.Context, params *UpsertHubParams, body UpsertHubJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertHubResponse, error)
UpsertHubWithResponse Create or update a hub
Insert or update a hub. The `id` will be used to identify whether the hub exists already and should be updated or newly inserted. The hub content can be synchronized depending on the `resync` parameter. This operation is executed synchronously and may take some time to complete depending on the network connection to hub address.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/hubs (the `UpsertHub` operationId).
func (*ClientWithResponses) UpsertPreflightActionIntegrationWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertPreflightActionIntegrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertPreflightActionIntegrationResponse, error)
UpsertPreflightActionIntegrationWithBodyWithResponse Create or update a preflight action integration
Insert or update a preflight action integration.<br/This endpoint requires an admin-token and can't be used with a team-based token.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/integrations/preflight-action (the `UpsertPreflightActionIntegration` operationId).
func (*ClientWithResponses) UpsertPreflightActionIntegrationWithResponse ¶
func (c *ClientWithResponses) UpsertPreflightActionIntegrationWithResponse(ctx context.Context, body UpsertPreflightActionIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertPreflightActionIntegrationResponse, error)
UpsertPreflightActionIntegrationWithResponse Create or update a preflight action integration
Insert or update a preflight action integration.<br/This endpoint requires an admin-token and can't be used with a team-based token.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/integrations/preflight-action (the `UpsertPreflightActionIntegration` operationId).
func (*ClientWithResponses) UpsertPreflightWebhookWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertPreflightWebhookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertPreflightWebhookResponse, error)
UpsertPreflightWebhookWithBodyWithResponse Create or update a preflight webhook
Insert or update a preflight webhook.<br/This endpoint requires an admin-token and can't be used with a team-based token.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/integrations/preflight (the `UpsertPreflightWebhook` operationId).
func (*ClientWithResponses) UpsertPreflightWebhookWithResponse ¶
func (c *ClientWithResponses) UpsertPreflightWebhookWithResponse(ctx context.Context, body UpsertPreflightWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertPreflightWebhookResponse, error)
UpsertPreflightWebhookWithResponse Create or update a preflight webhook
Insert or update a preflight webhook.<br/This endpoint requires an admin-token and can't be used with a team-based token.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/integrations/preflight (the `UpsertPreflightWebhook` operationId).
func (*ClientWithResponses) UpsertProfileWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertProfileWithBodyWithResponse(ctx context.Context, params *UpsertProfileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertProfileResponse, error)
UpsertProfileWithBodyWithResponse Create or update service profile
Insert or update the service profile specified by the given `id`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/services/profiles (the `UpsertProfile` operationId).
func (*ClientWithResponses) UpsertProfileWithResponse ¶
func (c *ClientWithResponses) UpsertProfileWithResponse(ctx context.Context, params *UpsertProfileParams, body UpsertProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertProfileResponse, error)
UpsertProfileWithResponse Create or update service profile
Insert or update the service profile specified by the given `id`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/services/profiles (the `UpsertProfile` operationId).
func (*ClientWithResponses) UpsertPropertyAssociationWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertPropertyAssociationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertPropertyAssociationResponse, error)
UpsertPropertyAssociationWithBodyWithResponse Create or update a property association
Insert or update the property association. The `id` will be used to identify whether the schedule exists already and should be updated or newly inserted.
Examples:
- Assign the property `RESULT_COLOR` to all experiment designs:
```
{
"key": "RESULT_COLOR",
"editableInExecution": false,
"required": true
}
```
- Assign the property `RESULT_COLOR` to the design ADM-15:
```
{
"key": "RESULT_COLOR",
"editableInExecution": false,
"experimentKey": "ADM-15",
"required": true
}
```
- Assign the property `RESULT_COLOR` that can be edited in each experiment execution of the experiment with key `ADM-15`:
```
{
"key": "RESULT_COLOR",
"editableInExecution": true,
"experimentKey": "ADM-15",
"required": false
}
```
- Assign the property `RESULT_COLOR` to a service `0a2d67b9-1d5a-4179-8c32-e5296be1f56f`:
```
{
"key": "RESULT_COLOR",
"associationType": "SERVICE",
"serviceId": "0a2d67b9-1d5a-4179-8c32-e5296be1f56f",
"required": false
}
```
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/properties/associations (the `UpsertPropertyAssociation` operationId).
func (*ClientWithResponses) UpsertPropertyAssociationWithResponse ¶
func (c *ClientWithResponses) UpsertPropertyAssociationWithResponse(ctx context.Context, body UpsertPropertyAssociationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertPropertyAssociationResponse, error)
UpsertPropertyAssociationWithResponse Create or update a property association
Insert or update the property association. The `id` will be used to identify whether the schedule exists already and should be updated or newly inserted.
Examples:
- Assign the property `RESULT_COLOR` to all experiment designs:
```
{
"key": "RESULT_COLOR",
"editableInExecution": false,
"required": true
}
```
- Assign the property `RESULT_COLOR` to the design ADM-15:
```
{
"key": "RESULT_COLOR",
"editableInExecution": false,
"experimentKey": "ADM-15",
"required": true
}
```
- Assign the property `RESULT_COLOR` that can be edited in each experiment execution of the experiment with key `ADM-15`:
```
{
"key": "RESULT_COLOR",
"editableInExecution": true,
"experimentKey": "ADM-15",
"required": false
}
```
- Assign the property `RESULT_COLOR` to a service `0a2d67b9-1d5a-4179-8c32-e5296be1f56f`:
```
{
"key": "RESULT_COLOR",
"associationType": "SERVICE",
"serviceId": "0a2d67b9-1d5a-4179-8c32-e5296be1f56f",
"required": false
}
```
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/properties/associations (the `UpsertPropertyAssociation` operationId).
func (*ClientWithResponses) UpsertPropertyDefinitionWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertPropertyDefinitionWithBodyWithResponse(ctx context.Context, params *UpsertPropertyDefinitionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertPropertyDefinitionResponse, error)
UpsertPropertyDefinitionWithBodyWithResponse Create or update property definition
Insert or update the property definition specified by the given `key`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/properties/definitions (the `UpsertPropertyDefinition` operationId).
func (*ClientWithResponses) UpsertPropertyDefinitionWithResponse ¶
func (c *ClientWithResponses) UpsertPropertyDefinitionWithResponse(ctx context.Context, params *UpsertPropertyDefinitionParams, body UpsertPropertyDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertPropertyDefinitionResponse, error)
UpsertPropertyDefinitionWithResponse Create or update property definition
Insert or update the property definition specified by the given `key`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/properties/definitions (the `UpsertPropertyDefinition` operationId).
func (*ClientWithResponses) UpsertProvidedExperimentWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertProvidedExperimentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *UpsertProvidedExperimentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertProvidedExperimentResponse, error)
UpsertProvidedExperimentWithBodyWithResponse Create or update a provided experiment.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/services/{id}/experiments/provided (the `UpsertProvidedExperiment` operationId).
func (*ClientWithResponses) UpsertProvidedExperimentWithResponse ¶
func (c *ClientWithResponses) UpsertProvidedExperimentWithResponse(ctx context.Context, id openapi_types.UUID, params *UpsertProvidedExperimentParams, body UpsertProvidedExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertProvidedExperimentResponse, error)
UpsertProvidedExperimentWithResponse Create or update a provided experiment.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/services/{id}/experiments/provided (the `UpsertProvidedExperiment` operationId).
func (*ClientWithResponses) UpsertScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertScheduleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertScheduleResponse, error)
UpsertScheduleWithBodyWithResponse Create or update an experiment schedule
Insert or update the experiment schedule. The `id` will be used to identify whether the schedule exists already and should be updated or newly inserted.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/schedules (the `UpsertSchedule` operationId).
func (*ClientWithResponses) UpsertScheduleWithResponse ¶
func (c *ClientWithResponses) UpsertScheduleWithResponse(ctx context.Context, body UpsertScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertScheduleResponse, error)
UpsertScheduleWithResponse Create or update an experiment schedule
Insert or update the experiment schedule. The `id` will be used to identify whether the schedule exists already and should be updated or newly inserted.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/experiments/schedules (the `UpsertSchedule` operationId).
func (*ClientWithResponses) UpsertServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertServiceWithBodyWithResponse(ctx context.Context, params *UpsertServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertServiceResponse, error)
UpsertServiceWithBodyWithResponse Create or update service
Insert or update the service specified by the given `id`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/services (the `UpsertService` operationId).
func (*ClientWithResponses) UpsertServiceWithResponse ¶
func (c *ClientWithResponses) UpsertServiceWithResponse(ctx context.Context, params *UpsertServiceParams, body UpsertServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertServiceResponse, error)
UpsertServiceWithResponse Create or update service
Insert or update the service specified by the given `id`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/services (the `UpsertService` operationId).
func (*ClientWithResponses) UpsertSlackIntegrationWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertSlackIntegrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertSlackIntegrationResponse, error)
UpsertSlackIntegrationWithBodyWithResponse Create or update a slack integration
Insert or update a slack integration.<br/This endpoint requires an admin-token and can't be used with a team-based token.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/integrations/slack (the `UpsertSlackIntegration` operationId).
func (*ClientWithResponses) UpsertSlackIntegrationWithResponse ¶
func (c *ClientWithResponses) UpsertSlackIntegrationWithResponse(ctx context.Context, body UpsertSlackIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertSlackIntegrationResponse, error)
UpsertSlackIntegrationWithResponse Create or update a slack integration
Insert or update a slack integration.<br/This endpoint requires an admin-token and can't be used with a team-based token.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/integrations/slack (the `UpsertSlackIntegration` operationId).
func (*ClientWithResponses) UpsertTeamWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertTeamWithBodyWithResponse(ctx context.Context, params *UpsertTeamParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertTeamResponse, error)
UpsertTeamWithBodyWithResponse Create or update a team
Insert or update the team in Steadybit. The `key` will be used to identify whether the team exists already and should be updated or newly inserted. If a provided member's username or email is not yet known it will be skipped.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/teams (the `UpsertTeam` operationId).
func (*ClientWithResponses) UpsertTeamWithResponse ¶
func (c *ClientWithResponses) UpsertTeamWithResponse(ctx context.Context, params *UpsertTeamParams, body UpsertTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertTeamResponse, error)
UpsertTeamWithResponse Create or update a team
Insert or update the team in Steadybit. The `key` will be used to identify whether the team exists already and should be updated or newly inserted. If a provided member's username or email is not yet known it will be skipped.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/teams (the `UpsertTeam` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetAccessTokensWithResponse Get access token list
//
// Deprecated, use v2 instead. Get a list of all access tokens. The access token itself is abbreviated for security reasons. Access tokens with v2 features are not returned, as they can not be represented cleanly in the old format.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/access-tokens (the `GetAccessTokens` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetAccessTokensWithResponse(ctx context.Context, params *GetAccessTokensParams, reqEditors ...RequestEditorFn) (*GetAccessTokensResponse, error)
// CreateAccessTokenWithBodyWithResponse Add a access token
//
// Deprecated, use v2 instead. Generate a new access token associated to. This access token can be used for e.g. creating new experiments and running experiments.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/access-tokens (the `CreateAccessToken` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateAccessTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAccessTokenResponse, error)
// CreateAccessTokenWithResponse Add a access token
//
// Deprecated, use v2 instead. Generate a new access token associated to. This access token can be used for e.g. creating new experiments and running experiments.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/access-tokens (the `CreateAccessToken` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
CreateAccessTokenWithResponse(ctx context.Context, body CreateAccessTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAccessTokenResponse, error)
// GetAccessTokens1WithResponse Get access token list
//
// Get a list of all access tokens. The access token itself is abbreviated for security reasons.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/access-tokens/v2 (the `GetAccessTokens1` operationId).
GetAccessTokens1WithResponse(ctx context.Context, params *GetAccessTokens1Params, reqEditors ...RequestEditorFn) (*GetAccessTokens1Response, error)
// CreateAccessToken1WithBodyWithResponse Create an access token
//
// Generate a new access token.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/access-tokens/v2 (the `CreateAccessToken1` operationId).
CreateAccessToken1WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAccessToken1Response, error)
// CreateAccessToken1WithResponse Create an access token
//
// Generate a new access token.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/access-tokens/v2 (the `CreateAccessToken1` operationId).
CreateAccessToken1WithResponse(ctx context.Context, body CreateAccessToken1JSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAccessToken1Response, error)
// DeleteAccessToken1WithResponse Delete access token
//
// Remove the access token. After that, the access token can't be used anymore.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/access-tokens/v2/{id} (the `DeleteAccessToken1` operationId).
DeleteAccessToken1WithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAccessToken1Response, error)
// RecreateAccessTokenWithBodyWithResponse Recreate an access token
//
// Recreate an existing access token with a new expiration date. The old token is deleted and a new one is generated with the same name, type, and team associations.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/access-tokens/v2/{id}/recreate (the `RecreateAccessToken` operationId).
RecreateAccessTokenWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RecreateAccessTokenResponse, error)
// RecreateAccessTokenWithResponse Recreate an access token
//
// Recreate an existing access token with a new expiration date. The old token is deleted and a new one is generated with the same name, type, and team associations.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/access-tokens/v2/{id}/recreate (the `RecreateAccessToken` operationId).
RecreateAccessTokenWithResponse(ctx context.Context, id string, body RecreateAccessTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*RecreateAccessTokenResponse, error)
// DeleteAccessTokenWithResponse Delete access token
//
// Remove the access token associated. After that, the access token can't be used anymore for e.g. creating a new experiment or running an experiment.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/access-tokens/{id} (the `DeleteAccessToken` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
DeleteAccessTokenWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAccessTokenResponse, error)
// FindAllActionsWithResponse Get all actions.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/actions (the `FindAllActions` operationId).
FindAllActionsWithResponse(ctx context.Context, params *FindAllActionsParams, reqEditors ...RequestEditorFn) (*FindAllActionsResponse, error)
// GetActionWithResponse Fetch a single action description
//
// Get action including their parameters.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/actions/{actionId} (the `GetAction` operationId).
GetActionWithResponse(ctx context.Context, actionId string, reqEditors ...RequestEditorFn) (*GetActionResponse, error)
// GetTargetAdviceSummaryWithBodyWithResponse Get all currently active advice for a given environment and query.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/advice (the `GetTargetAdviceSummary` operationId).
GetTargetAdviceSummaryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetTargetAdviceSummaryResponse, error)
// GetTargetAdviceSummaryWithResponse Get all currently active advice for a given environment and query.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/advice (the `GetTargetAdviceSummary` operationId).
GetTargetAdviceSummaryWithResponse(ctx context.Context, body GetTargetAdviceSummaryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetTargetAdviceSummaryResponse, error)
// FindWithResponse Get all audit log entries
//
// Retrieve all audit logs in the given time-frame.<br/>This endpoint requires an admin-token and can't be used with a team-based token.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/audit-log (the `Find` operationId).
FindWithResponse(ctx context.Context, params *FindParams, reqEditors ...RequestEditorFn) (*FindResponse, error)
// ForwardToPlatformWithResponse Forward to Steadybit platform to either create an experiment associated to the `tag` or forward to the experiments linked already to the `tag`
//
// This endpoint can be used as a link for the badge of the `/api/badges/linked-badge.svg` API to either create a new experiment or show the linked experiments in Steadybit. This will help to link it correctly e.g. in your CMS-systems.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/badges/link (the `ForwardToPlatform` operationId).
ForwardToPlatformWithResponse(ctx context.Context, params *ForwardToPlatformParams, reqEditors ...RequestEditorFn) (*ForwardToPlatformResponse, error)
// GetLinkedBadgeWithResponse Get badge for create experiment or run status as SVG image
//
// Creates an image badge that is either for creating a new experiment linked to an `externalReference` or - if an experiment with the given `externalReference` already exists - a badge showing the run status of the experiment. The badge is return as SVG to integrate it nicely e.g. into your CMS-systems. You can use the `/api/badges/link` endpoint to link it appropriately
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/badges/linked-badge.svg (the `GetLinkedBadge` operationId).
GetLinkedBadgeWithResponse(ctx context.Context, params *GetLinkedBadgeParams, reqEditors ...RequestEditorFn) (*GetLinkedBadgeResponse, error)
// GetEnvironmentsWithResponse Fetch a list of all environments
//
// Get a list of all environments that exist.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/environments (the `GetEnvironments` operationId).
GetEnvironmentsWithResponse(ctx context.Context, params *GetEnvironmentsParams, reqEditors ...RequestEditorFn) (*GetEnvironmentsResponse, error)
// UpsertEnvironmentWithBodyWithResponse Create or update an environment
//
// Insert or update the environment in Steadybit. The `id` will be used to identify whether the environment exists already and should be updated or newly inserted.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/environments (the `UpsertEnvironment` operationId).
UpsertEnvironmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertEnvironmentResponse, error)
// UpsertEnvironmentWithResponse Create or update an environment
//
// Insert or update the environment in Steadybit. The `id` will be used to identify whether the environment exists already and should be updated or newly inserted.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/environments (the `UpsertEnvironment` operationId).
UpsertEnvironmentWithResponse(ctx context.Context, body UpsertEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertEnvironmentResponse, error)
// DeleteEnvironmentWithResponse Delete environment
//
// Remove the given environment from the Steadybit platform.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/environments/{id} (the `DeleteEnvironment` operationId).
DeleteEnvironmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error)
// GetEnvironmentWithResponse Fetch a single environment
//
// Get all details of a single existing environment.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/environments/{id} (the `GetEnvironment` operationId).
GetEnvironmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)
// GetEnvironmentVariablesWithResponse Get environment variables
//
// Get all environment variables associated to a single environment.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/environments/{id}/variables (the `GetEnvironmentVariables` operationId).
GetEnvironmentVariablesWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEnvironmentVariablesResponse, error)
// SetEnvironmentVariablesWithBodyWithResponse Replace all environment variables
//
// All provided environment variables will be associated to the given environment and existing ones removed.<br/>If an environment variable key is already in use, it's value is updated with the value being provided.<br/>If an environment variable is already associated to the environment but not provided, it will be removed.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/environments/{id}/variables (the `SetEnvironmentVariables` operationId).
SetEnvironmentVariablesWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetEnvironmentVariablesResponse, error)
// SetEnvironmentVariablesWithResponse Replace all environment variables
//
// All provided environment variables will be associated to the given environment and existing ones removed.<br/>If an environment variable key is already in use, it's value is updated with the value being provided.<br/>If an environment variable is already associated to the environment but not provided, it will be removed.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/environments/{id}/variables (the `SetEnvironmentVariables` operationId).
SetEnvironmentVariablesWithResponse(ctx context.Context, id openapi_types.UUID, body SetEnvironmentVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*SetEnvironmentVariablesResponse, error)
// UpdateEnvironmentVariablesWithBodyWithResponse Add / merge all environment variables
//
// All provided environment variables will be associated to the given environment.<br/>If an environment variable key is already in use, it's value is updated with the value being provided.<br/>If an environment variable is already associated to the environment but not provided, it continues to exist.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/environments/{id}/variables (the `UpdateEnvironmentVariables` operationId).
UpdateEnvironmentVariablesWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentVariablesResponse, error)
// UpdateEnvironmentVariablesWithResponse Add / merge all environment variables
//
// All provided environment variables will be associated to the given environment.<br/>If an environment variable key is already in use, it's value is updated with the value being provided.<br/>If an environment variable is already associated to the environment but not provided, it continues to exist.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/environments/{id}/variables (the `UpdateEnvironmentVariables` operationId).
UpdateEnvironmentVariablesWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateEnvironmentVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentVariablesResponse, error)
// GetExperimentsWithResponse Fetch a list of all experiments
//
// Get a list of all experiments that exist.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/experiments (the `GetExperiments` operationId).
GetExperimentsWithResponse(ctx context.Context, params *GetExperimentsParams, reqEditors ...RequestEditorFn) (*GetExperimentsResponse, error)
// CreateOrUpdateExperimentWithBodyWithResponse Create or update an experiment
//
// Insert or update the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments (the `CreateOrUpdateExperiment` operationId).
CreateOrUpdateExperimentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrUpdateExperimentResponse, error)
// CreateOrUpdateExperimentWithResponse Create or update an experiment
//
// Insert or update the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments (the `CreateOrUpdateExperiment` operationId).
CreateOrUpdateExperimentWithResponse(ctx context.Context, body CreateOrUpdateExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrUpdateExperimentResponse, error)
// SaveAndRunWithBodyWithResponse Save and run experiment
//
// Save the given experiment and immediately run it.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/execute (the `SaveAndRun` operationId).
SaveAndRunWithBodyWithResponse(ctx context.Context, params *SaveAndRunParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SaveAndRunResponse, error)
// SaveAndRunWithResponse Save and run experiment
//
// Save the given experiment and immediately run it.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/execute (the `SaveAndRun` operationId).
SaveAndRunWithResponse(ctx context.Context, params *SaveAndRunParams, body SaveAndRunJSONRequestBody, reqEditors ...RequestEditorFn) (*SaveAndRunResponse, error)
// GetExperimentExecutions1WithResponse Fetch a list of all experiment executions
//
// Get a list of all experiment executions that exist.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/experiments/executions (the `GetExperimentExecutions1` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
GetExperimentExecutions1WithResponse(ctx context.Context, params *GetExperimentExecutions1Params, reqEditors ...RequestEditorFn) (*GetExperimentExecutions1Response, error)
// GetExperimentExecutions2WithBodyWithResponse Fetch a list of experiment executions
//
// Get list of experiment executions given a set of filters. The result is sorted by creation date in descending order. The result is paged with a page size of 50.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/executions (the `GetExperimentExecutions2` operationId).
GetExperimentExecutions2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetExperimentExecutions2Response, error)
// GetExperimentExecutions2WithResponse Fetch a list of experiment executions
//
// Get list of experiment executions given a set of filters. The result is sorted by creation date in descending order. The result is paged with a page size of 50.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/executions (the `GetExperimentExecutions2` operationId).
GetExperimentExecutions2WithResponse(ctx context.Context, body GetExperimentExecutions2JSONRequestBody, reqEditors ...RequestEditorFn) (*GetExperimentExecutions2Response, error)
// GetExperimentExecutionWithResponse Fetch a single experiment executions of a single experiment
//
// Get a single experiment execution that was performed for a specific experiment.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/experiments/executions/{id} (the `GetExperimentExecution` operationId).
GetExperimentExecutionWithResponse(ctx context.Context, id int64, params *GetExperimentExecutionParams, reqEditors ...RequestEditorFn) (*GetExperimentExecutionResponse, error)
// GetArtifactWithResponse performs a GET /api/experiments/executions/{id}/artifacts/{targetExecutionId}/{artifactId} (the `GetArtifact` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GetArtifactWithResponse(ctx context.Context, id int64, targetExecutionId string, artifactId string, reqEditors ...RequestEditorFn) (*GetArtifactResponse, error)
// CancelExperimentExecutionWithResponse Cancel a running experiment execution of a single experiment
//
// Cancels a currently running experiment execution to be stopped as soon as possible.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/executions/{id}/cancel (the `CancelExperimentExecution` operationId).
CancelExperimentExecutionWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*CancelExperimentExecutionResponse, error)
// UpdateExecutionPropertiesWithBodyWithResponse Update properties of an experiment execution
//
// Update properties of an experiment execution. This is only possible for associated properties with `editableInExecution` set to `true` or for properties that have been added after the execution.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/executions/{id}/properties (the `UpdateExecutionProperties` operationId).
UpdateExecutionPropertiesWithBodyWithResponse(ctx context.Context, id int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExecutionPropertiesResponse, error)
// UpdateExecutionPropertiesWithResponse Update properties of an experiment execution
//
// Update properties of an experiment execution. This is only possible for associated properties with `editableInExecution` set to `true` or for properties that have been added after the execution.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/executions/{id}/properties (the `UpdateExecutionProperties` operationId).
UpdateExecutionPropertiesWithResponse(ctx context.Context, id int64, body UpdateExecutionPropertiesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExecutionPropertiesResponse, error)
// AddExecutionPropertyValueWithBodyWithResponse Add a single value to a list property of an experiment execution.
//
// This operation will fail if the property identified by `key` is not a list property. Only properties with `editableInExecution` set to `true` can be modified.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/executions/{id}/properties/{key}/add (the `AddExecutionPropertyValue` operationId).
AddExecutionPropertyValueWithBodyWithResponse(ctx context.Context, id int64, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddExecutionPropertyValueResponse, error)
// AddExecutionPropertyValueWithResponse Add a single value to a list property of an experiment execution.
//
// This operation will fail if the property identified by `key` is not a list property. Only properties with `editableInExecution` set to `true` can be modified.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/executions/{id}/properties/{key}/add (the `AddExecutionPropertyValue` operationId).
AddExecutionPropertyValueWithResponse(ctx context.Context, id int64, key string, body AddExecutionPropertyValueJSONRequestBody, reqEditors ...RequestEditorFn) (*AddExecutionPropertyValueResponse, error)
// SetExecutionPropertyValueWithBodyWithResponse Set the value of a property of an experiment execution.
//
// Only properties with `editableInExecution` set to `true` can be modified.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/executions/{id}/properties/{key}/set (the `SetExecutionPropertyValue` operationId).
SetExecutionPropertyValueWithBodyWithResponse(ctx context.Context, id int64, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetExecutionPropertyValueResponse, error)
// SetExecutionPropertyValueWithResponse Set the value of a property of an experiment execution.
//
// Only properties with `editableInExecution` set to `true` can be modified.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/executions/{id}/properties/{key}/set (the `SetExecutionPropertyValue` operationId).
SetExecutionPropertyValueWithResponse(ctx context.Context, id int64, key string, body SetExecutionPropertyValueJSONRequestBody, reqEditors ...RequestEditorFn) (*SetExecutionPropertyValueResponse, error)
// UpsertScheduleWithBodyWithResponse Create or update an experiment schedule
//
// Insert or update the experiment schedule. The `id` will be used to identify whether the schedule exists already and should be updated or newly inserted.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/schedules (the `UpsertSchedule` operationId).
UpsertScheduleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertScheduleResponse, error)
// UpsertScheduleWithResponse Create or update an experiment schedule
//
// Insert or update the experiment schedule. The `id` will be used to identify whether the schedule exists already and should be updated or newly inserted.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/schedules (the `UpsertSchedule` operationId).
UpsertScheduleWithResponse(ctx context.Context, body UpsertScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertScheduleResponse, error)
// GetAllSchedulesV2WithResponse Get all current experiment schedule configurations
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/experiments/schedules/v2 (the `GetAllSchedulesV2` operationId).
GetAllSchedulesV2WithResponse(ctx context.Context, params *GetAllSchedulesV2Params, reqEditors ...RequestEditorFn) (*GetAllSchedulesV2Response, error)
// RemoveExperimentScheduleByIdWithResponse Remove an existing experiment schedule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/experiments/schedules/{id} (the `RemoveExperimentScheduleById` operationId).
RemoveExperimentScheduleByIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RemoveExperimentScheduleByIdResponse, error)
// GetSchedulesWithResponse Get experiment schedules for a specific experiment schedule id
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/experiments/schedules/{id} (the `GetSchedules` operationId).
GetSchedulesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSchedulesResponse, error)
// PatchScheduleWithBodyWithResponse Partially update an experiment schedule
//
// Update specific fields of an existing experiment schedule. Only non-null fields in the request body will be updated.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/experiments/schedules/{id} (the `PatchSchedule` operationId).
PatchScheduleWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchScheduleResponse, error)
// PatchScheduleWithResponse Partially update an experiment schedule
//
// Update specific fields of an existing experiment schedule. Only non-null fields in the request body will be updated.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/experiments/schedules/{id} (the `PatchSchedule` operationId).
PatchScheduleWithResponse(ctx context.Context, id string, body PatchScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchScheduleResponse, error)
// GetExperimentTemplatesWithResponse Fetch a list of all templates
//
// Get a list of all templates that exist.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/experiments/templates (the `GetExperimentTemplates` operationId).
GetExperimentTemplatesWithResponse(ctx context.Context, params *GetExperimentTemplatesParams, reqEditors ...RequestEditorFn) (*GetExperimentTemplatesResponse, error)
// UpsertExperimentTemplateWithBodyWithResponse Create or update an experiment template
//
// Insert or update the experiment template in Steadybit. The `id` will be used to identify whether the experiment template exists already and should be updated or newly inserted. If this template is used in a service profile, existing provided service experiments will get updated.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/templates (the `UpsertExperimentTemplate` operationId).
UpsertExperimentTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertExperimentTemplateResponse, error)
// UpsertExperimentTemplateWithResponse Create or update an experiment template
//
// Insert or update the experiment template in Steadybit. The `id` will be used to identify whether the experiment template exists already and should be updated or newly inserted. If this template is used in a service profile, existing provided service experiments will get updated.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/templates (the `UpsertExperimentTemplate` operationId).
UpsertExperimentTemplateWithResponse(ctx context.Context, body UpsertExperimentTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertExperimentTemplateResponse, error)
// ImportFromHubWithBodyWithResponse Import experiment templates
//
// Import experiment templates with given IDs from linked hub.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/templates/imports (the `ImportFromHub` operationId).
ImportFromHubWithBodyWithResponse(ctx context.Context, params *ImportFromHubParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportFromHubResponse, error)
// ImportFromHubWithResponse Import experiment templates
//
// Import experiment templates with given IDs from linked hub.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/templates/imports (the `ImportFromHub` operationId).
ImportFromHubWithResponse(ctx context.Context, params *ImportFromHubParams, body ImportFromHubJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportFromHubResponse, error)
// DeleteExperimentTemplateWithResponse Delete experiment template
//
// Remove the given experiment template from the Steadybit platform. If this template is used in a service profile, it will be removed from the profile and all provided service experiments will get deleted.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/experiments/templates/{id} (the `DeleteExperimentTemplate` operationId).
DeleteExperimentTemplateWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteExperimentTemplateResponse, error)
// GetExperimentTemplateWithResponse Fetch a single experiment template
//
// Get all details of a single existing experiment template.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/experiments/templates/{id} (the `GetExperimentTemplate` operationId).
GetExperimentTemplateWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetExperimentTemplateResponse, error)
// CreateExperimentByTemplateWithBodyWithResponse Create an experiment based on an experiment template
//
// Use the given experiment template id and the placeholder values to create or update the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/templates/{id}/experiment-create (the `CreateExperimentByTemplate` operationId).
CreateExperimentByTemplateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *CreateExperimentByTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateExperimentByTemplateResponse, error)
// CreateExperimentByTemplateWithResponse Create an experiment based on an experiment template
//
// Use the given experiment template id and the placeholder values to create or update the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/templates/{id}/experiment-create (the `CreateExperimentByTemplate` operationId).
CreateExperimentByTemplateWithResponse(ctx context.Context, id openapi_types.UUID, params *CreateExperimentByTemplateParams, body CreateExperimentByTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateExperimentByTemplateResponse, error)
// SaveAndRunFromTemplateWithBodyWithResponse Create an experiment based on an experiment template and run experiment
//
// Use the given experiment template id and the placeholder values to create or update and immediately run the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/templates/{id}/experiment-execute (the `SaveAndRunFromTemplate` operationId).
SaveAndRunFromTemplateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *SaveAndRunFromTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SaveAndRunFromTemplateResponse, error)
// SaveAndRunFromTemplateWithResponse Create an experiment based on an experiment template and run experiment
//
// Use the given experiment template id and the placeholder values to create or update and immediately run the experiment. The `externalId` will be used to identify whether the experiment exists already and should be updated or newly inserted.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/templates/{id}/experiment-execute (the `SaveAndRunFromTemplate` operationId).
SaveAndRunFromTemplateWithResponse(ctx context.Context, id openapi_types.UUID, params *SaveAndRunFromTemplateParams, body SaveAndRunFromTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*SaveAndRunFromTemplateResponse, error)
// UpdateExperimentByTemplateWithBodyWithResponse Update an existing experiment based on a template
//
// Use the given experiment template id and the placeholder values to create or update the experiment. Placeholders that have been used for the initial creation will be reused. Provided placeholders from the body will overwrite existing placeholders.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/templates/{id}/experiment-update/{key} (the `UpdateExperimentByTemplate` operationId).
UpdateExperimentByTemplateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, key string, params *UpdateExperimentByTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExperimentByTemplateResponse, error)
// UpdateExperimentByTemplateWithResponse Update an existing experiment based on a template
//
// Use the given experiment template id and the placeholder values to create or update the experiment. Placeholders that have been used for the initial creation will be reused. Provided placeholders from the body will overwrite existing placeholders.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/templates/{id}/experiment-update/{key} (the `UpdateExperimentByTemplate` operationId).
UpdateExperimentByTemplateWithResponse(ctx context.Context, id openapi_types.UUID, key string, params *UpdateExperimentByTemplateParams, body UpdateExperimentByTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExperimentByTemplateResponse, error)
// DeleteExperimentWithResponse Delete experiment
//
// Remove the given experiment. The associated number is still reserved afterwards and will not be reused.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/experiments/{key} (the `DeleteExperiment` operationId).
DeleteExperimentWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*DeleteExperimentResponse, error)
// GetExperimentWithResponse Fetch a single experiment
//
// Get all details of a single existing experiment.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/experiments/{key} (the `GetExperiment` operationId).
GetExperimentWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetExperimentResponse, error)
// UpdateExperimentWithBodyWithResponse Update an experiment
//
// Update the experiment identified by the experiment `key`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/{key} (the `UpdateExperiment` operationId).
UpdateExperimentWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExperimentResponse, error)
// UpdateExperimentWithResponse Update an experiment
//
// Update the experiment identified by the experiment `key`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/{key} (the `UpdateExperiment` operationId).
UpdateExperimentWithResponse(ctx context.Context, key string, body UpdateExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExperimentResponse, error)
// GetExperimentBadgeWithResponse Get experiment run status as SVG image
//
// Get the status of the latest experiment run of the associated experiment as SVG to integrate it nicely e.g. into your CMS-systems.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/experiments/{key}/badge.svg (the `GetExperimentBadge` operationId).
GetExperimentBadgeWithResponse(ctx context.Context, key string, params *GetExperimentBadgeParams, reqEditors ...RequestEditorFn) (*GetExperimentBadgeResponse, error)
// ExecuteExperimentWithBodyWithResponse Execute an experiment
//
// Trigger execution of a single experiment specified by `key`. The body is optional and allows to specify overrides and custom properties for the experiment execution.
//
// Examples:
// - Override environment from the experiment for a single run:
// “`
// {
// "environment": "Shop Stage"
// }
// “`
// - Override the variables for a single execution:
// “`
// {
// "variables": {
// "httpEndpoint": "http://dev.shop.products.internal"
// }
// }
// “`
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/{key}/execute (the `ExecuteExperiment` operationId).
ExecuteExperimentWithBodyWithResponse(ctx context.Context, key string, params *ExecuteExperimentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecuteExperimentResponse, error)
// ExecuteExperimentWithResponse Execute an experiment
//
// Trigger execution of a single experiment specified by `key`. The body is optional and allows to specify overrides and custom properties for the experiment execution.
//
// Examples:
// - Override environment from the experiment for a single run:
// “`
// {
// "environment": "Shop Stage"
// }
// “`
// - Override the variables for a single execution:
// “`
// {
// "variables": {
// "httpEndpoint": "http://dev.shop.products.internal"
// }
// }
// “`
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/experiments/{key}/execute (the `ExecuteExperiment` operationId).
ExecuteExperimentWithResponse(ctx context.Context, key string, params *ExecuteExperimentParams, body ExecuteExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecuteExperimentResponse, error)
// GetExperimentExecutions3WithResponse Fetch a list of all experiment executions of a single experiment
//
// Get a list of all experiment executions that were performed for a specific experiment.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/experiments/{key}/executions (the `GetExperimentExecutions3` operationId).
GetExperimentExecutions3WithResponse(ctx context.Context, key string, params *GetExperimentExecutions3Params, reqEditors ...RequestEditorFn) (*GetExperimentExecutions3Response, error)
// GetLandscapeViewsWithResponse Fetch all saved landscape views of a team
//
// Get a list of all saved explorer landscape views that belong to the given team.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/explore/landscape/views (the `GetLandscapeViews` operationId).
GetLandscapeViewsWithResponse(ctx context.Context, params *GetLandscapeViewsParams, reqEditors ...RequestEditorFn) (*GetLandscapeViewsResponse, error)
// CreateLandscapeViewWithBodyWithResponse Create a saved landscape view
//
// Create a new saved explorer landscape view for a team.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/explore/landscape/views (the `CreateLandscapeView` operationId).
CreateLandscapeViewWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLandscapeViewResponse, error)
// CreateLandscapeViewWithResponse Create a saved landscape view
//
// Create a new saved explorer landscape view for a team.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/explore/landscape/views (the `CreateLandscapeView` operationId).
CreateLandscapeViewWithResponse(ctx context.Context, body CreateLandscapeViewJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLandscapeViewResponse, error)
// DeleteLandscapeViewWithResponse Delete a saved landscape view
//
// Remove the given saved explorer landscape view from the Steadybit platform.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/explore/landscape/views/{id} (the `DeleteLandscapeView` operationId).
DeleteLandscapeViewWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteLandscapeViewResponse, error)
// GetLandscapeViewWithResponse Fetch a single saved landscape view
//
// Get all details of a single saved explorer landscape view.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/explore/landscape/views/{id} (the `GetLandscapeView` operationId).
GetLandscapeViewWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeViewResponse, error)
// UpdateLandscapeViewWithBodyWithResponse Update a saved landscape view
//
// Update an existing saved explorer landscape view. The view's thumbnail is rendered by the UI and cannot be produced through the API. When an update changes a field that affects how the landscape renders (environment, filter query, group-by, size-by, color-by or show-advice), the thumbnail is cleared so it is not left stale; a metadata-only change (e.g. name or description) keeps it. The UI regenerates the thumbnail on its next save.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/explore/landscape/views/{id} (the `UpdateLandscapeView` operationId).
UpdateLandscapeViewWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLandscapeViewResponse, error)
// UpdateLandscapeViewWithResponse Update a saved landscape view
//
// Update an existing saved explorer landscape view. The view's thumbnail is rendered by the UI and cannot be produced through the API. When an update changes a field that affects how the landscape renders (environment, filter query, group-by, size-by, color-by or show-advice), the thumbnail is cleared so it is not left stale; a metadata-only change (e.g. name or description) keeps it. The UI regenerates the thumbnail on its next save.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/explore/landscape/views/{id} (the `UpdateLandscapeView` operationId).
UpdateLandscapeViewWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateLandscapeViewJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLandscapeViewResponse, error)
// HealthWithResponse performs a GET /api/health (the `Health` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
HealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthResponse, error)
// LivenessWithResponse performs a GET /api/health/liveness (the `Liveness` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
LivenessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivenessResponse, error)
// ReadinessWithResponse performs a GET /api/health/readiness (the `Readiness` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
ReadinessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadinessResponse, error)
// GetHubsWithResponse Fetch a list of all hubs
//
// Get a list of all hubs that are currently connected.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/hubs (the `GetHubs` operationId).
GetHubsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHubsResponse, error)
// UpsertHubWithBodyWithResponse Create or update a hub
//
// Insert or update a hub. The `id` will be used to identify whether the hub exists already and should be updated or newly inserted. The hub content can be synchronized depending on the `resync` parameter. This operation is executed synchronously and may take some time to complete depending on the network connection to hub address.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/hubs (the `UpsertHub` operationId).
UpsertHubWithBodyWithResponse(ctx context.Context, params *UpsertHubParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertHubResponse, error)
// UpsertHubWithResponse Create or update a hub
//
// Insert or update a hub. The `id` will be used to identify whether the hub exists already and should be updated or newly inserted. The hub content can be synchronized depending on the `resync` parameter. This operation is executed synchronously and may take some time to complete depending on the network connection to hub address.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/hubs (the `UpsertHub` operationId).
UpsertHubWithResponse(ctx context.Context, params *UpsertHubParams, body UpsertHubJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertHubResponse, error)
// ConnectionCheckWithBodyWithResponse Check a hub connection
//
// Check if the given hub connection details point to a valid hub.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/hubs/connection-check (the `ConnectionCheck` operationId).
ConnectionCheckWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectionCheckResponse, error)
// ConnectionCheckWithResponse Check a hub connection
//
// Check if the given hub connection details point to a valid hub.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/hubs/connection-check (the `ConnectionCheck` operationId).
ConnectionCheckWithResponse(ctx context.Context, body ConnectionCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectionCheckResponse, error)
// DeleteHubWithResponse Delete a hub
//
// Remove the given hub.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/hubs/{id} (the `DeleteHub` operationId).
DeleteHubWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteHubParams, reqEditors ...RequestEditorFn) (*DeleteHubResponse, error)
// GetHubByIdWithResponse Fetch a single hub
//
// Get all details of a single hub.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/hubs/{id} (the `GetHubById` operationId).
GetHubByIdWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetHubByIdResponse, error)
// ResyncHubWithResponse Re-synchronize a hub
//
// Fetch the latest hub definition based on `hubRepository`. This operation is executed synchronously and may take some time to complete depending on the network connection to hub address.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/hubs/{id}/resync (the `ResyncHub` operationId).
ResyncHubWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ResyncHubResponse, error)
// GetPreflightWebhooksWithResponse Fetch a list of preflight webhooks
//
// Get a list of all existing preflight webhooks.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/integrations/preflight (the `GetPreflightWebhooks` operationId).
GetPreflightWebhooksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPreflightWebhooksResponse, error)
// UpsertPreflightWebhookWithBodyWithResponse Create or update a preflight webhook
//
// Insert or update a preflight webhook.<br/This endpoint requires an admin-token and can't be used with a team-based token.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/integrations/preflight (the `UpsertPreflightWebhook` operationId).
UpsertPreflightWebhookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertPreflightWebhookResponse, error)
// UpsertPreflightWebhookWithResponse Create or update a preflight webhook
//
// Insert or update a preflight webhook.<br/This endpoint requires an admin-token and can't be used with a team-based token.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/integrations/preflight (the `UpsertPreflightWebhook` operationId).
UpsertPreflightWebhookWithResponse(ctx context.Context, body UpsertPreflightWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertPreflightWebhookResponse, error)
// GetPreflightActionIntegrationsWithResponse Fetch a list of preflight action integrations
//
// Get a list of all existing preflight preflight action integrations.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/integrations/preflight-action (the `GetPreflightActionIntegrations` operationId).
GetPreflightActionIntegrationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPreflightActionIntegrationsResponse, error)
// UpsertPreflightActionIntegrationWithBodyWithResponse Create or update a preflight action integration
//
// Insert or update a preflight action integration.<br/This endpoint requires an admin-token and can't be used with a team-based token.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/integrations/preflight-action (the `UpsertPreflightActionIntegration` operationId).
UpsertPreflightActionIntegrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertPreflightActionIntegrationResponse, error)
// UpsertPreflightActionIntegrationWithResponse Create or update a preflight action integration
//
// Insert or update a preflight action integration.<br/This endpoint requires an admin-token and can't be used with a team-based token.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/integrations/preflight-action (the `UpsertPreflightActionIntegration` operationId).
UpsertPreflightActionIntegrationWithResponse(ctx context.Context, body UpsertPreflightActionIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertPreflightActionIntegrationResponse, error)
// DeletePreflightActionIntegrationWithResponse Delete preflight action integration
//
// Remove the given preflight action integration from the Steadybit platform.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/integrations/preflight-action/{id} (the `DeletePreflightActionIntegration` operationId).
DeletePreflightActionIntegrationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeletePreflightActionIntegrationResponse, error)
// GetPreflightActionIntegrationWithResponse Fetch a single preflight preflight action integrations
//
// Get all details of a single preflight preflight action integrations.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/integrations/preflight-action/{id} (the `GetPreflightActionIntegration` operationId).
GetPreflightActionIntegrationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPreflightActionIntegrationResponse, error)
// DeletePreflightWebhookWithResponse Delete preflight webhook
//
// Remove the given preflight webhook from the Steadybit platform.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/integrations/preflight/{id} (the `DeletePreflightWebhook` operationId).
DeletePreflightWebhookWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeletePreflightWebhookResponse, error)
// GetPreflightWebhookWithResponse Fetch a single preflight webhooks
//
// Get all details of a single preflight webhooks.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/integrations/preflight/{id} (the `GetPreflightWebhook` operationId).
GetPreflightWebhookWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPreflightWebhookResponse, error)
// GetSlackIntegrationsWithResponse Fetch a list of slack integrations
//
// Get a list of all existing slack integrations.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/integrations/slack (the `GetSlackIntegrations` operationId).
GetSlackIntegrationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSlackIntegrationsResponse, error)
// UpsertSlackIntegrationWithBodyWithResponse Create or update a slack integration
//
// Insert or update a slack integration.<br/This endpoint requires an admin-token and can't be used with a team-based token.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/integrations/slack (the `UpsertSlackIntegration` operationId).
UpsertSlackIntegrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertSlackIntegrationResponse, error)
// UpsertSlackIntegrationWithResponse Create or update a slack integration
//
// Insert or update a slack integration.<br/This endpoint requires an admin-token and can't be used with a team-based token.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/integrations/slack (the `UpsertSlackIntegration` operationId).
UpsertSlackIntegrationWithResponse(ctx context.Context, body UpsertSlackIntegrationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertSlackIntegrationResponse, error)
// DeleteSlackIntegrationWithResponse Delete slack integration
//
// Remove the given slack integration from the Steadybit platform.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/integrations/slack/{id} (the `DeleteSlackIntegration` operationId).
DeleteSlackIntegrationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteSlackIntegrationResponse, error)
// GetSlackIntegrationWithResponse Fetch a single slack integration
//
// Get all details of a single slack integration.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/integrations/slack/{id} (the `GetSlackIntegration` operationId).
GetSlackIntegrationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSlackIntegrationResponse, error)
// GetCustomWebhooksWithResponse Fetch a list of custom webhooks
//
// Get a list of all existing custom webhooks.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/integrations/webhook (the `GetCustomWebhooks` operationId).
GetCustomWebhooksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCustomWebhooksResponse, error)
// UpsertCustomWebhookWithBodyWithResponse Create or update a custom webhook
//
// Insert or update a custom webhook.<br/This endpoint requires an admin-token and can't be used with a team-based token.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/integrations/webhook (the `UpsertCustomWebhook` operationId).
UpsertCustomWebhookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertCustomWebhookResponse, error)
// UpsertCustomWebhookWithResponse Create or update a custom webhook
//
// Insert or update a custom webhook.<br/This endpoint requires an admin-token and can't be used with a team-based token.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/integrations/webhook (the `UpsertCustomWebhook` operationId).
UpsertCustomWebhookWithResponse(ctx context.Context, body UpsertCustomWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertCustomWebhookResponse, error)
// DeleteCustomWebhookWithResponse Delete custom webhook
//
// Remove the given custom webhook from the Steadybit platform.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/integrations/webhook/{id} (the `DeleteCustomWebhook` operationId).
DeleteCustomWebhookWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCustomWebhookResponse, error)
// GetCustomWebhookWithResponse Fetch a single custom webhooks
//
// Get all details of a single custom webhooks.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/integrations/webhook/{id} (the `GetCustomWebhook` operationId).
GetCustomWebhookWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetCustomWebhookResponse, error)
// DisengageKillswitchWithResponse Deactivate / disengage the kill switch
//
// Deactivates / disengages the kill switch to allow experiment runs.<br/>Experiment runs that were not executed due to engaged / active kill switch will not be automatically executed, they need to be triggered again.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/killswitch (the `DisengageKillswitch` operationId).
DisengageKillswitchWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DisengageKillswitchResponse, error)
// GetKillswitchWithResponse Get the current status of the kill switch
//
// Determines the current status of the kill switch without changing it.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/killswitch (the `GetKillswitch` operationId).
GetKillswitchWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKillswitchResponse, error)
// EngageKillswitchWithResponse Activate / engage the kill switch
//
// Activates / engages the kill switch to cancel all experiments running at the moment and prevent execution of new experiments until the kill switch is disengaged / deactivated again.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/killswitch (the `EngageKillswitch` operationId).
EngageKillswitchWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EngageKillswitchResponse, error)
// GetLicenseSummaryWithResponse Get license summary.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/license (the `GetLicenseSummary` operationId).
GetLicenseSummaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLicenseSummaryResponse, error)
// GetReportWithResponse Get license report.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/license/report (the `GetReport` operationId).
GetReportWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetReportResponse, error)
// GetPreflightActionSummaryWithResponse Get all preflight actions.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/preflight/actions (the `GetPreflightActionSummary` operationId).
GetPreflightActionSummaryWithResponse(ctx context.Context, params *GetPreflightActionSummaryParams, reqEditors ...RequestEditorFn) (*GetPreflightActionSummaryResponse, error)
// GetAssociationsWithResponse Get all current associations.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/properties/associations (the `GetAssociations` operationId).
GetAssociationsWithResponse(ctx context.Context, params *GetAssociationsParams, reqEditors ...RequestEditorFn) (*GetAssociationsResponse, error)
// UpsertPropertyAssociationWithBodyWithResponse Create or update a property association
//
// Insert or update the property association. The `id` will be used to identify whether the schedule exists already and should be updated or newly inserted.
//
// Examples:
// - Assign the property `RESULT_COLOR` to all experiment designs:
// “`
// {
// "key": "RESULT_COLOR",
// "editableInExecution": false,
// "required": true
// }
// “`
// - Assign the property `RESULT_COLOR` to the design ADM-15:
// “`
// {
// "key": "RESULT_COLOR",
// "editableInExecution": false,
// "experimentKey": "ADM-15",
// "required": true
// }
// “`
// - Assign the property `RESULT_COLOR` that can be edited in each experiment execution of the experiment with key `ADM-15`:
// “`
// {
// "key": "RESULT_COLOR",
// "editableInExecution": true,
// "experimentKey": "ADM-15",
// "required": false
// }
// “`
// - Assign the property `RESULT_COLOR` to a service `0a2d67b9-1d5a-4179-8c32-e5296be1f56f`:
// “`
// {
// "key": "RESULT_COLOR",
// "associationType": "SERVICE",
// "serviceId": "0a2d67b9-1d5a-4179-8c32-e5296be1f56f",
// "required": false
// }
// “`
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/properties/associations (the `UpsertPropertyAssociation` operationId).
UpsertPropertyAssociationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertPropertyAssociationResponse, error)
// UpsertPropertyAssociationWithResponse Create or update a property association
//
// Insert or update the property association. The `id` will be used to identify whether the schedule exists already and should be updated or newly inserted.
//
// Examples:
// - Assign the property `RESULT_COLOR` to all experiment designs:
// “`
// {
// "key": "RESULT_COLOR",
// "editableInExecution": false,
// "required": true
// }
// “`
// - Assign the property `RESULT_COLOR` to the design ADM-15:
// “`
// {
// "key": "RESULT_COLOR",
// "editableInExecution": false,
// "experimentKey": "ADM-15",
// "required": true
// }
// “`
// - Assign the property `RESULT_COLOR` that can be edited in each experiment execution of the experiment with key `ADM-15`:
// “`
// {
// "key": "RESULT_COLOR",
// "editableInExecution": true,
// "experimentKey": "ADM-15",
// "required": false
// }
// “`
// - Assign the property `RESULT_COLOR` to a service `0a2d67b9-1d5a-4179-8c32-e5296be1f56f`:
// “`
// {
// "key": "RESULT_COLOR",
// "associationType": "SERVICE",
// "serviceId": "0a2d67b9-1d5a-4179-8c32-e5296be1f56f",
// "required": false
// }
// “`
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/properties/associations (the `UpsertPropertyAssociation` operationId).
UpsertPropertyAssociationWithResponse(ctx context.Context, body UpsertPropertyAssociationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertPropertyAssociationResponse, error)
// DeletePropertyAssociationWithResponse Remove an existing property association.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/properties/associations/{id} (the `DeletePropertyAssociation` operationId).
DeletePropertyAssociationWithResponse(ctx context.Context, id openapi_types.UUID, params *DeletePropertyAssociationParams, reqEditors ...RequestEditorFn) (*DeletePropertyAssociationResponse, error)
// GetPropertyDefinition1WithResponse Get property association by a given id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/properties/associations/{id} (the `GetPropertyDefinition1` operationId).
GetPropertyDefinition1WithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPropertyDefinition1Response, error)
// GetPropertyDefinitionsWithResponse performs a GET /api/properties/definitions (the `GetPropertyDefinitions` operationId) request.
//
// Returns a wrapper object for the known response body format(s).
GetPropertyDefinitionsWithResponse(ctx context.Context, params *GetPropertyDefinitionsParams, reqEditors ...RequestEditorFn) (*GetPropertyDefinitionsResponse, error)
// UpsertPropertyDefinitionWithBodyWithResponse Create or update property definition
//
// Insert or update the property definition specified by the given `key`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/properties/definitions (the `UpsertPropertyDefinition` operationId).
UpsertPropertyDefinitionWithBodyWithResponse(ctx context.Context, params *UpsertPropertyDefinitionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertPropertyDefinitionResponse, error)
// UpsertPropertyDefinitionWithResponse Create or update property definition
//
// Insert or update the property definition specified by the given `key`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/properties/definitions (the `UpsertPropertyDefinition` operationId).
UpsertPropertyDefinitionWithResponse(ctx context.Context, params *UpsertPropertyDefinitionParams, body UpsertPropertyDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertPropertyDefinitionResponse, error)
// DeletePropertyDefinitionWithResponse Remove an existing property definition
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/properties/definitions/{key} (the `DeletePropertyDefinition` operationId).
DeletePropertyDefinitionWithResponse(ctx context.Context, key string, params *DeletePropertyDefinitionParams, reqEditors ...RequestEditorFn) (*DeletePropertyDefinitionResponse, error)
// GetPropertyDefinitionWithResponse Get property definition for a specific property definition key.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/properties/definitions/{key} (the `GetPropertyDefinition` operationId).
GetPropertyDefinitionWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetPropertyDefinitionResponse, error)
// GetEnvironmentCountsWithBodyWithResponse Get environment counts over time
//
// Returns the number of environments in the tenant aggregated into time buckets.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/reports/environments (the `GetEnvironmentCounts` operationId).
GetEnvironmentCountsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetEnvironmentCountsResponse, error)
// GetEnvironmentCountsWithResponse Get environment counts over time
//
// Returns the number of environments in the tenant aggregated into time buckets.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/reports/environments (the `GetEnvironmentCounts` operationId).
GetEnvironmentCountsWithResponse(ctx context.Context, body GetEnvironmentCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetEnvironmentCountsResponse, error)
// GetExperimentCreationsWithBodyWithResponse Get experiment creation counts over time
//
// Returns experiment creation counts aggregated into time buckets, optionally grouped by creation method or origin.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/reports/experiments/created (the `GetExperimentCreations` operationId).
GetExperimentCreationsWithBodyWithResponse(ctx context.Context, params *GetExperimentCreationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetExperimentCreationsResponse, error)
// GetExperimentCreationsWithResponse Get experiment creation counts over time
//
// Returns experiment creation counts aggregated into time buckets, optionally grouped by creation method or origin.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/reports/experiments/created (the `GetExperimentCreations` operationId).
GetExperimentCreationsWithResponse(ctx context.Context, params *GetExperimentCreationsParams, body GetExperimentCreationsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetExperimentCreationsResponse, error)
// GetExperimentExecutionsWithBodyWithResponse Get experiment execution counts over time
//
// Returns experiment execution counts aggregated into time buckets, optionally grouped by state, trigger, or attack action.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/reports/experiments/executed (the `GetExperimentExecutions` operationId).
GetExperimentExecutionsWithBodyWithResponse(ctx context.Context, params *GetExperimentExecutionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetExperimentExecutionsResponse, error)
// GetExperimentExecutionsWithResponse Get experiment execution counts over time
//
// Returns experiment execution counts aggregated into time buckets, optionally grouped by state, trigger, or attack action.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/reports/experiments/executed (the `GetExperimentExecutions` operationId).
GetExperimentExecutionsWithResponse(ctx context.Context, params *GetExperimentExecutionsParams, body GetExperimentExecutionsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetExperimentExecutionsResponse, error)
// GetAverageRiskWithBodyWithResponse Get average service risk over time
//
// Returns the average risk across services aggregated into time buckets. Risk is reported as an integer 0-100.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/reports/services/average (the `GetAverageRisk` operationId).
GetAverageRiskWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetAverageRiskResponse, error)
// GetAverageRiskWithResponse Get average service risk over time
//
// Returns the average risk across services aggregated into time buckets. Risk is reported as an integer 0-100.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/reports/services/average (the `GetAverageRisk` operationId).
GetAverageRiskWithResponse(ctx context.Context, body GetAverageRiskJSONRequestBody, reqEditors ...RequestEditorFn) (*GetAverageRiskResponse, error)
// GetRiskByCategoryWithBodyWithResponse Get average service risk grouped by category over time
//
// Returns the average risk per category (key from the categoryRisks map) across services, aggregated into time buckets.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/reports/services/by-category (the `GetRiskByCategory` operationId).
GetRiskByCategoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetRiskByCategoryResponse, error)
// GetRiskByCategoryWithResponse Get average service risk grouped by category over time
//
// Returns the average risk per category (key from the categoryRisks map) across services, aggregated into time buckets.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/reports/services/by-category (the `GetRiskByCategory` operationId).
GetRiskByCategoryWithResponse(ctx context.Context, body GetRiskByCategoryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetRiskByCategoryResponse, error)
// GetRiskDistributionWithBodyWithResponse Get service risk level distribution over time
//
// Returns the count of services in each risk level (LOW, MEDIUM, HIGH) aggregated into time buckets.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/reports/services/distribution (the `GetRiskDistribution` operationId).
GetRiskDistributionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetRiskDistributionResponse, error)
// GetRiskDistributionWithResponse Get service risk level distribution over time
//
// Returns the count of services in each risk level (LOW, MEDIUM, HIGH) aggregated into time buckets.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/reports/services/distribution (the `GetRiskDistribution` operationId).
GetRiskDistributionWithResponse(ctx context.Context, body GetRiskDistributionJSONRequestBody, reqEditors ...RequestEditorFn) (*GetRiskDistributionResponse, error)
// GetTeamCountsWithBodyWithResponse Get team counts over time
//
// Returns the number of teams in the tenant aggregated into time buckets.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/reports/teams (the `GetTeamCounts` operationId).
GetTeamCountsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetTeamCountsResponse, error)
// GetTeamCountsWithResponse Get team counts over time
//
// Returns the number of teams in the tenant aggregated into time buckets.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/reports/teams (the `GetTeamCounts` operationId).
GetTeamCountsWithResponse(ctx context.Context, body GetTeamCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetTeamCountsResponse, error)
// GetUserCountsWithBodyWithResponse Get user counts over time
//
// Returns the number of users in the tenant aggregated into time buckets.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/reports/users (the `GetUserCounts` operationId).
GetUserCountsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetUserCountsResponse, error)
// GetUserCountsWithResponse Get user counts over time
//
// Returns the number of users in the tenant aggregated into time buckets.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/reports/users (the `GetUserCounts` operationId).
GetUserCountsWithResponse(ctx context.Context, body GetUserCountsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetUserCountsResponse, error)
// GetServiceListWithResponse Fetch a list of services
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/services (the `GetServiceList` operationId).
GetServiceListWithResponse(ctx context.Context, params *GetServiceListParams, reqEditors ...RequestEditorFn) (*GetServiceListResponse, error)
// UpsertServiceWithBodyWithResponse Create or update service
//
// Insert or update the service specified by the given `id`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/services (the `UpsertService` operationId).
UpsertServiceWithBodyWithResponse(ctx context.Context, params *UpsertServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertServiceResponse, error)
// UpsertServiceWithResponse Create or update service
//
// Insert or update the service specified by the given `id`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/services (the `UpsertService` operationId).
UpsertServiceWithResponse(ctx context.Context, params *UpsertServiceParams, body UpsertServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertServiceResponse, error)
// GetProfilesWithResponse Fetch a list of service profiles
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/services/profiles (the `GetProfiles` operationId).
GetProfilesWithResponse(ctx context.Context, params *GetProfilesParams, reqEditors ...RequestEditorFn) (*GetProfilesResponse, error)
// UpsertProfileWithBodyWithResponse Create or update service profile
//
// Insert or update the service profile specified by the given `id`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/services/profiles (the `UpsertProfile` operationId).
UpsertProfileWithBodyWithResponse(ctx context.Context, params *UpsertProfileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertProfileResponse, error)
// UpsertProfileWithResponse Create or update service profile
//
// Insert or update the service profile specified by the given `id`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/services/profiles (the `UpsertProfile` operationId).
UpsertProfileWithResponse(ctx context.Context, params *UpsertProfileParams, body UpsertProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertProfileResponse, error)
// DeleteProfileWithResponse Delete an existing service profile
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/services/profiles/{id} (the `DeleteProfile` operationId).
DeleteProfileWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteProfileResponse, error)
// GetProfileWithResponse Get service profile by id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/services/profiles/{id} (the `GetProfile` operationId).
GetProfileWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetProfileResponse, error)
// DeleteServiceWithResponse Delete an existing service
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/services/{id} (the `DeleteService` operationId).
DeleteServiceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteServiceResponse, error)
// GetServiceWithResponse Get service by id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/services/{id} (the `GetService` operationId).
GetServiceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetServiceResponse, error)
// GetServiceExperimentsWithResponse Get experiments associated to an service.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/services/{id}/experiments (the `GetServiceExperiments` operationId).
GetServiceExperimentsWithResponse(ctx context.Context, id openapi_types.UUID, params *GetServiceExperimentsParams, reqEditors ...RequestEditorFn) (*GetServiceExperimentsResponse, error)
// UnlinkCustomExperimentWithResponse Remove a linked custom experiment from a service.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/services/{id}/experiments/custom (the `UnlinkCustomExperiment` operationId).
UnlinkCustomExperimentWithResponse(ctx context.Context, id openapi_types.UUID, params *UnlinkCustomExperimentParams, reqEditors ...RequestEditorFn) (*UnlinkCustomExperimentResponse, error)
// LinkCustomExperimentWithBodyWithResponse Link a custom experiment to a service.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/services/{id}/experiments/custom (the `LinkCustomExperiment` operationId).
LinkCustomExperimentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LinkCustomExperimentResponse, error)
// LinkCustomExperimentWithResponse Link a custom experiment to a service.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/services/{id}/experiments/custom (the `LinkCustomExperiment` operationId).
LinkCustomExperimentWithResponse(ctx context.Context, id openapi_types.UUID, body LinkCustomExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*LinkCustomExperimentResponse, error)
// UpsertProvidedExperimentWithBodyWithResponse Create or update a provided experiment.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/services/{id}/experiments/provided (the `UpsertProvidedExperiment` operationId).
UpsertProvidedExperimentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *UpsertProvidedExperimentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertProvidedExperimentResponse, error)
// UpsertProvidedExperimentWithResponse Create or update a provided experiment.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/services/{id}/experiments/provided (the `UpsertProvidedExperiment` operationId).
UpsertProvidedExperimentWithResponse(ctx context.Context, id openapi_types.UUID, params *UpsertProvidedExperimentParams, body UpsertProvidedExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertProvidedExperimentResponse, error)
// GetRiskWithResponse Get the risk score for a service
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/services/{id}/risk (the `GetRisk` operationId).
GetRiskWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRiskResponse, error)
// GetServiceVariablesWithResponse Get service variables
//
// Get all variables owned by the service.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/services/{id}/variables (the `GetServiceVariables` operationId).
GetServiceVariablesWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetServiceVariablesResponse, error)
// MergeServiceVariablesWithBodyWithResponse Add / merge service variables
//
// All provided variables will be associated with the given service.<br/>If a variable key is already in use, its value is updated.<br/>If a variable is already associated but not provided, it continues to exist.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/services/{id}/variables (the `MergeServiceVariables` operationId).
MergeServiceVariablesWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MergeServiceVariablesResponse, error)
// MergeServiceVariablesWithResponse Add / merge service variables
//
// All provided variables will be associated with the given service.<br/>If a variable key is already in use, its value is updated.<br/>If a variable is already associated but not provided, it continues to exist.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/services/{id}/variables (the `MergeServiceVariables` operationId).
MergeServiceVariablesWithResponse(ctx context.Context, id openapi_types.UUID, body MergeServiceVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*MergeServiceVariablesResponse, error)
// SetServiceVariablesWithBodyWithResponse Replace all service variables
//
// All provided variables will be associated with the given service and existing ones removed.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/services/{id}/variables (the `SetServiceVariables` operationId).
SetServiceVariablesWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetServiceVariablesResponse, error)
// SetServiceVariablesWithResponse Replace all service variables
//
// All provided variables will be associated with the given service and existing ones removed.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/services/{id}/variables (the `SetServiceVariables` operationId).
SetServiceVariablesWithResponse(ctx context.Context, id openapi_types.UUID, body SetServiceVariablesJSONRequestBody, reqEditors ...RequestEditorFn) (*SetServiceVariablesResponse, error)
// GetTargetsStatsWithResponse Gather target statistics without any filters
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/target-stats (the `GetTargetsStats` operationId).
GetTargetsStatsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTargetsStatsResponse, error)
// GetTargetsStats1WithBodyWithResponse Gather target statistics for a given predicate or query
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/target-stats (the `GetTargetsStats1` operationId).
GetTargetsStats1WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetTargetsStats1Response, error)
// GetTargetsStats1WithResponse Gather target statistics for a given predicate or query
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/target-stats (the `GetTargetsStats1` operationId).
GetTargetsStats1WithResponse(ctx context.Context, body GetTargetsStats1JSONRequestBody, reqEditors ...RequestEditorFn) (*GetTargetsStats1Response, error)
// GetTargetsWithResponse Get targets
//
// Get targets.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/targets (the `GetTargets` operationId).
GetTargetsWithResponse(ctx context.Context, params *GetTargetsParams, reqEditors ...RequestEditorFn) (*GetTargetsResponse, error)
// GetTargetAttributeKeysWithResponse Get attribute key
//
// Get all available attribute keys for a specific target type in a given environment.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/targets/attributes/keys (the `GetTargetAttributeKeys` operationId).
GetTargetAttributeKeysWithResponse(ctx context.Context, params *GetTargetAttributeKeysParams, reqEditors ...RequestEditorFn) (*GetTargetAttributeKeysResponse, error)
// GetTargetAttributeValuesWithResponse Get attribute values
//
// Get all available attribute values for a specific attribute and target type in a given environment.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/targets/attributes/values (the `GetTargetAttributeValues` operationId).
GetTargetAttributeValuesWithResponse(ctx context.Context, params *GetTargetAttributeValuesParams, reqEditors ...RequestEditorFn) (*GetTargetAttributeValuesResponse, error)
// GetTeamsWithResponse Fetch a list of all teams
//
// Get a list of all teams that exist.<br/> If used with a team-associated `accessToken` and `onlyAccessible` is set to `true` you only get the team of the `accessToken`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/teams (the `GetTeams` operationId).
GetTeamsWithResponse(ctx context.Context, params *GetTeamsParams, reqEditors ...RequestEditorFn) (*GetTeamsResponse, error)
// UpsertTeamWithBodyWithResponse Create or update a team
//
// Insert or update the team in Steadybit. The `key` will be used to identify whether the team exists already and should be updated or newly inserted. If a provided member's username or email is not yet known it will be skipped.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/teams (the `UpsertTeam` operationId).
UpsertTeamWithBodyWithResponse(ctx context.Context, params *UpsertTeamParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertTeamResponse, error)
// UpsertTeamWithResponse Create or update a team
//
// Insert or update the team in Steadybit. The `key` will be used to identify whether the team exists already and should be updated or newly inserted. If a provided member's username or email is not yet known it will be skipped.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/teams (the `UpsertTeam` operationId).
UpsertTeamWithResponse(ctx context.Context, params *UpsertTeamParams, body UpsertTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertTeamResponse, error)
// DeleteTeamWithResponse Delete team
//
// Remove the given team from the Steadybit platform. This will only work, if there are no experiments running at the moment.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/teams/{key} (the `DeleteTeam` operationId).
DeleteTeamWithResponse(ctx context.Context, key string, params *DeleteTeamParams, reqEditors ...RequestEditorFn) (*DeleteTeamResponse, error)
// GetTeamWithResponse Fetch a single team
//
// Get all details of a single existing teams.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/teams/{key} (the `GetTeam` operationId).
GetTeamWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetTeamResponse, error)
// GetTeamEnvironmentsWithResponse Get all environments assigned to the team
//
// Get a list of members that are part of the specified team. The list contains the username, being a Steadybit user id, and the role in this particular team (owner or member).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/teams/{key}/environments (the `GetTeamEnvironments` operationId).
GetTeamEnvironmentsWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetTeamEnvironmentsResponse, error)
// SetTeamEnvironmentsWithBodyWithResponse Update the environments of a specific team
//
// The allowed environments of the specified team will be updated with these provided. New environments will be added to the team, environments not provided in the request will be removed from the team.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/teams/{key}/environments (the `SetTeamEnvironments` operationId).
SetTeamEnvironmentsWithBodyWithResponse(ctx context.Context, key string, params *SetTeamEnvironmentsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetTeamEnvironmentsResponse, error)
// SetTeamEnvironmentsWithResponse Update the environments of a specific team
//
// The allowed environments of the specified team will be updated with these provided. New environments will be added to the team, environments not provided in the request will be removed from the team.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/teams/{key}/environments (the `SetTeamEnvironments` operationId).
SetTeamEnvironmentsWithResponse(ctx context.Context, key string, params *SetTeamEnvironmentsParams, body SetTeamEnvironmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTeamEnvironmentsResponse, error)
// AddTeamEnvironmentsWithBodyWithResponse Add an allowed environment to a team
//
// The given environments will be added to the specified team.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/teams/{key}/environments/add (the `AddTeamEnvironments` operationId).
AddTeamEnvironmentsWithBodyWithResponse(ctx context.Context, key string, params *AddTeamEnvironmentsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTeamEnvironmentsResponse, error)
// AddTeamEnvironmentsWithResponse Add an allowed environment to a team
//
// The given environments will be added to the specified team.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/teams/{key}/environments/add (the `AddTeamEnvironments` operationId).
AddTeamEnvironmentsWithResponse(ctx context.Context, key string, params *AddTeamEnvironmentsParams, body AddTeamEnvironmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTeamEnvironmentsResponse, error)
// RemoveTeamEnvironmentsWithBodyWithResponse Remove allowed environment from a team
//
// The given environments will be removed from the specified team.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/teams/{key}/environments/remove (the `RemoveTeamEnvironments` operationId).
RemoveTeamEnvironmentsWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveTeamEnvironmentsResponse, error)
// RemoveTeamEnvironmentsWithResponse Remove allowed environment from a team
//
// The given environments will be removed from the specified team.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/teams/{key}/environments/remove (the `RemoveTeamEnvironments` operationId).
RemoveTeamEnvironmentsWithResponse(ctx context.Context, key string, body RemoveTeamEnvironmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveTeamEnvironmentsResponse, error)
// GetTeamMembersWithResponse Get all members being part of the team
//
// Get a list of members that are part of the specified team. The list contains the username, being a Steadybit user id, and the role in this particular team (owner or member).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/teams/{key}/members (the `GetTeamMembers` operationId).
GetTeamMembersWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetTeamMembersResponse, error)
// SetTeamMembersWithBodyWithResponse Update the members of a specific team
//
// The members of the specified team will be updated with these provided. New team members will be added to the team, team members not provided in the request will be removed from the team.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/teams/{key}/members (the `SetTeamMembers` operationId).
SetTeamMembersWithBodyWithResponse(ctx context.Context, key string, params *SetTeamMembersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetTeamMembersResponse, error)
// SetTeamMembersWithResponse Update the members of a specific team
//
// The members of the specified team will be updated with these provided. New team members will be added to the team, team members not provided in the request will be removed from the team.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/teams/{key}/members (the `SetTeamMembers` operationId).
SetTeamMembersWithResponse(ctx context.Context, key string, params *SetTeamMembersParams, body SetTeamMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTeamMembersResponse, error)
// AddTeamMembersWithBodyWithResponse Add team members to a team
//
// The given members will be added to the specified team.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/teams/{key}/members/add (the `AddTeamMembers` operationId).
AddTeamMembersWithBodyWithResponse(ctx context.Context, key string, params *AddTeamMembersParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddTeamMembersResponse, error)
// AddTeamMembersWithResponse Add team members to a team
//
// The given members will be added to the specified team.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/teams/{key}/members/add (the `AddTeamMembers` operationId).
AddTeamMembersWithResponse(ctx context.Context, key string, params *AddTeamMembersParams, body AddTeamMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*AddTeamMembersResponse, error)
// RemoveTeamMembersWithBodyWithResponse Remove team members from a team
//
// The given members will be removed from the specified team. However, they are still able to login, view the content of the team and may still be member of another team.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/teams/{key}/members/remove (the `RemoveTeamMembers` operationId).
RemoveTeamMembersWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveTeamMembersResponse, error)
// RemoveTeamMembersWithResponse Remove team members from a team
//
// The given members will be removed from the specified team. However, they are still able to login, view the content of the team and may still be member of another team.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/teams/{key}/members/remove (the `RemoveTeamMembers` operationId).
RemoveTeamMembersWithResponse(ctx context.Context, key string, body RemoveTeamMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveTeamMembersResponse, error)
// InviteUserWithBodyWithResponse Invite users to a tenant
//
// Invite users to a tenant. The invited users will receive an email with an invitation link to join the tenant.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/users/invite (the `InviteUser` operationId).
InviteUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteUserResponse, error)
// InviteUserWithResponse Invite users to a tenant
//
// Invite users to a tenant. The invited users will receive an email with an invitation link to join the tenant.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/users/invite (the `InviteUser` operationId).
InviteUserWithResponse(ctx context.Context, body InviteUserJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteUserResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ComparableValueAO ¶
type ComparableValueAO struct {
Type *string `json:"type,omitempty"`
}
ComparableValueAO defines model for ComparableValueAO.
type ConnectionCheckJSONRequestBody ¶
type ConnectionCheckJSONRequestBody = HubConnectionCheckAO
ConnectionCheckJSONRequestBody defines body for ConnectionCheck for application/json ContentType.
type ConnectionCheckResponse ¶
type ConnectionCheckResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HubConnectionCheckResponseAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *HubConnectionCheckResponseAO
}
func ParseConnectionCheckResponse ¶
func ParseConnectionCheckResponse(rsp *http.Response) (*ConnectionCheckResponse, error)
ParseConnectionCheckResponse parses an HTTP response from a ConnectionCheckWithResponse call
func (ConnectionCheckResponse) ContentType ¶
func (r ConnectionCheckResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectionCheckResponse) GetBody ¶
func (r ConnectionCheckResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectionCheckResponse) GetJSON200 ¶
func (r ConnectionCheckResponse) GetJSON200() *HubConnectionCheckResponseAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectionCheckResponse) GetYAML200 ¶
func (r ConnectionCheckResponse) GetYAML200() *HubConnectionCheckResponseAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (ConnectionCheckResponse) Status ¶
func (r ConnectionCheckResponse) Status() string
Status returns HTTPResponse.Status
func (ConnectionCheckResponse) StatusCode ¶
func (r ConnectionCheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAccessToken1JSONRequestBody ¶
type CreateAccessToken1JSONRequestBody = CreateAccessTokenRequestV2AO
CreateAccessToken1JSONRequestBody defines body for CreateAccessToken1 for application/json ContentType.
type CreateAccessToken1Response ¶
type CreateAccessToken1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CreateAccessTokenResponseV2AO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *CreateAccessTokenResponseV2AO
}
func ParseCreateAccessToken1Response ¶
func ParseCreateAccessToken1Response(rsp *http.Response) (*CreateAccessToken1Response, error)
ParseCreateAccessToken1Response parses an HTTP response from a CreateAccessToken1WithResponse call
func (CreateAccessToken1Response) ContentType ¶
func (r CreateAccessToken1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateAccessToken1Response) GetBody ¶
func (r CreateAccessToken1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateAccessToken1Response) GetJSON200 ¶
func (r CreateAccessToken1Response) GetJSON200() *CreateAccessTokenResponseV2AO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateAccessToken1Response) GetYAML200 ¶
func (r CreateAccessToken1Response) GetYAML200() *CreateAccessTokenResponseV2AO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (CreateAccessToken1Response) Status ¶
func (r CreateAccessToken1Response) Status() string
Status returns HTTPResponse.Status
func (CreateAccessToken1Response) StatusCode ¶
func (r CreateAccessToken1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAccessTokenJSONRequestBody
deprecated
type CreateAccessTokenJSONRequestBody = CreateAccessTokenRequestAO
CreateAccessTokenJSONRequestBody defines body for CreateAccessToken for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type CreateAccessTokenRequestAO ¶
type CreateAccessTokenRequestAO struct {
// Name Name of the Access Token to document its purpose
//
// Example: CI/CD access token
Name string `json:"name"`
// Team Team associated with this token or null if this is an admin token
//
// Example: ADM
Team *string `json:"team,omitempty"`
// Type Type of this token.
//
// Example: TEAM
Type CreateAccessTokenRequestAOType `json:"type"`
}
CreateAccessTokenRequestAO defines model for CreateAccessTokenRequestAO.
type CreateAccessTokenRequestAOType ¶
type CreateAccessTokenRequestAOType string
CreateAccessTokenRequestAOType Type of this token.
Example: TEAM
const ( CreateAccessTokenRequestAOTypeADMIN CreateAccessTokenRequestAOType = "ADMIN" CreateAccessTokenRequestAOTypeTEAM CreateAccessTokenRequestAOType = "TEAM" )
Defines values for CreateAccessTokenRequestAOType.
func (CreateAccessTokenRequestAOType) Valid ¶
func (e CreateAccessTokenRequestAOType) Valid() bool
Valid indicates whether the value is a known member of the CreateAccessTokenRequestAOType enum.
type CreateAccessTokenRequestV2AO ¶
type CreateAccessTokenRequestV2AO struct {
// ExpiresAt Expiration date of the token. If not set, the token will never expire.
//
// Example: 2027-01-01T00:00:00Z
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
// Name Name of the Access Token to document its purpose
//
// Example: CI/CD access token
Name string `json:"name"`
// Teams Keys of teams to associate with this token. Required when type TEAM, must be empty for type ADMIN.
//
// Example: ["ADM","DEV"]
Teams *[]string `json:"teams,omitempty"`
// Type Type of this token.
//
// Example: TEAM
Type CreateAccessTokenRequestV2AOType `json:"type"`
}
CreateAccessTokenRequestV2AO defines model for CreateAccessTokenRequestV2AO.
type CreateAccessTokenRequestV2AOType ¶
type CreateAccessTokenRequestV2AOType string
CreateAccessTokenRequestV2AOType Type of this token.
Example: TEAM
const ( CreateAccessTokenRequestV2AOTypeADMIN CreateAccessTokenRequestV2AOType = "ADMIN" CreateAccessTokenRequestV2AOTypeTEAM CreateAccessTokenRequestV2AOType = "TEAM" CreateAccessTokenRequestV2AOTypeWILDCARD CreateAccessTokenRequestV2AOType = "WILDCARD" )
Defines values for CreateAccessTokenRequestV2AOType.
func (CreateAccessTokenRequestV2AOType) Valid ¶
func (e CreateAccessTokenRequestV2AOType) Valid() bool
Valid indicates whether the value is a known member of the CreateAccessTokenRequestV2AOType enum.
type CreateAccessTokenResponse ¶
type CreateAccessTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CreateAccessTokenResponseAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *CreateAccessTokenResponseAO
}
func ParseCreateAccessTokenResponse ¶
func ParseCreateAccessTokenResponse(rsp *http.Response) (*CreateAccessTokenResponse, error)
ParseCreateAccessTokenResponse parses an HTTP response from a CreateAccessTokenWithResponse call
func (CreateAccessTokenResponse) ContentType ¶
func (r CreateAccessTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateAccessTokenResponse) GetBody ¶
func (r CreateAccessTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateAccessTokenResponse) GetJSON200 ¶
func (r CreateAccessTokenResponse) GetJSON200() *CreateAccessTokenResponseAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateAccessTokenResponse) GetYAML200 ¶
func (r CreateAccessTokenResponse) GetYAML200() *CreateAccessTokenResponseAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (CreateAccessTokenResponse) Status ¶
func (r CreateAccessTokenResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAccessTokenResponse) StatusCode ¶
func (r CreateAccessTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAccessTokenResponseAO ¶
type CreateAccessTokenResponseAO struct {
// Id Unique identifier of the access token
//
// Example: CQer2Oar
Id *string `json:"id,omitempty"`
// Token Token to be used to authenticate in the API. <br/> Make sure to save the generated token as you can't read it again afterwards for security-reasons.
//
// Example: a1fDXcA0.P.2dFfGl3fAq126mnVCxyPZLoEmLwPi2
Token *string `json:"token,omitempty"`
}
CreateAccessTokenResponseAO defines model for CreateAccessTokenResponseAO.
type CreateAccessTokenResponseV2AO ¶
type CreateAccessTokenResponseV2AO struct {
// Id Unique identifier of this access token
Id *string `json:"id,omitempty"`
// Token The access token. Make sure to save it as you can't read it again afterwards for security-reasons.
Token *string `json:"token,omitempty"`
}
CreateAccessTokenResponseV2AO defines model for CreateAccessTokenResponseV2AO.
type CreateAndRunExperimentAO ¶
type CreateAndRunExperimentAO struct {
// Environment The name of the environment to be used
//
// Example: Global
Environment *string `json:"environment,omitempty"`
// ExecutionVariables Variables that will be merged for the single experiment execution with the variables defined of the experiment or environment that the experiment will be executed in. A `key` that exists already in the experiment or environment variables will be overridden for this execution, all others will be added solely in the context of the first experiment execution. Each value is either a constant string, an array of constant strings, or a select expression object.
//
// Example: {"httpEndpoint":"http://dev.shop.products.internal"}
ExecutionVariables *map[string]VariableExpressionAO `json:"executionVariables,omitempty"`
// ExperimentVariables Variables that will be used when the experiment will be executed. Experiment variables will override existing environment variables. Each value is either a constant string, an array of constant strings, or a select expression object (`{"type":"select",...}`).
//
// Example: {"httpEndpoint":"http://dev.shop.products.internal","httpEndpointZones":{"attribute":"aws.zone","count":2,"mode":"fixed","targetType":"com.steadybit.extension_container.container","type":"select"},"targetServices":["gateway","hot-deals","fashion-bestseller"]}
ExperimentVariables *map[string]VariableExpressionAO `json:"experimentVariables,omitempty"`
// ExternalId An optional external identifier used for create-or-update semantics.
//
// Example: 1234567
ExternalId *string `json:"externalId,omitempty"`
// ExternalReference An optional external reference. Will be removed and is replaced by tags. If used with experiment creation, the value will be added as a tag.
//
// Example: INCIDENT-4711
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ExternalReference *string `json:"externalReference,omitempty"`
// Hypothesis The hypothesis that is validated by the experiment
//
// Example: System is able to survive a latency in the network of 1500ms
Hypothesis *string `json:"hypothesis,omitempty"`
// Lanes The lanes (steps executed in parallel) in the experiment. Each lane consists of multiple steps that are executed sequential per lane.
//
// Example: [{"steps":[{"actionType":"com.steadybit.extension_host.stress-cpu","ignoreFailure":false,"parameters":{"duration":"30s"},"radius":{"percentage":100,"predicate":{"operator":"AND","predicates":[{"key":"k8s.deployment","operator":"EQUALS","values":["hot-deals"]}]},"query":null,"targetType":"com.steadybit.extension_container.container"},"type":"action"}]}]
Lanes []ExperimentLaneAO `json:"lanes"`
// Name Name of the experiment to easily identify the experiment
//
// Example: Shop survives unavailability of hot-deals products
Name string `json:"name"`
// Properties The properties of the experiment
//
// Example: {"EXAMPLE_CUSTOM_PROPERTY":"I like this experiment!"}
Properties *map[string]interface{} `json:"properties,omitempty"`
//
// Example: [OPS, SHOP]
SharedTeams *[]string `json:"sharedTeams,omitempty"`
// Tags An optional set of tags you can use to search for.
//
// Example: ["myTag","myOtherTag"]
Tags *[]string `json:"tags,omitempty"`
// Team The key of the team to be used
//
// Example: ADM
Team string `json:"team"`
}
CreateAndRunExperimentAO Create or update the experiment with the given experiment design.
Example: {"environment":"Global","lanes":[{"steps":[{"actionType":"com.steadybit.extension_host.stress-cpu","ignoreFailure":false,"parameters":{"duration":"30s"},"radius":{"percentage":100,"predicate":{"operator":"AND","predicates":[{"key":"k8s.deployment","operator":"EQUALS","values":["hot-deals"]}]},"query":null,"targetType":"com.steadybit.extension_container.container"},"type":"action"}]}],"name":"Blackhole Hot-deals","properties":{"EXAMPLE_CUSTOM_PROPERTY":"I like this experiment!"},"team":"ADM"}
type CreateAndRunExperimentFromTemplateAO ¶
type CreateAndRunExperimentFromTemplateAO struct {
// Environment The name of the environment to be used
//
// Example: Global
Environment *string `json:"environment,omitempty"`
// ExecutionVariables Variables that will be merged for the single experiment execution with the variables defined of the experiment or environment that the experiment will be executed in. A `key` that exists already in the experiment or environment variables will be overridden for this execution, all others will be added solely in the context of the first experiment execution. Each value is either a constant string, an array of constant strings, or a select expression object.
//
// Example: {"httpEndpoint":"http://dev.shop.products.internal"}
ExecutionVariables *map[string]VariableExpressionAO `json:"executionVariables,omitempty"`
// ExperimentVariables Variables that will be added to the created experiment design. A `key` that exists already in the environment variables will be overridden. Each value is either a constant string, an array of constant strings, or a select expression object.
//
// Example: {"httpEndpoint":"http://dev.shop.products.internal"}
ExperimentVariables *map[string]VariableExpressionAO `json:"experimentVariables,omitempty"`
// ExternalId An optional external identifier used for create-or-update semantics.
//
// Example: 1234567
ExternalId *string `json:"externalId,omitempty"`
// Placeholders List of template placeholder values
Placeholders *[]ExperimentTemplatePlaceholderValueAO `json:"placeholders,omitempty"`
// Team The key of the team to be used
//
// Example: ADM
Team string `json:"team"`
}
CreateAndRunExperimentFromTemplateAO Create or update an experiment based on an experiment template and run it.
Example: {"environment":"steadybit-demo","executionVariables":{"httpEndpoint":"http://dev.shop.products.internal"},"externalId":"1234567","placeholders":[{"key":"CLUSTER","value":"demo-cluster"},{"key":"BOOL","value":true},{"key":"NUMBER","value":15},{"key":"KEYVALUE","value":[{"key":"example-a","value":"abc"},{"key":"example-b","value":"123"}]},{"key":"LIST","value":["entry1","entry2","entry3"]},{"key":"FILE","value":{"data":"SGVsbG8gV29ybGQh","fileName":"example.txt"}}],"team":"DEMO"}
type CreateExperimentAO ¶
type CreateExperimentAO struct {
// Environment The name of the environment to be used
//
// Example: Global
Environment *string `json:"environment,omitempty"`
// ExperimentVariables Variables that will be used when the experiment will be executed. Experiment variables will override existing environment variables. Each value is either a constant string, an array of constant strings, or a select expression object (`{"type":"select",...}`).
//
// Example: {"httpEndpoint":"http://dev.shop.products.internal","httpEndpointZones":{"attribute":"aws.zone","count":2,"mode":"fixed","targetType":"com.steadybit.extension_container.container","type":"select"},"targetServices":["gateway","hot-deals","fashion-bestseller"]}
ExperimentVariables *map[string]VariableExpressionAO `json:"experimentVariables,omitempty"`
// ExternalId An optional external identifier used for create-or-update semantics.
//
// Example: 1234567
ExternalId *string `json:"externalId,omitempty"`
// ExternalReference An optional external reference. Will be removed and is replaced by tags. If used with experiment creation, the value will be added as a tag.
//
// Example: INCIDENT-4711
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ExternalReference *string `json:"externalReference,omitempty"`
// Hypothesis The hypothesis that is validated by the experiment
//
// Example: System is able to survive a latency in the network of 1500ms
Hypothesis *string `json:"hypothesis,omitempty"`
// Lanes The lanes (steps executed in parallel) in the experiment. Each lane consists of multiple steps that are executed sequential per lane.
//
// Example: [{"steps":[{"actionType":"com.steadybit.extension_host.stress-cpu","ignoreFailure":false,"parameters":{"duration":"30s"},"radius":{"percentage":100,"predicate":{"operator":"AND","predicates":[{"key":"k8s.deployment","operator":"EQUALS","values":["hot-deals"]}]},"query":null,"targetType":"com.steadybit.extension_container.container"},"type":"action"}]}]
Lanes []ExperimentLaneAO `json:"lanes"`
// Name Name of the experiment to easily identify the experiment
//
// Example: Shop survives unavailability of hot-deals products
Name string `json:"name"`
// Properties The properties of the experiment
//
// Example: {"EXAMPLE_CUSTOM_PROPERTY":"I like this experiment!"}
Properties *map[string]interface{} `json:"properties,omitempty"`
//
// Example: [OPS, SHOP]
SharedTeams *[]string `json:"sharedTeams,omitempty"`
// Tags An optional set of tags you can use to search for.
//
// Example: ["myTag","myOtherTag"]
Tags *[]string `json:"tags,omitempty"`
// Team The key of the team to be used
//
// Example: ADM
Team string `json:"team"`
}
CreateExperimentAO Create or update the experiment with the given experiment design.
Example: {"environment":"Global","lanes":[{"steps":[{"actionType":"com.steadybit.extension_host.stress-cpu","ignoreFailure":false,"parameters":{"duration":"30s"},"radius":{"percentage":100,"predicate":{"operator":"AND","predicates":[{"key":"k8s.deployment","operator":"EQUALS","values":["hot-deals"]}]},"query":null,"targetType":"com.steadybit.extension_container.container"},"type":"action"}]}],"name":"Blackhole Hot-deals","properties":{"EXAMPLE_CUSTOM_PROPERTY":"I like this experiment!"},"sharedTeams":["SHOP"],"team":"ADM"}
type CreateExperimentByTemplateJSONRequestBody ¶
type CreateExperimentByTemplateJSONRequestBody = CreateExperimentFromTemplateAO
CreateExperimentByTemplateJSONRequestBody defines body for CreateExperimentByTemplate for application/json ContentType.
type CreateExperimentByTemplateParams ¶
type CreateExperimentByTemplateParams struct {
// ResetProperties If `true`, all properties will be reset to properties specified in the template either with their fixed values in the template or via template placeholder. If `false`, existing properties will stay untouched, only new properties will be added. Only relevant for experiment updates via `externalId`.
ResetProperties *bool `form:"resetProperties,omitempty" json:"resetProperties,omitempty"`
}
CreateExperimentByTemplateParams defines parameters for CreateExperimentByTemplate.
type CreateExperimentByTemplateResponse ¶
func ParseCreateExperimentByTemplateResponse ¶
func ParseCreateExperimentByTemplateResponse(rsp *http.Response) (*CreateExperimentByTemplateResponse, error)
ParseCreateExperimentByTemplateResponse parses an HTTP response from a CreateExperimentByTemplateWithResponse call
func (CreateExperimentByTemplateResponse) ContentType ¶
func (r CreateExperimentByTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateExperimentByTemplateResponse) GetBody ¶
func (r CreateExperimentByTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateExperimentByTemplateResponse) Status ¶
func (r CreateExperimentByTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (CreateExperimentByTemplateResponse) StatusCode ¶
func (r CreateExperimentByTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateExperimentFromTemplateAO ¶
type CreateExperimentFromTemplateAO struct {
// Environment The name of the environment to be used
//
// Example: Global
Environment *string `json:"environment,omitempty"`
// ExperimentVariables Variables that will be added to the created experiment design. A `key` that exists already in the environment variables will be overridden. Each value is either a constant string, an array of constant strings, or a select expression object.
//
// Example: {"httpEndpoint":"http://dev.shop.products.internal"}
ExperimentVariables *map[string]VariableExpressionAO `json:"experimentVariables,omitempty"`
// ExternalId An optional external identifier used for create-or-update semantics.
//
// Example: 1234567
ExternalId *string `json:"externalId,omitempty"`
// Placeholders List of template placeholder values
Placeholders *[]ExperimentTemplatePlaceholderValueAO `json:"placeholders,omitempty"`
// Team The key of the team to be used
//
// Example: ADM
Team string `json:"team"`
}
CreateExperimentFromTemplateAO Create or update an experiment based on an experiment template.
Example: {"environment":"steadybit-demo","experimentVariables":{"httpEndpoint":"http://dev.shop.products.internal"},"externalId":"1234567","placeholders":[{"key":"CLUSTER","value":"demo-cluster"},{"key":"BOOL","value":true},{"key":"NUMBER","value":15},{"key":"KEYVALUE","value":[{"key":"example-a","value":"abc"},{"key":"example-b","value":"123"}]},{"key":"LIST","value":["entry1","entry2","entry3"]},{"key":"FILE","value":{"data":"SGVsbG8gV29ybGQh","fileName":"example.txt"}}],"team":"DEMO"}
type CreateLandscapeViewJSONRequestBody ¶
type CreateLandscapeViewJSONRequestBody = UpsertLandscapeViewAO
CreateLandscapeViewJSONRequestBody defines body for CreateLandscapeView for application/json ContentType.
type CreateLandscapeViewResponse ¶
type CreateLandscapeViewResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *LandscapeViewAO
// YAML201 the response for an HTTP 201 `application/yaml` response
YAML201 *LandscapeViewAO
}
func ParseCreateLandscapeViewResponse ¶
func ParseCreateLandscapeViewResponse(rsp *http.Response) (*CreateLandscapeViewResponse, error)
ParseCreateLandscapeViewResponse parses an HTTP response from a CreateLandscapeViewWithResponse call
func (CreateLandscapeViewResponse) ContentType ¶
func (r CreateLandscapeViewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateLandscapeViewResponse) GetBody ¶
func (r CreateLandscapeViewResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateLandscapeViewResponse) GetJSON201 ¶
func (r CreateLandscapeViewResponse) GetJSON201() *LandscapeViewAO
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateLandscapeViewResponse) GetYAML201 ¶
func (r CreateLandscapeViewResponse) GetYAML201() *LandscapeViewAO
GetYAML201 returns the response for an HTTP 201 `application/yaml` response
func (CreateLandscapeViewResponse) Status ¶
func (r CreateLandscapeViewResponse) Status() string
Status returns HTTPResponse.Status
func (CreateLandscapeViewResponse) StatusCode ¶
func (r CreateLandscapeViewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateOrUpdateExperimentJSONRequestBody ¶
type CreateOrUpdateExperimentJSONRequestBody = CreateExperimentAO
CreateOrUpdateExperimentJSONRequestBody defines body for CreateOrUpdateExperiment for application/json ContentType.
type CreateOrUpdateExperimentResponse ¶
func ParseCreateOrUpdateExperimentResponse ¶
func ParseCreateOrUpdateExperimentResponse(rsp *http.Response) (*CreateOrUpdateExperimentResponse, error)
ParseCreateOrUpdateExperimentResponse parses an HTTP response from a CreateOrUpdateExperimentWithResponse call
func (CreateOrUpdateExperimentResponse) ContentType ¶
func (r CreateOrUpdateExperimentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateOrUpdateExperimentResponse) GetBody ¶
func (r CreateOrUpdateExperimentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateOrUpdateExperimentResponse) Status ¶
func (r CreateOrUpdateExperimentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateOrUpdateExperimentResponse) StatusCode ¶
func (r CreateOrUpdateExperimentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CursorSliceResponseAOTargetAO ¶
type CursorSliceResponseAOTargetAO struct {
// HasNext Are there more items that can be fetched with the given nextCursor?
//
// Example: true
HasNext *bool `json:"hasNext,omitempty"`
Items *[]TargetAO `json:"items,omitempty"`
// NextCursor The cursor to use to fetch the next page
//
// Example: eyJhZ2VudElkIjogImFnZW50LTEyMyIsICJuYW1lIjogImRlcGxveW1lbnQtYSIsICJ0eXBlIjogImNvbS5zdGVhZHliaXQuZXh0ZW5zaW9uX2t1YmVybmV0ZXMua3ViZXJuZXRlcy1kZXBsb3ltZW50In0=
NextCursor *string `json:"nextCursor,omitempty"`
}
CursorSliceResponseAOTargetAO defines model for CursorSliceResponseAOTargetAO.
type CustomWebhookAO ¶
type CustomWebhookAO struct {
// Events The events that are being sent or a list containing a single `*` if all supported event types should be used.
//
// Supported Events:
// - "experiment.execution.requested"
// - "experiment.execution.created"
// - "experiment.execution.preflight"
// - "experiment.execution.completed"
// - "experiment.execution.failed"
// - "experiment.execution.errored"
// - "experiment.execution.canceled"
// - "experiment.execution.step-started"
// - "experiment.execution.step-completed"
// - "experiment.execution.step-failed"
// - "experiment.execution.step-errored"
// - "experiment.execution.step-canceled"
// - "experiment.execution.step-skipped"
// - "killswitch.engaged"
// - "killswitch.disengaged"
//
//
// Example: ["experiment.execution.created","experiment.execution.completed"]
Events []string `json:"events"`
// Headers Additional headers to include in the webhook request.
//
// Example: {"X-Another-Header":"AnotherValue","X-Custom-Header":"CustomValue"}
Headers *map[string]string `json:"headers,omitempty"`
// Id The id of the webhook
//
// Example: ac456d58-8fb2-4df4-86d8-ca81d7562739
Id openapi_types.UUID `json:"id"`
// Name The name of the webhook
//
// Example: Custom Webhook
Name string `json:"name"`
// Scope The scope of the webhook / integration
//
// Example: TEAM
Scope CustomWebhookAOScope `json:"scope"`
// Secret If a secret is provided a signature of the body is computed using `HMAC SHA-256` and sent as `X-SB-Signature` http header. You can use this header to verify the message.
//
// Example: secret123!!
Secret *string `json:"secret,omitempty"`
// TargetAttributeIncludes The body size can get very large as we include all target attributes for each target of your experiments. When having experiments with many targets, it might be useful to filter the attributes to only include the ones you are interested in. You can use the wildcard character '*' to match all attributes or a comma-separated-list of attribute-names. If the field is empty, no attributes will be included.
//
// Example: ["k8s.cluster-name","k8s.deployment"]
TargetAttributeIncludes []string `json:"targetAttributeIncludes"`
// Team The key of the team if the scope is `TEAM`
//
// Example: ADM
Team *string `json:"team,omitempty"`
// Url The URL of the webhook
//
// Example: https://example.com/webhook
Url string `json:"url"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version int32 `json:"version"`
}
CustomWebhookAO defines model for CustomWebhookAO.
type CustomWebhookAOScope ¶
type CustomWebhookAOScope string
CustomWebhookAOScope The scope of the webhook / integration
Example: TEAM
const ( CustomWebhookAOScopeGLOBAL CustomWebhookAOScope = "GLOBAL" CustomWebhookAOScopeTEAM CustomWebhookAOScope = "TEAM" )
Defines values for CustomWebhookAOScope.
func (CustomWebhookAOScope) Valid ¶
func (e CustomWebhookAOScope) Valid() bool
Valid indicates whether the value is a known member of the CustomWebhookAOScope enum.
type CustomWebhookUpsertAO ¶
type CustomWebhookUpsertAO struct {
// Events The events that are being sent or a list containing a single `*` if all supported event types should be used.
//
// Supported Events:
// - "experiment.execution.requested"
// - "experiment.execution.created"
// - "experiment.execution.preflight"
// - "experiment.execution.completed"
// - "experiment.execution.failed"
// - "experiment.execution.errored"
// - "experiment.execution.canceled"
// - "experiment.execution.step-started"
// - "experiment.execution.step-completed"
// - "experiment.execution.step-failed"
// - "experiment.execution.step-errored"
// - "experiment.execution.step-canceled"
// - "experiment.execution.step-skipped"
// - "killswitch.engaged"
// - "killswitch.disengaged"
//
//
// Example: ["experiment.execution.created","experiment.execution.completed"]
Events []string `json:"events"`
// Headers Additional headers to include in the webhook request.
//
// Example: {"X-Another-Header":"AnotherValue","X-Custom-Header":"CustomValue"}
Headers *map[string]string `json:"headers,omitempty"`
// Id The id of the webhook or null if a new webhook should be created.
//
// Example: ac456d58-8fb2-4df4-86d8-ca81d7562739
Id *openapi_types.UUID `json:"id,omitempty"`
// Name The name of the webhook
//
// Example: Custom Webhook
Name string `json:"name"`
// Scope The scope of the webhook / integration
//
// Example: TEAM
Scope CustomWebhookUpsertAOScope `json:"scope"`
// Secret If a secret is provided a signature of the body is computed using `HMAC SHA-256` and sent as `X-SB-Signature` http header. You can use this header to verify the message.
//
// Example: secret123!!
Secret *string `json:"secret,omitempty"`
// TargetAttributeIncludes The body size can get very large as we include all target attributes for each target of your experiments. When having experiments with many targets, it might be useful to filter the attributes to only include the ones you are interested in. You can use the wildcard character '*' to match all attributes or a comma-separated-list of attribute-names. If the field is empty, no attributes will be included.
//
// Example: ["k8s.cluster-name","k8s.deployment"]
TargetAttributeIncludes []string `json:"targetAttributeIncludes"`
// Team The key of the team if the scope is `TEAM`
//
// Example: ADM
Team *string `json:"team,omitempty"`
// Url The URL of the webhook
//
// Example: https://example.com/webhook
Url string `json:"url"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
CustomWebhookUpsertAO defines model for CustomWebhookUpsertAO.
type CustomWebhookUpsertAOScope ¶
type CustomWebhookUpsertAOScope string
CustomWebhookUpsertAOScope The scope of the webhook / integration
Example: TEAM
const ( CustomWebhookUpsertAOScopeGLOBAL CustomWebhookUpsertAOScope = "GLOBAL" CustomWebhookUpsertAOScopeTEAM CustomWebhookUpsertAOScope = "TEAM" )
Defines values for CustomWebhookUpsertAOScope.
func (CustomWebhookUpsertAOScope) Valid ¶
func (e CustomWebhookUpsertAOScope) Valid() bool
Valid indicates whether the value is a known member of the CustomWebhookUpsertAOScope enum.
type DefaultBlastRadiusAO ¶
type DefaultBlastRadiusAO struct {
// Mode Mode of the default blast radius.
//
// Example: PERCENTAGE
Mode string `json:"mode"`
// Value Value for the mode. Percentage (0-100) when mode is PERCENTAGE, max target count when mode is MAXIMUM.
//
// Example: 100
Value *int32 `json:"value,omitempty"`
}
DefaultBlastRadiusAO Default blast radius configuration for an action.
type DeleteAccessToken1Response ¶
func ParseDeleteAccessToken1Response ¶
func ParseDeleteAccessToken1Response(rsp *http.Response) (*DeleteAccessToken1Response, error)
ParseDeleteAccessToken1Response parses an HTTP response from a DeleteAccessToken1WithResponse call
func (DeleteAccessToken1Response) ContentType ¶
func (r DeleteAccessToken1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAccessToken1Response) GetBody ¶
func (r DeleteAccessToken1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteAccessToken1Response) Status ¶
func (r DeleteAccessToken1Response) Status() string
Status returns HTTPResponse.Status
func (DeleteAccessToken1Response) StatusCode ¶
func (r DeleteAccessToken1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAccessTokenResponse ¶
func ParseDeleteAccessTokenResponse ¶
func ParseDeleteAccessTokenResponse(rsp *http.Response) (*DeleteAccessTokenResponse, error)
ParseDeleteAccessTokenResponse parses an HTTP response from a DeleteAccessTokenWithResponse call
func (DeleteAccessTokenResponse) ContentType ¶
func (r DeleteAccessTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAccessTokenResponse) GetBody ¶
func (r DeleteAccessTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteAccessTokenResponse) Status ¶
func (r DeleteAccessTokenResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAccessTokenResponse) StatusCode ¶
func (r DeleteAccessTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCustomWebhookResponse ¶
type DeleteCustomWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CustomWebhookAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *CustomWebhookAO
}
func ParseDeleteCustomWebhookResponse ¶
func ParseDeleteCustomWebhookResponse(rsp *http.Response) (*DeleteCustomWebhookResponse, error)
ParseDeleteCustomWebhookResponse parses an HTTP response from a DeleteCustomWebhookWithResponse call
func (DeleteCustomWebhookResponse) ContentType ¶
func (r DeleteCustomWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteCustomWebhookResponse) GetBody ¶
func (r DeleteCustomWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteCustomWebhookResponse) GetJSON200 ¶
func (r DeleteCustomWebhookResponse) GetJSON200() *CustomWebhookAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteCustomWebhookResponse) GetYAML200 ¶
func (r DeleteCustomWebhookResponse) GetYAML200() *CustomWebhookAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (DeleteCustomWebhookResponse) Status ¶
func (r DeleteCustomWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCustomWebhookResponse) StatusCode ¶
func (r DeleteCustomWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEnvironmentResponse ¶
func ParseDeleteEnvironmentResponse ¶
func ParseDeleteEnvironmentResponse(rsp *http.Response) (*DeleteEnvironmentResponse, error)
ParseDeleteEnvironmentResponse parses an HTTP response from a DeleteEnvironmentWithResponse call
func (DeleteEnvironmentResponse) ContentType ¶
func (r DeleteEnvironmentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteEnvironmentResponse) GetBody ¶
func (r DeleteEnvironmentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteEnvironmentResponse) Status ¶
func (r DeleteEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEnvironmentResponse) StatusCode ¶
func (r DeleteEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteExperimentResponse ¶
func ParseDeleteExperimentResponse ¶
func ParseDeleteExperimentResponse(rsp *http.Response) (*DeleteExperimentResponse, error)
ParseDeleteExperimentResponse parses an HTTP response from a DeleteExperimentWithResponse call
func (DeleteExperimentResponse) ContentType ¶
func (r DeleteExperimentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteExperimentResponse) GetBody ¶
func (r DeleteExperimentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteExperimentResponse) Status ¶
func (r DeleteExperimentResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteExperimentResponse) StatusCode ¶
func (r DeleteExperimentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteExperimentTemplateResponse ¶
func ParseDeleteExperimentTemplateResponse ¶
func ParseDeleteExperimentTemplateResponse(rsp *http.Response) (*DeleteExperimentTemplateResponse, error)
ParseDeleteExperimentTemplateResponse parses an HTTP response from a DeleteExperimentTemplateWithResponse call
func (DeleteExperimentTemplateResponse) ContentType ¶
func (r DeleteExperimentTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteExperimentTemplateResponse) GetBody ¶
func (r DeleteExperimentTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteExperimentTemplateResponse) Status ¶
func (r DeleteExperimentTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteExperimentTemplateResponse) StatusCode ¶
func (r DeleteExperimentTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteHubParams ¶
type DeleteHubParams struct {
// DeleteImportedTemplates Whether imported templates of the hub should be deleted as well.
DeleteImportedTemplates *bool `form:"deleteImportedTemplates,omitempty" json:"deleteImportedTemplates,omitempty"`
}
DeleteHubParams defines parameters for DeleteHub.
type DeleteHubResponse ¶
func ParseDeleteHubResponse ¶
func ParseDeleteHubResponse(rsp *http.Response) (*DeleteHubResponse, error)
ParseDeleteHubResponse parses an HTTP response from a DeleteHubWithResponse call
func (DeleteHubResponse) ContentType ¶
func (r DeleteHubResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteHubResponse) GetBody ¶
func (r DeleteHubResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteHubResponse) Status ¶
func (r DeleteHubResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteHubResponse) StatusCode ¶
func (r DeleteHubResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteLandscapeViewResponse ¶
func ParseDeleteLandscapeViewResponse ¶
func ParseDeleteLandscapeViewResponse(rsp *http.Response) (*DeleteLandscapeViewResponse, error)
ParseDeleteLandscapeViewResponse parses an HTTP response from a DeleteLandscapeViewWithResponse call
func (DeleteLandscapeViewResponse) ContentType ¶
func (r DeleteLandscapeViewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteLandscapeViewResponse) GetBody ¶
func (r DeleteLandscapeViewResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteLandscapeViewResponse) Status ¶
func (r DeleteLandscapeViewResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteLandscapeViewResponse) StatusCode ¶
func (r DeleteLandscapeViewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePreflightActionIntegrationResponse ¶
type DeletePreflightActionIntegrationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PreflightActionIntegrationAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PreflightActionIntegrationAO
}
func ParseDeletePreflightActionIntegrationResponse ¶
func ParseDeletePreflightActionIntegrationResponse(rsp *http.Response) (*DeletePreflightActionIntegrationResponse, error)
ParseDeletePreflightActionIntegrationResponse parses an HTTP response from a DeletePreflightActionIntegrationWithResponse call
func (DeletePreflightActionIntegrationResponse) ContentType ¶
func (r DeletePreflightActionIntegrationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePreflightActionIntegrationResponse) GetBody ¶
func (r DeletePreflightActionIntegrationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeletePreflightActionIntegrationResponse) GetJSON200 ¶
func (r DeletePreflightActionIntegrationResponse) GetJSON200() *PreflightActionIntegrationAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeletePreflightActionIntegrationResponse) GetYAML200 ¶
func (r DeletePreflightActionIntegrationResponse) GetYAML200() *PreflightActionIntegrationAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (DeletePreflightActionIntegrationResponse) Status ¶
func (r DeletePreflightActionIntegrationResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePreflightActionIntegrationResponse) StatusCode ¶
func (r DeletePreflightActionIntegrationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePreflightWebhookResponse ¶
type DeletePreflightWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PreflightWebhookAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PreflightWebhookAO
}
func ParseDeletePreflightWebhookResponse ¶
func ParseDeletePreflightWebhookResponse(rsp *http.Response) (*DeletePreflightWebhookResponse, error)
ParseDeletePreflightWebhookResponse parses an HTTP response from a DeletePreflightWebhookWithResponse call
func (DeletePreflightWebhookResponse) ContentType ¶
func (r DeletePreflightWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePreflightWebhookResponse) GetBody ¶
func (r DeletePreflightWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeletePreflightWebhookResponse) GetJSON200 ¶
func (r DeletePreflightWebhookResponse) GetJSON200() *PreflightWebhookAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeletePreflightWebhookResponse) GetYAML200 ¶
func (r DeletePreflightWebhookResponse) GetYAML200() *PreflightWebhookAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (DeletePreflightWebhookResponse) Status ¶
func (r DeletePreflightWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePreflightWebhookResponse) StatusCode ¶
func (r DeletePreflightWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProfileResponse ¶
func ParseDeleteProfileResponse ¶
func ParseDeleteProfileResponse(rsp *http.Response) (*DeleteProfileResponse, error)
ParseDeleteProfileResponse parses an HTTP response from a DeleteProfileWithResponse call
func (DeleteProfileResponse) ContentType ¶
func (r DeleteProfileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteProfileResponse) GetBody ¶
func (r DeleteProfileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteProfileResponse) Status ¶
func (r DeleteProfileResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteProfileResponse) StatusCode ¶
func (r DeleteProfileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePropertyAssociationParams ¶
type DeletePropertyAssociationParams struct {
// DeleteValues Associations can only be deleted, if no experiment design or experiment schedule is still using the value. Setting this parameter to `true` will delete those values.
DeleteValues *bool `form:"deleteValues,omitempty" json:"deleteValues,omitempty"`
}
DeletePropertyAssociationParams defines parameters for DeletePropertyAssociation.
type DeletePropertyAssociationResponse ¶
func ParseDeletePropertyAssociationResponse ¶
func ParseDeletePropertyAssociationResponse(rsp *http.Response) (*DeletePropertyAssociationResponse, error)
ParseDeletePropertyAssociationResponse parses an HTTP response from a DeletePropertyAssociationWithResponse call
func (DeletePropertyAssociationResponse) ContentType ¶
func (r DeletePropertyAssociationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePropertyAssociationResponse) GetBody ¶
func (r DeletePropertyAssociationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeletePropertyAssociationResponse) Status ¶
func (r DeletePropertyAssociationResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePropertyAssociationResponse) StatusCode ¶
func (r DeletePropertyAssociationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePropertyDefinitionParams ¶
type DeletePropertyDefinitionParams struct {
// DeleteAssociations Definitions can only be deleted, if no associations are still refering to this property. Setting the value to `true` will delete all associations and all current values in experiment designs and schedules. Existing executions won't get touched.
DeleteAssociations *bool `form:"deleteAssociations,omitempty" json:"deleteAssociations,omitempty"`
}
DeletePropertyDefinitionParams defines parameters for DeletePropertyDefinition.
type DeletePropertyDefinitionResponse ¶
func ParseDeletePropertyDefinitionResponse ¶
func ParseDeletePropertyDefinitionResponse(rsp *http.Response) (*DeletePropertyDefinitionResponse, error)
ParseDeletePropertyDefinitionResponse parses an HTTP response from a DeletePropertyDefinitionWithResponse call
func (DeletePropertyDefinitionResponse) ContentType ¶
func (r DeletePropertyDefinitionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePropertyDefinitionResponse) GetBody ¶
func (r DeletePropertyDefinitionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeletePropertyDefinitionResponse) Status ¶
func (r DeletePropertyDefinitionResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePropertyDefinitionResponse) StatusCode ¶
func (r DeletePropertyDefinitionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteServiceResponse ¶
func ParseDeleteServiceResponse ¶
func ParseDeleteServiceResponse(rsp *http.Response) (*DeleteServiceResponse, error)
ParseDeleteServiceResponse parses an HTTP response from a DeleteServiceWithResponse call
func (DeleteServiceResponse) ContentType ¶
func (r DeleteServiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteServiceResponse) GetBody ¶
func (r DeleteServiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteServiceResponse) Status ¶
func (r DeleteServiceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteServiceResponse) StatusCode ¶
func (r DeleteServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSlackIntegrationResponse ¶
type DeleteSlackIntegrationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SlackWebhookAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *SlackWebhookAO
}
func ParseDeleteSlackIntegrationResponse ¶
func ParseDeleteSlackIntegrationResponse(rsp *http.Response) (*DeleteSlackIntegrationResponse, error)
ParseDeleteSlackIntegrationResponse parses an HTTP response from a DeleteSlackIntegrationWithResponse call
func (DeleteSlackIntegrationResponse) ContentType ¶
func (r DeleteSlackIntegrationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSlackIntegrationResponse) GetBody ¶
func (r DeleteSlackIntegrationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSlackIntegrationResponse) GetJSON200 ¶
func (r DeleteSlackIntegrationResponse) GetJSON200() *SlackWebhookAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteSlackIntegrationResponse) GetYAML200 ¶
func (r DeleteSlackIntegrationResponse) GetYAML200() *SlackWebhookAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (DeleteSlackIntegrationResponse) Status ¶
func (r DeleteSlackIntegrationResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSlackIntegrationResponse) StatusCode ¶
func (r DeleteSlackIntegrationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTeamParams ¶
type DeleteTeamParams struct {
// PurgeIncludingExperiments Safety-Parameter - purge team including all experiments and executions.
PurgeIncludingExperiments bool `form:"purgeIncludingExperiments" json:"purgeIncludingExperiments"`
}
DeleteTeamParams defines parameters for DeleteTeam.
type DeleteTeamResponse ¶
type DeleteTeamResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TeamAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TeamAO
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *TeamAO
// YAML403 the response for an HTTP 403 `application/yaml` response
YAML403 *TeamAO
}
func ParseDeleteTeamResponse ¶
func ParseDeleteTeamResponse(rsp *http.Response) (*DeleteTeamResponse, error)
ParseDeleteTeamResponse parses an HTTP response from a DeleteTeamWithResponse call
func (DeleteTeamResponse) ContentType ¶
func (r DeleteTeamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteTeamResponse) GetBody ¶
func (r DeleteTeamResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteTeamResponse) GetJSON200 ¶
func (r DeleteTeamResponse) GetJSON200() *TeamAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteTeamResponse) GetJSON403 ¶
func (r DeleteTeamResponse) GetJSON403() *TeamAO
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteTeamResponse) GetYAML200 ¶
func (r DeleteTeamResponse) GetYAML200() *TeamAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (DeleteTeamResponse) GetYAML403 ¶
func (r DeleteTeamResponse) GetYAML403() *TeamAO
GetYAML403 returns the response for an HTTP 403 `application/yaml` response
func (DeleteTeamResponse) Status ¶
func (r DeleteTeamResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTeamResponse) StatusCode ¶
func (r DeleteTeamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DisengageKillswitchResponse ¶
func ParseDisengageKillswitchResponse ¶
func ParseDisengageKillswitchResponse(rsp *http.Response) (*DisengageKillswitchResponse, error)
ParseDisengageKillswitchResponse parses an HTTP response from a DisengageKillswitchWithResponse call
func (DisengageKillswitchResponse) ContentType ¶
func (r DisengageKillswitchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DisengageKillswitchResponse) GetBody ¶
func (r DisengageKillswitchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DisengageKillswitchResponse) Status ¶
func (r DisengageKillswitchResponse) Status() string
Status returns HTTPResponse.Status
func (DisengageKillswitchResponse) StatusCode ¶
func (r DisengageKillswitchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EngageKillswitchResponse ¶
func ParseEngageKillswitchResponse ¶
func ParseEngageKillswitchResponse(rsp *http.Response) (*EngageKillswitchResponse, error)
ParseEngageKillswitchResponse parses an HTTP response from a EngageKillswitchWithResponse call
func (EngageKillswitchResponse) ContentType ¶
func (r EngageKillswitchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EngageKillswitchResponse) GetBody ¶
func (r EngageKillswitchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EngageKillswitchResponse) Status ¶
func (r EngageKillswitchResponse) Status() string
Status returns HTTPResponse.Status
func (EngageKillswitchResponse) StatusCode ¶
func (r EngageKillswitchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnvironmentAL ¶
type EnvironmentAL struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
// Predicate Query defining the overall superset of targets being effected
//
// Example: [{"key":"container.host/name","operator":"EQUALS","values":["docker-desktop/minikube"]}]
Predicate TargetPredicateAO `json:"predicate"`
}
EnvironmentAL The environment in which the event was triggered
Example: {"id":"1avfd231-8322-42f2-bad9-307dc962ec37","name":"Global","predicate":{"operator":"AND","predicates":[]}}
type EnvironmentAO ¶
type EnvironmentAO struct {
// Id Unique identifier of a environment
Id *openapi_types.UUID `json:"id,omitempty"`
// Name Name of the environment.
//
// Example: Global
Name string `json:"name"`
// Predicate Query defining the overall superset of targets being effected
//
// Example: [{"key":"container.host/name","operator":"EQUALS","values":["docker-desktop/minikube"]}]
Predicate TargetPredicateAO `json:"predicate"`
// Query Alternative to `predicate`. If both `query` and `predicate` will be provided, `query` will override the `predicate`.
//
// Example: (aws.account="123" OR aws.account="456"
Query *string `json:"query,omitempty"`
// State State of the environment to indicate current background tasks.
//
// Example: "READY"
State EnvironmentAOState `json:"state"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
EnvironmentAO An environment for limiting the access to discovered systems for a team.
Example: {"id":"2v1av42-e525-4c00-a13a-1ac32d170724","name":"Global","query":"aws.account=\"123\" OR aws.account=\"456\"","state":"READY","version":0}
type EnvironmentAOState ¶
type EnvironmentAOState string
EnvironmentAOState State of the environment to indicate current background tasks.
Example: "READY"
const ( EnvironmentAOStateCREATED EnvironmentAOState = "CREATED" EnvironmentAOStateERROR EnvironmentAOState = "ERROR" EnvironmentAOStateREADY EnvironmentAOState = "READY" EnvironmentAOStateUNKNOWN EnvironmentAOState = "UNKNOWN" EnvironmentAOStateUPDATED EnvironmentAOState = "UPDATED" )
Defines values for EnvironmentAOState.
func (EnvironmentAOState) Valid ¶
func (e EnvironmentAOState) Valid() bool
Valid indicates whether the value is a known member of the EnvironmentAOState enum.
type EnvironmentSummariesAO ¶
type EnvironmentSummariesAO struct {
Environments *[]EnvironmentAO `json:"environments,omitempty"`
}
EnvironmentSummariesAO List of environments.
Example: {"environments":[{"id":"2v1av42-e525-4c00-a13a-1ac32d170724","name":"Global","query":"aws.account=\"123\" OR aws.account=\"456\"","state":"READY","version":0}]}
type ExecuteExperimentJSONRequestBody ¶
type ExecuteExperimentJSONRequestBody = ExecuteExperimentRequestAO
ExecuteExperimentJSONRequestBody defines body for ExecuteExperiment for application/json ContentType.
type ExecuteExperimentParams ¶
type ExecuteExperimentParams struct {
// AllowParallel By default an experiment is only executed when no other experiment is running. This can be overriden by starting the new experiment execution although another one is currently running
AllowParallel *bool `form:"allowParallel,omitempty" json:"allowParallel,omitempty"`
// ForcePersist Optional parameter to always store runs on any failure. If false, won´t be stored on validation errors (default behaviour).
ForcePersist *bool `form:"forcePersist,omitempty" json:"forcePersist,omitempty"`
}
ExecuteExperimentParams defines parameters for ExecuteExperiment.
type ExecuteExperimentRequestAO ¶
type ExecuteExperimentRequestAO struct {
// Environment The name of the environment with which the experiment execution should be overridden once and executed in
//
// Example: Shop Stage
Environment *string `json:"environment,omitempty"`
// Variables Variables that will be merged for the single experiment execution with the variables defined of the experiment or environment that the experiment will be executed in. A `key` that exists already in the experiment or environment variables will be overridden for this execution, all others will be added solely in the context of this experiment execution. Existing variables don't have to be repeated in this parameter. Each value is either a constant string, an array of constant strings, or a select expression object.
//
// Example: {"httpEndpoint":"http://dev.shop.products.internal"}
Variables *map[string]VariableExpressionAO `json:"variables,omitempty"`
}
ExecuteExperimentRequestAO Experiment execution data that should be used only for that specific experiment execution and will not update the experiment design.
Example: {}
type ExecuteExperimentResponse ¶
type ExecuteExperimentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ExecuteExperimentResponseAO
// YAML201 the response for an HTTP 201 `application/yaml` response
YAML201 *ExecuteExperimentResponseAO
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ExecuteExperimentResponseAO
// YAML404 the response for an HTTP 404 `application/yaml` response
YAML404 *ExecuteExperimentResponseAO
}
func ParseExecuteExperimentResponse ¶
func ParseExecuteExperimentResponse(rsp *http.Response) (*ExecuteExperimentResponse, error)
ParseExecuteExperimentResponse parses an HTTP response from a ExecuteExperimentWithResponse call
func (ExecuteExperimentResponse) ContentType ¶
func (r ExecuteExperimentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExecuteExperimentResponse) GetBody ¶
func (r ExecuteExperimentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExecuteExperimentResponse) GetJSON201 ¶
func (r ExecuteExperimentResponse) GetJSON201() *ExecuteExperimentResponseAO
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (ExecuteExperimentResponse) GetJSON404 ¶
func (r ExecuteExperimentResponse) GetJSON404() *ExecuteExperimentResponseAO
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ExecuteExperimentResponse) GetYAML201 ¶
func (r ExecuteExperimentResponse) GetYAML201() *ExecuteExperimentResponseAO
GetYAML201 returns the response for an HTTP 201 `application/yaml` response
func (ExecuteExperimentResponse) GetYAML404 ¶
func (r ExecuteExperimentResponse) GetYAML404() *ExecuteExperimentResponseAO
GetYAML404 returns the response for an HTTP 404 `application/yaml` response
func (ExecuteExperimentResponse) Status ¶
func (r ExecuteExperimentResponse) Status() string
Status returns HTTPResponse.Status
func (ExecuteExperimentResponse) StatusCode ¶
func (r ExecuteExperimentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExecuteExperimentResponseAO ¶
type ExecuteExperimentResponseAO struct {
// ApiLocation A link to the API for the experiment execution
//
// Example: https://api.steadybit.com/experiments/execute/SHOP-1
ApiLocation string `json:"apiLocation"`
// ExecutionId Unique experiment execution id that identifies this specific experiment execution
//
// Example: 1234
ExecutionId *int64 `json:"executionId,omitempty"`
// Key Unique experiment key that identifies the experiment. Combination of `team key` and increasing number
//
// Example: SHOP-1
Key string `json:"key"`
// UiLocation A link to the UI for the experiment execution
//
// Example: https://platform.steadybit.com/experiments/edit/SHOP-1/executions/1234
UiLocation string `json:"uiLocation"`
}
ExecuteExperimentResponseAO A single experiment execution that was triggered from a single experiment.
Example: {
"id": 58070,
"key": "SHOP-1"
"apiLocation": "https://api.steadybit.com/experiments/execute/SHOP-1",
"uiLocation": "https://platform.steadybit.com/experiments/edit/SHOP-1/executions/1234"
}
type ExperimentAO ¶
type ExperimentAO struct {
// Created Timestamp when the experiment was created
//
// Example: 2023-01-01T09:00:00Z
Created time.Time `json:"created"`
// CreatedBy The user that canceled the experiment execution, only present if the execution was canceled
//
// Example: {"email":"max@steadybit.com","name":"Max Mustermann","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"}
CreatedBy UserSummaryAO `json:"createdBy"`
// Edited Timestamp when the experiment was edited the last time
//
// Example: 2023-01-01T09:00:00Z
Edited time.Time `json:"edited"`
// EditedBy The user that canceled the experiment execution, only present if the execution was canceled
//
// Example: {"email":"max@steadybit.com","name":"Max Mustermann","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"}
EditedBy UserSummaryAO `json:"editedBy"`
// Environment The name of the environment to be used
//
// Example: Global
Environment *string `json:"environment,omitempty"`
// ExperimentVariables Variables that will be used when the experiment will be executed. Experiment variables will override existing environment variables. Each value is either a constant string, an array of constant strings, or a select expression object (`{"type":"select",...}`).
//
// Example: {"httpEndpoint":"http://dev.shop.products.internal","httpEndpointZones":{"attribute":"aws.zone","count":2,"mode":"fixed","targetType":"com.steadybit.extension_container.container","type":"select"},"targetServices":["gateway","hot-deals","fashion-bestseller"]}
ExperimentVariables *map[string]VariableExpressionAO `json:"experimentVariables,omitempty"`
// ExternalId An optional external identifier used for create-or-update semantics.
//
// Example: 1234567
ExternalId *string `json:"externalId,omitempty"`
// ExternalReference An optional external reference. Will be removed and is replaced by tags. If used with experiment creation, the value will be added as a tag.
//
// Example: INCIDENT-4711
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ExternalReference *string `json:"externalReference,omitempty"`
// Hypothesis The hypothesis that is validated by the experiment
//
// Example: System is able to survive a latency in the network of 1500ms
Hypothesis *string `json:"hypothesis,omitempty"`
// Key Unique experiment key that identifies the experiment. Combination of `team key` and increasing number
//
// Example: ADM-2
Key string `json:"key"`
// Lanes The lanes (steps executed in parallel) in the experiment. Each lane consists of multiple steps that are executed sequential per lane.
//
// Example: [{"steps":[{"actionType":"com.steadybit.extension_host.stress-cpu","ignoreFailure":false,"parameters":{"duration":"30s"},"radius":{"percentage":100,"predicate":{"operator":"AND","predicates":[{"key":"k8s.deployment","operator":"EQUALS","values":["hot-deals"]}]},"query":null,"targetType":"com.steadybit.extension_container.container"},"type":"action"}]}]
Lanes []ExperimentLaneAO `json:"lanes"`
// Name Name of the experiment to easily identify the experiment
//
// Example: Shop survives unavailability of hot-deals products
Name string `json:"name"`
// Properties The properties of the experiment
//
// Example: {"EXAMPLE_CUSTOM_PROPERTY":"I like this experiment!"}
Properties *map[string]interface{} `json:"properties,omitempty"`
//
// Example: [OPS, SHOP]
SharedTeams *[]string `json:"sharedTeams,omitempty"`
// Tags An optional set of tags you can use to search for.
//
// Example: ["myTag","myOtherTag"]
Tags *[]string `json:"tags,omitempty"`
// Team The key of the team to be used
//
// Example: ADM
Team string `json:"team"`
// TemplatePlaceholders The placeholders that were used to create this experiment from a template
TemplatePlaceholders *[]ExperimentTemplatePlaceholderValueAO `json:"templatePlaceholders,omitempty"`
// TemplateTitle The title of the template that was used to create this experiment
TemplateTitle *string `json:"templateTitle,omitempty"`
// Version Experiment database version.
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
ExperimentAO Example: {"created":"2023-05-03T08:24:30.183237Z","createdBy":{"name":"Manuel","pictureUrl":"https://.../picture.png","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"},"edited":"2023-05-03T13:31:12.533664Z","editedBy":{"name":"Manuel","pictureUrl":"https://.../picture.png","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"},"environment":"Global","key":"ADM-2","lanes":[{"steps":[{"actionType":"com.steadybit.extension_host.stress-cpu","ignoreFailure":false,"parameters":{"duration":"30s"},"radius":{"percentage":100,"predicate":{"operator":"AND","predicates":[{"key":"k8s.deployment","operator":"EQUALS","values":["hot-deals"]}]},"query":null,"targetType":"com.steadybit.extension_container.container"},"type":"action"}]}],"name":"Blackhole Hot-deals","properties":{"EXAMPLE_CUSTOM_PROPERTY":"I like this experiment!"},"sharedTeams":["SHOP"],"team":"ADM"}
type ExperimentExecutionAO ¶
type ExperimentExecutionAO struct {
// CanceledBy The user that canceled the experiment execution, only present if the execution was canceled
//
// Example: {"email":"max@steadybit.com","name":"Max Mustermann","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"}
CanceledBy *UserSummaryAO `json:"canceledBy,omitempty"`
// Created Timestamp when the experiment was created
//
// Example: 2023-01-01T09:00:01Z
Created *time.Time `json:"created,omitempty"`
// CreatedBy The user that canceled the experiment execution, only present if the execution was canceled
//
// Example: {"email":"max@steadybit.com","name":"Max Mustermann","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"}
CreatedBy *UserSummaryAO `json:"createdBy,omitempty"`
// CreatedVia The creation trigger that caused this experiment execution to be started
//
// Example: UI
CreatedVia *ExperimentExecutionAOCreatedVia `json:"createdVia,omitempty"`
// Ended Timestamp when the experiment ended
//
// Example: 2023-01-01T09:00:00Z
Ended *time.Time `json:"ended,omitempty"`
// ExperimentVersion Experiment design version which can be used to identify changes between experiment runs
//
// Example: 5
ExperimentVersion *int32 `json:"experimentVersion,omitempty"`
// Hypothesis The hypothesis that is validated by the experiment
//
// Example: System is able to survive a latency in the network of 1500ms
Hypothesis *string `json:"hypothesis,omitempty"`
// Id Unique experiment execution id that identifies this specific experiment execution
//
// Example: 1523
Id *int32 `json:"id,omitempty"`
// Key Unique experiment key that identifies the experiment. Combination of `team key` and increasing number
//
// Example: ADM-2
Key *string `json:"key,omitempty"`
// Name Name of the experiment to easily identify the experiment
//
// Example: Shop survives unavailability of hot-deals products
Name *string `json:"name,omitempty"`
// Properties The properties of the experiment execution
//
// Example: {"EXAMPLE_CUSTOM_PROPERTY":"Chuck Norris allows that execution"}
Properties *map[string]interface{} `json:"properties,omitempty"`
// PropertiesVersion Version of the properties for optimistic locking (optional in the Update-API)
//
// Example: 1
PropertiesVersion *int32 `json:"propertiesVersion,omitempty"`
// Reason Reason in case the experiment execution failed or errored
//
// Example: Action error
Reason *string `json:"reason,omitempty"`
// Requested Timestamp when the experiment was requested
//
// Example: 2023-01-01T09:00:00Z
Requested *time.Time `json:"requested,omitempty"`
// Started Timestamp when the experiment was started
//
// Example: 2023-01-01T09:00:02Z
Started *time.Time `json:"started,omitempty"`
// State Current state of the experiment (e.g. CREATED, RUNNING, FAILED, ERRORED, COMPLETED)
//
// Example: RUNNING
State *string `json:"state,omitempty"`
// Steps The steps that are executed in parallel or sequence in the experiment.
//
// Example: [{"ignoreFailure":false,"parameters":{"duration":"10s"}},{"actionId":"com.steadybit.extension_container.stress_cpu","actionKind":"ATTACK","ignoreFailure":false,"parameters":{"cpuLoad":100,"duration":"30s","workers":0},"predecessorId":"40b0f797-912d-4256-8887-1553561962a9","radius":{"percentage":50,"predicate":{"operator":"AND","predicates":[{"key":"container.host/name","operator":"EQUALS","values":["docker-desktop/minikube"]}]},"targetType":"com.steadybit.extension_container.container"},"targetExecutions":[{"attributes":[{"key":"container.port","value":"51152:2376"},{"key":"container.engine","value":"docker"},{"key":"container.host/name","value":"docker-desktop/minikube"},{"key":"container.host","value":"docker-desktop"}],"name":"docker://1f769d01b9c5cd29bb302ca40157274f38798104208117b3310825ba676883ea","state":"COMPLETED","type":"com.steadybit.extension_container.container"}],"totalTargetCount":1}]
Steps *[]AbstractExperimentExecutionStepAO `json:"steps,omitempty"`
// Tags Tags of the experiment at the time the execution was requested
//
// Example: ["resilience","shop"]
Tags *[]string `json:"tags,omitempty"`
// Variables Variables and their origins that have been used for this execution
//
// Example: {"httpEndpoint":{"origin":"ENVIRONMENT","value":"http://dev.shop.products.internal"}}
Variables *map[string]ExperimentExecutionVariableAO `json:"variables,omitempty"`
}
ExperimentExecutionAO A single experiment execution that was triggered from a single experiment.
Example: {"created":"2023-01-01T09:00:01.000000Z","createdBy":{"name":"Manuel","pictureUrl":"https://.../picture.png","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"},"createdVia":"UI","ended":"2023-01-01T09:10:00.000000Z","experimentVersion":"5","hypothesis":"When a single container from steadybit-demo/fashion-bestseller fails the shop is still working as expected.","id":58070,"key":"SHOP-1","name":"Shop should survive a single pod outage","reason":"Check failure.","requested":"2023-01-01T09:00:00.000000Z","state":"FAILED"}
type ExperimentExecutionAOCreatedVia ¶
type ExperimentExecutionAOCreatedVia string
ExperimentExecutionAOCreatedVia The creation trigger that caused this experiment execution to be started
Example: UI
const ( ExperimentExecutionAOCreatedViaAPI ExperimentExecutionAOCreatedVia = "API" ExperimentExecutionAOCreatedViaCLI ExperimentExecutionAOCreatedVia = "CLI" ExperimentExecutionAOCreatedViaMCP ExperimentExecutionAOCreatedVia = "MCP" ExperimentExecutionAOCreatedViaSCHEDULE ExperimentExecutionAOCreatedVia = "SCHEDULE" ExperimentExecutionAOCreatedViaSUITE ExperimentExecutionAOCreatedVia = "SUITE" ExperimentExecutionAOCreatedViaUI ExperimentExecutionAOCreatedVia = "UI" )
Defines values for ExperimentExecutionAOCreatedVia.
func (ExperimentExecutionAOCreatedVia) Valid ¶
func (e ExperimentExecutionAOCreatedVia) Valid() bool
Valid indicates whether the value is a known member of the ExperimentExecutionAOCreatedVia enum.
type ExperimentExecutionPageItemAO ¶
type ExperimentExecutionPageItemAO struct {
// Created Timestamp when the experiment execution was created
//
// Example: 2023-01-01T09:00:01Z
Created *time.Time `json:"created,omitempty"`
CreatedBy *string `json:"createdBy,omitempty"`
// CreatedByDetails The user that canceled the experiment execution, only present if the execution was canceled
//
// Example: {"email":"max@steadybit.com","name":"Max Mustermann","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"}
CreatedByDetails *UserSummaryAO `json:"createdByDetails,omitempty"`
// Ended Timestamp when the experiment execution was ended
//
// Example: 2023-01-01T09:00:01Z
Ended *time.Time `json:"ended,omitempty"`
// Environment The name of the environment that this execution was using
//
// Example: Global
Environment *string `json:"environment,omitempty"`
// ExperimentKey Unique experiment key that identifies the experiment. Combination of `team key` and increasing number
//
// Example: ADM-2
ExperimentKey *string `json:"experimentKey,omitempty"`
// Id Unique experiment execution id that identifies a single experiment execution
//
// Example: 123
Id *int64 `json:"id,omitempty"`
// Name Name of the experiment to easily identify the experiment
//
// Example: Shop survives unavailability of hot-deals products
Name *string `json:"name,omitempty"`
// Properties The properties of the experiment execution
//
// Example: {"EXAMPLE_CUSTOM_PROPERTY":"Chuck Norris allows that execution"}
Properties *map[string]interface{} `json:"properties,omitempty"`
// Reason Details about the failure/error reason.
Reason *string `json:"reason,omitempty"`
// Requested Timestamp when the experiment execution was requested
//
// Example: 2023-01-01T09:00:01Z
Requested *time.Time `json:"requested,omitempty"`
// Scheduled Was this execution triggered by a schedule?
//
// Example: true
Scheduled *bool `json:"scheduled,omitempty"`
// Started Timestamp when the experiment execution was started
//
// Example: 2023-01-01T09:00:01Z
Started *time.Time `json:"started,omitempty"`
// State Current state of the experiment execution (e.g. RUNNING, FAILED, ERRORED, COMPLETED)
//
// Example: RUNNING
State *string `json:"state,omitempty"`
// TeamKey The key of the team that this experiment is assigned to
//
// Example: ADM
TeamKey *string `json:"teamKey,omitempty"`
}
ExperimentExecutionPageItemAO defines model for ExperimentExecutionPageItemAO.
type ExperimentExecutionReportFilterAO ¶
type ExperimentExecutionReportFilterAO struct {
// EnvironmentIds Restrict results to the given environment IDs. If not provided, all environments are included.
EnvironmentIds *[]openapi_types.UUID `json:"environmentIds,omitempty"`
// From Start date of the report range (inclusive).
//
// Example: 2026-01-01
From openapi_types.Date `json:"from"`
// Rollup The time bucket granularity for report aggregation.
//
// Example: MONTHLY
Rollup *ExperimentExecutionReportFilterAORollup `json:"rollup,omitempty"`
// ServiceIds Restrict results to the given service IDs. If not provided, all services are included.
ServiceIds *[]openapi_types.UUID `json:"serviceIds,omitempty"`
// TeamIds Restrict results to the given team IDs. If not provided, all teams are included.
TeamIds *[]openapi_types.UUID `json:"teamIds,omitempty"`
// To End date of the report range (inclusive).
//
// Example: 2026-03-01
To openapi_types.Date `json:"to"`
}
ExperimentExecutionReportFilterAO Filter for experiment execution report data, optionally scoped to specific teams, environments, and services.
type ExperimentExecutionReportFilterAORollup ¶
type ExperimentExecutionReportFilterAORollup string
ExperimentExecutionReportFilterAORollup The time bucket granularity for report aggregation.
Example: MONTHLY
const ( ExperimentExecutionReportFilterAORollupDAILY ExperimentExecutionReportFilterAORollup = "DAILY" ExperimentExecutionReportFilterAORollupMONTHLY ExperimentExecutionReportFilterAORollup = "MONTHLY" )
Defines values for ExperimentExecutionReportFilterAORollup.
func (ExperimentExecutionReportFilterAORollup) Valid ¶
func (e ExperimentExecutionReportFilterAORollup) Valid() bool
Valid indicates whether the value is a known member of the ExperimentExecutionReportFilterAORollup enum.
type ExperimentExecutionStepActionAO ¶
type ExperimentExecutionStepActionAO struct {
// ActionId Unique identifier of the action that is executed in this step
//
// Example: com.steadybit.extension_container.stress_cpu
ActionId *string `json:"actionId,omitempty"`
// ActionKind Kind of the action (e.g. attack, check, loadtest)
//
// Example: ATTACK
ActionKind *ExperimentExecutionStepActionAOActionKind `json:"actionKind,omitempty"`
// CustomLabel Custom label assigned during experiment design to express the intention of this step
//
// Example: Container 'xyz' can not be reached
CustomLabel *string `json:"customLabel,omitempty"`
// Ended Timestamp when this experiment step ended
//
// Example: 2023-01-01T09:00:00Z
Ended *time.Time `json:"ended,omitempty"`
// Id Unique identifier of this step execution
//
// Example: 40b0f797-912d-4256-8887-1553561962a9
Id *openapi_types.UUID `json:"id,omitempty"`
// IgnoreFailure Whether the experiment should fail/error immediately in case this step fails/errors.
//
// Example: false
IgnoreFailure *bool `json:"ignoreFailure,omitempty"`
// Parameters Step-specific parameters of the experiment step configuration
//
// Example: {"duration":"10s"}
Parameters *map[string]interface{} `json:"parameters,omitempty"`
// PredecessorId Unique identifier of the step execution that precedes this step, null if it is the first step of a lane
//
// Example: 40b0f797-912d-4256-8887-1553561962a9
PredecessorId *openapi_types.UUID `json:"predecessorId,omitempty"`
// Radius Blast radius that is applied to define the set of targets as well as an optional random subset
//
// Example: {"percentage":50,"predicate":{"operator":"AND","predicates":[{"key":"container.host/name","operator":"EQUALS","values":["docker-desktop/minikube"]}]},"targetType":"com.steadybit.extension_container.container"}
Radius *BlastRadiusAO `json:"radius,omitempty"`
// Reason Reason in case this experiment step execution failed or errored
//
// Example: Couldn't read state of container...
Reason *string `json:"reason,omitempty"`
// Started Timestamp when this experiment step was started
//
// Example: 2023-01-01T09:00:00Z
Started *time.Time `json:"started,omitempty"`
// State Current state of this step in the experiment (e.g. RUNNING, FAILED, ERRORED, COMPLETED)
//
// Example: RUNNING
State *string `json:"state,omitempty"`
// StepType Type of this step execution (e.g. ACTION, WAIT)
//
// Example: ACTION
StepType string `json:"stepType"`
// TargetExecutions List of targets that are expected to be effected by this action. This list may change in case targets aren't available at the specific time of execution
//
// Example: [{"attributes":[{"key":"container.port","value":"51152:2376"},{"key":"container.engine","value":"docker"},{"key":"container.host/name","value":"docker-desktop/minikube"},{"key":"container.host","value":"docker-desktop"}],"name":"docker://1f769d01b9c5cd29bb302ca40157274f38798104208117b3310825ba676883ea","state":"COMPLETED","type":"com.steadybit.extension_container.container"}]
TargetExecutions *[]TargetExecutionAO `json:"targetExecutions,omitempty"`
// TotalTargetCount Amount of targets that are effect int total
//
// Example: 23
TotalTargetCount *int64 `json:"totalTargetCount,omitempty"`
}
ExperimentExecutionStepActionAO An action-step that is executed as part of an experiment.
Example: {"actionId":"com.steadybit.extension_container.stress_cpu","actionKind":"ATTACK","ended":"2025-10-08T13:11:11.490268Z","id":"0199c3f2-48c7-706d-b102-9cb09dd41b5d","ignoreFailure":false,"parameters":{"cpuLoad":100,"duration":"30s","workers":0},"predecessorId":"40b0f797-912d-4256-8887-1553561962a9","radius":{"percentage":50,"predicate":{"operator":"AND","predicates":[{"key":"container.host/name","operator":"EQUALS","values":["docker-desktop/minikube"]}]},"targetType":"com.steadybit.extension_container.container"},"started":"2025-10-08T13:11:01.487541Z","state":"COMPLETED","stepType":"ACTION","targetExecutions":[{"attributes":[{"key":"container.port","value":"51152:2376"},{"key":"container.engine","value":"docker"},{"key":"container.host/name","value":"docker-desktop/minikube"},{"key":"container.host","value":"docker-desktop"}],"name":"docker://1f769d01b9c5cd29bb302ca40157274f38798104208117b3310825ba676883ea","state":"COMPLETED","type":"com.steadybit.extension_container.container"}],"totalTargetCount":1}
type ExperimentExecutionStepActionAOActionKind ¶
type ExperimentExecutionStepActionAOActionKind string
ExperimentExecutionStepActionAOActionKind Kind of the action (e.g. attack, check, loadtest)
Example: ATTACK
const ( ExperimentExecutionStepActionAOActionKindATTACK ExperimentExecutionStepActionAOActionKind = "ATTACK" ExperimentExecutionStepActionAOActionKindBASIC ExperimentExecutionStepActionAOActionKind = "BASIC" ExperimentExecutionStepActionAOActionKindCHECK ExperimentExecutionStepActionAOActionKind = "CHECK" ExperimentExecutionStepActionAOActionKindLOADTEST ExperimentExecutionStepActionAOActionKind = "LOAD_TEST" ExperimentExecutionStepActionAOActionKindOTHER ExperimentExecutionStepActionAOActionKind = "OTHER" )
Defines values for ExperimentExecutionStepActionAOActionKind.
func (ExperimentExecutionStepActionAOActionKind) Valid ¶
func (e ExperimentExecutionStepActionAOActionKind) Valid() bool
Valid indicates whether the value is a known member of the ExperimentExecutionStepActionAOActionKind enum.
type ExperimentExecutionStepServiceValidationAO ¶
type ExperimentExecutionStepServiceValidationAO struct {
// CustomLabel Custom label assigned during experiment design to express the intention of this step
//
// Example: Container 'xyz' can not be reached
CustomLabel *string `json:"customLabel,omitempty"`
// Ended Timestamp when this experiment step ended
//
// Example: 2023-01-01T09:00:00Z
Ended *time.Time `json:"ended,omitempty"`
// Id Unique identifier of this step execution
//
// Example: 40b0f797-912d-4256-8887-1553561962a9
Id *openapi_types.UUID `json:"id,omitempty"`
// IgnoreFailure Whether the experiment should fail/error immediately in case this step fails/errors.
//
// Example: false
IgnoreFailure *bool `json:"ignoreFailure,omitempty"`
// Parameters Step-specific parameters of the experiment step configuration
//
// Example: {"duration":"10s"}
Parameters *map[string]interface{} `json:"parameters,omitempty"`
// PredecessorId Unique identifier of the step execution that precedes this step, null if it is the first step of a lane
//
// Example: 40b0f797-912d-4256-8887-1553561962a9
PredecessorId *openapi_types.UUID `json:"predecessorId,omitempty"`
// Reason Reason in case this experiment step execution failed or errored
//
// Example: Couldn't read state of container...
Reason *string `json:"reason,omitempty"`
// ServiceId Unique identifier of the service.
//
// Example: 40b0f797-912d-4256-8887-1553561962a9
ServiceId *openapi_types.UUID `json:"serviceId,omitempty"`
// Started Timestamp when this experiment step was started
//
// Example: 2023-01-01T09:00:00Z
Started *time.Time `json:"started,omitempty"`
// State Current state of this step in the experiment (e.g. RUNNING, FAILED, ERRORED, COMPLETED)
//
// Example: RUNNING
State *string `json:"state,omitempty"`
// StepType Type of this step execution (e.g. ACTION, WAIT)
//
// Example: ACTION
StepType string `json:"stepType"`
// Validations List of actions performed as part of this service validation step.
Validations *[]ExperimentExecutionStepActionAO `json:"validations,omitempty"`
// contains filtered or unexported fields
}
ExperimentExecutionStepServiceValidationAO A service validation step that is executed as part of an experiment.
func (ExperimentExecutionStepServiceValidationAO) AsExperimentExecutionStepActionAO ¶
func (t ExperimentExecutionStepServiceValidationAO) AsExperimentExecutionStepActionAO() (ExperimentExecutionStepActionAO, error)
AsExperimentExecutionStepActionAO returns the union data inside the ExperimentExecutionStepServiceValidationAO as a ExperimentExecutionStepActionAO
func (ExperimentExecutionStepServiceValidationAO) AsExperimentExecutionStepServiceValidationAO ¶
func (t ExperimentExecutionStepServiceValidationAO) AsExperimentExecutionStepServiceValidationAO() (ExperimentExecutionStepServiceValidationAO, error)
AsExperimentExecutionStepServiceValidationAO returns the union data inside the ExperimentExecutionStepServiceValidationAO as a ExperimentExecutionStepServiceValidationAO
func (ExperimentExecutionStepServiceValidationAO) AsExperimentExecutionStepWaitAO ¶
func (t ExperimentExecutionStepServiceValidationAO) AsExperimentExecutionStepWaitAO() (ExperimentExecutionStepWaitAO, error)
AsExperimentExecutionStepWaitAO returns the union data inside the ExperimentExecutionStepServiceValidationAO as a ExperimentExecutionStepWaitAO
func (ExperimentExecutionStepServiceValidationAO) Discriminator ¶
func (t ExperimentExecutionStepServiceValidationAO) Discriminator() (string, error)
func (*ExperimentExecutionStepServiceValidationAO) FromExperimentExecutionStepActionAO ¶
func (t *ExperimentExecutionStepServiceValidationAO) FromExperimentExecutionStepActionAO(v ExperimentExecutionStepActionAO) error
FromExperimentExecutionStepActionAO overwrites any union data inside the ExperimentExecutionStepServiceValidationAO as the provided ExperimentExecutionStepActionAO
func (*ExperimentExecutionStepServiceValidationAO) FromExperimentExecutionStepServiceValidationAO ¶
func (t *ExperimentExecutionStepServiceValidationAO) FromExperimentExecutionStepServiceValidationAO(v ExperimentExecutionStepServiceValidationAO) error
FromExperimentExecutionStepServiceValidationAO overwrites any union data inside the ExperimentExecutionStepServiceValidationAO as the provided ExperimentExecutionStepServiceValidationAO
func (*ExperimentExecutionStepServiceValidationAO) FromExperimentExecutionStepWaitAO ¶
func (t *ExperimentExecutionStepServiceValidationAO) FromExperimentExecutionStepWaitAO(v ExperimentExecutionStepWaitAO) error
FromExperimentExecutionStepWaitAO overwrites any union data inside the ExperimentExecutionStepServiceValidationAO as the provided ExperimentExecutionStepWaitAO
func (ExperimentExecutionStepServiceValidationAO) MarshalJSON ¶
func (t ExperimentExecutionStepServiceValidationAO) MarshalJSON() ([]byte, error)
func (*ExperimentExecutionStepServiceValidationAO) MergeExperimentExecutionStepActionAO ¶
func (t *ExperimentExecutionStepServiceValidationAO) MergeExperimentExecutionStepActionAO(v ExperimentExecutionStepActionAO) error
MergeExperimentExecutionStepActionAO performs a merge with any union data inside the ExperimentExecutionStepServiceValidationAO, using the provided ExperimentExecutionStepActionAO
func (*ExperimentExecutionStepServiceValidationAO) MergeExperimentExecutionStepServiceValidationAO ¶
func (t *ExperimentExecutionStepServiceValidationAO) MergeExperimentExecutionStepServiceValidationAO(v ExperimentExecutionStepServiceValidationAO) error
MergeExperimentExecutionStepServiceValidationAO performs a merge with any union data inside the ExperimentExecutionStepServiceValidationAO, using the provided ExperimentExecutionStepServiceValidationAO
func (*ExperimentExecutionStepServiceValidationAO) MergeExperimentExecutionStepWaitAO ¶
func (t *ExperimentExecutionStepServiceValidationAO) MergeExperimentExecutionStepWaitAO(v ExperimentExecutionStepWaitAO) error
MergeExperimentExecutionStepWaitAO performs a merge with any union data inside the ExperimentExecutionStepServiceValidationAO, using the provided ExperimentExecutionStepWaitAO
func (*ExperimentExecutionStepServiceValidationAO) UnmarshalJSON ¶
func (t *ExperimentExecutionStepServiceValidationAO) UnmarshalJSON(b []byte) error
func (ExperimentExecutionStepServiceValidationAO) ValueByDiscriminator ¶
func (t ExperimentExecutionStepServiceValidationAO) ValueByDiscriminator() (interface{}, error)
type ExperimentExecutionStepWaitAO ¶
type ExperimentExecutionStepWaitAO struct {
// CustomLabel Custom label assigned during experiment design to express the intention of this step
//
// Example: Container 'xyz' can not be reached
CustomLabel *string `json:"customLabel,omitempty"`
// Ended Timestamp when this experiment step ended
//
// Example: 2023-01-01T09:00:00Z
Ended *time.Time `json:"ended,omitempty"`
// Id Unique identifier of this step execution
//
// Example: 40b0f797-912d-4256-8887-1553561962a9
Id *openapi_types.UUID `json:"id,omitempty"`
// IgnoreFailure Whether the experiment should fail/error immediately in case this step fails/errors.
//
// Example: false
IgnoreFailure *bool `json:"ignoreFailure,omitempty"`
// Parameters Step-specific parameters of the experiment step configuration
//
// Example: {"duration":"10s"}
Parameters *map[string]interface{} `json:"parameters,omitempty"`
// PredecessorId Unique identifier of the step execution that precedes this step, null if it is the first step of a lane
//
// Example: 40b0f797-912d-4256-8887-1553561962a9
PredecessorId *openapi_types.UUID `json:"predecessorId,omitempty"`
// Reason Reason in case this experiment step execution failed or errored
//
// Example: Couldn't read state of container...
Reason *string `json:"reason,omitempty"`
// Started Timestamp when this experiment step was started
//
// Example: 2023-01-01T09:00:00Z
Started *time.Time `json:"started,omitempty"`
// State Current state of this step in the experiment (e.g. RUNNING, FAILED, ERRORED, COMPLETED)
//
// Example: RUNNING
State *string `json:"state,omitempty"`
// StepType Type of this step execution (e.g. ACTION, WAIT)
//
// Example: ACTION
StepType string `json:"stepType"`
}
ExperimentExecutionStepWaitAO A wait step that is executed as part of an experiment.
Example: {"ended":"2025-06-18T08:32:11.886043Z","id":"40b0f797-912d-4256-8887-1553561962a9","ignoreFailure":false,"parameters":{"duration":"10s"},"predecessorId":null,"started":"2025-06-18T08:32:01.850479Z","state":"COMPLETED","stepType":"WAIT"}
type ExperimentExecutionSummariesAO ¶
type ExperimentExecutionSummariesAO struct {
// Executions List of experiment executions
//
// Example: [{"created":"2023-01-01T09:00:01.000000Z","ended":"2023-01-01T09:01:00.000000Z","id":102,"key":"SHOP-1","name":"Shop survives outage of a single pod","requested":"2023-01-01T09:00:00.000000Z","started":"2023-01-01T09:00:02.000000Z","state":"FAILED"},{"created":"2023-01-01T09:10:01.000000Z","ended":"2023-01-01T09:11:00.000000Z","id":103,"key":"SHOP-1","name":"Shop survives outage of a single pod","requested":"2023-01-01T09:10:00.000000Z","started":"2023-01-01T09:10:02.000000Z","state":"COMPLETED"},{"created":"2023-01-01T09:30:01.000000Z","ended":"2023-01-01T09:41:00.000000Z","id":110,"key":"SHOP-2","name":"DataDog monitors notices pod unavailability","requested":"2023-01-01T09:30:00.000000Z","started":"2023-01-01T09:30:02.000000Z","state":"COMPLETED"}]
Executions *[]ExperimentExecutionSummaryAO `json:"executions,omitempty"`
}
ExperimentExecutionSummariesAO List of experiment exeuctions.
Example: {"executions":[{"created":"2023-01-01T09:00:01.000000Z","ended":"2023-01-01T09:01:00.000000Z","id":102,"key":"SHOP-1","name":"Shop survives outage of a single pod","state":"FAILED"},{"created":"2023-01-01T09:10:00.000000Z","ended":"2023-01-01T09:11:00.000000Z","id":103,"key":"SHOP-1","name":"Shop survives outage of a single pod","state":"COMPLETED"},{"created":"2023-01-01T09:30:00.000000Z","ended":"2023-01-01T09:41:00.000000Z","id":110,"key":"SHOP-2","name":"DataDog monitors notices pod unavailability","state":"COMPLETED"}]}
type ExperimentExecutionSummaryAO ¶
type ExperimentExecutionSummaryAO struct {
// Created Timestamp when the experiment execution was created
//
// Example: 2023-01-01T09:00:01Z
Created *time.Time `json:"created,omitempty"`
// Ended Timestamp when the experiment execution ended
//
// Example: 2023-01-01T09:01:00Z
Ended *time.Time `json:"ended,omitempty"`
// Id Unique experiment execution id that identifies a single experiment execution
//
// Example: 123
Id *int32 `json:"id,omitempty"`
// Key Unique experiment key that identifies the experiment. Combination of `team key` and increasing number
//
// Example: ADM-2
Key *string `json:"key,omitempty"`
// Name Name of the experiment to easily identify the experiment
//
// Example: Shop survives unavailability of hot-deals products
Name *string `json:"name,omitempty"`
// Properties The properties of the experiment execution
//
// Example: {"EXAMPLE_CUSTOM_PROPERTY":"Chuck Norris allows that execution"}
Properties *map[string]interface{} `json:"properties,omitempty"`
// Requested Timestamp when the experiment execution was requested
//
// Example: 2023-01-01T09:00:00Z
Requested *time.Time `json:"requested,omitempty"`
// Started Timestamp when the experiment execution started
//
// Example: 2023-01-01T09:00:02Z
Started *time.Time `json:"started,omitempty"`
// State Current state of the experiment execution (e.g. RUNNING, FAILED, ERRORED, COMPLETED)
//
// Example: RUNNING
State *string `json:"state,omitempty"`
}
ExperimentExecutionSummaryAO List of experiment executions
Example: [{"created":"2023-01-01T09:00:01.000000Z","ended":"2023-01-01T09:01:00.000000Z","id":102,"key":"SHOP-1","name":"Shop survives outage of a single pod","requested":"2023-01-01T09:00:00.000000Z","started":"2023-01-01T09:00:02.000000Z","state":"FAILED"},{"created":"2023-01-01T09:10:01.000000Z","ended":"2023-01-01T09:11:00.000000Z","id":103,"key":"SHOP-1","name":"Shop survives outage of a single pod","requested":"2023-01-01T09:10:00.000000Z","started":"2023-01-01T09:10:02.000000Z","state":"COMPLETED"},{"created":"2023-01-01T09:30:01.000000Z","ended":"2023-01-01T09:41:00.000000Z","id":110,"key":"SHOP-2","name":"DataDog monitors notices pod unavailability","requested":"2023-01-01T09:30:00.000000Z","started":"2023-01-01T09:30:02.000000Z","state":"COMPLETED"}]
type ExperimentExecutionVariableAO ¶
type ExperimentExecutionVariableAO struct {
Origin *ExperimentExecutionVariableAOOrigin `json:"origin,omitempty"`
// Value Either a single value (the common case, including single-element select results) or an array of values (multi-value select expressions).
Value *ExperimentExecutionVariableAO_Value `json:"value,omitempty"`
}
ExperimentExecutionVariableAO The variables resolved for this specific execution, keyed by name. Each entry carries the resolved value(s) and the tier the winning value originated from (ENVIRONMENT, SERVICE, EXPERIMENT, SCHEDULE, EXECUTION). A single-value variable's value is a string, a multi-value variable's value is an array of strings. Empty until the execution starts, as dynamic values are resolved once at run start and then stay stable for the whole run.
Example: {"httpEndpoint":{"origin":"EXECUTION","value":"http://shop.products.internal"}}
type ExperimentExecutionVariableAOOrigin ¶
type ExperimentExecutionVariableAOOrigin string
ExperimentExecutionVariableAOOrigin defines model for ExperimentExecutionVariableAO.Origin.
const ( ExperimentExecutionVariableAOOriginENVIRONMENT ExperimentExecutionVariableAOOrigin = "ENVIRONMENT" ExperimentExecutionVariableAOOriginEXECUTION ExperimentExecutionVariableAOOrigin = "EXECUTION" ExperimentExecutionVariableAOOriginEXPERIMENT ExperimentExecutionVariableAOOrigin = "EXPERIMENT" ExperimentExecutionVariableAOOriginSCHEDULE ExperimentExecutionVariableAOOrigin = "SCHEDULE" ExperimentExecutionVariableAOOriginSERVICE ExperimentExecutionVariableAOOrigin = "SERVICE" )
Defines values for ExperimentExecutionVariableAOOrigin.
func (ExperimentExecutionVariableAOOrigin) Valid ¶
func (e ExperimentExecutionVariableAOOrigin) Valid() bool
Valid indicates whether the value is a known member of the ExperimentExecutionVariableAOOrigin enum.
type ExperimentExecutionVariableAOValue0 ¶
type ExperimentExecutionVariableAOValue0 = string
ExperimentExecutionVariableAOValue0 defines model for ExperimentExecutionVariableAO.Value.0.
type ExperimentExecutionVariableAOValue1 ¶
type ExperimentExecutionVariableAOValue1 = []string
ExperimentExecutionVariableAOValue1 defines model for ExperimentExecutionVariableAO.Value.1.
type ExperimentExecutionVariableAO_Value ¶
type ExperimentExecutionVariableAO_Value struct {
// contains filtered or unexported fields
}
ExperimentExecutionVariableAO_Value Either a single value (the common case, including single-element select results) or an array of values (multi-value select expressions).
func (ExperimentExecutionVariableAO_Value) AsExperimentExecutionVariableAOValue0 ¶
func (t ExperimentExecutionVariableAO_Value) AsExperimentExecutionVariableAOValue0() (ExperimentExecutionVariableAOValue0, error)
AsExperimentExecutionVariableAOValue0 returns the union data inside the ExperimentExecutionVariableAO_Value as a ExperimentExecutionVariableAOValue0
func (ExperimentExecutionVariableAO_Value) AsExperimentExecutionVariableAOValue1 ¶
func (t ExperimentExecutionVariableAO_Value) AsExperimentExecutionVariableAOValue1() (ExperimentExecutionVariableAOValue1, error)
AsExperimentExecutionVariableAOValue1 returns the union data inside the ExperimentExecutionVariableAO_Value as a ExperimentExecutionVariableAOValue1
func (*ExperimentExecutionVariableAO_Value) FromExperimentExecutionVariableAOValue0 ¶
func (t *ExperimentExecutionVariableAO_Value) FromExperimentExecutionVariableAOValue0(v ExperimentExecutionVariableAOValue0) error
FromExperimentExecutionVariableAOValue0 overwrites any union data inside the ExperimentExecutionVariableAO_Value as the provided ExperimentExecutionVariableAOValue0
func (*ExperimentExecutionVariableAO_Value) FromExperimentExecutionVariableAOValue1 ¶
func (t *ExperimentExecutionVariableAO_Value) FromExperimentExecutionVariableAOValue1(v ExperimentExecutionVariableAOValue1) error
FromExperimentExecutionVariableAOValue1 overwrites any union data inside the ExperimentExecutionVariableAO_Value as the provided ExperimentExecutionVariableAOValue1
func (ExperimentExecutionVariableAO_Value) MarshalJSON ¶
func (t ExperimentExecutionVariableAO_Value) MarshalJSON() ([]byte, error)
func (*ExperimentExecutionVariableAO_Value) MergeExperimentExecutionVariableAOValue0 ¶
func (t *ExperimentExecutionVariableAO_Value) MergeExperimentExecutionVariableAOValue0(v ExperimentExecutionVariableAOValue0) error
MergeExperimentExecutionVariableAOValue0 performs a merge with any union data inside the ExperimentExecutionVariableAO_Value, using the provided ExperimentExecutionVariableAOValue0
func (*ExperimentExecutionVariableAO_Value) MergeExperimentExecutionVariableAOValue1 ¶
func (t *ExperimentExecutionVariableAO_Value) MergeExperimentExecutionVariableAOValue1(v ExperimentExecutionVariableAOValue1) error
MergeExperimentExecutionVariableAOValue1 performs a merge with any union data inside the ExperimentExecutionVariableAO_Value, using the provided ExperimentExecutionVariableAOValue1
func (*ExperimentExecutionVariableAO_Value) UnmarshalJSON ¶
func (t *ExperimentExecutionVariableAO_Value) UnmarshalJSON(b []byte) error
type ExperimentExecutionsRequestAO ¶
type ExperimentExecutionsRequestAO struct {
// CreatedFrom Filter results by range of created date
//
// Example: 2021-01-01T00:00:00Z
CreatedFrom *time.Time `json:"createdFrom,omitempty"`
// CreatedTo Filter results by range of created date
//
// Example: 2021-01-01T00:00:00Z
CreatedTo *time.Time `json:"createdTo,omitempty"`
// EndedFrom Filter results by range of ended date
//
// Example: 2021-01-01T00:00:00Z
EndedFrom *time.Time `json:"endedFrom,omitempty"`
// EndedTo Filter results by range of ended date
//
// Example: 2021-01-01T00:00:00Z
EndedTo *time.Time `json:"endedTo,omitempty"`
// Environments Filter results by one or more environments
//
// Example: ["Global"]
Environments *[]string `json:"environments,omitempty"`
// ExperimentKeys Filter results by one or more experiment-keys
//
// Example: ["ADM-9"]
ExperimentKeys *[]string `json:"experimentKeys,omitempty"`
// Name Filter results by name and/or key of the experiment
//
// Example: Outage
Name *string `json:"name,omitempty"`
Page *int32 `json:"page,omitempty"`
// RequestedFrom Filter results by range of requested date
//
// Example: 2021-01-01T00:00:00Z
RequestedFrom *time.Time `json:"requestedFrom,omitempty"`
// RequestedTo Filter results by range of requested date
//
// Example: 2021-01-01T00:00:00Z
RequestedTo *time.Time `json:"requestedTo,omitempty"`
// Services Filter results by one or more service names that should be included in the result
//
// Example: ["shopping-cart"]
Services *[]string `json:"services,omitempty"`
Size *int32 `json:"size,omitempty"`
// States Filter results by one or more states. Possible values: [CREATED, PREPARED, RUNNING, FAILED, CANCELED, COMPLETED, ERRORED]
//
// Example: ["CREATED"]
States *[]string `json:"states,omitempty"`
// TeamKeys Filter results by one or more team-keys that should be included in the result
//
// Example: ["ADM"]
TeamKeys *[]string `json:"teamKeys,omitempty"`
// TeamKeysExclude Filter results by one or more team-keys that should be excluded in the result
//
// Example: ["ADM"]
TeamKeysExclude *[]string `json:"teamKeysExclude,omitempty"`
}
ExperimentExecutionsRequestAO Filters are defined in the body of the request.
Example: {"endedFrom":"2024-05-17T00:00:00Z","endedTo":"2024-06-24T00:00:00Z","environments":["Global"],"experimentKeys":["ADM-9"],"page":0,"requestedFrom":"2024-05-17T00:00:00Z","requestedTo":"2024-06-24T00:00:00Z","services":["shopping-cart"],"states":["errored","canceled"],"teamKeys":["GITHUB"],"teamKeysExclude":["ADM"]}
type ExperimentLaneAO ¶
type ExperimentLaneAO struct {
// Steps A list of steps that are executed sequentially in this lane.
//
// Example: [{"actionType":"com.steadybit.extension_host.stress-cpu","ignoreFailure":false,"parameters":{"duration":"30s"},"radius":{"percentage":100,"predicate":{"operator":"AND","predicates":[{"key":"k8s.deployment","operator":"EQUALS","values":["hot-deals"]}]},"query":null,"targetType":"com.steadybit.extension_container.container"},"type":"action"}]
Steps []BaseExperimentStepAO `json:"steps"`
}
ExperimentLaneAO A single lane of an experiment design. This lane can contain multiple steps that are executed sequentially
Example: {"steps":[{"actionType":"com.steadybit.extension_host.stress-cpu","ignoreFailure":false,"parameters":{"duration":"30s"},"radius":{"percentage":100,"predicate":{"operator":"AND","predicates":[{"key":"k8s.deployment","operator":"EQUALS","values":["hot-deals"]}]},"query":null,"targetType":"com.steadybit.extension_container.container"},"type":"action"}]}
type ExperimentReportFilterAO ¶
type ExperimentReportFilterAO struct {
// EnvironmentIds Restrict results to the given environment IDs. If not provided, all environments are included.
EnvironmentIds *[]openapi_types.UUID `json:"environmentIds,omitempty"`
// From Start date of the report range (inclusive).
//
// Example: 2026-01-01
From openapi_types.Date `json:"from"`
// Rollup The time bucket granularity for report aggregation.
//
// Example: MONTHLY
Rollup *ExperimentReportFilterAORollup `json:"rollup,omitempty"`
// TeamIds Restrict results to the given team IDs. If not provided, all teams are included.
TeamIds *[]openapi_types.UUID `json:"teamIds,omitempty"`
// To End date of the report range (inclusive).
//
// Example: 2026-03-01
To openapi_types.Date `json:"to"`
}
ExperimentReportFilterAO Filter for experiment report data, optionally scoped to specific teams and environments.
type ExperimentReportFilterAORollup ¶
type ExperimentReportFilterAORollup string
ExperimentReportFilterAORollup The time bucket granularity for report aggregation.
Example: MONTHLY
const ( ExperimentReportFilterAORollupDAILY ExperimentReportFilterAORollup = "DAILY" ExperimentReportFilterAORollupMONTHLY ExperimentReportFilterAORollup = "MONTHLY" )
Defines values for ExperimentReportFilterAORollup.
func (ExperimentReportFilterAORollup) Valid ¶
func (e ExperimentReportFilterAORollup) Valid() bool
Valid indicates whether the value is a known member of the ExperimentReportFilterAORollup enum.
type ExperimentRiskAO ¶
type ExperimentRiskAO struct {
// ExperimentKey The experiment key
ExperimentKey *string `json:"experimentKey,omitempty"`
// Risk The calculated risk score for this experiment (0-100)
Risk *int32 `json:"risk,omitempty"`
}
ExperimentRiskAO The risk for a single experiment linked to a service
Example: {"experimentKey":"ADM-8","risk":42}
type ExperimentScheduleAO ¶
type ExperimentScheduleAO struct {
// AllowParallel Should the experiment run if another experiment is running? Default is true.
//
// Example: true
AllowParallel *bool `json:"allowParallel,omitempty"`
// Cron Cron expression for the experiment schedule. Can't be used in combination with `startAt`.
//
// Example: 0 15 10 ? * *
Cron *string `json:"cron,omitempty"`
// EditedBy The user that canceled the experiment execution, only present if the execution was canceled
//
// Example: {"email":"max@steadybit.com","name":"Max Mustermann","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"}
EditedBy UserSummaryAO `json:"editedBy"`
// Enabled If `false`, the schedule is deactivated and no experiment will be executed. Default is true.
//
// Example: false
Enabled *bool `json:"enabled,omitempty"`
// ExperimentKey The experiment that should be scheduled.
//
// Example: ADM-123
ExperimentKey string `json:"experimentKey"`
Id string `json:"id"`
LastUpdated time.Time `json:"lastUpdated"`
NextExecution *time.Time `json:"nextExecution,omitempty"`
// StartAt Start date for a single execution. Can't be used in combination with `cron`.
StartAt *time.Time `json:"startAt,omitempty"`
// Timezone Optional timezone for a experiment schedule. Can only be used with `cron`.
//
// Example: Europe/Berlin
Timezone *string `json:"timezone,omitempty"`
// Variables Variables that will be used when the experiment will be executed. The variables will override existing environment or experiment variables. Each value is either a constant string, an array of constant strings, or a select expression object.
//
// Example: {"httpEndpoint":"http://dev.shop.products.internal"}
Variables *map[string]VariableExpressionAO `json:"variables,omitempty"`
}
ExperimentScheduleAO A schedule for an experiment.
Example: {"allowParallel":true,"cron":"30 * * * * ? *","editedBy":{"email":"manuel@example.org","name":"Manuel","pictureUrl":"https://.../picture.png","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"},"enabled":true,"experimentKey":"ADM-8","id":"01951394-727f-76a0-8675-c7519ebd0ff5","lastUpdated":"2025-02-17T11:04:10.623486Z","nextExecution":"2025-02-20T05:54:30Z","timezone":"Europe/Berlin","variables":{}}
type ExperimentStepActionAO ¶
type ExperimentStepActionAO struct {
// ActionType The specific action that is used in this step
//
// Example: com.steadybit.extension_host.stress-cpu
ActionType string `json:"actionType"`
CustomLabel *string `json:"customLabel,omitempty"`
// IgnoreFailure Ignore any errors and failures of this single step and continue the execution of an experiment run
//
// Example: false
IgnoreFailure *bool `json:"ignoreFailure,omitempty"`
// MetricChecks Optional metric checks used to define success or failure of this step
MetricChecks *[]MetricCheckAO `json:"metricChecks,omitempty"`
// MetricQueries Optional metric queries used of this step to filter e.g. monitoring data
MetricQueries *[]MetricQueryAO `json:"metricQueries,omitempty"`
// Parameters Configuration parameters of this step that are saved during experiment design and evaluated at execution time.
//
// Example: {"duration":"30s"}
Parameters *map[string]interface{} `json:"parameters,omitempty"`
// Radius Specifying the targets and random blast radius of the available targets
//
// Example: {"predicate":{"operator":"AND","predicates":[{"key":"k8s.deployment","operator":"EQUALS","values":["hot-deals"]}]},"targetType":"com.steadybit.extension_container.container"}
Radius *ExperimentStepRadiusAO `json:"radius,omitempty"`
Type string `json:"type"`
// contains filtered or unexported fields
}
ExperimentStepActionAO A single step in a lane executing always exactly one action.
func (ExperimentStepActionAO) AsExperimentStepActionAO ¶
func (t ExperimentStepActionAO) AsExperimentStepActionAO() (ExperimentStepActionAO, error)
AsExperimentStepActionAO returns the union data inside the ExperimentStepActionAO as a ExperimentStepActionAO
func (ExperimentStepActionAO) AsExperimentStepServiceValidationAO ¶
func (t ExperimentStepActionAO) AsExperimentStepServiceValidationAO() (ExperimentStepServiceValidationAO, error)
AsExperimentStepServiceValidationAO returns the union data inside the ExperimentStepActionAO as a ExperimentStepServiceValidationAO
func (ExperimentStepActionAO) AsExperimentStepWaitAO ¶
func (t ExperimentStepActionAO) AsExperimentStepWaitAO() (ExperimentStepWaitAO, error)
AsExperimentStepWaitAO returns the union data inside the ExperimentStepActionAO as a ExperimentStepWaitAO
func (ExperimentStepActionAO) Discriminator ¶
func (t ExperimentStepActionAO) Discriminator() (string, error)
func (*ExperimentStepActionAO) FromExperimentStepActionAO ¶
func (t *ExperimentStepActionAO) FromExperimentStepActionAO(v ExperimentStepActionAO) error
FromExperimentStepActionAO overwrites any union data inside the ExperimentStepActionAO as the provided ExperimentStepActionAO
func (*ExperimentStepActionAO) FromExperimentStepServiceValidationAO ¶
func (t *ExperimentStepActionAO) FromExperimentStepServiceValidationAO(v ExperimentStepServiceValidationAO) error
FromExperimentStepServiceValidationAO overwrites any union data inside the ExperimentStepActionAO as the provided ExperimentStepServiceValidationAO
func (*ExperimentStepActionAO) FromExperimentStepWaitAO ¶
func (t *ExperimentStepActionAO) FromExperimentStepWaitAO(v ExperimentStepWaitAO) error
FromExperimentStepWaitAO overwrites any union data inside the ExperimentStepActionAO as the provided ExperimentStepWaitAO
func (ExperimentStepActionAO) MarshalJSON ¶
func (t ExperimentStepActionAO) MarshalJSON() ([]byte, error)
func (*ExperimentStepActionAO) MergeExperimentStepActionAO ¶
func (t *ExperimentStepActionAO) MergeExperimentStepActionAO(v ExperimentStepActionAO) error
MergeExperimentStepActionAO performs a merge with any union data inside the ExperimentStepActionAO, using the provided ExperimentStepActionAO
func (*ExperimentStepActionAO) MergeExperimentStepServiceValidationAO ¶
func (t *ExperimentStepActionAO) MergeExperimentStepServiceValidationAO(v ExperimentStepServiceValidationAO) error
MergeExperimentStepServiceValidationAO performs a merge with any union data inside the ExperimentStepActionAO, using the provided ExperimentStepServiceValidationAO
func (*ExperimentStepActionAO) MergeExperimentStepWaitAO ¶
func (t *ExperimentStepActionAO) MergeExperimentStepWaitAO(v ExperimentStepWaitAO) error
MergeExperimentStepWaitAO performs a merge with any union data inside the ExperimentStepActionAO, using the provided ExperimentStepWaitAO
func (*ExperimentStepActionAO) UnmarshalJSON ¶
func (t *ExperimentStepActionAO) UnmarshalJSON(b []byte) error
func (ExperimentStepActionAO) ValueByDiscriminator ¶
func (t ExperimentStepActionAO) ValueByDiscriminator() (interface{}, error)
type ExperimentStepRadiusAO ¶
type ExperimentStepRadiusAO struct {
Advanced *[]AdvancedRadiusAO `json:"advanced,omitempty"`
Maximum *int32 `json:"maximum,omitempty"`
Percentage *int32 `json:"percentage,omitempty"`
// Predicate Query defining the overall superset of targets being effected
//
// Example: [{"key":"container.host/name","operator":"EQUALS","values":["docker-desktop/minikube"]}]
Predicate *TargetPredicateAO `json:"predicate,omitempty"`
// Query Query defining the overall superset of targets being effected
//
// Example: [{"key":"container.host/name","operator":"EQUALS","values":["docker-desktop/minikube"]}]
Query *TargetPredicateAO `json:"query,omitempty"`
TargetType *string `json:"targetType,omitempty"`
}
ExperimentStepRadiusAO Specifying the targets and random blast radius of the available targets
Example: {"predicate":{"operator":"AND","predicates":[{"key":"k8s.deployment","operator":"EQUALS","values":["hot-deals"]}]},"targetType":"com.steadybit.extension_container.container"}
type ExperimentStepServiceValidationAO ¶
type ExperimentStepServiceValidationAO struct {
CustomLabel *string `json:"customLabel,omitempty"`
// IgnoreFailure Ignore any errors and failures of this single step and continue the execution of an experiment run
//
// Example: false
IgnoreFailure *bool `json:"ignoreFailure,omitempty"`
// MetricChecks Optional metric checks used to define success or failure of this step
MetricChecks *[]MetricCheckAO `json:"metricChecks,omitempty"`
// MetricQueries Optional metric queries used of this step to filter e.g. monitoring data
MetricQueries *[]MetricQueryAO `json:"metricQueries,omitempty"`
// Parameters Configuration parameters of this step that are saved during experiment design and evaluated at execution time.
//
// Example: {"duration":"30s"}
Parameters *map[string]interface{} `json:"parameters,omitempty"`
// ServiceId The name of the service to validate.
//
// Example: 1a04288d-6c85-4ba6-80d7-24ded64dd009
ServiceId string `json:"serviceId"`
Type string `json:"type"`
// contains filtered or unexported fields
}
ExperimentStepServiceValidationAO A step in a lane executing the defined validations of a service
func (ExperimentStepServiceValidationAO) AsExperimentStepActionAO ¶
func (t ExperimentStepServiceValidationAO) AsExperimentStepActionAO() (ExperimentStepActionAO, error)
AsExperimentStepActionAO returns the union data inside the ExperimentStepServiceValidationAO as a ExperimentStepActionAO
func (ExperimentStepServiceValidationAO) AsExperimentStepServiceValidationAO ¶
func (t ExperimentStepServiceValidationAO) AsExperimentStepServiceValidationAO() (ExperimentStepServiceValidationAO, error)
AsExperimentStepServiceValidationAO returns the union data inside the ExperimentStepServiceValidationAO as a ExperimentStepServiceValidationAO
func (ExperimentStepServiceValidationAO) AsExperimentStepWaitAO ¶
func (t ExperimentStepServiceValidationAO) AsExperimentStepWaitAO() (ExperimentStepWaitAO, error)
AsExperimentStepWaitAO returns the union data inside the ExperimentStepServiceValidationAO as a ExperimentStepWaitAO
func (ExperimentStepServiceValidationAO) Discriminator ¶
func (t ExperimentStepServiceValidationAO) Discriminator() (string, error)
func (*ExperimentStepServiceValidationAO) FromExperimentStepActionAO ¶
func (t *ExperimentStepServiceValidationAO) FromExperimentStepActionAO(v ExperimentStepActionAO) error
FromExperimentStepActionAO overwrites any union data inside the ExperimentStepServiceValidationAO as the provided ExperimentStepActionAO
func (*ExperimentStepServiceValidationAO) FromExperimentStepServiceValidationAO ¶
func (t *ExperimentStepServiceValidationAO) FromExperimentStepServiceValidationAO(v ExperimentStepServiceValidationAO) error
FromExperimentStepServiceValidationAO overwrites any union data inside the ExperimentStepServiceValidationAO as the provided ExperimentStepServiceValidationAO
func (*ExperimentStepServiceValidationAO) FromExperimentStepWaitAO ¶
func (t *ExperimentStepServiceValidationAO) FromExperimentStepWaitAO(v ExperimentStepWaitAO) error
FromExperimentStepWaitAO overwrites any union data inside the ExperimentStepServiceValidationAO as the provided ExperimentStepWaitAO
func (ExperimentStepServiceValidationAO) MarshalJSON ¶
func (t ExperimentStepServiceValidationAO) MarshalJSON() ([]byte, error)
func (*ExperimentStepServiceValidationAO) MergeExperimentStepActionAO ¶
func (t *ExperimentStepServiceValidationAO) MergeExperimentStepActionAO(v ExperimentStepActionAO) error
MergeExperimentStepActionAO performs a merge with any union data inside the ExperimentStepServiceValidationAO, using the provided ExperimentStepActionAO
func (*ExperimentStepServiceValidationAO) MergeExperimentStepServiceValidationAO ¶
func (t *ExperimentStepServiceValidationAO) MergeExperimentStepServiceValidationAO(v ExperimentStepServiceValidationAO) error
MergeExperimentStepServiceValidationAO performs a merge with any union data inside the ExperimentStepServiceValidationAO, using the provided ExperimentStepServiceValidationAO
func (*ExperimentStepServiceValidationAO) MergeExperimentStepWaitAO ¶
func (t *ExperimentStepServiceValidationAO) MergeExperimentStepWaitAO(v ExperimentStepWaitAO) error
MergeExperimentStepWaitAO performs a merge with any union data inside the ExperimentStepServiceValidationAO, using the provided ExperimentStepWaitAO
func (*ExperimentStepServiceValidationAO) UnmarshalJSON ¶
func (t *ExperimentStepServiceValidationAO) UnmarshalJSON(b []byte) error
func (ExperimentStepServiceValidationAO) ValueByDiscriminator ¶
func (t ExperimentStepServiceValidationAO) ValueByDiscriminator() (interface{}, error)
type ExperimentStepWaitAO ¶
type ExperimentStepWaitAO = BaseExperimentStepAO
ExperimentStepWaitAO A single step in a lane waiting for a specified duration.
type ExperimentSummariesAO ¶
type ExperimentSummariesAO struct {
// Experiments List of experiment summaries
//
// Example: [{"key":"ADM-1","name":"Shop survives unavailability of hot-deals products"},{"key":"SHOP-2","name":"Network latency of Message Broker doesn't interfere with Online shop"}]
Experiments *[]ExperimentSummaryAO `json:"experiments,omitempty"`
}
ExperimentSummariesAO List of experiments.
Example: {"experiments":[{"key":"ADM-1","name":"Shop survives unavailability of hot-deals products"},{"key":"SHOP-2","name":"Network latency of Message Broker doesn't interfere with Online shop"}]}
type ExperimentSummaryAO ¶
type ExperimentSummaryAO struct {
// Key Unique experiment key that identifies the experiment. Combination of `team key` and increasing number
//
// Example: ADM-2
Key *string `json:"key,omitempty"`
// Name Name of the experiment to easily identify the experiment
//
// Example: Shop survives unavailability of hot-deals products
Name *string `json:"name,omitempty"`
}
ExperimentSummaryAO Summary of a single experiment.
Example: {"key":"ADM-1","name":"Shop survives unavailability of hot-deals products"}
type ExperimentTemplateAO ¶
type ExperimentTemplateAO struct {
// Created Timestamp when the experiment template was created
//
// Example: 2023-01-01T09:00:00Z
Created time.Time `json:"created"`
// CreatedBy The user that canceled the experiment execution, only present if the execution was canceled
//
// Example: {"email":"max@steadybit.com","name":"Max Mustermann","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"}
CreatedBy UserSummaryAO `json:"createdBy"`
// Edited Timestamp when the experiment template was edited the last time
//
// Example: 2023-01-01T09:00:00Z
Edited time.Time `json:"edited"`
// EditedBy The user that canceled the experiment execution, only present if the execution was canceled
//
// Example: {"email":"max@steadybit.com","name":"Max Mustermann","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"}
EditedBy UserSummaryAO `json:"editedBy"`
// ExperimentName Name of the experiment created by this template. If omitted, the name needs to be added when the template is used.
//
// Example: Shop survives unavailability of database
ExperimentName *string `json:"experimentName,omitempty"`
// Hidden Should the experiment template be hidden
//
// Example: false
Hidden *bool `json:"hidden,omitempty"`
// Hypothesis The hypothesis that is validated by the experiment
//
// Example: System is able to survive a latency in the network of 1500ms
Hypothesis *string `json:"hypothesis,omitempty"`
Id *openapi_types.UUID `json:"id,omitempty"`
// Lanes The lanes (steps executed in parallel) in the experiment template. Each lane consists of multiple steps that are executed sequential per lane.
//
// Example: [{"steps":[{"actionType":"com.steadybit.extension_host.stress-cpu","ignoreFailure":false,"parameters":{"duration":"30s"},"radius":{"percentage":100,"predicate":{"operator":"AND","predicates":[{"key":"k8s.deployment","operator":"EQUALS","values":["hot-deals"]}]},"query":null,"targetType":"com.steadybit.extension_container.container"},"type":"action"}]}]
Lanes []ExperimentLaneAO `json:"lanes"`
// Placeholders A list of placeholders used in this experiment template.
Placeholders *[]ExperimentTemplatePlaceholderAO `json:"placeholders,omitempty"`
// Properties The properties of the experiment
//
// Example: {"EXAMPLE_CUSTOM_PROPERTY":"I like this experiment!"}
Properties *map[string]interface{} `json:"properties,omitempty"`
// PropertiesMetadata Metadata for properties used in this template.
//
// Example: [{"editableInExecution":false,"key":"EXAMPLE_CUSTOM_PROPERTY","required":true}]
PropertiesMetadata *[]PropertyMetadataAO `json:"propertiesMetadata,omitempty"`
// Tags A list of tags for this experiment template. (Up to 5)
Tags *[]string `json:"tags,omitempty"`
// TemplateDescription A brief description what the template is doing.
TemplateDescription string `json:"templateDescription"`
// TemplateTitle The title of the template
//
// Example: Shop survives unavailability of database
TemplateTitle string `json:"templateTitle"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
ExperimentTemplateAO Example: {"created":"2024-03-22T09:24:12.802961166Z","createdBy":{"name":"Daniel","pictureUrl":"https://s.gravatar.com/avatar/4f27f3856530f8f2e4ec050b1d594306?s=480\u0026r=pg\u0026d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fda.png","username":"2bd1c2d7-4051-46ad-9f05-315062edd85e"},"edited":"2024-03-22T09:24:12.802961166Z","editedBy":{"name":"Daniel","pictureUrl":"https://s.gravatar.com/avatar/4f27f3856530f8f2e4ec050b1d594306?s=480\u0026r=pg\u0026d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fda.png","username":"2bd1c2d7-4051-46ad-9f05-315062edd85e"},"hidden":false,"id":"6bea7aec-3572-44cf-9151-c6ada57d08ca","lanes":[{"steps":[{"actionType":"com.steadybit.extension_http.check.periodically","ignoreFailure":false,"parameters":{"connectTimeout":"5s","duration":"60s","followRedirects":false,"headers":[],"maxConcurrent":5,"method":"GET","readTimeout":"5s","requestsPerSecond":1,"statusCode":"200-299","successRate":"100","url":"[[HTTP_ENDPOINT]]"},"radius":{},"type":"action"}]},{"steps":[{"ignoreFailure":false,"parameters":{"duration":"10s"},"type":"wait"},{"actionType":"com.steadybit.extension_kubernetes.rollout-restart","ignoreFailure":false,"parameters":{"wait":false},"radius":{"percentage":50,"predicate":{"operator":"AND","predicates":[{"key":"k8s.cluster-name","operator":"EQUALS","values":["[[CLUSTER]]"]},{"key":"k8s.namespace","operator":"EQUALS","values":["[[NAMESPACE]]"]},{"key":"k8s.deployment","operator":"EQUALS","values":["[[DEPLOYMENT]]"]}]},"query":null,"targetType":"com.steadybit.extension_kubernetes.kubernetes-deployment"},"type":"action"},{"actionType":"com.steadybit.extension_kubernetes.rollout-status","ignoreFailure":false,"parameters":{"duration":"10m"},"radius":{"percentage":50,"predicate":{"operator":"AND","predicates":[{"key":"k8s.cluster-name","operator":"EQUALS","values":["[[CLUSTER]]"]},{"key":"k8s.namespace","operator":"EQUALS","values":["[[NAMESPACE]]"]},{"key":"k8s.deployment","operator":"EQUALS","values":["[[DEPLOYMENT]]"]}]},"query":null,"targetType":"com.steadybit.extension_kubernetes.kubernetes-deployment"},"type":"action"}]}],"placeholders":[{"description":"Which HTTP Endpoint should be checked during experiment execution?","key":"HTTP_ENDPOINT","name":"HTTP Endpoint"},{"description":"Which Kubernetes deployment do you want to restart?","key":"DEPLOYMENT","name":"Kubernetes Deployment"},{"description":"In which Kubernetes cluster is the deployment deployed to?","key":"CLUSTER","name":"Kubernetes Cluster"},{"description":"In which Kubernetes namespace is the deployment deployed to?","key":"NAMESPACE","name":"Kubernetes Namespace"}],"properties":{"EXAMPLE_CUSTOM_PROPERTY":"I like this experiment!"},"propertiesMetadata":[{"editableInExecution":false,"key":"EXAMPLE_CUSTOM_PROPERTY","required":true}],"tags":["Kubernetes"],"templateDescription":"Test if a given HTTP Endpoint remains funcitonal if a Kubernetes deployment is restarted.","templateTitle":"HTTP Endpoint remains functional during Kubernetes Rollout Restart","version":0}
type ExperimentTemplatePlaceholderAO ¶
type ExperimentTemplatePlaceholderAO struct {
Description string `json:"description"`
Key string `json:"key"`
Name string `json:"name"`
}
ExperimentTemplatePlaceholderAO A list of placeholders used in this experiment template.
type ExperimentTemplatePlaceholderValueAO ¶
type ExperimentTemplatePlaceholderValueAO struct {
// Key The key of a template placeholder
//
// Example: cluster-name
Key string `json:"key"`
// Value The value of a template placeholder, can be a string, a number a boolean or an object with a given structure like `[{"key": "CLUSTER","value": "demo-cluster"}]`
//
// Example: prod-cluster-1
Value interface{} `json:"value"`
}
ExperimentTemplatePlaceholderValueAO List of template placeholder values
type ExperimentTemplateSummariesAO ¶
type ExperimentTemplateSummariesAO struct {
// Templates List of experiment template summaries.
//
// Example: [{"id":"f5990c81-6427-4144-8304-eda765a3f852","templateTitle":"xxx"},{"key":"d7e65100-1d20-4980-be87-c351704910b8","templateTitle":"yyy"}]
Templates *[]ExperimentTemplateSummaryAO `json:"templates,omitempty"`
}
ExperimentTemplateSummariesAO List of experiment template summaries.
Example: {"templates":[{"id":"f5990c81-6427-4144-8304-eda765a3f852","templateTitle":"xxx"},{"id":"d7e65100-1d20-4980-be87-c351704910b8","templateTitle":"yyy"}]}
type ExperimentTemplateSummaryAO ¶
type ExperimentTemplateSummaryAO struct {
// Hidden Is the template currently hidden?
//
// Example: true
Hidden *bool `json:"hidden,omitempty"`
// Id Unique id that identifies the experiment template.
//
// Example: b9f4aae2-9b03-4ad3-a1a7-654774cc04eb
Id *openapi_types.UUID `json:"id,omitempty"`
// TemplateDescription Description of the experiment template
//
// Example: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
TemplateDescription *string `json:"templateDescription,omitempty"`
// TemplateTitle Title of the experiment template
//
// Example: Shop survives unavailability of hot-deals products
TemplateTitle *string `json:"templateTitle,omitempty"`
}
ExperimentTemplateSummaryAO Summary of a single experiment template.
Example: {"id":"e50deab2-2636-4a5b-ad5a-6cf904ed56c4","templateTitle":"HTTP Endpoint remains functional during Kubernetes Rollout Restart"}
type ExperimentTemplatesImportAO ¶
type ExperimentTemplatesImportAO struct {
// HubId ID of the hub to import templates from.
HubId openapi_types.UUID `json:"hubId"`
// TemplateIds Optional list of Template IDs to import into the platform. If not provided, all templates from the hub will be imported.
TemplateIds *[]openapi_types.UUID `json:"templateIds,omitempty"`
}
ExperimentTemplatesImportAO Request to import templates from a hub.
type FindAllActionsParams ¶
type FindAllActionsParams struct {
// Page The page number to retrieve. Starts from 0.
Page *int32 `form:"page,omitempty" json:"page,omitempty"`
// Size The number of items to return per page.
Size *int32 `form:"size,omitempty" json:"size,omitempty"`
}
FindAllActionsParams defines parameters for FindAllActions.
type FindAllActionsResponse ¶
type FindAllActionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ActionSummariesAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ActionSummariesAO
}
func ParseFindAllActionsResponse ¶
func ParseFindAllActionsResponse(rsp *http.Response) (*FindAllActionsResponse, error)
ParseFindAllActionsResponse parses an HTTP response from a FindAllActionsWithResponse call
func (FindAllActionsResponse) ContentType ¶
func (r FindAllActionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FindAllActionsResponse) GetBody ¶
func (r FindAllActionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FindAllActionsResponse) GetJSON200 ¶
func (r FindAllActionsResponse) GetJSON200() *ActionSummariesAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (FindAllActionsResponse) GetYAML200 ¶
func (r FindAllActionsResponse) GetYAML200() *ActionSummariesAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (FindAllActionsResponse) Status ¶
func (r FindAllActionsResponse) Status() string
Status returns HTTPResponse.Status
func (FindAllActionsResponse) StatusCode ¶
func (r FindAllActionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FindParams ¶
type FindParams struct {
// From Starting point with the earliest time to be included.<br/>If neither `to` nor `from` is specified, it defaults to a 7 days date range from today.
From *time.Time `form:"from,omitempty" json:"from,omitempty"`
// To End point with the latest time to be included.<br/>If neither `to` nor `from` is specified, it defaults to a 7 days date range from today.
To *time.Time `form:"to,omitempty" json:"to,omitempty"`
}
FindParams defines parameters for Find.
type FindResponse ¶
type FindResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]AuditLogEntry
}
func ParseFindResponse ¶
func ParseFindResponse(rsp *http.Response) (*FindResponse, error)
ParseFindResponse parses an HTTP response from a FindWithResponse call
func (FindResponse) ContentType ¶
func (r FindResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FindResponse) GetBody ¶
func (r FindResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FindResponse) GetJSON200 ¶
func (r FindResponse) GetJSON200() *[]AuditLogEntry
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (FindResponse) Status ¶
func (r FindResponse) Status() string
Status returns HTTPResponse.Status
func (FindResponse) StatusCode ¶
func (r FindResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ForwardToPlatformParams ¶
type ForwardToPlatformParams struct {
// TenantKey Key of the Steadybit tenant. You can get the key from the Platform URL or by asking the Steadybit team
TenantKey string `form:"tenantKey" json:"tenantKey"`
// Tag Tag that identifies the experiment. This is used to identify whether an experiment was already created for these tag or not. Can be e.g. an incident or ticket identifier of pager duty or JIRA
Tag *string `form:"tag,omitempty" json:"tag,omitempty"`
// ExternalReference External reference that identifies the experiment. This is used to identify whether an experiment was already created for that reference or not. Can be e.g. an incident or ticket identifier of pager duty or JIRA
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ExternalReference *string `form:"externalReference,omitempty" json:"externalReference,omitempty"`
}
ForwardToPlatformParams defines parameters for ForwardToPlatform.
type ForwardToPlatformResponse ¶
type ForwardToPlatformResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON307 the response for an HTTP 307 `application/json` response
JSON307 *map[string]interface{}
// YAML307 the response for an HTTP 307 `application/yaml` response
YAML307 *map[string]interface{}
}
func ParseForwardToPlatformResponse ¶
func ParseForwardToPlatformResponse(rsp *http.Response) (*ForwardToPlatformResponse, error)
ParseForwardToPlatformResponse parses an HTTP response from a ForwardToPlatformWithResponse call
func (ForwardToPlatformResponse) ContentType ¶
func (r ForwardToPlatformResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ForwardToPlatformResponse) GetBody ¶
func (r ForwardToPlatformResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ForwardToPlatformResponse) GetJSON307 ¶
func (r ForwardToPlatformResponse) GetJSON307() *map[string]interface{}
GetJSON307 returns the response for an HTTP 307 `application/json` response
func (ForwardToPlatformResponse) GetYAML307 ¶
func (r ForwardToPlatformResponse) GetYAML307() *map[string]interface{}
GetYAML307 returns the response for an HTTP 307 `application/yaml` response
func (ForwardToPlatformResponse) Status ¶
func (r ForwardToPlatformResponse) Status() string
Status returns HTTPResponse.Status
func (ForwardToPlatformResponse) StatusCode ¶
func (r ForwardToPlatformResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAccessTokens1Params ¶
type GetAccessTokens1Params struct {
Name *string `form:"name,omitempty" json:"name,omitempty"`
CreatedBy *string `form:"createdBy,omitempty" json:"createdBy,omitempty"`
Type *GetAccessTokens1ParamsType `form:"type,omitempty" json:"type,omitempty"`
Teams *[]string `form:"teams,omitempty" json:"teams,omitempty"`
Expired *bool `form:"expired,omitempty" json:"expired,omitempty"`
PageRequest PageRequestAO `form:"pageRequest" json:"pageRequest"`
}
GetAccessTokens1Params defines parameters for GetAccessTokens1.
type GetAccessTokens1ParamsType ¶
type GetAccessTokens1ParamsType string
GetAccessTokens1ParamsType defines parameters for GetAccessTokens1.
const ( GetAccessTokens1ParamsTypeADMIN GetAccessTokens1ParamsType = "ADMIN" GetAccessTokens1ParamsTypeTEAM GetAccessTokens1ParamsType = "TEAM" GetAccessTokens1ParamsTypeWILDCARD GetAccessTokens1ParamsType = "WILDCARD" )
Defines values for GetAccessTokens1ParamsType.
func (GetAccessTokens1ParamsType) Valid ¶
func (e GetAccessTokens1ParamsType) Valid() bool
Valid indicates whether the value is a known member of the GetAccessTokens1ParamsType enum.
type GetAccessTokens1Response ¶
type GetAccessTokens1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PagedResponseAOAccessTokensPageItemV2AO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PagedResponseAOAccessTokensPageItemV2AO
}
func ParseGetAccessTokens1Response ¶
func ParseGetAccessTokens1Response(rsp *http.Response) (*GetAccessTokens1Response, error)
ParseGetAccessTokens1Response parses an HTTP response from a GetAccessTokens1WithResponse call
func (GetAccessTokens1Response) ContentType ¶
func (r GetAccessTokens1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAccessTokens1Response) GetBody ¶
func (r GetAccessTokens1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAccessTokens1Response) GetJSON200 ¶
func (r GetAccessTokens1Response) GetJSON200() *PagedResponseAOAccessTokensPageItemV2AO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAccessTokens1Response) GetYAML200 ¶
func (r GetAccessTokens1Response) GetYAML200() *PagedResponseAOAccessTokensPageItemV2AO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetAccessTokens1Response) Status ¶
func (r GetAccessTokens1Response) Status() string
Status returns HTTPResponse.Status
func (GetAccessTokens1Response) StatusCode ¶
func (r GetAccessTokens1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAccessTokensParams ¶
type GetAccessTokensParams struct {
Type *GetAccessTokensParamsType `form:"type,omitempty" json:"type,omitempty"`
Team *string `form:"team,omitempty" json:"team,omitempty"`
PageRequest PageRequestAO `form:"pageRequest" json:"pageRequest"`
}
GetAccessTokensParams defines parameters for GetAccessTokens.
type GetAccessTokensParamsType ¶
type GetAccessTokensParamsType string
GetAccessTokensParamsType defines parameters for GetAccessTokens.
const ( GetAccessTokensParamsTypeADMIN GetAccessTokensParamsType = "ADMIN" GetAccessTokensParamsTypeTEAM GetAccessTokensParamsType = "TEAM" )
Defines values for GetAccessTokensParamsType.
func (GetAccessTokensParamsType) Valid ¶
func (e GetAccessTokensParamsType) Valid() bool
Valid indicates whether the value is a known member of the GetAccessTokensParamsType enum.
type GetAccessTokensResponse ¶
type GetAccessTokensResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PagedResponseAOAccessTokensPageItemAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PagedResponseAOAccessTokensPageItemAO
}
func ParseGetAccessTokensResponse ¶
func ParseGetAccessTokensResponse(rsp *http.Response) (*GetAccessTokensResponse, error)
ParseGetAccessTokensResponse parses an HTTP response from a GetAccessTokensWithResponse call
func (GetAccessTokensResponse) ContentType ¶
func (r GetAccessTokensResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAccessTokensResponse) GetBody ¶
func (r GetAccessTokensResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAccessTokensResponse) GetJSON200 ¶
func (r GetAccessTokensResponse) GetJSON200() *PagedResponseAOAccessTokensPageItemAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAccessTokensResponse) GetYAML200 ¶
func (r GetAccessTokensResponse) GetYAML200() *PagedResponseAOAccessTokensPageItemAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetAccessTokensResponse) Status ¶
func (r GetAccessTokensResponse) Status() string
Status returns HTTPResponse.Status
func (GetAccessTokensResponse) StatusCode ¶
func (r GetAccessTokensResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetActionResponse ¶
type GetActionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ActionAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ActionAO
}
func ParseGetActionResponse ¶
func ParseGetActionResponse(rsp *http.Response) (*GetActionResponse, error)
ParseGetActionResponse parses an HTTP response from a GetActionWithResponse call
func (GetActionResponse) ContentType ¶
func (r GetActionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetActionResponse) GetBody ¶
func (r GetActionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetActionResponse) GetJSON200 ¶
func (r GetActionResponse) GetJSON200() *ActionAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetActionResponse) GetYAML200 ¶
func (r GetActionResponse) GetYAML200() *ActionAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetActionResponse) Status ¶
func (r GetActionResponse) Status() string
Status returns HTTPResponse.Status
func (GetActionResponse) StatusCode ¶
func (r GetActionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdviceApiRequestAO ¶
type GetAdviceApiRequestAO struct {
// EnvironmentName The name of the environment of which the pieces of Advice should be listed
//
// Example: Global
EnvironmentName string `json:"environmentName"`
// Offset The offset to be returned in the paginated result set
//
// Example: 20
Offset *int64 `json:"offset,omitempty"`
// Query An additional optional filter to search only for pieces of advice, whose target is included in the filter
//
// Example: k8s.cluster-name=prod-demo and k8s.namespace=steadybit-demo
Query *string `json:"query,omitempty"`
}
GetAdviceApiRequestAO Request for getting and filtering pieces of advice.
Example: {"environmentName":"Global","offset":0,"query":"k8s.cluster-name=sandbox-demo and k8s.namespace=steadybit-demo"}
type GetAllSchedulesV2Params ¶
type GetAllSchedulesV2Params struct {
// Team Filter results by one or more team-keys
Team *[]string `form:"team,omitempty" json:"team,omitempty"`
// Experiment Filter results by one or more experiment-keys
Experiment *[]string `form:"experiment,omitempty" json:"experiment,omitempty"`
}
GetAllSchedulesV2Params defines parameters for GetAllSchedulesV2.
type GetAllSchedulesV2Response ¶
type GetAllSchedulesV2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ExperimentScheduleAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *[]ExperimentScheduleAO
}
func ParseGetAllSchedulesV2Response ¶
func ParseGetAllSchedulesV2Response(rsp *http.Response) (*GetAllSchedulesV2Response, error)
ParseGetAllSchedulesV2Response parses an HTTP response from a GetAllSchedulesV2WithResponse call
func (GetAllSchedulesV2Response) ContentType ¶
func (r GetAllSchedulesV2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAllSchedulesV2Response) GetBody ¶
func (r GetAllSchedulesV2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAllSchedulesV2Response) GetJSON200 ¶
func (r GetAllSchedulesV2Response) GetJSON200() *[]ExperimentScheduleAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAllSchedulesV2Response) GetYAML200 ¶
func (r GetAllSchedulesV2Response) GetYAML200() *[]ExperimentScheduleAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetAllSchedulesV2Response) Status ¶
func (r GetAllSchedulesV2Response) Status() string
Status returns HTTPResponse.Status
func (GetAllSchedulesV2Response) StatusCode ¶
func (r GetAllSchedulesV2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetArtifactResponse ¶
func ParseGetArtifactResponse ¶
func ParseGetArtifactResponse(rsp *http.Response) (*GetArtifactResponse, error)
ParseGetArtifactResponse parses an HTTP response from a GetArtifactWithResponse call
func (GetArtifactResponse) ContentType ¶
func (r GetArtifactResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetArtifactResponse) GetBody ¶
func (r GetArtifactResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetArtifactResponse) Status ¶
func (r GetArtifactResponse) Status() string
Status returns HTTPResponse.Status
func (GetArtifactResponse) StatusCode ¶
func (r GetArtifactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAssociationsParams ¶
type GetAssociationsParams struct {
// Page The number of the page, responses are limited to 50 elements per page.
Page *int32 `form:"page,omitempty" json:"page,omitempty"`
// Key Filter association based on a single property definition key
Key *string `form:"key,omitempty" json:"key,omitempty"`
// ExperimentKey Filter association that are explicitly assigned to the given experimentKey. (There might still be associations for ALL Experiment Designs)
ExperimentKey *string `form:"experimentKey,omitempty" json:"experimentKey,omitempty"`
// ServiceId Filter association that are explicitly assigned to the given serviceId. (There might still be associations for ALL Services)
ServiceId *openapi_types.UUID `form:"serviceId,omitempty" json:"serviceId,omitempty"`
// AssociationTypeAO Filter association based on association type (`EXPERIMENT` for experiment-related associations and `SERVICE` for service-related associations, no matter whether globally or individually)
AssociationTypeAO *GetAssociationsParamsAssociationTypeAO `form:"associationTypeAO,omitempty" json:"associationTypeAO,omitempty"`
}
GetAssociationsParams defines parameters for GetAssociations.
type GetAssociationsParamsAssociationTypeAO ¶
type GetAssociationsParamsAssociationTypeAO string
GetAssociationsParamsAssociationTypeAO defines parameters for GetAssociations.
const ( GetAssociationsParamsAssociationTypeAOEXPERIMENT GetAssociationsParamsAssociationTypeAO = "EXPERIMENT" GetAssociationsParamsAssociationTypeAOSERVICE GetAssociationsParamsAssociationTypeAO = "SERVICE" )
Defines values for GetAssociationsParamsAssociationTypeAO.
func (GetAssociationsParamsAssociationTypeAO) Valid ¶
func (e GetAssociationsParamsAssociationTypeAO) Valid() bool
Valid indicates whether the value is a known member of the GetAssociationsParamsAssociationTypeAO enum.
type GetAssociationsResponse ¶
type GetAssociationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PagedResponseAOPropertyAssociationAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PagedResponseAOPropertyAssociationAO
}
func ParseGetAssociationsResponse ¶
func ParseGetAssociationsResponse(rsp *http.Response) (*GetAssociationsResponse, error)
ParseGetAssociationsResponse parses an HTTP response from a GetAssociationsWithResponse call
func (GetAssociationsResponse) ContentType ¶
func (r GetAssociationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAssociationsResponse) GetBody ¶
func (r GetAssociationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAssociationsResponse) GetJSON200 ¶
func (r GetAssociationsResponse) GetJSON200() *PagedResponseAOPropertyAssociationAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAssociationsResponse) GetYAML200 ¶
func (r GetAssociationsResponse) GetYAML200() *PagedResponseAOPropertyAssociationAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetAssociationsResponse) Status ¶
func (r GetAssociationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssociationsResponse) StatusCode ¶
func (r GetAssociationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAverageRiskJSONRequestBody ¶
type GetAverageRiskJSONRequestBody = ServiceRiskReportFilterAO
GetAverageRiskJSONRequestBody defines body for GetAverageRisk for application/json ContentType.
type GetAverageRiskResponse ¶
type GetAverageRiskResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TimeSeriesReportAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TimeSeriesReportAO
}
func ParseGetAverageRiskResponse ¶
func ParseGetAverageRiskResponse(rsp *http.Response) (*GetAverageRiskResponse, error)
ParseGetAverageRiskResponse parses an HTTP response from a GetAverageRiskWithResponse call
func (GetAverageRiskResponse) ContentType ¶
func (r GetAverageRiskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAverageRiskResponse) GetBody ¶
func (r GetAverageRiskResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAverageRiskResponse) GetJSON200 ¶
func (r GetAverageRiskResponse) GetJSON200() *TimeSeriesReportAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAverageRiskResponse) GetYAML200 ¶
func (r GetAverageRiskResponse) GetYAML200() *TimeSeriesReportAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetAverageRiskResponse) Status ¶
func (r GetAverageRiskResponse) Status() string
Status returns HTTPResponse.Status
func (GetAverageRiskResponse) StatusCode ¶
func (r GetAverageRiskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCustomWebhookResponse ¶
type GetCustomWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CustomWebhookAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *CustomWebhookAO
}
func ParseGetCustomWebhookResponse ¶
func ParseGetCustomWebhookResponse(rsp *http.Response) (*GetCustomWebhookResponse, error)
ParseGetCustomWebhookResponse parses an HTTP response from a GetCustomWebhookWithResponse call
func (GetCustomWebhookResponse) ContentType ¶
func (r GetCustomWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCustomWebhookResponse) GetBody ¶
func (r GetCustomWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCustomWebhookResponse) GetJSON200 ¶
func (r GetCustomWebhookResponse) GetJSON200() *CustomWebhookAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCustomWebhookResponse) GetYAML200 ¶
func (r GetCustomWebhookResponse) GetYAML200() *CustomWebhookAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetCustomWebhookResponse) Status ¶
func (r GetCustomWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (GetCustomWebhookResponse) StatusCode ¶
func (r GetCustomWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCustomWebhooksResponse ¶
type GetCustomWebhooksResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListResponseCustomWebhookAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ListResponseCustomWebhookAO
}
func ParseGetCustomWebhooksResponse ¶
func ParseGetCustomWebhooksResponse(rsp *http.Response) (*GetCustomWebhooksResponse, error)
ParseGetCustomWebhooksResponse parses an HTTP response from a GetCustomWebhooksWithResponse call
func (GetCustomWebhooksResponse) ContentType ¶
func (r GetCustomWebhooksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCustomWebhooksResponse) GetBody ¶
func (r GetCustomWebhooksResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCustomWebhooksResponse) GetJSON200 ¶
func (r GetCustomWebhooksResponse) GetJSON200() *ListResponseCustomWebhookAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCustomWebhooksResponse) GetYAML200 ¶
func (r GetCustomWebhooksResponse) GetYAML200() *ListResponseCustomWebhookAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetCustomWebhooksResponse) Status ¶
func (r GetCustomWebhooksResponse) Status() string
Status returns HTTPResponse.Status
func (GetCustomWebhooksResponse) StatusCode ¶
func (r GetCustomWebhooksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEnvironmentCountsJSONRequestBody ¶
type GetEnvironmentCountsJSONRequestBody = ReportFilterAO
GetEnvironmentCountsJSONRequestBody defines body for GetEnvironmentCounts for application/json ContentType.
type GetEnvironmentCountsResponse ¶
type GetEnvironmentCountsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TimeSeriesReportAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TimeSeriesReportAO
}
func ParseGetEnvironmentCountsResponse ¶
func ParseGetEnvironmentCountsResponse(rsp *http.Response) (*GetEnvironmentCountsResponse, error)
ParseGetEnvironmentCountsResponse parses an HTTP response from a GetEnvironmentCountsWithResponse call
func (GetEnvironmentCountsResponse) ContentType ¶
func (r GetEnvironmentCountsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEnvironmentCountsResponse) GetBody ¶
func (r GetEnvironmentCountsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEnvironmentCountsResponse) GetJSON200 ¶
func (r GetEnvironmentCountsResponse) GetJSON200() *TimeSeriesReportAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEnvironmentCountsResponse) GetYAML200 ¶
func (r GetEnvironmentCountsResponse) GetYAML200() *TimeSeriesReportAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetEnvironmentCountsResponse) Status ¶
func (r GetEnvironmentCountsResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnvironmentCountsResponse) StatusCode ¶
func (r GetEnvironmentCountsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEnvironmentResponse ¶
type GetEnvironmentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EnvironmentAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *EnvironmentAO
}
func ParseGetEnvironmentResponse ¶
func ParseGetEnvironmentResponse(rsp *http.Response) (*GetEnvironmentResponse, error)
ParseGetEnvironmentResponse parses an HTTP response from a GetEnvironmentWithResponse call
func (GetEnvironmentResponse) ContentType ¶
func (r GetEnvironmentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEnvironmentResponse) GetBody ¶
func (r GetEnvironmentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEnvironmentResponse) GetJSON200 ¶
func (r GetEnvironmentResponse) GetJSON200() *EnvironmentAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEnvironmentResponse) GetYAML200 ¶
func (r GetEnvironmentResponse) GetYAML200() *EnvironmentAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetEnvironmentResponse) Status ¶
func (r GetEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnvironmentResponse) StatusCode ¶
func (r GetEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEnvironmentVariablesResponse ¶
type GetEnvironmentVariablesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *string
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *string
}
func ParseGetEnvironmentVariablesResponse ¶
func ParseGetEnvironmentVariablesResponse(rsp *http.Response) (*GetEnvironmentVariablesResponse, error)
ParseGetEnvironmentVariablesResponse parses an HTTP response from a GetEnvironmentVariablesWithResponse call
func (GetEnvironmentVariablesResponse) ContentType ¶
func (r GetEnvironmentVariablesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEnvironmentVariablesResponse) GetBody ¶
func (r GetEnvironmentVariablesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEnvironmentVariablesResponse) GetJSON200 ¶
func (r GetEnvironmentVariablesResponse) GetJSON200() *string
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEnvironmentVariablesResponse) GetYAML200 ¶
func (r GetEnvironmentVariablesResponse) GetYAML200() *string
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetEnvironmentVariablesResponse) Status ¶
func (r GetEnvironmentVariablesResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnvironmentVariablesResponse) StatusCode ¶
func (r GetEnvironmentVariablesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEnvironmentsParams ¶
type GetEnvironmentsParams struct {
// Search If set, only environments matching the search are returned. Matches the environment name or the name or key of a team the environment is assigned to.
Search *string `form:"search,omitempty" json:"search,omitempty"`
}
GetEnvironmentsParams defines parameters for GetEnvironments.
type GetEnvironmentsResponse ¶
type GetEnvironmentsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EnvironmentSummariesAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *EnvironmentSummariesAO
}
func ParseGetEnvironmentsResponse ¶
func ParseGetEnvironmentsResponse(rsp *http.Response) (*GetEnvironmentsResponse, error)
ParseGetEnvironmentsResponse parses an HTTP response from a GetEnvironmentsWithResponse call
func (GetEnvironmentsResponse) ContentType ¶
func (r GetEnvironmentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEnvironmentsResponse) GetBody ¶
func (r GetEnvironmentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEnvironmentsResponse) GetJSON200 ¶
func (r GetEnvironmentsResponse) GetJSON200() *EnvironmentSummariesAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEnvironmentsResponse) GetYAML200 ¶
func (r GetEnvironmentsResponse) GetYAML200() *EnvironmentSummariesAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetEnvironmentsResponse) Status ¶
func (r GetEnvironmentsResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnvironmentsResponse) StatusCode ¶
func (r GetEnvironmentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExperimentBadgeParams ¶
type GetExperimentBadgeParams struct {
// TenantKey Key of the Steadybit tenant (only for SaaS customers). You can get the key from the Platform URL or by asking the Steadybit team
TenantKey string `form:"tenantKey" json:"tenantKey"`
// Scale Optional parameter in case you need to scale the svg image. Defaults to 1
Scale *int32 `form:"scale,omitempty" json:"scale,omitempty"`
// ColorMappingErrored Override the default hex-color `e05d44` for executions in state `errored`.
ColorMappingErrored *string `form:"colorMappingErrored,omitempty" json:"colorMappingErrored,omitempty"`
// ColorMappingFailed Override the default hex-color `e05d44` for executions in state `failed`.
ColorMappingFailed *string `form:"colorMappingFailed,omitempty" json:"colorMappingFailed,omitempty"`
// ColorMappingRequested Override the default hex-color `fe7d37` for executions in state `requested`.
ColorMappingRequested *string `form:"colorMappingRequested,omitempty" json:"colorMappingRequested,omitempty"`
// ColorMappingCreated Override the default hex-color `fe7d37` for executions in state `created`.
ColorMappingCreated *string `form:"colorMappingCreated,omitempty" json:"colorMappingCreated,omitempty"`
// ColorMappingPrepared Override the default hex-color `fe7d37` for executions in state `prepared`.
ColorMappingPrepared *string `form:"colorMappingPrepared,omitempty" json:"colorMappingPrepared,omitempty"`
// ColorMappingRunning Override the default hex-color `fe7d37` for executions in state `running`.
ColorMappingRunning *string `form:"colorMappingRunning,omitempty" json:"colorMappingRunning,omitempty"`
// ColorMappingCanceled Override the default hex-color `9f9f9f` for executions in state `canceled`.
ColorMappingCanceled *string `form:"colorMappingCanceled,omitempty" json:"colorMappingCanceled,omitempty"`
// ColorMappingCompleted Override the default hex-color `4c1` for executions in state `completed`.
ColorMappingCompleted *string `form:"colorMappingCompleted,omitempty" json:"colorMappingCompleted,omitempty"`
}
GetExperimentBadgeParams defines parameters for GetExperimentBadge.
type GetExperimentBadgeResponse ¶
func ParseGetExperimentBadgeResponse ¶
func ParseGetExperimentBadgeResponse(rsp *http.Response) (*GetExperimentBadgeResponse, error)
ParseGetExperimentBadgeResponse parses an HTTP response from a GetExperimentBadgeWithResponse call
func (GetExperimentBadgeResponse) ContentType ¶
func (r GetExperimentBadgeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetExperimentBadgeResponse) GetBody ¶
func (r GetExperimentBadgeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetExperimentBadgeResponse) Status ¶
func (r GetExperimentBadgeResponse) Status() string
Status returns HTTPResponse.Status
func (GetExperimentBadgeResponse) StatusCode ¶
func (r GetExperimentBadgeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExperimentCreationsJSONRequestBody ¶
type GetExperimentCreationsJSONRequestBody = ExperimentReportFilterAO
GetExperimentCreationsJSONRequestBody defines body for GetExperimentCreations for application/json ContentType.
type GetExperimentCreationsParams ¶
type GetExperimentCreationsParams struct {
// GroupBy Grouping dimension for the results.
GroupBy *GetExperimentCreationsParamsGroupBy `form:"groupBy,omitempty" json:"groupBy,omitempty"`
}
GetExperimentCreationsParams defines parameters for GetExperimentCreations.
type GetExperimentCreationsParamsGroupBy ¶
type GetExperimentCreationsParamsGroupBy string
GetExperimentCreationsParamsGroupBy defines parameters for GetExperimentCreations.
const ( GetExperimentCreationsParamsGroupByCREATEDVIA GetExperimentCreationsParamsGroupBy = "CREATED_VIA" GetExperimentCreationsParamsGroupByNONE GetExperimentCreationsParamsGroupBy = "NONE" GetExperimentCreationsParamsGroupByORIGIN GetExperimentCreationsParamsGroupBy = "ORIGIN" )
Defines values for GetExperimentCreationsParamsGroupBy.
func (GetExperimentCreationsParamsGroupBy) Valid ¶
func (e GetExperimentCreationsParamsGroupBy) Valid() bool
Valid indicates whether the value is a known member of the GetExperimentCreationsParamsGroupBy enum.
type GetExperimentCreationsResponse ¶
type GetExperimentCreationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TimeSeriesReportAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TimeSeriesReportAO
}
func ParseGetExperimentCreationsResponse ¶
func ParseGetExperimentCreationsResponse(rsp *http.Response) (*GetExperimentCreationsResponse, error)
ParseGetExperimentCreationsResponse parses an HTTP response from a GetExperimentCreationsWithResponse call
func (GetExperimentCreationsResponse) ContentType ¶
func (r GetExperimentCreationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetExperimentCreationsResponse) GetBody ¶
func (r GetExperimentCreationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetExperimentCreationsResponse) GetJSON200 ¶
func (r GetExperimentCreationsResponse) GetJSON200() *TimeSeriesReportAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetExperimentCreationsResponse) GetYAML200 ¶
func (r GetExperimentCreationsResponse) GetYAML200() *TimeSeriesReportAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetExperimentCreationsResponse) Status ¶
func (r GetExperimentCreationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetExperimentCreationsResponse) StatusCode ¶
func (r GetExperimentCreationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExperimentExecutionParams ¶
type GetExperimentExecutionParams struct {
// Fields Additional fields to be returned for the experiment execution
Fields *string `form:"fields,omitempty" json:"fields,omitempty"`
}
GetExperimentExecutionParams defines parameters for GetExperimentExecution.
type GetExperimentExecutionResponse ¶
type GetExperimentExecutionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExperimentExecutionAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ExperimentExecutionAO
}
func ParseGetExperimentExecutionResponse ¶
func ParseGetExperimentExecutionResponse(rsp *http.Response) (*GetExperimentExecutionResponse, error)
ParseGetExperimentExecutionResponse parses an HTTP response from a GetExperimentExecutionWithResponse call
func (GetExperimentExecutionResponse) ContentType ¶
func (r GetExperimentExecutionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetExperimentExecutionResponse) GetBody ¶
func (r GetExperimentExecutionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetExperimentExecutionResponse) GetJSON200 ¶
func (r GetExperimentExecutionResponse) GetJSON200() *ExperimentExecutionAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetExperimentExecutionResponse) GetYAML200 ¶
func (r GetExperimentExecutionResponse) GetYAML200() *ExperimentExecutionAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetExperimentExecutionResponse) Status ¶
func (r GetExperimentExecutionResponse) Status() string
Status returns HTTPResponse.Status
func (GetExperimentExecutionResponse) StatusCode ¶
func (r GetExperimentExecutionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExperimentExecutions1Params ¶
type GetExperimentExecutions1Params struct {
// Name Filter results by name and/or key of the experiment
Name *string `form:"name,omitempty" json:"name,omitempty"`
// Team Filter results by one or more team-keys
Team *[]string `form:"team,omitempty" json:"team,omitempty"`
// State Filter results by one or more states
State *[]GetExperimentExecutions1ParamsState `form:"state,omitempty" json:"state,omitempty"`
}
GetExperimentExecutions1Params defines parameters for GetExperimentExecutions1.
type GetExperimentExecutions1ParamsState ¶
type GetExperimentExecutions1ParamsState string
GetExperimentExecutions1ParamsState defines parameters for GetExperimentExecutions1.
const ( GetExperimentExecutions1ParamsStateCANCELED GetExperimentExecutions1ParamsState = "CANCELED" GetExperimentExecutions1ParamsStateCOMPLETED GetExperimentExecutions1ParamsState = "COMPLETED" GetExperimentExecutions1ParamsStateCREATED GetExperimentExecutions1ParamsState = "CREATED" GetExperimentExecutions1ParamsStateERRORED GetExperimentExecutions1ParamsState = "ERRORED" GetExperimentExecutions1ParamsStateFAILED GetExperimentExecutions1ParamsState = "FAILED" GetExperimentExecutions1ParamsStatePREPARED GetExperimentExecutions1ParamsState = "PREPARED" GetExperimentExecutions1ParamsStateREQUESTED GetExperimentExecutions1ParamsState = "REQUESTED" GetExperimentExecutions1ParamsStateRUNNING GetExperimentExecutions1ParamsState = "RUNNING" )
Defines values for GetExperimentExecutions1ParamsState.
func (GetExperimentExecutions1ParamsState) Valid ¶
func (e GetExperimentExecutions1ParamsState) Valid() bool
Valid indicates whether the value is a known member of the GetExperimentExecutions1ParamsState enum.
type GetExperimentExecutions1Response ¶
type GetExperimentExecutions1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExperimentExecutionSummariesAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ExperimentExecutionSummariesAO
}
func ParseGetExperimentExecutions1Response ¶
func ParseGetExperimentExecutions1Response(rsp *http.Response) (*GetExperimentExecutions1Response, error)
ParseGetExperimentExecutions1Response parses an HTTP response from a GetExperimentExecutions1WithResponse call
func (GetExperimentExecutions1Response) ContentType ¶
func (r GetExperimentExecutions1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetExperimentExecutions1Response) GetBody ¶
func (r GetExperimentExecutions1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetExperimentExecutions1Response) GetJSON200 ¶
func (r GetExperimentExecutions1Response) GetJSON200() *ExperimentExecutionSummariesAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetExperimentExecutions1Response) GetYAML200 ¶
func (r GetExperimentExecutions1Response) GetYAML200() *ExperimentExecutionSummariesAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetExperimentExecutions1Response) Status ¶
func (r GetExperimentExecutions1Response) Status() string
Status returns HTTPResponse.Status
func (GetExperimentExecutions1Response) StatusCode ¶
func (r GetExperimentExecutions1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExperimentExecutions2JSONRequestBody ¶
type GetExperimentExecutions2JSONRequestBody = ExperimentExecutionsRequestAO
GetExperimentExecutions2JSONRequestBody defines body for GetExperimentExecutions2 for application/json ContentType.
type GetExperimentExecutions2Response ¶
type GetExperimentExecutions2Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PagedResponseAOExperimentExecutionPageItemAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PagedResponseAOExperimentExecutionPageItemAO
}
func ParseGetExperimentExecutions2Response ¶
func ParseGetExperimentExecutions2Response(rsp *http.Response) (*GetExperimentExecutions2Response, error)
ParseGetExperimentExecutions2Response parses an HTTP response from a GetExperimentExecutions2WithResponse call
func (GetExperimentExecutions2Response) ContentType ¶
func (r GetExperimentExecutions2Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetExperimentExecutions2Response) GetBody ¶
func (r GetExperimentExecutions2Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetExperimentExecutions2Response) GetJSON200 ¶
func (r GetExperimentExecutions2Response) GetJSON200() *PagedResponseAOExperimentExecutionPageItemAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetExperimentExecutions2Response) GetYAML200 ¶
func (r GetExperimentExecutions2Response) GetYAML200() *PagedResponseAOExperimentExecutionPageItemAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetExperimentExecutions2Response) Status ¶
func (r GetExperimentExecutions2Response) Status() string
Status returns HTTPResponse.Status
func (GetExperimentExecutions2Response) StatusCode ¶
func (r GetExperimentExecutions2Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExperimentExecutions3Params ¶
type GetExperimentExecutions3Params struct {
// State Filter results by one or more states
State *[]GetExperimentExecutions3ParamsState `form:"state,omitempty" json:"state,omitempty"`
}
GetExperimentExecutions3Params defines parameters for GetExperimentExecutions3.
type GetExperimentExecutions3ParamsState ¶
type GetExperimentExecutions3ParamsState string
GetExperimentExecutions3ParamsState defines parameters for GetExperimentExecutions3.
const ( GetExperimentExecutions3ParamsStateCANCELED GetExperimentExecutions3ParamsState = "CANCELED" GetExperimentExecutions3ParamsStateCOMPLETED GetExperimentExecutions3ParamsState = "COMPLETED" GetExperimentExecutions3ParamsStateCREATED GetExperimentExecutions3ParamsState = "CREATED" GetExperimentExecutions3ParamsStateERRORED GetExperimentExecutions3ParamsState = "ERRORED" GetExperimentExecutions3ParamsStateFAILED GetExperimentExecutions3ParamsState = "FAILED" GetExperimentExecutions3ParamsStatePREPARED GetExperimentExecutions3ParamsState = "PREPARED" GetExperimentExecutions3ParamsStateREQUESTED GetExperimentExecutions3ParamsState = "REQUESTED" GetExperimentExecutions3ParamsStateRUNNING GetExperimentExecutions3ParamsState = "RUNNING" )
Defines values for GetExperimentExecutions3ParamsState.
func (GetExperimentExecutions3ParamsState) Valid ¶
func (e GetExperimentExecutions3ParamsState) Valid() bool
Valid indicates whether the value is a known member of the GetExperimentExecutions3ParamsState enum.
type GetExperimentExecutions3Response ¶
type GetExperimentExecutions3Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExperimentExecutionSummariesAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ExperimentExecutionSummariesAO
}
func ParseGetExperimentExecutions3Response ¶
func ParseGetExperimentExecutions3Response(rsp *http.Response) (*GetExperimentExecutions3Response, error)
ParseGetExperimentExecutions3Response parses an HTTP response from a GetExperimentExecutions3WithResponse call
func (GetExperimentExecutions3Response) ContentType ¶
func (r GetExperimentExecutions3Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetExperimentExecutions3Response) GetBody ¶
func (r GetExperimentExecutions3Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetExperimentExecutions3Response) GetJSON200 ¶
func (r GetExperimentExecutions3Response) GetJSON200() *ExperimentExecutionSummariesAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetExperimentExecutions3Response) GetYAML200 ¶
func (r GetExperimentExecutions3Response) GetYAML200() *ExperimentExecutionSummariesAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetExperimentExecutions3Response) Status ¶
func (r GetExperimentExecutions3Response) Status() string
Status returns HTTPResponse.Status
func (GetExperimentExecutions3Response) StatusCode ¶
func (r GetExperimentExecutions3Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExperimentExecutionsJSONRequestBody ¶
type GetExperimentExecutionsJSONRequestBody = ExperimentExecutionReportFilterAO
GetExperimentExecutionsJSONRequestBody defines body for GetExperimentExecutions for application/json ContentType.
type GetExperimentExecutionsParams ¶
type GetExperimentExecutionsParams struct {
// GroupBy Grouping dimension for the results.
GroupBy *GetExperimentExecutionsParamsGroupBy `form:"groupBy,omitempty" json:"groupBy,omitempty"`
}
GetExperimentExecutionsParams defines parameters for GetExperimentExecutions.
type GetExperimentExecutionsParamsGroupBy ¶
type GetExperimentExecutionsParamsGroupBy string
GetExperimentExecutionsParamsGroupBy defines parameters for GetExperimentExecutions.
const ( GetExperimentExecutionsParamsGroupByACTION GetExperimentExecutionsParamsGroupBy = "ACTION" GetExperimentExecutionsParamsGroupByISSUESDISCOVERED GetExperimentExecutionsParamsGroupBy = "ISSUES_DISCOVERED" GetExperimentExecutionsParamsGroupByISSUESFIXED GetExperimentExecutionsParamsGroupBy = "ISSUES_FIXED" GetExperimentExecutionsParamsGroupByNONE GetExperimentExecutionsParamsGroupBy = "NONE" GetExperimentExecutionsParamsGroupBySTATE GetExperimentExecutionsParamsGroupBy = "STATE" GetExperimentExecutionsParamsGroupByTRIGGER GetExperimentExecutionsParamsGroupBy = "TRIGGER" )
Defines values for GetExperimentExecutionsParamsGroupBy.
func (GetExperimentExecutionsParamsGroupBy) Valid ¶
func (e GetExperimentExecutionsParamsGroupBy) Valid() bool
Valid indicates whether the value is a known member of the GetExperimentExecutionsParamsGroupBy enum.
type GetExperimentExecutionsResponse ¶
type GetExperimentExecutionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TimeSeriesReportAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TimeSeriesReportAO
}
func ParseGetExperimentExecutionsResponse ¶
func ParseGetExperimentExecutionsResponse(rsp *http.Response) (*GetExperimentExecutionsResponse, error)
ParseGetExperimentExecutionsResponse parses an HTTP response from a GetExperimentExecutionsWithResponse call
func (GetExperimentExecutionsResponse) ContentType ¶
func (r GetExperimentExecutionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetExperimentExecutionsResponse) GetBody ¶
func (r GetExperimentExecutionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetExperimentExecutionsResponse) GetJSON200 ¶
func (r GetExperimentExecutionsResponse) GetJSON200() *TimeSeriesReportAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetExperimentExecutionsResponse) GetYAML200 ¶
func (r GetExperimentExecutionsResponse) GetYAML200() *TimeSeriesReportAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetExperimentExecutionsResponse) Status ¶
func (r GetExperimentExecutionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetExperimentExecutionsResponse) StatusCode ¶
func (r GetExperimentExecutionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExperimentResponse ¶
type GetExperimentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExperimentAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ExperimentAO
}
func ParseGetExperimentResponse ¶
func ParseGetExperimentResponse(rsp *http.Response) (*GetExperimentResponse, error)
ParseGetExperimentResponse parses an HTTP response from a GetExperimentWithResponse call
func (GetExperimentResponse) ContentType ¶
func (r GetExperimentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetExperimentResponse) GetBody ¶
func (r GetExperimentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetExperimentResponse) GetJSON200 ¶
func (r GetExperimentResponse) GetJSON200() *ExperimentAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetExperimentResponse) GetYAML200 ¶
func (r GetExperimentResponse) GetYAML200() *ExperimentAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetExperimentResponse) Status ¶
func (r GetExperimentResponse) Status() string
Status returns HTTPResponse.Status
func (GetExperimentResponse) StatusCode ¶
func (r GetExperimentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExperimentTemplateResponse ¶
type GetExperimentTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExperimentTemplateAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ExperimentTemplateAO
}
func ParseGetExperimentTemplateResponse ¶
func ParseGetExperimentTemplateResponse(rsp *http.Response) (*GetExperimentTemplateResponse, error)
ParseGetExperimentTemplateResponse parses an HTTP response from a GetExperimentTemplateWithResponse call
func (GetExperimentTemplateResponse) ContentType ¶
func (r GetExperimentTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetExperimentTemplateResponse) GetBody ¶
func (r GetExperimentTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetExperimentTemplateResponse) GetJSON200 ¶
func (r GetExperimentTemplateResponse) GetJSON200() *ExperimentTemplateAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetExperimentTemplateResponse) GetYAML200 ¶
func (r GetExperimentTemplateResponse) GetYAML200() *ExperimentTemplateAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetExperimentTemplateResponse) Status ¶
func (r GetExperimentTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (GetExperimentTemplateResponse) StatusCode ¶
func (r GetExperimentTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExperimentTemplatesParams ¶
type GetExperimentTemplatesParams struct {
// Tag Filter results by one or more tags
Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"`
// TargetType Filter results by one or more target type, like `com.steadybit.extension_container.container`
TargetType *[]string `form:"targetType,omitempty" json:"targetType,omitempty"`
// Action Filter results by one or more action, like `com.steadybit.extension_host.stress-cpu`
Action *[]string `form:"action,omitempty" json:"action,omitempty"`
// FreeTextPhrases Filter results by one or more free text phrases searching in the template title and template description
FreeTextPhrases *[]string `form:"freeTextPhrases,omitempty" json:"freeTextPhrases,omitempty"`
// IncludeHidden Include hidden templates (requires an admin token)
IncludeHidden *bool `form:"includeHidden,omitempty" json:"includeHidden,omitempty"`
// IncludeNonAvailable Include templates referencing actions/target-types/property-definitions that are not available
IncludeNonAvailable *bool `form:"includeNonAvailable,omitempty" json:"includeNonAvailable,omitempty"`
}
GetExperimentTemplatesParams defines parameters for GetExperimentTemplates.
type GetExperimentTemplatesResponse ¶
type GetExperimentTemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExperimentTemplateSummariesAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ExperimentTemplateSummariesAO
}
func ParseGetExperimentTemplatesResponse ¶
func ParseGetExperimentTemplatesResponse(rsp *http.Response) (*GetExperimentTemplatesResponse, error)
ParseGetExperimentTemplatesResponse parses an HTTP response from a GetExperimentTemplatesWithResponse call
func (GetExperimentTemplatesResponse) ContentType ¶
func (r GetExperimentTemplatesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetExperimentTemplatesResponse) GetBody ¶
func (r GetExperimentTemplatesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetExperimentTemplatesResponse) GetJSON200 ¶
func (r GetExperimentTemplatesResponse) GetJSON200() *ExperimentTemplateSummariesAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetExperimentTemplatesResponse) GetYAML200 ¶
func (r GetExperimentTemplatesResponse) GetYAML200() *ExperimentTemplateSummariesAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetExperimentTemplatesResponse) Status ¶
func (r GetExperimentTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (GetExperimentTemplatesResponse) StatusCode ¶
func (r GetExperimentTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExperimentsParams ¶
type GetExperimentsParams struct {
// Runnable Include only experiments which are runnable by the authorized user?
Runnable *bool `form:"runnable,omitempty" json:"runnable,omitempty"`
// Name Filter results by name and/or key of the experiment
Name *string `form:"name,omitempty" json:"name,omitempty"`
// Team Filter results by one or more team-keys owning an experiment
Team *[]string `form:"team,omitempty" json:"team,omitempty"`
TeamSharedWith *[]string `form:"teamSharedWith,omitempty" json:"teamSharedWith,omitempty"`
// Key Filter results by one or more experiments-keys
Key *[]string `form:"key,omitempty" json:"key,omitempty"`
// ExternalId Filter results by one or more external-ids
ExternalId *[]string `form:"externalId,omitempty" json:"externalId,omitempty"`
// TargetType Filter results by experiments using the specified target-type. If multiple target-types are specified, all of them needs to be used in the experiment
TargetType *[]string `form:"targetType,omitempty" json:"targetType,omitempty"`
// Action Filter results by experiments using the specified action. If multiple actions are specified, all of them needs to be used in the experiment
Action *[]string `form:"action,omitempty" json:"action,omitempty"`
// Tag Filter results by experiments having the specified tag. If multiple tags are specified, all of them needs to be assigned to the experiment
Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"`
// Kind Filter results by experiments using an action with the specified kind. If multiple kinds are specified, all of them needs to be used in the experiment
Kind *[]GetExperimentsParamsKind `form:"kind,omitempty" json:"kind,omitempty"`
// Service Filter results by experiments linked to the given Service. If multiple services are specified, the experiment needs to be linked to all of them
Service *[]string `form:"service,omitempty" json:"service,omitempty"`
// FreeTextPhrases Filter results via free text phrases searching for experiment name, key, property values, and 10 last run ids
FreeTextPhrases *[]string `form:"freeTextPhrases,omitempty" json:"freeTextPhrases,omitempty"`
// Properties Filter results via properties
Properties *[]string `form:"properties,omitempty" json:"properties,omitempty"`
}
GetExperimentsParams defines parameters for GetExperiments.
type GetExperimentsParamsKind ¶
type GetExperimentsParamsKind string
GetExperimentsParamsKind defines parameters for GetExperiments.
const ( GetExperimentsParamsKindATTACK GetExperimentsParamsKind = "ATTACK" GetExperimentsParamsKindBASIC GetExperimentsParamsKind = "BASIC" GetExperimentsParamsKindCHECK GetExperimentsParamsKind = "CHECK" GetExperimentsParamsKindLOADTEST GetExperimentsParamsKind = "LOAD_TEST" GetExperimentsParamsKindOTHER GetExperimentsParamsKind = "OTHER" )
Defines values for GetExperimentsParamsKind.
func (GetExperimentsParamsKind) Valid ¶
func (e GetExperimentsParamsKind) Valid() bool
Valid indicates whether the value is a known member of the GetExperimentsParamsKind enum.
type GetExperimentsResponse ¶
type GetExperimentsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExperimentSummariesAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ExperimentSummariesAO
}
func ParseGetExperimentsResponse ¶
func ParseGetExperimentsResponse(rsp *http.Response) (*GetExperimentsResponse, error)
ParseGetExperimentsResponse parses an HTTP response from a GetExperimentsWithResponse call
func (GetExperimentsResponse) ContentType ¶
func (r GetExperimentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetExperimentsResponse) GetBody ¶
func (r GetExperimentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetExperimentsResponse) GetJSON200 ¶
func (r GetExperimentsResponse) GetJSON200() *ExperimentSummariesAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetExperimentsResponse) GetYAML200 ¶
func (r GetExperimentsResponse) GetYAML200() *ExperimentSummariesAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetExperimentsResponse) Status ¶
func (r GetExperimentsResponse) Status() string
Status returns HTTPResponse.Status
func (GetExperimentsResponse) StatusCode ¶
func (r GetExperimentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHubByIdResponse ¶
type GetHubByIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HubAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *HubAO
}
func ParseGetHubByIdResponse ¶
func ParseGetHubByIdResponse(rsp *http.Response) (*GetHubByIdResponse, error)
ParseGetHubByIdResponse parses an HTTP response from a GetHubByIdWithResponse call
func (GetHubByIdResponse) ContentType ¶
func (r GetHubByIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetHubByIdResponse) GetBody ¶
func (r GetHubByIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetHubByIdResponse) GetJSON200 ¶
func (r GetHubByIdResponse) GetJSON200() *HubAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetHubByIdResponse) GetYAML200 ¶
func (r GetHubByIdResponse) GetYAML200() *HubAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetHubByIdResponse) Status ¶
func (r GetHubByIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetHubByIdResponse) StatusCode ¶
func (r GetHubByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHubsResponse ¶
type GetHubsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HubSummariesAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *HubSummariesAO
}
func ParseGetHubsResponse ¶
func ParseGetHubsResponse(rsp *http.Response) (*GetHubsResponse, error)
ParseGetHubsResponse parses an HTTP response from a GetHubsWithResponse call
func (GetHubsResponse) ContentType ¶
func (r GetHubsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetHubsResponse) GetBody ¶
func (r GetHubsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetHubsResponse) GetJSON200 ¶
func (r GetHubsResponse) GetJSON200() *HubSummariesAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetHubsResponse) GetYAML200 ¶
func (r GetHubsResponse) GetYAML200() *HubSummariesAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetHubsResponse) Status ¶
func (r GetHubsResponse) Status() string
Status returns HTTPResponse.Status
func (GetHubsResponse) StatusCode ¶
func (r GetHubsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetKillswitchResponse ¶
type GetKillswitchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *KillswitchAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *KillswitchAO
}
func ParseGetKillswitchResponse ¶
func ParseGetKillswitchResponse(rsp *http.Response) (*GetKillswitchResponse, error)
ParseGetKillswitchResponse parses an HTTP response from a GetKillswitchWithResponse call
func (GetKillswitchResponse) ContentType ¶
func (r GetKillswitchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetKillswitchResponse) GetBody ¶
func (r GetKillswitchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetKillswitchResponse) GetJSON200 ¶
func (r GetKillswitchResponse) GetJSON200() *KillswitchAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetKillswitchResponse) GetYAML200 ¶
func (r GetKillswitchResponse) GetYAML200() *KillswitchAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetKillswitchResponse) Status ¶
func (r GetKillswitchResponse) Status() string
Status returns HTTPResponse.Status
func (GetKillswitchResponse) StatusCode ¶
func (r GetKillswitchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLandscapeViewResponse ¶
type GetLandscapeViewResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LandscapeViewAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *LandscapeViewAO
}
func ParseGetLandscapeViewResponse ¶
func ParseGetLandscapeViewResponse(rsp *http.Response) (*GetLandscapeViewResponse, error)
ParseGetLandscapeViewResponse parses an HTTP response from a GetLandscapeViewWithResponse call
func (GetLandscapeViewResponse) ContentType ¶
func (r GetLandscapeViewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetLandscapeViewResponse) GetBody ¶
func (r GetLandscapeViewResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetLandscapeViewResponse) GetJSON200 ¶
func (r GetLandscapeViewResponse) GetJSON200() *LandscapeViewAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetLandscapeViewResponse) GetYAML200 ¶
func (r GetLandscapeViewResponse) GetYAML200() *LandscapeViewAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetLandscapeViewResponse) Status ¶
func (r GetLandscapeViewResponse) Status() string
Status returns HTTPResponse.Status
func (GetLandscapeViewResponse) StatusCode ¶
func (r GetLandscapeViewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLandscapeViewsParams ¶
type GetLandscapeViewsParams struct {
// Team Key of the team whose saved views should be returned.
Team string `form:"team" json:"team"`
}
GetLandscapeViewsParams defines parameters for GetLandscapeViews.
type GetLandscapeViewsResponse ¶
type GetLandscapeViewsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListResponseLandscapeViewAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ListResponseLandscapeViewAO
}
func ParseGetLandscapeViewsResponse ¶
func ParseGetLandscapeViewsResponse(rsp *http.Response) (*GetLandscapeViewsResponse, error)
ParseGetLandscapeViewsResponse parses an HTTP response from a GetLandscapeViewsWithResponse call
func (GetLandscapeViewsResponse) ContentType ¶
func (r GetLandscapeViewsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetLandscapeViewsResponse) GetBody ¶
func (r GetLandscapeViewsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetLandscapeViewsResponse) GetJSON200 ¶
func (r GetLandscapeViewsResponse) GetJSON200() *ListResponseLandscapeViewAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetLandscapeViewsResponse) GetYAML200 ¶
func (r GetLandscapeViewsResponse) GetYAML200() *ListResponseLandscapeViewAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetLandscapeViewsResponse) Status ¶
func (r GetLandscapeViewsResponse) Status() string
Status returns HTTPResponse.Status
func (GetLandscapeViewsResponse) StatusCode ¶
func (r GetLandscapeViewsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLicenseSummaryAO ¶
type GetLicenseSummaryAO struct {
Expires *time.Time `json:"expires,omitempty"`
Features *[]LicenseFeatureSummaryAO `json:"features,omitempty"`
License *LicenseSummaryAO `json:"license,omitempty"`
TenantKey *string `json:"tenantKey,omitempty"`
}
GetLicenseSummaryAO defines model for GetLicenseSummaryAO.
type GetLicenseSummaryResponse ¶
type GetLicenseSummaryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetLicenseSummaryAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *GetLicenseSummaryAO
}
func ParseGetLicenseSummaryResponse ¶
func ParseGetLicenseSummaryResponse(rsp *http.Response) (*GetLicenseSummaryResponse, error)
ParseGetLicenseSummaryResponse parses an HTTP response from a GetLicenseSummaryWithResponse call
func (GetLicenseSummaryResponse) ContentType ¶
func (r GetLicenseSummaryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetLicenseSummaryResponse) GetBody ¶
func (r GetLicenseSummaryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetLicenseSummaryResponse) GetJSON200 ¶
func (r GetLicenseSummaryResponse) GetJSON200() *GetLicenseSummaryAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetLicenseSummaryResponse) GetYAML200 ¶
func (r GetLicenseSummaryResponse) GetYAML200() *GetLicenseSummaryAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetLicenseSummaryResponse) Status ¶
func (r GetLicenseSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (GetLicenseSummaryResponse) StatusCode ¶
func (r GetLicenseSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLinkedBadgeParams ¶
type GetLinkedBadgeParams struct {
// TenantKey Key of the Steadybit tenant (only for SaaS customers). You can get the key from the Platform URL or by asking the Steadybit team
TenantKey string `form:"tenantKey" json:"tenantKey"`
// ExternalReference External reference that identifies the experiment. This is used to identify whether an experiment was already created for that reference or not. Can be e.g. an incident or ticket identifier of pager duty or JIRA
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ExternalReference *string `form:"externalReference,omitempty" json:"externalReference,omitempty"`
// Tag A tag that identifies the experiment. This is used to identify whether an experiment was already created having this tag or not. Can be e.g. an incident or ticket identifier of pager duty or JIRA
Tag *string `form:"tag,omitempty" json:"tag,omitempty"`
// CreateCaption Caption that is shown at the badge when no experiment exists in order to create a new experiment
CreateCaption *string `form:"createCaption,omitempty" json:"createCaption,omitempty"`
// Scale Optional parameter in case you need to scale the svg image. Defaults to 1
Scale *int32 `form:"scale,omitempty" json:"scale,omitempty"`
}
GetLinkedBadgeParams defines parameters for GetLinkedBadge.
type GetLinkedBadgeResponse ¶
func ParseGetLinkedBadgeResponse ¶
func ParseGetLinkedBadgeResponse(rsp *http.Response) (*GetLinkedBadgeResponse, error)
ParseGetLinkedBadgeResponse parses an HTTP response from a GetLinkedBadgeWithResponse call
func (GetLinkedBadgeResponse) ContentType ¶
func (r GetLinkedBadgeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetLinkedBadgeResponse) GetBody ¶
func (r GetLinkedBadgeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetLinkedBadgeResponse) Status ¶
func (r GetLinkedBadgeResponse) Status() string
Status returns HTTPResponse.Status
func (GetLinkedBadgeResponse) StatusCode ¶
func (r GetLinkedBadgeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPreflightActionIntegrationResponse ¶
type GetPreflightActionIntegrationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PreflightActionIntegrationAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PreflightActionIntegrationAO
}
func ParseGetPreflightActionIntegrationResponse ¶
func ParseGetPreflightActionIntegrationResponse(rsp *http.Response) (*GetPreflightActionIntegrationResponse, error)
ParseGetPreflightActionIntegrationResponse parses an HTTP response from a GetPreflightActionIntegrationWithResponse call
func (GetPreflightActionIntegrationResponse) ContentType ¶
func (r GetPreflightActionIntegrationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPreflightActionIntegrationResponse) GetBody ¶
func (r GetPreflightActionIntegrationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPreflightActionIntegrationResponse) GetJSON200 ¶
func (r GetPreflightActionIntegrationResponse) GetJSON200() *PreflightActionIntegrationAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPreflightActionIntegrationResponse) GetYAML200 ¶
func (r GetPreflightActionIntegrationResponse) GetYAML200() *PreflightActionIntegrationAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetPreflightActionIntegrationResponse) Status ¶
func (r GetPreflightActionIntegrationResponse) Status() string
Status returns HTTPResponse.Status
func (GetPreflightActionIntegrationResponse) StatusCode ¶
func (r GetPreflightActionIntegrationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPreflightActionIntegrationsResponse ¶
type GetPreflightActionIntegrationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListResponsePreflightActionIntegrationAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ListResponsePreflightActionIntegrationAO
}
func ParseGetPreflightActionIntegrationsResponse ¶
func ParseGetPreflightActionIntegrationsResponse(rsp *http.Response) (*GetPreflightActionIntegrationsResponse, error)
ParseGetPreflightActionIntegrationsResponse parses an HTTP response from a GetPreflightActionIntegrationsWithResponse call
func (GetPreflightActionIntegrationsResponse) ContentType ¶
func (r GetPreflightActionIntegrationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPreflightActionIntegrationsResponse) GetBody ¶
func (r GetPreflightActionIntegrationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPreflightActionIntegrationsResponse) GetJSON200 ¶
func (r GetPreflightActionIntegrationsResponse) GetJSON200() *ListResponsePreflightActionIntegrationAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPreflightActionIntegrationsResponse) GetYAML200 ¶
func (r GetPreflightActionIntegrationsResponse) GetYAML200() *ListResponsePreflightActionIntegrationAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetPreflightActionIntegrationsResponse) Status ¶
func (r GetPreflightActionIntegrationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetPreflightActionIntegrationsResponse) StatusCode ¶
func (r GetPreflightActionIntegrationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPreflightActionSummaryParams ¶
type GetPreflightActionSummaryParams struct {
Offset int32 `form:"offset" json:"offset"`
}
GetPreflightActionSummaryParams defines parameters for GetPreflightActionSummary.
type GetPreflightActionSummaryResponse ¶
type GetPreflightActionSummaryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PreflightActionSummaryAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PreflightActionSummaryAO
}
func ParseGetPreflightActionSummaryResponse ¶
func ParseGetPreflightActionSummaryResponse(rsp *http.Response) (*GetPreflightActionSummaryResponse, error)
ParseGetPreflightActionSummaryResponse parses an HTTP response from a GetPreflightActionSummaryWithResponse call
func (GetPreflightActionSummaryResponse) ContentType ¶
func (r GetPreflightActionSummaryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPreflightActionSummaryResponse) GetBody ¶
func (r GetPreflightActionSummaryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPreflightActionSummaryResponse) GetJSON200 ¶
func (r GetPreflightActionSummaryResponse) GetJSON200() *PreflightActionSummaryAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPreflightActionSummaryResponse) GetYAML200 ¶
func (r GetPreflightActionSummaryResponse) GetYAML200() *PreflightActionSummaryAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetPreflightActionSummaryResponse) Status ¶
func (r GetPreflightActionSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (GetPreflightActionSummaryResponse) StatusCode ¶
func (r GetPreflightActionSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPreflightWebhookResponse ¶
type GetPreflightWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PreflightWebhookAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PreflightWebhookAO
}
func ParseGetPreflightWebhookResponse ¶
func ParseGetPreflightWebhookResponse(rsp *http.Response) (*GetPreflightWebhookResponse, error)
ParseGetPreflightWebhookResponse parses an HTTP response from a GetPreflightWebhookWithResponse call
func (GetPreflightWebhookResponse) ContentType ¶
func (r GetPreflightWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPreflightWebhookResponse) GetBody ¶
func (r GetPreflightWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPreflightWebhookResponse) GetJSON200 ¶
func (r GetPreflightWebhookResponse) GetJSON200() *PreflightWebhookAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPreflightWebhookResponse) GetYAML200 ¶
func (r GetPreflightWebhookResponse) GetYAML200() *PreflightWebhookAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetPreflightWebhookResponse) Status ¶
func (r GetPreflightWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (GetPreflightWebhookResponse) StatusCode ¶
func (r GetPreflightWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPreflightWebhooksResponse ¶
type GetPreflightWebhooksResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListResponsePreflightWebhookAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ListResponsePreflightWebhookAO
}
func ParseGetPreflightWebhooksResponse ¶
func ParseGetPreflightWebhooksResponse(rsp *http.Response) (*GetPreflightWebhooksResponse, error)
ParseGetPreflightWebhooksResponse parses an HTTP response from a GetPreflightWebhooksWithResponse call
func (GetPreflightWebhooksResponse) ContentType ¶
func (r GetPreflightWebhooksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPreflightWebhooksResponse) GetBody ¶
func (r GetPreflightWebhooksResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPreflightWebhooksResponse) GetJSON200 ¶
func (r GetPreflightWebhooksResponse) GetJSON200() *ListResponsePreflightWebhookAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPreflightWebhooksResponse) GetYAML200 ¶
func (r GetPreflightWebhooksResponse) GetYAML200() *ListResponsePreflightWebhookAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetPreflightWebhooksResponse) Status ¶
func (r GetPreflightWebhooksResponse) Status() string
Status returns HTTPResponse.Status
func (GetPreflightWebhooksResponse) StatusCode ¶
func (r GetPreflightWebhooksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProfileResponse ¶
type GetProfileResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceProfileAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ServiceProfileAO
}
func ParseGetProfileResponse ¶
func ParseGetProfileResponse(rsp *http.Response) (*GetProfileResponse, error)
ParseGetProfileResponse parses an HTTP response from a GetProfileWithResponse call
func (GetProfileResponse) ContentType ¶
func (r GetProfileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProfileResponse) GetBody ¶
func (r GetProfileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetProfileResponse) GetJSON200 ¶
func (r GetProfileResponse) GetJSON200() *ServiceProfileAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetProfileResponse) GetYAML200 ¶
func (r GetProfileResponse) GetYAML200() *ServiceProfileAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetProfileResponse) Status ¶
func (r GetProfileResponse) Status() string
Status returns HTTPResponse.Status
func (GetProfileResponse) StatusCode ¶
func (r GetProfileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProfilesParams ¶
type GetProfilesParams struct {
// Name Filter results by name (partial match)
Name *string `form:"name,omitempty" json:"name,omitempty"`
// Origin Filter results by origin (PROVIDED, CUSTOM)
Origin *[]string `form:"origin,omitempty" json:"origin,omitempty"`
// DefaultProfile Filter results by defaultProfile flag
DefaultProfile *bool `form:"defaultProfile,omitempty" json:"defaultProfile,omitempty"`
Page PageRequestAO `form:"page" json:"page"`
}
GetProfilesParams defines parameters for GetProfiles.
type GetProfilesResponse ¶
type GetProfilesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PagedResponseAOServiceProfileAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PagedResponseAOServiceProfileAO
}
func ParseGetProfilesResponse ¶
func ParseGetProfilesResponse(rsp *http.Response) (*GetProfilesResponse, error)
ParseGetProfilesResponse parses an HTTP response from a GetProfilesWithResponse call
func (GetProfilesResponse) ContentType ¶
func (r GetProfilesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProfilesResponse) GetBody ¶
func (r GetProfilesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetProfilesResponse) GetJSON200 ¶
func (r GetProfilesResponse) GetJSON200() *PagedResponseAOServiceProfileAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetProfilesResponse) GetYAML200 ¶
func (r GetProfilesResponse) GetYAML200() *PagedResponseAOServiceProfileAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetProfilesResponse) Status ¶
func (r GetProfilesResponse) Status() string
Status returns HTTPResponse.Status
func (GetProfilesResponse) StatusCode ¶
func (r GetProfilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPropertyDefinition1Response ¶
type GetPropertyDefinition1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PropertyAssociationAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PropertyAssociationAO
}
func ParseGetPropertyDefinition1Response ¶
func ParseGetPropertyDefinition1Response(rsp *http.Response) (*GetPropertyDefinition1Response, error)
ParseGetPropertyDefinition1Response parses an HTTP response from a GetPropertyDefinition1WithResponse call
func (GetPropertyDefinition1Response) ContentType ¶
func (r GetPropertyDefinition1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPropertyDefinition1Response) GetBody ¶
func (r GetPropertyDefinition1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPropertyDefinition1Response) GetJSON200 ¶
func (r GetPropertyDefinition1Response) GetJSON200() *PropertyAssociationAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPropertyDefinition1Response) GetYAML200 ¶
func (r GetPropertyDefinition1Response) GetYAML200() *PropertyAssociationAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetPropertyDefinition1Response) Status ¶
func (r GetPropertyDefinition1Response) Status() string
Status returns HTTPResponse.Status
func (GetPropertyDefinition1Response) StatusCode ¶
func (r GetPropertyDefinition1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPropertyDefinitionResponse ¶
type GetPropertyDefinitionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PropertyDefinitionAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PropertyDefinitionAO
}
func ParseGetPropertyDefinitionResponse ¶
func ParseGetPropertyDefinitionResponse(rsp *http.Response) (*GetPropertyDefinitionResponse, error)
ParseGetPropertyDefinitionResponse parses an HTTP response from a GetPropertyDefinitionWithResponse call
func (GetPropertyDefinitionResponse) ContentType ¶
func (r GetPropertyDefinitionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPropertyDefinitionResponse) GetBody ¶
func (r GetPropertyDefinitionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPropertyDefinitionResponse) GetJSON200 ¶
func (r GetPropertyDefinitionResponse) GetJSON200() *PropertyDefinitionAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPropertyDefinitionResponse) GetYAML200 ¶
func (r GetPropertyDefinitionResponse) GetYAML200() *PropertyDefinitionAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetPropertyDefinitionResponse) Status ¶
func (r GetPropertyDefinitionResponse) Status() string
Status returns HTTPResponse.Status
func (GetPropertyDefinitionResponse) StatusCode ¶
func (r GetPropertyDefinitionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPropertyDefinitionsParams ¶
type GetPropertyDefinitionsParams struct {
// Page The number of the page, responses are limited to 50 elements per page.
Page PageRequestAO `form:"page" json:"page"`
}
GetPropertyDefinitionsParams defines parameters for GetPropertyDefinitions.
type GetPropertyDefinitionsResponse ¶
type GetPropertyDefinitionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PagedResponseAOPropertyDefinitionAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PagedResponseAOPropertyDefinitionAO
}
func ParseGetPropertyDefinitionsResponse ¶
func ParseGetPropertyDefinitionsResponse(rsp *http.Response) (*GetPropertyDefinitionsResponse, error)
ParseGetPropertyDefinitionsResponse parses an HTTP response from a GetPropertyDefinitionsWithResponse call
func (GetPropertyDefinitionsResponse) ContentType ¶
func (r GetPropertyDefinitionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPropertyDefinitionsResponse) GetBody ¶
func (r GetPropertyDefinitionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPropertyDefinitionsResponse) GetJSON200 ¶
func (r GetPropertyDefinitionsResponse) GetJSON200() *PagedResponseAOPropertyDefinitionAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPropertyDefinitionsResponse) GetYAML200 ¶
func (r GetPropertyDefinitionsResponse) GetYAML200() *PagedResponseAOPropertyDefinitionAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetPropertyDefinitionsResponse) Status ¶
func (r GetPropertyDefinitionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetPropertyDefinitionsResponse) StatusCode ¶
func (r GetPropertyDefinitionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetReportResponse ¶
func ParseGetReportResponse ¶
func ParseGetReportResponse(rsp *http.Response) (*GetReportResponse, error)
ParseGetReportResponse parses an HTTP response from a GetReportWithResponse call
func (GetReportResponse) ContentType ¶
func (r GetReportResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetReportResponse) GetBody ¶
func (r GetReportResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetReportResponse) Status ¶
func (r GetReportResponse) Status() string
Status returns HTTPResponse.Status
func (GetReportResponse) StatusCode ¶
func (r GetReportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRiskByCategoryJSONRequestBody ¶
type GetRiskByCategoryJSONRequestBody = ServiceRiskReportFilterAO
GetRiskByCategoryJSONRequestBody defines body for GetRiskByCategory for application/json ContentType.
type GetRiskByCategoryResponse ¶
type GetRiskByCategoryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TimeSeriesReportAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TimeSeriesReportAO
}
func ParseGetRiskByCategoryResponse ¶
func ParseGetRiskByCategoryResponse(rsp *http.Response) (*GetRiskByCategoryResponse, error)
ParseGetRiskByCategoryResponse parses an HTTP response from a GetRiskByCategoryWithResponse call
func (GetRiskByCategoryResponse) ContentType ¶
func (r GetRiskByCategoryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRiskByCategoryResponse) GetBody ¶
func (r GetRiskByCategoryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRiskByCategoryResponse) GetJSON200 ¶
func (r GetRiskByCategoryResponse) GetJSON200() *TimeSeriesReportAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRiskByCategoryResponse) GetYAML200 ¶
func (r GetRiskByCategoryResponse) GetYAML200() *TimeSeriesReportAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetRiskByCategoryResponse) Status ¶
func (r GetRiskByCategoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetRiskByCategoryResponse) StatusCode ¶
func (r GetRiskByCategoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRiskDistributionJSONRequestBody ¶
type GetRiskDistributionJSONRequestBody = ServiceRiskReportFilterAO
GetRiskDistributionJSONRequestBody defines body for GetRiskDistribution for application/json ContentType.
type GetRiskDistributionResponse ¶
type GetRiskDistributionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TimeSeriesReportAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TimeSeriesReportAO
}
func ParseGetRiskDistributionResponse ¶
func ParseGetRiskDistributionResponse(rsp *http.Response) (*GetRiskDistributionResponse, error)
ParseGetRiskDistributionResponse parses an HTTP response from a GetRiskDistributionWithResponse call
func (GetRiskDistributionResponse) ContentType ¶
func (r GetRiskDistributionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRiskDistributionResponse) GetBody ¶
func (r GetRiskDistributionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRiskDistributionResponse) GetJSON200 ¶
func (r GetRiskDistributionResponse) GetJSON200() *TimeSeriesReportAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRiskDistributionResponse) GetYAML200 ¶
func (r GetRiskDistributionResponse) GetYAML200() *TimeSeriesReportAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetRiskDistributionResponse) Status ¶
func (r GetRiskDistributionResponse) Status() string
Status returns HTTPResponse.Status
func (GetRiskDistributionResponse) StatusCode ¶
func (r GetRiskDistributionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRiskResponse ¶
type GetRiskResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceRiskAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ServiceRiskAO
}
func ParseGetRiskResponse ¶
func ParseGetRiskResponse(rsp *http.Response) (*GetRiskResponse, error)
ParseGetRiskResponse parses an HTTP response from a GetRiskWithResponse call
func (GetRiskResponse) ContentType ¶
func (r GetRiskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRiskResponse) GetBody ¶
func (r GetRiskResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRiskResponse) GetJSON200 ¶
func (r GetRiskResponse) GetJSON200() *ServiceRiskAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRiskResponse) GetYAML200 ¶
func (r GetRiskResponse) GetYAML200() *ServiceRiskAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetRiskResponse) Status ¶
func (r GetRiskResponse) Status() string
Status returns HTTPResponse.Status
func (GetRiskResponse) StatusCode ¶
func (r GetRiskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSchedulesResponse ¶
type GetSchedulesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExperimentScheduleAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ExperimentScheduleAO
}
func ParseGetSchedulesResponse ¶
func ParseGetSchedulesResponse(rsp *http.Response) (*GetSchedulesResponse, error)
ParseGetSchedulesResponse parses an HTTP response from a GetSchedulesWithResponse call
func (GetSchedulesResponse) ContentType ¶
func (r GetSchedulesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSchedulesResponse) GetBody ¶
func (r GetSchedulesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSchedulesResponse) GetJSON200 ¶
func (r GetSchedulesResponse) GetJSON200() *ExperimentScheduleAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSchedulesResponse) GetYAML200 ¶
func (r GetSchedulesResponse) GetYAML200() *ExperimentScheduleAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetSchedulesResponse) Status ¶
func (r GetSchedulesResponse) Status() string
Status returns HTTPResponse.Status
func (GetSchedulesResponse) StatusCode ¶
func (r GetSchedulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetServiceExperimentsParams ¶
type GetServiceExperimentsParams struct {
// Category Filter results by one or more categories
Category *[]string `form:"category,omitempty" json:"category,omitempty"`
// CategoryMissing Include custom experiments with missing categories
CategoryMissing *bool `form:"categoryMissing,omitempty" json:"categoryMissing,omitempty"`
// Type Filter results by type (PROVIDED,CUSTOM)
Type *[]GetServiceExperimentsParamsType `form:"type,omitempty" json:"type,omitempty"`
Page PageRequestAO `form:"page" json:"page"`
}
GetServiceExperimentsParams defines parameters for GetServiceExperiments.
type GetServiceExperimentsParamsType ¶
type GetServiceExperimentsParamsType string
GetServiceExperimentsParamsType defines parameters for GetServiceExperiments.
const ( GetServiceExperimentsParamsTypeCUSTOM GetServiceExperimentsParamsType = "CUSTOM" GetServiceExperimentsParamsTypePROVIDED GetServiceExperimentsParamsType = "PROVIDED" )
Defines values for GetServiceExperimentsParamsType.
func (GetServiceExperimentsParamsType) Valid ¶
func (e GetServiceExperimentsParamsType) Valid() bool
Valid indicates whether the value is a known member of the GetServiceExperimentsParamsType enum.
type GetServiceExperimentsResponse ¶
type GetServiceExperimentsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PagedResponseAOServiceExperimentAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PagedResponseAOServiceExperimentAO
}
func ParseGetServiceExperimentsResponse ¶
func ParseGetServiceExperimentsResponse(rsp *http.Response) (*GetServiceExperimentsResponse, error)
ParseGetServiceExperimentsResponse parses an HTTP response from a GetServiceExperimentsWithResponse call
func (GetServiceExperimentsResponse) ContentType ¶
func (r GetServiceExperimentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetServiceExperimentsResponse) GetBody ¶
func (r GetServiceExperimentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetServiceExperimentsResponse) GetJSON200 ¶
func (r GetServiceExperimentsResponse) GetJSON200() *PagedResponseAOServiceExperimentAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetServiceExperimentsResponse) GetYAML200 ¶
func (r GetServiceExperimentsResponse) GetYAML200() *PagedResponseAOServiceExperimentAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetServiceExperimentsResponse) Status ¶
func (r GetServiceExperimentsResponse) Status() string
Status returns HTTPResponse.Status
func (GetServiceExperimentsResponse) StatusCode ¶
func (r GetServiceExperimentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetServiceListParams ¶
type GetServiceListParams struct {
// TeamKey Filter results by one or more team key, like 'ADM'
TeamKey *[]string `form:"teamKey,omitempty" json:"teamKey,omitempty"`
// ExperimentKey Filter results by one or more experiment keys being linked to a service, like 'ADM-123'
ExperimentKey *[]string `form:"experimentKey,omitempty" json:"experimentKey,omitempty"`
// EnvironmentName Filter results by one or more environment name, like 'Global'
EnvironmentName *[]string `form:"environmentName,omitempty" json:"environmentName,omitempty"`
Page PageRequestAO `form:"page" json:"page"`
}
GetServiceListParams defines parameters for GetServiceList.
type GetServiceListResponse ¶
type GetServiceListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PagedResponseAOServiceSummaryAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PagedResponseAOServiceSummaryAO
}
func ParseGetServiceListResponse ¶
func ParseGetServiceListResponse(rsp *http.Response) (*GetServiceListResponse, error)
ParseGetServiceListResponse parses an HTTP response from a GetServiceListWithResponse call
func (GetServiceListResponse) ContentType ¶
func (r GetServiceListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetServiceListResponse) GetBody ¶
func (r GetServiceListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetServiceListResponse) GetJSON200 ¶
func (r GetServiceListResponse) GetJSON200() *PagedResponseAOServiceSummaryAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetServiceListResponse) GetYAML200 ¶
func (r GetServiceListResponse) GetYAML200() *PagedResponseAOServiceSummaryAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetServiceListResponse) Status ¶
func (r GetServiceListResponse) Status() string
Status returns HTTPResponse.Status
func (GetServiceListResponse) StatusCode ¶
func (r GetServiceListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetServiceResponse ¶
type GetServiceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ServiceAO
}
func ParseGetServiceResponse ¶
func ParseGetServiceResponse(rsp *http.Response) (*GetServiceResponse, error)
ParseGetServiceResponse parses an HTTP response from a GetServiceWithResponse call
func (GetServiceResponse) ContentType ¶
func (r GetServiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetServiceResponse) GetBody ¶
func (r GetServiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetServiceResponse) GetJSON200 ¶
func (r GetServiceResponse) GetJSON200() *ServiceAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetServiceResponse) GetYAML200 ¶
func (r GetServiceResponse) GetYAML200() *ServiceAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetServiceResponse) Status ¶
func (r GetServiceResponse) Status() string
Status returns HTTPResponse.Status
func (GetServiceResponse) StatusCode ¶
func (r GetServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetServiceVariablesResponse ¶
type GetServiceVariablesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *string
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *string
}
func ParseGetServiceVariablesResponse ¶
func ParseGetServiceVariablesResponse(rsp *http.Response) (*GetServiceVariablesResponse, error)
ParseGetServiceVariablesResponse parses an HTTP response from a GetServiceVariablesWithResponse call
func (GetServiceVariablesResponse) ContentType ¶
func (r GetServiceVariablesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetServiceVariablesResponse) GetBody ¶
func (r GetServiceVariablesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetServiceVariablesResponse) GetJSON200 ¶
func (r GetServiceVariablesResponse) GetJSON200() *string
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetServiceVariablesResponse) GetYAML200 ¶
func (r GetServiceVariablesResponse) GetYAML200() *string
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetServiceVariablesResponse) Status ¶
func (r GetServiceVariablesResponse) Status() string
Status returns HTTPResponse.Status
func (GetServiceVariablesResponse) StatusCode ¶
func (r GetServiceVariablesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSlackIntegrationResponse ¶
type GetSlackIntegrationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SlackWebhookAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *SlackWebhookAO
}
func ParseGetSlackIntegrationResponse ¶
func ParseGetSlackIntegrationResponse(rsp *http.Response) (*GetSlackIntegrationResponse, error)
ParseGetSlackIntegrationResponse parses an HTTP response from a GetSlackIntegrationWithResponse call
func (GetSlackIntegrationResponse) ContentType ¶
func (r GetSlackIntegrationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSlackIntegrationResponse) GetBody ¶
func (r GetSlackIntegrationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSlackIntegrationResponse) GetJSON200 ¶
func (r GetSlackIntegrationResponse) GetJSON200() *SlackWebhookAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSlackIntegrationResponse) GetYAML200 ¶
func (r GetSlackIntegrationResponse) GetYAML200() *SlackWebhookAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetSlackIntegrationResponse) Status ¶
func (r GetSlackIntegrationResponse) Status() string
Status returns HTTPResponse.Status
func (GetSlackIntegrationResponse) StatusCode ¶
func (r GetSlackIntegrationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSlackIntegrationsResponse ¶
type GetSlackIntegrationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListResponseSlackWebhookAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ListResponseSlackWebhookAO
}
func ParseGetSlackIntegrationsResponse ¶
func ParseGetSlackIntegrationsResponse(rsp *http.Response) (*GetSlackIntegrationsResponse, error)
ParseGetSlackIntegrationsResponse parses an HTTP response from a GetSlackIntegrationsWithResponse call
func (GetSlackIntegrationsResponse) ContentType ¶
func (r GetSlackIntegrationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSlackIntegrationsResponse) GetBody ¶
func (r GetSlackIntegrationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSlackIntegrationsResponse) GetJSON200 ¶
func (r GetSlackIntegrationsResponse) GetJSON200() *ListResponseSlackWebhookAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSlackIntegrationsResponse) GetYAML200 ¶
func (r GetSlackIntegrationsResponse) GetYAML200() *ListResponseSlackWebhookAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetSlackIntegrationsResponse) Status ¶
func (r GetSlackIntegrationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSlackIntegrationsResponse) StatusCode ¶
func (r GetSlackIntegrationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTargetAdviceSummaryJSONRequestBody ¶
type GetTargetAdviceSummaryJSONRequestBody = GetAdviceApiRequestAO
GetTargetAdviceSummaryJSONRequestBody defines body for GetTargetAdviceSummary for application/json ContentType.
type GetTargetAdviceSummaryResponse ¶
type GetTargetAdviceSummaryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdviceSummaryAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *AdviceSummaryAO
}
func ParseGetTargetAdviceSummaryResponse ¶
func ParseGetTargetAdviceSummaryResponse(rsp *http.Response) (*GetTargetAdviceSummaryResponse, error)
ParseGetTargetAdviceSummaryResponse parses an HTTP response from a GetTargetAdviceSummaryWithResponse call
func (GetTargetAdviceSummaryResponse) ContentType ¶
func (r GetTargetAdviceSummaryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTargetAdviceSummaryResponse) GetBody ¶
func (r GetTargetAdviceSummaryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTargetAdviceSummaryResponse) GetJSON200 ¶
func (r GetTargetAdviceSummaryResponse) GetJSON200() *AdviceSummaryAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTargetAdviceSummaryResponse) GetYAML200 ¶
func (r GetTargetAdviceSummaryResponse) GetYAML200() *AdviceSummaryAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetTargetAdviceSummaryResponse) Status ¶
func (r GetTargetAdviceSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (GetTargetAdviceSummaryResponse) StatusCode ¶
func (r GetTargetAdviceSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTargetAttributeKeysParams ¶
type GetTargetAttributeKeysParams struct {
// Environment The name of the environment
Environment string `form:"environment" json:"environment"`
// TargetType The type of the target, required if actionId is not set
TargetType *string `form:"targetType,omitempty" json:"targetType,omitempty"`
// ActionId If the action specifies a extended target selector and you want to fetch all attribute keys for a given action. Required if targetType is not set
ActionId *string `form:"actionId,omitempty" json:"actionId,omitempty"`
// Page The page number to retrieve. Starts from 0. default is 0
Page *int32 `form:"page,omitempty" json:"page,omitempty"`
// Size The number of items to return per page. default is 100, maximum is 100.
Size *int32 `form:"size,omitempty" json:"size,omitempty"`
}
GetTargetAttributeKeysParams defines parameters for GetTargetAttributeKeys.
type GetTargetAttributeKeysResponse ¶
type GetTargetAttributeKeysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PagedResponseAOString
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PagedResponseAOString
}
func ParseGetTargetAttributeKeysResponse ¶
func ParseGetTargetAttributeKeysResponse(rsp *http.Response) (*GetTargetAttributeKeysResponse, error)
ParseGetTargetAttributeKeysResponse parses an HTTP response from a GetTargetAttributeKeysWithResponse call
func (GetTargetAttributeKeysResponse) ContentType ¶
func (r GetTargetAttributeKeysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTargetAttributeKeysResponse) GetBody ¶
func (r GetTargetAttributeKeysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTargetAttributeKeysResponse) GetJSON200 ¶
func (r GetTargetAttributeKeysResponse) GetJSON200() *PagedResponseAOString
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTargetAttributeKeysResponse) GetYAML200 ¶
func (r GetTargetAttributeKeysResponse) GetYAML200() *PagedResponseAOString
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetTargetAttributeKeysResponse) Status ¶
func (r GetTargetAttributeKeysResponse) Status() string
Status returns HTTPResponse.Status
func (GetTargetAttributeKeysResponse) StatusCode ¶
func (r GetTargetAttributeKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTargetAttributeValuesParams ¶
type GetTargetAttributeValuesParams struct {
// Environment The name of the environment
Environment string `form:"environment" json:"environment"`
// TargetType The type of the target, required if actionId is not set
TargetType *string `form:"targetType,omitempty" json:"targetType,omitempty"`
// ActionId If the action specifies a extended target selector and you want to fetch all attribute keys for a given action. Required if targetType is not set
ActionId *string `form:"actionId,omitempty" json:"actionId,omitempty"`
// AttributeKey The key of of the attribute
AttributeKey string `form:"attributeKey" json:"attributeKey"`
// Page The page number to retrieve. Starts from 0. default is 0
Page *int32 `form:"page,omitempty" json:"page,omitempty"`
// Size The number of items to return per page. default is 100, maximum is 100.
Size *int32 `form:"size,omitempty" json:"size,omitempty"`
}
GetTargetAttributeValuesParams defines parameters for GetTargetAttributeValues.
type GetTargetAttributeValuesResponse ¶
type GetTargetAttributeValuesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PagedResponseAOString
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PagedResponseAOString
}
func ParseGetTargetAttributeValuesResponse ¶
func ParseGetTargetAttributeValuesResponse(rsp *http.Response) (*GetTargetAttributeValuesResponse, error)
ParseGetTargetAttributeValuesResponse parses an HTTP response from a GetTargetAttributeValuesWithResponse call
func (GetTargetAttributeValuesResponse) ContentType ¶
func (r GetTargetAttributeValuesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTargetAttributeValuesResponse) GetBody ¶
func (r GetTargetAttributeValuesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTargetAttributeValuesResponse) GetJSON200 ¶
func (r GetTargetAttributeValuesResponse) GetJSON200() *PagedResponseAOString
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTargetAttributeValuesResponse) GetYAML200 ¶
func (r GetTargetAttributeValuesResponse) GetYAML200() *PagedResponseAOString
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetTargetAttributeValuesResponse) Status ¶
func (r GetTargetAttributeValuesResponse) Status() string
Status returns HTTPResponse.Status
func (GetTargetAttributeValuesResponse) StatusCode ¶
func (r GetTargetAttributeValuesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTargetsParams ¶
type GetTargetsParams struct {
// Environment The name of the environment
Environment string `form:"environment" json:"environment"`
// TargetType Optional, the type of the target
TargetType *string `form:"targetType,omitempty" json:"targetType,omitempty"`
// Query Optional, additional target selection query
Query *string `form:"query,omitempty" json:"query,omitempty"`
// Attribute Optional, list of requested target attribute keys. If not specified, all attributes will be returned. Multiple values allowed. Example: `k8s.deployment`
Attribute *[]string `form:"attribute,omitempty" json:"attribute,omitempty"`
// Cursor Optional, the cursor to use to fetch the next page
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Size Optional, the number of items to return per page. default is 100, maximum is 1000.
Size *int32 `form:"size,omitempty" json:"size,omitempty"`
}
GetTargetsParams defines parameters for GetTargets.
type GetTargetsResponse ¶
type GetTargetsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CursorSliceResponseAOTargetAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *CursorSliceResponseAOTargetAO
}
func ParseGetTargetsResponse ¶
func ParseGetTargetsResponse(rsp *http.Response) (*GetTargetsResponse, error)
ParseGetTargetsResponse parses an HTTP response from a GetTargetsWithResponse call
func (GetTargetsResponse) ContentType ¶
func (r GetTargetsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTargetsResponse) GetBody ¶
func (r GetTargetsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTargetsResponse) GetJSON200 ¶
func (r GetTargetsResponse) GetJSON200() *CursorSliceResponseAOTargetAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTargetsResponse) GetYAML200 ¶
func (r GetTargetsResponse) GetYAML200() *CursorSliceResponseAOTargetAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetTargetsResponse) Status ¶
func (r GetTargetsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTargetsResponse) StatusCode ¶
func (r GetTargetsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTargetsStats1JSONRequestBody ¶
type GetTargetsStats1JSONRequestBody = TargetStatsRequest
GetTargetsStats1JSONRequestBody defines body for GetTargetsStats1 for application/json ContentType.
type GetTargetsStats1Response ¶
type GetTargetsStats1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]int64
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *map[string]int64
}
func ParseGetTargetsStats1Response ¶
func ParseGetTargetsStats1Response(rsp *http.Response) (*GetTargetsStats1Response, error)
ParseGetTargetsStats1Response parses an HTTP response from a GetTargetsStats1WithResponse call
func (GetTargetsStats1Response) ContentType ¶
func (r GetTargetsStats1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTargetsStats1Response) GetBody ¶
func (r GetTargetsStats1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTargetsStats1Response) GetJSON200 ¶
func (r GetTargetsStats1Response) GetJSON200() *map[string]int64
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTargetsStats1Response) GetYAML200 ¶
func (r GetTargetsStats1Response) GetYAML200() *map[string]int64
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetTargetsStats1Response) Status ¶
func (r GetTargetsStats1Response) Status() string
Status returns HTTPResponse.Status
func (GetTargetsStats1Response) StatusCode ¶
func (r GetTargetsStats1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTargetsStatsResponse ¶
type GetTargetsStatsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]int64
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *map[string]int64
}
func ParseGetTargetsStatsResponse ¶
func ParseGetTargetsStatsResponse(rsp *http.Response) (*GetTargetsStatsResponse, error)
ParseGetTargetsStatsResponse parses an HTTP response from a GetTargetsStatsWithResponse call
func (GetTargetsStatsResponse) ContentType ¶
func (r GetTargetsStatsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTargetsStatsResponse) GetBody ¶
func (r GetTargetsStatsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTargetsStatsResponse) GetJSON200 ¶
func (r GetTargetsStatsResponse) GetJSON200() *map[string]int64
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTargetsStatsResponse) GetYAML200 ¶
func (r GetTargetsStatsResponse) GetYAML200() *map[string]int64
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetTargetsStatsResponse) Status ¶
func (r GetTargetsStatsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTargetsStatsResponse) StatusCode ¶
func (r GetTargetsStatsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTeamCountsJSONRequestBody ¶
type GetTeamCountsJSONRequestBody = ReportFilterAO
GetTeamCountsJSONRequestBody defines body for GetTeamCounts for application/json ContentType.
type GetTeamCountsResponse ¶
type GetTeamCountsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TimeSeriesReportAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TimeSeriesReportAO
}
func ParseGetTeamCountsResponse ¶
func ParseGetTeamCountsResponse(rsp *http.Response) (*GetTeamCountsResponse, error)
ParseGetTeamCountsResponse parses an HTTP response from a GetTeamCountsWithResponse call
func (GetTeamCountsResponse) ContentType ¶
func (r GetTeamCountsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTeamCountsResponse) GetBody ¶
func (r GetTeamCountsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTeamCountsResponse) GetJSON200 ¶
func (r GetTeamCountsResponse) GetJSON200() *TimeSeriesReportAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTeamCountsResponse) GetYAML200 ¶
func (r GetTeamCountsResponse) GetYAML200() *TimeSeriesReportAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetTeamCountsResponse) Status ¶
func (r GetTeamCountsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTeamCountsResponse) StatusCode ¶
func (r GetTeamCountsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTeamEnvironmentsResponse ¶
type GetTeamEnvironmentsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TeamEnvironmentsAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TeamEnvironmentsAO
}
func ParseGetTeamEnvironmentsResponse ¶
func ParseGetTeamEnvironmentsResponse(rsp *http.Response) (*GetTeamEnvironmentsResponse, error)
ParseGetTeamEnvironmentsResponse parses an HTTP response from a GetTeamEnvironmentsWithResponse call
func (GetTeamEnvironmentsResponse) ContentType ¶
func (r GetTeamEnvironmentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTeamEnvironmentsResponse) GetBody ¶
func (r GetTeamEnvironmentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTeamEnvironmentsResponse) GetJSON200 ¶
func (r GetTeamEnvironmentsResponse) GetJSON200() *TeamEnvironmentsAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTeamEnvironmentsResponse) GetYAML200 ¶
func (r GetTeamEnvironmentsResponse) GetYAML200() *TeamEnvironmentsAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetTeamEnvironmentsResponse) Status ¶
func (r GetTeamEnvironmentsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTeamEnvironmentsResponse) StatusCode ¶
func (r GetTeamEnvironmentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTeamMembersResponse ¶
type GetTeamMembersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TeamMembersAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TeamMembersAO
}
func ParseGetTeamMembersResponse ¶
func ParseGetTeamMembersResponse(rsp *http.Response) (*GetTeamMembersResponse, error)
ParseGetTeamMembersResponse parses an HTTP response from a GetTeamMembersWithResponse call
func (GetTeamMembersResponse) ContentType ¶
func (r GetTeamMembersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTeamMembersResponse) GetBody ¶
func (r GetTeamMembersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTeamMembersResponse) GetJSON200 ¶
func (r GetTeamMembersResponse) GetJSON200() *TeamMembersAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTeamMembersResponse) GetYAML200 ¶
func (r GetTeamMembersResponse) GetYAML200() *TeamMembersAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetTeamMembersResponse) Status ¶
func (r GetTeamMembersResponse) Status() string
Status returns HTTPResponse.Status
func (GetTeamMembersResponse) StatusCode ¶
func (r GetTeamMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTeamResponse ¶
type GetTeamResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TeamAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TeamAO
}
func ParseGetTeamResponse ¶
func ParseGetTeamResponse(rsp *http.Response) (*GetTeamResponse, error)
ParseGetTeamResponse parses an HTTP response from a GetTeamWithResponse call
func (GetTeamResponse) ContentType ¶
func (r GetTeamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTeamResponse) GetBody ¶
func (r GetTeamResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTeamResponse) GetJSON200 ¶
func (r GetTeamResponse) GetJSON200() *TeamAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTeamResponse) GetYAML200 ¶
func (r GetTeamResponse) GetYAML200() *TeamAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetTeamResponse) Status ¶
func (r GetTeamResponse) Status() string
Status returns HTTPResponse.Status
func (GetTeamResponse) StatusCode ¶
func (r GetTeamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTeamsParams ¶
type GetTeamsParams struct {
// OnlyAccessible If set and used with an `accessToken` associated to one or multiple teams, only the team associated to the token are returned. Otherwise, all teams are listed.
OnlyAccessible *bool `form:"onlyAccessible,omitempty" json:"onlyAccessible,omitempty"`
// Search If set, only teams matching the search are returned. Matches the team name or key, the name or email of a team member, or the name of an allowed environment.
Search *string `form:"search,omitempty" json:"search,omitempty"`
}
GetTeamsParams defines parameters for GetTeams.
type GetTeamsResponse ¶
type GetTeamsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TeamSummariesAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TeamSummariesAO
}
func ParseGetTeamsResponse ¶
func ParseGetTeamsResponse(rsp *http.Response) (*GetTeamsResponse, error)
ParseGetTeamsResponse parses an HTTP response from a GetTeamsWithResponse call
func (GetTeamsResponse) ContentType ¶
func (r GetTeamsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTeamsResponse) GetBody ¶
func (r GetTeamsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetTeamsResponse) GetJSON200 ¶
func (r GetTeamsResponse) GetJSON200() *TeamSummariesAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetTeamsResponse) GetYAML200 ¶
func (r GetTeamsResponse) GetYAML200() *TeamSummariesAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetTeamsResponse) Status ¶
func (r GetTeamsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTeamsResponse) StatusCode ¶
func (r GetTeamsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserCountsJSONRequestBody ¶
type GetUserCountsJSONRequestBody = ReportFilterAO
GetUserCountsJSONRequestBody defines body for GetUserCounts for application/json ContentType.
type GetUserCountsResponse ¶
type GetUserCountsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TimeSeriesReportAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TimeSeriesReportAO
}
func ParseGetUserCountsResponse ¶
func ParseGetUserCountsResponse(rsp *http.Response) (*GetUserCountsResponse, error)
ParseGetUserCountsResponse parses an HTTP response from a GetUserCountsWithResponse call
func (GetUserCountsResponse) ContentType ¶
func (r GetUserCountsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUserCountsResponse) GetBody ¶
func (r GetUserCountsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetUserCountsResponse) GetJSON200 ¶
func (r GetUserCountsResponse) GetJSON200() *TimeSeriesReportAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetUserCountsResponse) GetYAML200 ¶
func (r GetUserCountsResponse) GetYAML200() *TimeSeriesReportAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetUserCountsResponse) Status ¶
func (r GetUserCountsResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserCountsResponse) StatusCode ¶
func (r GetUserCountsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HealthResponse ¶
type HealthResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *map[string]interface{}
}
func ParseHealthResponse ¶
func ParseHealthResponse(rsp *http.Response) (*HealthResponse, error)
ParseHealthResponse parses an HTTP response from a HealthWithResponse call
func (HealthResponse) ContentType ¶
func (r HealthResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HealthResponse) GetBody ¶
func (r HealthResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HealthResponse) GetJSON200 ¶
func (r HealthResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (HealthResponse) GetYAML200 ¶
func (r HealthResponse) GetYAML200() *map[string]interface{}
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (HealthResponse) Status ¶
func (r HealthResponse) Status() string
Status returns HTTPResponse.Status
func (HealthResponse) StatusCode ¶
func (r HealthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HintAO ¶
type HintAO struct {
// Content Content of the hint as markdown text.
Content string `json:"content"`
// Type Type of the hint.
//
// Example: INFO
Type string `json:"type"`
}
HintAO An informational or warning hint displayed to the user.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type HubAO ¶
type HubAO struct {
// Created Timestamp when the hub was connected
//
// Example: 2023-01-01T09:00:00Z
Created time.Time `json:"created"`
// CreatedBy The user that canceled the experiment execution, only present if the execution was canceled
//
// Example: {"email":"max@steadybit.com","name":"Max Mustermann","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"}
CreatedBy UserSummaryAO `json:"createdBy"`
// Edited Timestamp when the hub was edited the last time
//
// Example: 2023-01-01T09:00:00Z
Edited time.Time `json:"edited"`
// EditedBy The user that canceled the experiment execution, only present if the execution was canceled
//
// Example: {"email":"max@steadybit.com","name":"Max Mustermann","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"}
EditedBy UserSummaryAO `json:"editedBy"`
// HubLink Website address of the the hub
//
// Example: https://hub.steadybit.com/
HubLink *string `json:"hubLink,omitempty"`
// HubName Name of the hub
HubName string `json:"hubName"`
Id openapi_types.UUID `json:"id"`
// LastRepositoryChange Timestamp of last change as defined in the repository content
LastRepositoryChange *time.Time `json:"lastRepositoryChange,omitempty"`
// LastSync Timestamp of last hub synchronization
LastSync *time.Time `json:"lastSync,omitempty"`
// RepositoryUrl HTTP address of the the hub's repository
//
// Example: https://github.com/steadybit/reliability-hub-db
RepositoryUrl string `json:"repositoryUrl"`
// SyncError Last synchronization error description, if an error occurred
SyncError *string `json:"syncError,omitempty"`
// Templates List of templates published in the hub.
Templates []ExperimentTemplateSummaryAO `json:"templates"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version int32 `json:"version"`
}
HubAO defines model for HubAO.
type HubConnectionCheckAO ¶
type HubConnectionCheckAO struct {
// RepositoryUrl HTTP address of the the hub's repository
//
// Example: https://github.com/steadybit/reliability-hub-db
RepositoryUrl string `json:"repositoryUrl"`
}
HubConnectionCheckAO defines model for HubConnectionCheckAO.
type HubConnectionCheckResponseAO ¶
type HubConnectionCheckResponseAO struct {
Error *string `json:"error,omitempty"`
}
HubConnectionCheckResponseAO defines model for HubConnectionCheckResponseAO.
type HubSummariesAO ¶
type HubSummariesAO struct {
Hubs *[]HubSummaryAO `json:"hubs,omitempty"`
}
HubSummariesAO List of all hubs. Fetch a single hub by `id` to get more information.
Example: {"hubs":[{"hubName":"Hub Name","id":"1b267dc1-5f4e-4803-894d-92ecd9b83413"}]}
type HubSummaryAO ¶
type HubSummaryAO struct {
// HubName Name of the hub
HubName string `json:"hubName"`
Id openapi_types.UUID `json:"id"`
}
HubSummaryAO Summary containing the most important hub details.
Example: {"hubName":"Hub Name","id":"1b267dc1-5f4e-4803-894d-92ecd9b83413"}
type ImportFromHubJSONRequestBody ¶
type ImportFromHubJSONRequestBody = ExperimentTemplatesImportAO
ImportFromHubJSONRequestBody defines body for ImportFromHub for application/json ContentType.
type ImportFromHubParams ¶
type ImportFromHubParams struct {
// Overwrite Do you want to overwrite a template that already exists? If set to `false` and any of the templates already exist, the API will return HTTP status 409 and none of the templates are imported.
Overwrite *bool `form:"overwrite,omitempty" json:"overwrite,omitempty"`
}
ImportFromHubParams defines parameters for ImportFromHub.
type ImportFromHubResponse ¶
func ParseImportFromHubResponse ¶
func ParseImportFromHubResponse(rsp *http.Response) (*ImportFromHubResponse, error)
ParseImportFromHubResponse parses an HTTP response from a ImportFromHubWithResponse call
func (ImportFromHubResponse) ContentType ¶
func (r ImportFromHubResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ImportFromHubResponse) GetBody ¶
func (r ImportFromHubResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ImportFromHubResponse) Status ¶
func (r ImportFromHubResponse) Status() string
Status returns HTTPResponse.Status
func (ImportFromHubResponse) StatusCode ¶
func (r ImportFromHubResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InvitationAO ¶
type InvitationAO struct {
Email openapi_types.Email `json:"email"`
Role *InvitationAORole `json:"role,omitempty"`
TeamKey *string `json:"teamKey,omitempty"`
}
InvitationAO Request to invite users to the platform
Example: {"email":"aa@bb.com","role":"USER","teamKey":"TST"}
type InvitationAORole ¶
type InvitationAORole string
InvitationAORole defines model for InvitationAO.Role.
const ( InvitationAORoleADMIN InvitationAORole = "ADMIN" InvitationAORoleUSER InvitationAORole = "USER" )
Defines values for InvitationAORole.
func (InvitationAORole) Valid ¶
func (e InvitationAORole) Valid() bool
Valid indicates whether the value is a known member of the InvitationAORole enum.
type InviteUserJSONRequestBody ¶
type InviteUserJSONRequestBody = InviteUsersRequestAO
InviteUserJSONRequestBody defines body for InviteUser for application/json ContentType.
type InviteUserResponse ¶
func ParseInviteUserResponse ¶
func ParseInviteUserResponse(rsp *http.Response) (*InviteUserResponse, error)
ParseInviteUserResponse parses an HTTP response from a InviteUserWithResponse call
func (InviteUserResponse) ContentType ¶
func (r InviteUserResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (InviteUserResponse) GetBody ¶
func (r InviteUserResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (InviteUserResponse) Status ¶
func (r InviteUserResponse) Status() string
Status returns HTTPResponse.Status
func (InviteUserResponse) StatusCode ¶
func (r InviteUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InviteUsersRequestAO ¶
type InviteUsersRequestAO struct {
Invitations []InvitationAO `json:"invitations"`
}
InviteUsersRequestAO Request to invite users to the platform
Example: {"invitations":[{"email":"aa@bb.com","role":"ADMIN","teamKey":"ADM"}]}
type KillswitchAO ¶
type KillswitchAO struct {
// Active Determines whether the kill switch is currently active / engaged.
//
// Example: true
Active *bool `json:"active,omitempty"`
// Engaged Time at which the kill switch was activated / engaged
//
// Example: 2023-01-01T09:00:00Z
Engaged *time.Time `json:"engaged,omitempty"`
// EngagedBy Username (internal identifier of Steadybit) of the user that has activated / engaged the kill switch
//
// Example: 13av2737-b318-4048-a79d-4789d645bc31
EngagedBy *string `json:"engagedBy,omitempty"`
// EngagedByDetails The user that canceled the experiment execution, only present if the execution was canceled
//
// Example: {"email":"max@steadybit.com","name":"Max Mustermann","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"}
EngagedByDetails *UserSummaryAO `json:"engagedByDetails,omitempty"`
}
KillswitchAO Determines the current status of the kill switch (emergency stop). If the kill switch is active, all experiments are cancelled immediately and no new experiments can be executed.
Example: {"active":"true","engaged":"2023-01-01T09:00:00Z","engagedBy":"71ab0180-8abc-4d30-8acb-6aa024e3065f"}
type LandscapeViewAO ¶
type LandscapeViewAO struct {
// ColorBy The color-by dimension: the attribute the targets are colored by, together with its advanced configuration.
ColorBy *LandscapeViewColorByAO `json:"colorBy,omitempty"`
// Description Description of the saved view.
//
// Example: All shop workloads grouped by namespace.
Description *string `json:"description,omitempty"`
// Environment Name of the environment the view is scoped to.
//
// Example: Global
Environment *string `json:"environment,omitempty"`
// FilterQuery Explorer filter query narrowing the targets shown on the landscape.
//
// Example: k8s.namespace="shop"
FilterQuery *string `json:"filterQuery,omitempty"`
// GroupBy Ordered list of group-by dimensions the targets are grouped by, each with its own advanced configuration.
GroupBy *[]LandscapeViewGroupByAO `json:"groupBy,omitempty"`
// Id Unique identifier of the saved view.
//
// Example: ac456d58-8fb2-4df4-86d8-ca81d7562739
Id *openapi_types.UUID `json:"id,omitempty"`
// LastUpdated Point in time the saved view was last updated.
//
// Example: 2026-07-23T10:15:30Z
LastUpdated *time.Time `json:"lastUpdated,omitempty"`
// Name Title of the saved view.
//
// Example: Kubernetes by namespace
Name *string `json:"name,omitempty"`
// ShowAdvice Whether reliability advice is shown on the landscape.
//
// Example: false
ShowAdvice *bool `json:"showAdvice,omitempty"`
// SizeBy Attribute key the size of a target is derived from.
//
// Example: k8s.container.cpu.limit
SizeBy *string `json:"sizeBy,omitempty"`
// Team Key of the team the saved view belongs to.
//
// Example: ADM
Team string `json:"team"`
}
LandscapeViewAO A saved view of the explorer landscape.
type LandscapeViewColorByAO ¶
type LandscapeViewColorByAO struct {
// Attribute Attribute key the color of a target is derived from.
//
// Example: k8s.namespace
Attribute *string `json:"attribute,omitempty"`
// Mappings Buckets that map specific attribute values to named color groups.
Mappings *[]LandscapeViewMappedGroupingAO `json:"mappings,omitempty"`
// Overrides Explicit color overrides keyed by the color-by attribute value. Each color must be one of the predefined landscape colors.
//
// Example: {"shop":"GREEN"}
Overrides *map[string]LandscapeViewColorByAOOverrides `json:"overrides,omitempty"`
}
LandscapeViewColorByAO The color-by dimension: the attribute the targets are colored by, together with its advanced configuration.
type LandscapeViewColorByAOOverrides ¶
type LandscapeViewColorByAOOverrides string
LandscapeViewColorByAOOverrides Explicit color overrides keyed by the color-by attribute value. Each color must be one of the predefined landscape colors.
Example: {"shop":"GREEN"}
const ( BERRIES LandscapeViewColorByAOOverrides = "BERRIES" BLUE LandscapeViewColorByAOOverrides = "BLUE" BLUELIGHT LandscapeViewColorByAOOverrides = "BLUE_LIGHT" GREEN LandscapeViewColorByAOOverrides = "GREEN" GREY LandscapeViewColorByAOOverrides = "GREY" ORANGEDARK LandscapeViewColorByAOOverrides = "ORANGE_DARK" ORANGELIGHT LandscapeViewColorByAOOverrides = "ORANGE_LIGHT" PINK LandscapeViewColorByAOOverrides = "PINK" PLUM LandscapeViewColorByAOOverrides = "PLUM" RED LandscapeViewColorByAOOverrides = "RED" ROSEPINK LandscapeViewColorByAOOverrides = "ROSE_PINK" TEAL LandscapeViewColorByAOOverrides = "TEAL" TIFFANY LandscapeViewColorByAOOverrides = "TIFFANY" VIOLET LandscapeViewColorByAOOverrides = "VIOLET" YELLOW LandscapeViewColorByAOOverrides = "YELLOW" )
Defines values for LandscapeViewColorByAOOverrides.
func (LandscapeViewColorByAOOverrides) Valid ¶
func (e LandscapeViewColorByAOOverrides) Valid() bool
Valid indicates whether the value is a known member of the LandscapeViewColorByAOOverrides enum.
type LandscapeViewGroupByAO ¶
type LandscapeViewGroupByAO struct {
// Attribute Attribute key the targets are grouped by.
//
// Example: k8s.namespace
Attribute string `json:"attribute"`
// Mappings Buckets that map specific attribute values to named groups.
Mappings *[]LandscapeViewMappedGroupingAO `json:"mappings,omitempty"`
// MergeUnmappedToUnknown Whether attribute values that are not mapped to any bucket are merged into the unknown group.
//
// Example: false
MergeUnmappedToUnknown *bool `json:"mergeUnmappedToUnknown,omitempty"`
// ShowUnknown Whether an additional group collecting all targets without a value for this dimension is shown.
//
// Example: true
ShowUnknown *bool `json:"showUnknown,omitempty"`
}
LandscapeViewGroupByAO A single group-by dimension: the attribute the targets are grouped by, together with its advanced configuration.
type LandscapeViewMappedGroupingAO ¶
type LandscapeViewMappedGroupingAO struct {
// AttributeValues Attribute values that are collected into this bucket.
//
// Example: ["prod","production"]
AttributeValues *[]string `json:"attributeValues,omitempty"`
// GroupName Display name of the bucket.
//
// Example: Production
GroupName *string `json:"groupName,omitempty"`
// Id Unique identifier of the bucket. Optional on create/update — a new identifier is generated when omitted; supply the returned identifier to keep a bucket stable across updates.
//
// Example: ac456d58-8fb2-4df4-86d8-ca81d7562739
Id *openapi_types.UUID `json:"id,omitempty"`
}
LandscapeViewMappedGroupingAO A bucket that groups multiple attribute values under a single named group.
type LicenseFeatureSummaryAO ¶
type LicenseFeatureSummaryAO struct {
HardLimit *int32 `json:"hardLimit,omitempty"`
Name string `json:"name"`
SoftLimit *int32 `json:"softLimit,omitempty"`
Type LicenseFeatureSummaryAOType `json:"type"`
Usage *int32 `json:"usage,omitempty"`
}
LicenseFeatureSummaryAO defines model for LicenseFeatureSummaryAO.
type LicenseFeatureSummaryAOType ¶
type LicenseFeatureSummaryAOType string
LicenseFeatureSummaryAOType defines model for LicenseFeatureSummaryAO.Type.
const ( HARDLIMIT LicenseFeatureSummaryAOType = "HARD_LIMIT" SIMPLE LicenseFeatureSummaryAOType = "SIMPLE" SOFTLIMIT LicenseFeatureSummaryAOType = "SOFT_LIMIT" )
Defines values for LicenseFeatureSummaryAOType.
func (LicenseFeatureSummaryAOType) Valid ¶
func (e LicenseFeatureSummaryAOType) Valid() bool
Valid indicates whether the value is a known member of the LicenseFeatureSummaryAOType enum.
type LicenseSummaryAO ¶
type LicenseSummaryAO struct {
Id *int64 `json:"id,omitempty"`
LicenseType *LicenseSummaryAOLicenseType `json:"licenseType,omitempty"`
OrderNumber *string `json:"orderNumber,omitempty"`
ValidFrom openapi_types.Date `json:"validFrom"`
ValidTo openapi_types.Date `json:"validTo"`
}
LicenseSummaryAO defines model for LicenseSummaryAO.
type LicenseSummaryAOLicenseType ¶
type LicenseSummaryAOLicenseType string
LicenseSummaryAOLicenseType defines model for LicenseSummaryAO.LicenseType.
const ( LicenseSummaryAOLicenseTypeENTERPRISE LicenseSummaryAOLicenseType = "ENTERPRISE" LicenseSummaryAOLicenseTypeNONE LicenseSummaryAOLicenseType = "NONE" LicenseSummaryAOLicenseTypePROFESSIONAL LicenseSummaryAOLicenseType = "PROFESSIONAL" LicenseSummaryAOLicenseTypeSTARTUP LicenseSummaryAOLicenseType = "STARTUP" LicenseSummaryAOLicenseTypeTRIAL LicenseSummaryAOLicenseType = "TRIAL" )
Defines values for LicenseSummaryAOLicenseType.
func (LicenseSummaryAOLicenseType) Valid ¶
func (e LicenseSummaryAOLicenseType) Valid() bool
Valid indicates whether the value is a known member of the LicenseSummaryAOLicenseType enum.
type LinkCustomExperimentJSONRequestBody ¶
type LinkCustomExperimentJSONRequestBody = LinkCustomExperimentRequestAO
LinkCustomExperimentJSONRequestBody defines body for LinkCustomExperiment for application/json ContentType.
type LinkCustomExperimentRequestAO ¶
type LinkCustomExperimentRequestAO struct {
// Category The category to which the experiment should be linked
//
// Example: Scalability
Category string `json:"category"`
// ExperimentKey The experiment that should be linked
//
// Example: ADM-18
ExperimentKey string `json:"experimentKey"`
}
LinkCustomExperimentRequestAO defines model for LinkCustomExperimentRequestAO.
type LinkCustomExperimentResponse ¶
func ParseLinkCustomExperimentResponse ¶
func ParseLinkCustomExperimentResponse(rsp *http.Response) (*LinkCustomExperimentResponse, error)
ParseLinkCustomExperimentResponse parses an HTTP response from a LinkCustomExperimentWithResponse call
func (LinkCustomExperimentResponse) ContentType ¶
func (r LinkCustomExperimentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LinkCustomExperimentResponse) GetBody ¶
func (r LinkCustomExperimentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LinkCustomExperimentResponse) Status ¶
func (r LinkCustomExperimentResponse) Status() string
Status returns HTTPResponse.Status
func (LinkCustomExperimentResponse) StatusCode ¶
func (r LinkCustomExperimentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListResponseCustomWebhookAO ¶
type ListResponseCustomWebhookAO struct {
Content *[]CustomWebhookAO `json:"content,omitempty"`
}
ListResponseCustomWebhookAO defines model for ListResponseCustomWebhookAO.
type ListResponseLandscapeViewAO ¶
type ListResponseLandscapeViewAO struct {
Content *[]LandscapeViewAO `json:"content,omitempty"`
}
ListResponseLandscapeViewAO defines model for ListResponseLandscapeViewAO.
type ListResponsePreflightActionIntegrationAO ¶
type ListResponsePreflightActionIntegrationAO struct {
Content *[]PreflightActionIntegrationAO `json:"content,omitempty"`
}
ListResponsePreflightActionIntegrationAO defines model for ListResponsePreflightActionIntegrationAO.
type ListResponsePreflightWebhookAO ¶
type ListResponsePreflightWebhookAO struct {
Content *[]PreflightWebhookAO `json:"content,omitempty"`
}
ListResponsePreflightWebhookAO defines model for ListResponsePreflightWebhookAO.
type ListResponseSlackWebhookAO ¶
type ListResponseSlackWebhookAO struct {
Content *[]SlackWebhookAO `json:"content,omitempty"`
}
ListResponseSlackWebhookAO defines model for ListResponseSlackWebhookAO.
type LivenessResponse ¶
type LivenessResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *map[string]interface{}
}
func ParseLivenessResponse ¶
func ParseLivenessResponse(rsp *http.Response) (*LivenessResponse, error)
ParseLivenessResponse parses an HTTP response from a LivenessWithResponse call
func (LivenessResponse) ContentType ¶
func (r LivenessResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivenessResponse) GetBody ¶
func (r LivenessResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivenessResponse) GetJSON200 ¶
func (r LivenessResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivenessResponse) GetYAML200 ¶
func (r LivenessResponse) GetYAML200() *map[string]interface{}
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (LivenessResponse) Status ¶
func (r LivenessResponse) Status() string
Status returns HTTPResponse.Status
func (LivenessResponse) StatusCode ¶
func (r LivenessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MemberAO ¶
type MemberAO struct {
Email *string `json:"email,omitempty"`
// ManagedBy How a team or team membership is managed
//
// Example: MANUAL
ManagedBy *MemberAOManagedBy `json:"managedBy,omitempty"`
// Name Name of the user
//
// Example: Jane Doe
Name *string `json:"name,omitempty"`
PictureUrl *string `json:"pictureUrl,omitempty"`
// Role Role of the team member
//
// Example: OWNER
Role MemberAORole `json:"role"`
// Username Username of the user, internal identifier of Steadybit
//
// Example: 13av2737-b318-4048-a79d-4789d645bc31
Username string `json:"username"`
}
MemberAO Member of a team.
Example: {"email":"aa@bb.com","name":"Max Mustermann","role":"OWNER","username":"13av2737-b318-4048-a79d-4789d645bc31"}
type MemberAOManagedBy ¶
type MemberAOManagedBy string
MemberAOManagedBy How a team or team membership is managed
Example: MANUAL
const ( MemberAOManagedByLDAP MemberAOManagedBy = "LDAP" MemberAOManagedByMANUAL MemberAOManagedBy = "MANUAL" MemberAOManagedByOIDC MemberAOManagedBy = "OIDC" )
Defines values for MemberAOManagedBy.
func (MemberAOManagedBy) Valid ¶
func (e MemberAOManagedBy) Valid() bool
Valid indicates whether the value is a known member of the MemberAOManagedBy enum.
type MemberAORole ¶
type MemberAORole string
MemberAORole Role of the team member
Example: OWNER
const ( MemberAORoleMEMBER MemberAORole = "MEMBER" MemberAORoleOWNER MemberAORole = "OWNER" )
Defines values for MemberAORole.
func (MemberAORole) Valid ¶
func (e MemberAORole) Valid() bool
Valid indicates whether the value is a known member of the MemberAORole enum.
type MemberUpdateAO ¶
type MemberUpdateAO struct {
// Email E-mail of the user, unique within Steadybit
//
// Example: example@example.com
Email *string `json:"email,omitempty"`
// Role Role of the team member
//
// Example: OWNER
Role MemberUpdateAORole `json:"role"`
// Username Username of the user, internal identifier of Steadybit
//
// Example: 13av2737-b318-4048-a79d-4789d645bc31
Username *string `json:"username,omitempty"`
}
MemberUpdateAO Add a Member to a Team by providing the username or the email.
Example: {"members":[{"email":"example@example.com","role":"MEMBER","username":"example"}]}
type MemberUpdateAORole ¶
type MemberUpdateAORole string
MemberUpdateAORole Role of the team member
Example: OWNER
const ( MemberUpdateAORoleMEMBER MemberUpdateAORole = "MEMBER" MemberUpdateAORoleOWNER MemberUpdateAORole = "OWNER" )
Defines values for MemberUpdateAORole.
func (MemberUpdateAORole) Valid ¶
func (e MemberUpdateAORole) Valid() bool
Valid indicates whether the value is a known member of the MemberUpdateAORole enum.
type MergeServiceVariablesJSONBody ¶
type MergeServiceVariablesJSONBody map[string]VariableExpressionAO
MergeServiceVariablesJSONBody defines parameters for MergeServiceVariables.
type MergeServiceVariablesJSONRequestBody ¶
type MergeServiceVariablesJSONRequestBody MergeServiceVariablesJSONBody
MergeServiceVariablesJSONRequestBody defines body for MergeServiceVariables for application/json ContentType.
type MergeServiceVariablesResponse ¶
func ParseMergeServiceVariablesResponse ¶
func ParseMergeServiceVariablesResponse(rsp *http.Response) (*MergeServiceVariablesResponse, error)
ParseMergeServiceVariablesResponse parses an HTTP response from a MergeServiceVariablesWithResponse call
func (MergeServiceVariablesResponse) ContentType ¶
func (r MergeServiceVariablesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MergeServiceVariablesResponse) GetBody ¶
func (r MergeServiceVariablesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MergeServiceVariablesResponse) Status ¶
func (r MergeServiceVariablesResponse) Status() string
Status returns HTTPResponse.Status
func (MergeServiceVariablesResponse) StatusCode ¶
func (r MergeServiceVariablesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MetricCheckAO ¶
type MetricCheckAO struct {
A MetricValueAO `json:"a"`
B *MetricCheckAO_B `json:"b,omitempty"`
Condition MetricCheckAOCondition `json:"condition"`
Id openapi_types.UUID `json:"id"`
}
MetricCheckAO Optional metric checks used to define success or failure of this step
type MetricCheckAOCondition ¶
type MetricCheckAOCondition string
MetricCheckAOCondition defines model for MetricCheckAO.Condition.
const ( DATASERIESPRESENCE MetricCheckAOCondition = "DATA_SERIES_PRESENCE" EQ MetricCheckAOCondition = "EQ" GT MetricCheckAOCondition = "GT" GTE MetricCheckAOCondition = "GTE" LT MetricCheckAOCondition = "LT" LTE MetricCheckAOCondition = "LTE" NEQ MetricCheckAOCondition = "NEQ" )
Defines values for MetricCheckAOCondition.
func (MetricCheckAOCondition) Valid ¶
func (e MetricCheckAOCondition) Valid() bool
Valid indicates whether the value is a known member of the MetricCheckAOCondition enum.
type MetricCheckAO_B ¶
type MetricCheckAO_B struct {
// contains filtered or unexported fields
}
MetricCheckAO_B defines model for MetricCheckAO.B.
func (MetricCheckAO_B) AsMetricValueAO ¶
func (t MetricCheckAO_B) AsMetricValueAO() (MetricValueAO, error)
AsMetricValueAO returns the union data inside the MetricCheckAO_B as a MetricValueAO
func (MetricCheckAO_B) AsScalarValueAO ¶
func (t MetricCheckAO_B) AsScalarValueAO() (ScalarValueAO, error)
AsScalarValueAO returns the union data inside the MetricCheckAO_B as a ScalarValueAO
func (MetricCheckAO_B) AsVariableValueAO ¶
func (t MetricCheckAO_B) AsVariableValueAO() (VariableValueAO, error)
AsVariableValueAO returns the union data inside the MetricCheckAO_B as a VariableValueAO
func (*MetricCheckAO_B) FromMetricValueAO ¶
func (t *MetricCheckAO_B) FromMetricValueAO(v MetricValueAO) error
FromMetricValueAO overwrites any union data inside the MetricCheckAO_B as the provided MetricValueAO
func (*MetricCheckAO_B) FromScalarValueAO ¶
func (t *MetricCheckAO_B) FromScalarValueAO(v ScalarValueAO) error
FromScalarValueAO overwrites any union data inside the MetricCheckAO_B as the provided ScalarValueAO
func (*MetricCheckAO_B) FromVariableValueAO ¶
func (t *MetricCheckAO_B) FromVariableValueAO(v VariableValueAO) error
FromVariableValueAO overwrites any union data inside the MetricCheckAO_B as the provided VariableValueAO
func (MetricCheckAO_B) MarshalJSON ¶
func (t MetricCheckAO_B) MarshalJSON() ([]byte, error)
func (*MetricCheckAO_B) MergeMetricValueAO ¶
func (t *MetricCheckAO_B) MergeMetricValueAO(v MetricValueAO) error
MergeMetricValueAO performs a merge with any union data inside the MetricCheckAO_B, using the provided MetricValueAO
func (*MetricCheckAO_B) MergeScalarValueAO ¶
func (t *MetricCheckAO_B) MergeScalarValueAO(v ScalarValueAO) error
MergeScalarValueAO performs a merge with any union data inside the MetricCheckAO_B, using the provided ScalarValueAO
func (*MetricCheckAO_B) MergeVariableValueAO ¶
func (t *MetricCheckAO_B) MergeVariableValueAO(v VariableValueAO) error
MergeVariableValueAO performs a merge with any union data inside the MetricCheckAO_B, using the provided VariableValueAO
func (*MetricCheckAO_B) UnmarshalJSON ¶
func (t *MetricCheckAO_B) UnmarshalJSON(b []byte) error
type MetricQueryAO ¶
type MetricQueryAO struct {
Id openapi_types.UUID `json:"id"`
Label string `json:"label"`
Parameters map[string]interface{} `json:"parameters"`
}
MetricQueryAO Optional metric queries used of this step to filter e.g. monitoring data
type MetricValueAO ¶
type MetricValueAO struct {
Metric *map[string]string `json:"metric,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
}
MetricValueAO defines model for MetricValueAO.
type NegationTargetPredicateAO ¶
type NegationTargetPredicateAO struct {
// Not Query defining the overall superset of targets being effected
//
// Example: [{"key":"container.host/name","operator":"EQUALS","values":["docker-desktop/minikube"]}]
Not *TargetPredicateAO `json:"not,omitempty"`
// contains filtered or unexported fields
}
NegationTargetPredicateAO defines model for NegationTargetPredicateAO.
func (NegationTargetPredicateAO) AsNegationTargetPredicateAO ¶
func (t NegationTargetPredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
AsNegationTargetPredicateAO returns the union data inside the NegationTargetPredicateAO as a NegationTargetPredicateAO
func (NegationTargetPredicateAO) AsQueryLanguagePredicateAO ¶
func (t NegationTargetPredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
AsQueryLanguagePredicateAO returns the union data inside the NegationTargetPredicateAO as a QueryLanguagePredicateAO
func (NegationTargetPredicateAO) AsTargetAgentIdPredicateAO ¶
func (t NegationTargetPredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
AsTargetAgentIdPredicateAO returns the union data inside the NegationTargetPredicateAO as a TargetAgentIdPredicateAO
func (NegationTargetPredicateAO) AsTargetAttributeKeyCountPredicateAO ¶
func (t NegationTargetPredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
AsTargetAttributeKeyCountPredicateAO returns the union data inside the NegationTargetPredicateAO as a TargetAttributeKeyCountPredicateAO
func (NegationTargetPredicateAO) AsTargetAttributeKeyPredicateAO ¶
func (t NegationTargetPredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
AsTargetAttributeKeyPredicateAO returns the union data inside the NegationTargetPredicateAO as a TargetAttributeKeyPredicateAO
func (NegationTargetPredicateAO) AsTargetAttributeKeyPresencePredicateAO ¶
func (t NegationTargetPredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
AsTargetAttributeKeyPresencePredicateAO returns the union data inside the NegationTargetPredicateAO as a TargetAttributeKeyPresencePredicateAO
func (NegationTargetPredicateAO) AsTargetAttributeKeyValuePredicateAO ¶
func (t NegationTargetPredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
AsTargetAttributeKeyValuePredicateAO returns the union data inside the NegationTargetPredicateAO as a TargetAttributeKeyValuePredicateAO
func (NegationTargetPredicateAO) AsTargetNamePredicateAO ¶
func (t NegationTargetPredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
AsTargetNamePredicateAO returns the union data inside the NegationTargetPredicateAO as a TargetNamePredicateAO
func (NegationTargetPredicateAO) AsTargetTypePredicateAO ¶
func (t NegationTargetPredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
AsTargetTypePredicateAO returns the union data inside the NegationTargetPredicateAO as a TargetTypePredicateAO
func (*NegationTargetPredicateAO) FromNegationTargetPredicateAO ¶
func (t *NegationTargetPredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
FromNegationTargetPredicateAO overwrites any union data inside the NegationTargetPredicateAO as the provided NegationTargetPredicateAO
func (*NegationTargetPredicateAO) FromQueryLanguagePredicateAO ¶
func (t *NegationTargetPredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
FromQueryLanguagePredicateAO overwrites any union data inside the NegationTargetPredicateAO as the provided QueryLanguagePredicateAO
func (*NegationTargetPredicateAO) FromTargetAgentIdPredicateAO ¶
func (t *NegationTargetPredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
FromTargetAgentIdPredicateAO overwrites any union data inside the NegationTargetPredicateAO as the provided TargetAgentIdPredicateAO
func (*NegationTargetPredicateAO) FromTargetAttributeKeyCountPredicateAO ¶
func (t *NegationTargetPredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
FromTargetAttributeKeyCountPredicateAO overwrites any union data inside the NegationTargetPredicateAO as the provided TargetAttributeKeyCountPredicateAO
func (*NegationTargetPredicateAO) FromTargetAttributeKeyPredicateAO ¶
func (t *NegationTargetPredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
FromTargetAttributeKeyPredicateAO overwrites any union data inside the NegationTargetPredicateAO as the provided TargetAttributeKeyPredicateAO
func (*NegationTargetPredicateAO) FromTargetAttributeKeyPresencePredicateAO ¶
func (t *NegationTargetPredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
FromTargetAttributeKeyPresencePredicateAO overwrites any union data inside the NegationTargetPredicateAO as the provided TargetAttributeKeyPresencePredicateAO
func (*NegationTargetPredicateAO) FromTargetAttributeKeyValuePredicateAO ¶
func (t *NegationTargetPredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
FromTargetAttributeKeyValuePredicateAO overwrites any union data inside the NegationTargetPredicateAO as the provided TargetAttributeKeyValuePredicateAO
func (*NegationTargetPredicateAO) FromTargetNamePredicateAO ¶
func (t *NegationTargetPredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
FromTargetNamePredicateAO overwrites any union data inside the NegationTargetPredicateAO as the provided TargetNamePredicateAO
func (*NegationTargetPredicateAO) FromTargetTypePredicateAO ¶
func (t *NegationTargetPredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
FromTargetTypePredicateAO overwrites any union data inside the NegationTargetPredicateAO as the provided TargetTypePredicateAO
func (NegationTargetPredicateAO) MarshalJSON ¶
func (t NegationTargetPredicateAO) MarshalJSON() ([]byte, error)
func (*NegationTargetPredicateAO) MergeNegationTargetPredicateAO ¶
func (t *NegationTargetPredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
MergeNegationTargetPredicateAO performs a merge with any union data inside the NegationTargetPredicateAO, using the provided NegationTargetPredicateAO
func (*NegationTargetPredicateAO) MergeQueryLanguagePredicateAO ¶
func (t *NegationTargetPredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
MergeQueryLanguagePredicateAO performs a merge with any union data inside the NegationTargetPredicateAO, using the provided QueryLanguagePredicateAO
func (*NegationTargetPredicateAO) MergeTargetAgentIdPredicateAO ¶
func (t *NegationTargetPredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
MergeTargetAgentIdPredicateAO performs a merge with any union data inside the NegationTargetPredicateAO, using the provided TargetAgentIdPredicateAO
func (*NegationTargetPredicateAO) MergeTargetAttributeKeyCountPredicateAO ¶
func (t *NegationTargetPredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
MergeTargetAttributeKeyCountPredicateAO performs a merge with any union data inside the NegationTargetPredicateAO, using the provided TargetAttributeKeyCountPredicateAO
func (*NegationTargetPredicateAO) MergeTargetAttributeKeyPredicateAO ¶
func (t *NegationTargetPredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
MergeTargetAttributeKeyPredicateAO performs a merge with any union data inside the NegationTargetPredicateAO, using the provided TargetAttributeKeyPredicateAO
func (*NegationTargetPredicateAO) MergeTargetAttributeKeyPresencePredicateAO ¶
func (t *NegationTargetPredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
MergeTargetAttributeKeyPresencePredicateAO performs a merge with any union data inside the NegationTargetPredicateAO, using the provided TargetAttributeKeyPresencePredicateAO
func (*NegationTargetPredicateAO) MergeTargetAttributeKeyValuePredicateAO ¶
func (t *NegationTargetPredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
MergeTargetAttributeKeyValuePredicateAO performs a merge with any union data inside the NegationTargetPredicateAO, using the provided TargetAttributeKeyValuePredicateAO
func (*NegationTargetPredicateAO) MergeTargetNamePredicateAO ¶
func (t *NegationTargetPredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
MergeTargetNamePredicateAO performs a merge with any union data inside the NegationTargetPredicateAO, using the provided TargetNamePredicateAO
func (*NegationTargetPredicateAO) MergeTargetTypePredicateAO ¶
func (t *NegationTargetPredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
MergeTargetTypePredicateAO performs a merge with any union data inside the NegationTargetPredicateAO, using the provided TargetTypePredicateAO
func (*NegationTargetPredicateAO) UnmarshalJSON ¶
func (t *NegationTargetPredicateAO) UnmarshalJSON(b []byte) error
type OptionAO ¶
type OptionAO struct {
Attribute *string `json:"attribute,omitempty"`
Label *string `json:"label,omitempty"`
Value *string `json:"value,omitempty"`
}
OptionAO defines model for OptionAO.
type PageRequestAO ¶
type PageRequestAO struct {
Page *int32 `json:"page,omitempty"`
Size *int32 `json:"size,omitempty"`
}
PageRequestAO defines model for PageRequestAO.
type PagedResponseAOAccessTokensPageItemAO ¶
type PagedResponseAOAccessTokensPageItemAO struct {
Items *[]AccessTokensPageItemAO `json:"items,omitempty"`
// NextPage Next page to query for next page of runs or null if there are none.
//
// Example: 4
NextPage *int32 `json:"nextPage,omitempty"`
// TotalItems Total amount of runs matching your query
//
// Example: 241
TotalItems *int64 `json:"totalItems,omitempty"`
}
PagedResponseAOAccessTokensPageItemAO defines model for PagedResponseAOAccessTokensPageItemAO.
type PagedResponseAOAccessTokensPageItemV2AO ¶
type PagedResponseAOAccessTokensPageItemV2AO struct {
Items *[]AccessTokensPageItemV2AO `json:"items,omitempty"`
// NextPage Next page to query for next page of runs or null if there are none.
//
// Example: 4
NextPage *int32 `json:"nextPage,omitempty"`
// TotalItems Total amount of runs matching your query
//
// Example: 241
TotalItems *int64 `json:"totalItems,omitempty"`
}
PagedResponseAOAccessTokensPageItemV2AO defines model for PagedResponseAOAccessTokensPageItemV2AO.
type PagedResponseAOExperimentExecutionPageItemAO ¶
type PagedResponseAOExperimentExecutionPageItemAO struct {
Items *[]ExperimentExecutionPageItemAO `json:"items,omitempty"`
// NextPage Next page to query for next page of runs or null if there are none.
//
// Example: 4
NextPage *int32 `json:"nextPage,omitempty"`
// TotalItems Total amount of runs matching your query
//
// Example: 241
TotalItems *int64 `json:"totalItems,omitempty"`
}
PagedResponseAOExperimentExecutionPageItemAO defines model for PagedResponseAOExperimentExecutionPageItemAO.
type PagedResponseAOPropertyAssociationAO ¶
type PagedResponseAOPropertyAssociationAO struct {
Items *[]PropertyAssociationAO `json:"items,omitempty"`
// NextPage Next page to query for next page of runs or null if there are none.
//
// Example: 4
NextPage *int32 `json:"nextPage,omitempty"`
// TotalItems Total amount of runs matching your query
//
// Example: 241
TotalItems *int64 `json:"totalItems,omitempty"`
}
PagedResponseAOPropertyAssociationAO defines model for PagedResponseAOPropertyAssociationAO.
type PagedResponseAOPropertyDefinitionAO ¶
type PagedResponseAOPropertyDefinitionAO struct {
Items *[]PropertyDefinitionAO `json:"items,omitempty"`
// NextPage Next page to query for next page of runs or null if there are none.
//
// Example: 4
NextPage *int32 `json:"nextPage,omitempty"`
// TotalItems Total amount of runs matching your query
//
// Example: 241
TotalItems *int64 `json:"totalItems,omitempty"`
}
PagedResponseAOPropertyDefinitionAO defines model for PagedResponseAOPropertyDefinitionAO.
type PagedResponseAOServiceExperimentAO ¶
type PagedResponseAOServiceExperimentAO struct {
Items *[]ServiceExperimentAO `json:"items,omitempty"`
// NextPage Next page to query for next page of runs or null if there are none.
//
// Example: 4
NextPage *int32 `json:"nextPage,omitempty"`
// TotalItems Total amount of runs matching your query
//
// Example: 241
TotalItems *int64 `json:"totalItems,omitempty"`
}
PagedResponseAOServiceExperimentAO defines model for PagedResponseAOServiceExperimentAO.
type PagedResponseAOServiceProfileAO ¶
type PagedResponseAOServiceProfileAO struct {
Items *[]ServiceProfileAO `json:"items,omitempty"`
// NextPage Next page to query for next page of runs or null if there are none.
//
// Example: 4
NextPage *int32 `json:"nextPage,omitempty"`
// TotalItems Total amount of runs matching your query
//
// Example: 241
TotalItems *int64 `json:"totalItems,omitempty"`
}
PagedResponseAOServiceProfileAO defines model for PagedResponseAOServiceProfileAO.
type PagedResponseAOServiceSummaryAO ¶
type PagedResponseAOServiceSummaryAO struct {
Items *[]ServiceSummaryAO `json:"items,omitempty"`
// NextPage Next page to query for next page of runs or null if there are none.
//
// Example: 4
NextPage *int32 `json:"nextPage,omitempty"`
// TotalItems Total amount of runs matching your query
//
// Example: 241
TotalItems *int64 `json:"totalItems,omitempty"`
}
PagedResponseAOServiceSummaryAO defines model for PagedResponseAOServiceSummaryAO.
type PagedResponseAOString ¶
type PagedResponseAOString struct {
Items *[]string `json:"items,omitempty"`
// NextPage Next page to query for next page of runs or null if there are none.
//
// Example: 4
NextPage *int32 `json:"nextPage,omitempty"`
// TotalItems Total amount of runs matching your query
//
// Example: 241
TotalItems *int64 `json:"totalItems,omitempty"`
}
PagedResponseAOString defines model for PagedResponseAOString.
type ParameterAO ¶
type ParameterAO struct {
AcceptedFileTypes *[]string `json:"acceptedFileTypes,omitempty"`
Advanced *bool `json:"advanced,omitempty"`
DefaultValue *string `json:"defaultValue,omitempty"`
Deprecated *bool `json:"deprecated,omitempty"`
DeprecationMessage *string `json:"deprecationMessage,omitempty"`
Description *string `json:"description,omitempty"`
DurationUnits *[]string `json:"durationUnits,omitempty"`
// Hint An informational or warning hint displayed to the user.
Hint *HintAO `json:"hint,omitempty"`
Label string `json:"label"`
Max *int32 `json:"max,omitempty"`
Min *int32 `json:"min,omitempty"`
Name string `json:"name"`
Options *[]OptionAO `json:"options,omitempty"`
OptionsOnly *bool `json:"optionsOnly,omitempty"`
Order *int32 `json:"order,omitempty"`
Required *bool `json:"required,omitempty"`
Type string `json:"type"`
}
ParameterAO Parameters that describe how to fetch metrics for this action.
type PatchExperimentScheduleAO ¶
type PatchExperimentScheduleAO struct {
// AllowParallel Should the experiment run if another experiment is running?
//
// Example: true
AllowParallel *bool `json:"allowParallel,omitempty"`
// Cron Cron expression for the experiment schedule. If provided, startAt will be cleared.
//
// Example: 0 15 10 ? * *
Cron *string `json:"cron,omitempty"`
// Enabled If `false`, the schedule is deactivated and no experiment will be executed.
//
// Example: false
Enabled *bool `json:"enabled,omitempty"`
// StartAt Start date for a single execution. If provided, cron will be cleared.
StartAt *time.Time `json:"startAt,omitempty"`
// Timezone Optional timezone for a experiment schedule. Can only be used with `cron`.
//
// Example: Europe/Berlin
Timezone *string `json:"timezone,omitempty"`
// Variables Variables that will be used when the experiment will be executed. The variables will override existing environment or experiment variables. Each value is either a constant string, an array of constant strings, or a select expression object.
//
// Example: {"httpEndpoint":"http://dev.shop.products.internal"}
Variables *map[string]VariableExpressionAO `json:"variables,omitempty"`
}
PatchExperimentScheduleAO A partial update for an experiment schedule. Only non-null fields will be updated.
Example: {"enabled":false}
type PatchScheduleJSONRequestBody ¶
type PatchScheduleJSONRequestBody = PatchExperimentScheduleAO
PatchScheduleJSONRequestBody defines body for PatchSchedule for application/json ContentType.
type PatchScheduleResponse ¶
type PatchScheduleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExperimentScheduleAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ExperimentScheduleAO
}
func ParsePatchScheduleResponse ¶
func ParsePatchScheduleResponse(rsp *http.Response) (*PatchScheduleResponse, error)
ParsePatchScheduleResponse parses an HTTP response from a PatchScheduleWithResponse call
func (PatchScheduleResponse) ContentType ¶
func (r PatchScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PatchScheduleResponse) GetBody ¶
func (r PatchScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PatchScheduleResponse) GetJSON200 ¶
func (r PatchScheduleResponse) GetJSON200() *ExperimentScheduleAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PatchScheduleResponse) GetYAML200 ¶
func (r PatchScheduleResponse) GetYAML200() *ExperimentScheduleAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (PatchScheduleResponse) Status ¶
func (r PatchScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (PatchScheduleResponse) StatusCode ¶
func (r PatchScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PreflightActionAO ¶
type PreflightActionAO struct {
// Description The description of the preflight action
//
// Example: Check if a execution of a specific experiment in a environment is permitted.
Description *string `json:"description,omitempty"`
// Id The unique identifier of the preflight action
//
// Example: com.steadybit.extension_preflight.preflightaction.check-configuration
Id string `json:"id"`
// Name The name of the preflight action
//
// Example: Check configuration
Name string `json:"name"`
// TargetAttributeIncludes The list of target attributes that are included in the preflight action
//
// Example: ["k8s.cluster-name","k8s.namespace"]
TargetAttributeIncludes *[]string `json:"targetAttributeIncludes,omitempty"`
// Version The version of the preflight action
//
// Example: 0.1.0
Version string `json:"version"`
}
PreflightActionAO A pageable list of pieces of preflight actions.
Example: {
id: "com.steadybit.extension_preflight.preflightaction.check-configuration",
version: "0.1.0",
description: "Check if a execution of a specific experiment in a environment is permitted.",
targetAttributeIncludes: [
"k8s.cluster-name",
"k8s.namespace"
]
}
type PreflightActionIntegrationAO ¶
type PreflightActionIntegrationAO struct {
// Id The id of the webhook
//
// Example: ac456d58-8fb2-4df4-86d8-ca81d7562739
Id openapi_types.UUID `json:"id"`
InflightInterval *string `json:"inflightInterval,omitempty"`
InflightTimeout *string `json:"inflightTimeout,omitempty"`
// Name The name of the preflightActionIntegration
//
// Example: Preflight PreflightActionIntegration
Name string `json:"name"`
// PreflightActionId The preflight action id which is used to identify the preflight action
//
// Example: com.example.preflightaction.MyPreflightAction
PreflightActionId string `json:"preflightActionId"`
// Scope The scope of the preflight action integration
//
// Example: TEAM
Scope PreflightActionIntegrationAOScope `json:"scope"`
// Team The key of the team if the scope is `TEAM`
//
// Example: ADM
Team *string `json:"team,omitempty"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version int32 `json:"version"`
}
PreflightActionIntegrationAO Example: {"id":"ac456d58-8fb2-4df4-86d8-ca81d7562739","inflightInterval":"10s","inflightTimeout":"5s","name":"Example Preflight Action Integration","preflightActionId":"com.example.preflightaction.MyPreflightAction","scope":"TEAM","team":"ADM","version":1}
type PreflightActionIntegrationAOScope ¶
type PreflightActionIntegrationAOScope string
PreflightActionIntegrationAOScope The scope of the preflight action integration
Example: TEAM
const ( PreflightActionIntegrationAOScopeGLOBAL PreflightActionIntegrationAOScope = "GLOBAL" PreflightActionIntegrationAOScopeTEAM PreflightActionIntegrationAOScope = "TEAM" )
Defines values for PreflightActionIntegrationAOScope.
func (PreflightActionIntegrationAOScope) Valid ¶
func (e PreflightActionIntegrationAOScope) Valid() bool
Valid indicates whether the value is a known member of the PreflightActionIntegrationAOScope enum.
type PreflightActionIntegrationUpsertAO ¶
type PreflightActionIntegrationUpsertAO struct {
// Id The id of the webhook or null if a new webhook should be created.
//
// Example: ac456d58-8fb2-4df4-86d8-ca81d7562739
Id *openapi_types.UUID `json:"id,omitempty"`
InflightInterval *string `json:"inflightInterval,omitempty"`
InflightTimeout *string `json:"inflightTimeout,omitempty"`
// Name The name of the preflightActionIntegration
//
// Example: Preflight PreflightActionIntegration
Name string `json:"name"`
// PreflightActionId The preflight action id which is used to identify the preflight action
//
// Example: com.example.preflightaction.MyPreflightAction
PreflightActionId string `json:"preflightActionId"`
// Scope The scope of the preflight action integration
//
// Example: TEAM
Scope PreflightActionIntegrationUpsertAOScope `json:"scope"`
// Team The key of the team if the scope is `TEAM`
//
// Example: ADM
Team *string `json:"team,omitempty"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
PreflightActionIntegrationUpsertAO Example: {"id":"ac456d58-8fb2-4df4-86d8-ca81d7562739","inflightInterval":"10s","inflightTimeout":"5s","name":"Example Preflight Action Integration","preflightActionId":"com.example.preflightaction.MyPreflightAction","scope":"TEAM","team":"ADM","version":1}
type PreflightActionIntegrationUpsertAOScope ¶
type PreflightActionIntegrationUpsertAOScope string
PreflightActionIntegrationUpsertAOScope The scope of the preflight action integration
Example: TEAM
const ( PreflightActionIntegrationUpsertAOScopeGLOBAL PreflightActionIntegrationUpsertAOScope = "GLOBAL" PreflightActionIntegrationUpsertAOScopeTEAM PreflightActionIntegrationUpsertAOScope = "TEAM" )
Defines values for PreflightActionIntegrationUpsertAOScope.
func (PreflightActionIntegrationUpsertAOScope) Valid ¶
func (e PreflightActionIntegrationUpsertAOScope) Valid() bool
Valid indicates whether the value is a known member of the PreflightActionIntegrationUpsertAOScope enum.
type PreflightActionSummaryAO ¶
type PreflightActionSummaryAO struct {
Items *[]PreflightActionAO `json:"items,omitempty"`
// NextOffset Next queryable offset to query for next batch of preflight actions
//
// Example: 21
NextOffset *int32 `json:"nextOffset,omitempty"`
// TotalItems Total amount of preflight actions
//
// Example: 241
TotalItems *int64 `json:"totalItems,omitempty"`
}
PreflightActionSummaryAO A pageable list of pieces of perflight actions.
Example: {"items":[],"nextOffset":3,"totalItems":108}
type PreflightWebhookAO ¶
type PreflightWebhookAO struct {
// Events The events that you want to intercept. Currently only `experiment.execution.preflight` is supported.
//
//
// Example: ["experiment.execution.preflight"]
Events []string `json:"events"`
// Headers Additional headers to include in the webhook request.
//
// Example: {"X-Another-Header":"AnotherValue","X-Custom-Header":"CustomValue"}
Headers *map[string]string `json:"headers,omitempty"`
// Id The id of the webhook
//
// Example: ac456d58-8fb2-4df4-86d8-ca81d7562739
Id openapi_types.UUID `json:"id"`
// Name The name of the webhook
//
// Example: Preflight Webhook
Name string `json:"name"`
// Scope The scope of the webhook / integration
//
// Example: TEAM
Scope PreflightWebhookAOScope `json:"scope"`
// Secret If a secret is provided a signature of the body is computed using `HMAC SHA-256` and sent as `X-SB-Signature` http header. You can use this header to verify the message.
//
// Example: secret123!!
Secret *string `json:"secret,omitempty"`
// TargetAttributeIncludes The body size can get very large as we include all target attributes for each target of your experiments. When having experiments with many targets, it might be useful to filter the attributes to only include the ones you are interested in. You can use the wildcard character '*' to match all attributes or a comma-separated-list of attribute-names. If the field is empty, no attributes will be included.
//
// Example: ["k8s.cluster-name","k8s.deployment"]
TargetAttributeIncludes []string `json:"targetAttributeIncludes"`
// Team The key of the team if the scope is `TEAM`
//
// Example: ADM
Team *string `json:"team,omitempty"`
// Url The URL of the webhook
//
// Example: https://example.com/webhook
Url string `json:"url"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version int32 `json:"version"`
}
PreflightWebhookAO defines model for PreflightWebhookAO.
type PreflightWebhookAOScope ¶
type PreflightWebhookAOScope string
PreflightWebhookAOScope The scope of the webhook / integration
Example: TEAM
const ( PreflightWebhookAOScopeGLOBAL PreflightWebhookAOScope = "GLOBAL" PreflightWebhookAOScopeTEAM PreflightWebhookAOScope = "TEAM" )
Defines values for PreflightWebhookAOScope.
func (PreflightWebhookAOScope) Valid ¶
func (e PreflightWebhookAOScope) Valid() bool
Valid indicates whether the value is a known member of the PreflightWebhookAOScope enum.
type PreflightWebhookUpsertAO ¶
type PreflightWebhookUpsertAO struct {
// Events The events that you want to intercept. Currently only `experiment.execution.preflight` is supported.
//
//
// Example: ["experiment.execution.preflight"]
Events []string `json:"events"`
// Headers Additional headers to include in the webhook request.
//
// Example: {"X-Another-Header":"AnotherValue","X-Custom-Header":"CustomValue"}
Headers *map[string]string `json:"headers,omitempty"`
// Id The id of the webhook or null if a new webhook should be created.
//
// Example: ac456d58-8fb2-4df4-86d8-ca81d7562739
Id *openapi_types.UUID `json:"id,omitempty"`
// Name The name of the webhook
//
// Example: Preflight Webhook
Name string `json:"name"`
// Scope The scope of the webhook / integration
//
// Example: TEAM
Scope PreflightWebhookUpsertAOScope `json:"scope"`
// Secret If a secret is provided a signature of the body is computed using `HMAC SHA-256` and sent as `X-SB-Signature` http header. You can use this header to verify the message.
//
// Example: secret123!!
Secret *string `json:"secret,omitempty"`
// TargetAttributeIncludes The body size can get very large as we include all target attributes for each target of your experiments. When having experiments with many targets, it might be useful to filter the attributes to only include the ones you are interested in. You can use the wildcard character '*' to match all attributes or a comma-separated-list of attribute-names. If the field is empty, no attributes will be included.
//
// Example: ["k8s.cluster-name","k8s.deployment"]
TargetAttributeIncludes []string `json:"targetAttributeIncludes"`
// Team The key of the team if the scope is `TEAM`
//
// Example: ADM
Team *string `json:"team,omitempty"`
// Url The URL of the webhook
//
// Example: https://example.com/webhook
Url string `json:"url"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
PreflightWebhookUpsertAO defines model for PreflightWebhookUpsertAO.
type PreflightWebhookUpsertAOScope ¶
type PreflightWebhookUpsertAOScope string
PreflightWebhookUpsertAOScope The scope of the webhook / integration
Example: TEAM
const ( PreflightWebhookUpsertAOScopeGLOBAL PreflightWebhookUpsertAOScope = "GLOBAL" PreflightWebhookUpsertAOScopeTEAM PreflightWebhookUpsertAOScope = "TEAM" )
Defines values for PreflightWebhookUpsertAOScope.
func (PreflightWebhookUpsertAOScope) Valid ¶
func (e PreflightWebhookUpsertAOScope) Valid() bool
Valid indicates whether the value is a known member of the PreflightWebhookUpsertAOScope enum.
type PrincipalAL ¶
type PrincipalAL struct {
// PrincipalType The principal type that has performed the logged event
//
// Example: USER
PrincipalType PrincipalALPrincipalType `json:"principalType"`
// contains filtered or unexported fields
}
PrincipalAL The principal that has performed the logged event
Example: {"email":"example@example.com","name":"Jane Doe","principalType":"USER","role":"ADMIN","username":"1ava2afg-xju33-4c6a-9451-2854584c15be"}
func (PrincipalAL) AsAccessTokenPrincipalAL ¶
func (t PrincipalAL) AsAccessTokenPrincipalAL() (AccessTokenPrincipalAL, error)
AsAccessTokenPrincipalAL returns the union data inside the PrincipalAL as a AccessTokenPrincipalAL
func (PrincipalAL) AsBatchPrincipalAL ¶
func (t PrincipalAL) AsBatchPrincipalAL() (BatchPrincipalAL, error)
AsBatchPrincipalAL returns the union data inside the PrincipalAL as a BatchPrincipalAL
func (PrincipalAL) AsUserPrincipalAL ¶
func (t PrincipalAL) AsUserPrincipalAL() (UserPrincipalAL, error)
AsUserPrincipalAL returns the union data inside the PrincipalAL as a UserPrincipalAL
func (*PrincipalAL) FromAccessTokenPrincipalAL ¶
func (t *PrincipalAL) FromAccessTokenPrincipalAL(v AccessTokenPrincipalAL) error
FromAccessTokenPrincipalAL overwrites any union data inside the PrincipalAL as the provided AccessTokenPrincipalAL
func (*PrincipalAL) FromBatchPrincipalAL ¶
func (t *PrincipalAL) FromBatchPrincipalAL(v BatchPrincipalAL) error
FromBatchPrincipalAL overwrites any union data inside the PrincipalAL as the provided BatchPrincipalAL
func (*PrincipalAL) FromUserPrincipalAL ¶
func (t *PrincipalAL) FromUserPrincipalAL(v UserPrincipalAL) error
FromUserPrincipalAL overwrites any union data inside the PrincipalAL as the provided UserPrincipalAL
func (PrincipalAL) MarshalJSON ¶
func (t PrincipalAL) MarshalJSON() ([]byte, error)
func (*PrincipalAL) MergeAccessTokenPrincipalAL ¶
func (t *PrincipalAL) MergeAccessTokenPrincipalAL(v AccessTokenPrincipalAL) error
MergeAccessTokenPrincipalAL performs a merge with any union data inside the PrincipalAL, using the provided AccessTokenPrincipalAL
func (*PrincipalAL) MergeBatchPrincipalAL ¶
func (t *PrincipalAL) MergeBatchPrincipalAL(v BatchPrincipalAL) error
MergeBatchPrincipalAL performs a merge with any union data inside the PrincipalAL, using the provided BatchPrincipalAL
func (*PrincipalAL) MergeUserPrincipalAL ¶
func (t *PrincipalAL) MergeUserPrincipalAL(v UserPrincipalAL) error
MergeUserPrincipalAL performs a merge with any union data inside the PrincipalAL, using the provided UserPrincipalAL
func (*PrincipalAL) UnmarshalJSON ¶
func (t *PrincipalAL) UnmarshalJSON(b []byte) error
type PrincipalALPrincipalType ¶
type PrincipalALPrincipalType string
PrincipalALPrincipalType The principal type that has performed the logged event
Example: USER
const ( PrincipalALPrincipalTypeACCESSTOKEN PrincipalALPrincipalType = "ACCESS_TOKEN" PrincipalALPrincipalTypeBATCHJOB PrincipalALPrincipalType = "BATCH_JOB" PrincipalALPrincipalTypeUSER PrincipalALPrincipalType = "USER" )
Defines values for PrincipalALPrincipalType.
func (PrincipalALPrincipalType) Valid ¶
func (e PrincipalALPrincipalType) Valid() bool
Valid indicates whether the value is a known member of the PrincipalALPrincipalType enum.
type PropertyAssociationAO ¶
type PropertyAssociationAO struct {
// AssociationType Always defined to either `EXPERIMENT` for experiment design or run related associations or `SERVICE` for service-associations. Only for the former, an `experimentKey` can be defined and only for the latter, a `serviceId` can be defined
//
// Example: EXPERIMENT
AssociationType *PropertyAssociationAOAssociationType `json:"associationType,omitempty"`
// EditableInExecution Is the property editable in the execution view. Only used when `associationType` is set to `EXPERIMENT`.
//
// Example: true
EditableInExecution *bool `json:"editableInExecution,omitempty"`
// ExperimentKey The key of the associated experiment. When `associationType` is set to `EXPERIMENT` and `experimentKey` is `null`, it is associated to ALL experiment designs. Can't be changed during updates.
//
// Example: EXP-1
ExperimentKey *string `json:"experimentKey,omitempty"`
// Id Id of the Property-Association.
Id openapi_types.UUID `json:"id"`
// Key The key of the property definition
//
// Example: RESULT_COLOR
Key string `json:"key"`
// Required Is the value required?
//
// Example: true
Required *bool `json:"required,omitempty"`
// ServiceId The serviceId of the associated service. When `associationType` is set to `SERVICE` and `serviceId` is `null`, it is associated to ALL services. Can't be changed during updates.
//
// Example: 3308b47d-5c1f-4f08-a25b-a18fc10f8a56
ServiceId *openapi_types.UUID `json:"serviceId,omitempty"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version int32 `json:"version"`
}
PropertyAssociationAO A property association.
Example: {"editableInExecution":true,"id":"2v1av42-e525-4c00-a13a-1ac32d170724","key":"RESULT_COLOR","required":true,"version":1}
type PropertyAssociationAOAssociationType ¶
type PropertyAssociationAOAssociationType string
PropertyAssociationAOAssociationType Always defined to either `EXPERIMENT` for experiment design or run related associations or `SERVICE` for service-associations. Only for the former, an `experimentKey` can be defined and only for the latter, a `serviceId` can be defined
Example: EXPERIMENT
const ( PropertyAssociationAOAssociationTypeEXPERIMENT PropertyAssociationAOAssociationType = "EXPERIMENT" PropertyAssociationAOAssociationTypeSERVICE PropertyAssociationAOAssociationType = "SERVICE" )
Defines values for PropertyAssociationAOAssociationType.
func (PropertyAssociationAOAssociationType) Valid ¶
func (e PropertyAssociationAOAssociationType) Valid() bool
Valid indicates whether the value is a known member of the PropertyAssociationAOAssociationType enum.
type PropertyDefinitionAO ¶
type PropertyDefinitionAO struct {
// DataType The data type of the property
//
// Example: STRING
DataType PropertyDefinitionAODataType `json:"dataType"`
// Description The text describing the property.
//
// Example: How would you describe the result of your experiment, thinking in beautiful colors?
Description *string `json:"description,omitempty"`
// EnumValues Valid values if the dataType `ENUM` is used
//
// Example: ["RED","GREEN","BLUE"]
EnumValues *[]string `json:"enumValues,omitempty"`
// Key The unique key of the property definition
//
// Example: RESULT_COLOR
Key string `json:"key"`
// Label The label shown in the ui for this property
//
// Example: Result color
Label string `json:"label"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version int32 `json:"version"`
}
PropertyDefinitionAO Definition of a property definition that can be associated.
Example: {"dataType":"ENUM","description":"How would you describe the result of your experiment, thinking in beautiful colors?","enumValues":["RED","GREEN","BLUE"],"key":"RESULT_COLOR","label":"Result Color","version":1}
type PropertyDefinitionAODataType ¶
type PropertyDefinitionAODataType string
PropertyDefinitionAODataType The data type of the property
Example: STRING
const ( PropertyDefinitionAODataTypeBOOLEAN PropertyDefinitionAODataType = "BOOLEAN" PropertyDefinitionAODataTypeDATE PropertyDefinitionAODataType = "DATE" PropertyDefinitionAODataTypeENUM PropertyDefinitionAODataType = "ENUM" PropertyDefinitionAODataTypeENUMLIST PropertyDefinitionAODataType = "ENUM_LIST" PropertyDefinitionAODataTypeLINK PropertyDefinitionAODataType = "LINK" PropertyDefinitionAODataTypeLINKLIST PropertyDefinitionAODataType = "LINK_LIST" PropertyDefinitionAODataTypeMARKDOWN PropertyDefinitionAODataType = "MARKDOWN" PropertyDefinitionAODataTypeNUMBER PropertyDefinitionAODataType = "NUMBER" PropertyDefinitionAODataTypeNUMBERLIST PropertyDefinitionAODataType = "NUMBER_LIST" PropertyDefinitionAODataTypeSTRING PropertyDefinitionAODataType = "STRING" PropertyDefinitionAODataTypeSTRINGLIST PropertyDefinitionAODataType = "STRING_LIST" )
Defines values for PropertyDefinitionAODataType.
func (PropertyDefinitionAODataType) Valid ¶
func (e PropertyDefinitionAODataType) Valid() bool
Valid indicates whether the value is a known member of the PropertyDefinitionAODataType enum.
type PropertyMetadataAO ¶
type PropertyMetadataAO struct {
EditableInExecution *bool `json:"editableInExecution,omitempty"`
Key string `json:"key"`
Required *bool `json:"required,omitempty"`
}
PropertyMetadataAO Insert or update the experiment template in Steadybit. The `id` will be used to identify whether the template already exists and should be updated or newly inserted.
Example: {"editableInExecution":false,"key":"EXAMPLE_CUSTOM_PROPERTY","required":true}
type QueryLanguagePredicateAO ¶
type QueryLanguagePredicateAO struct {
Query string `json:"query"`
// contains filtered or unexported fields
}
QueryLanguagePredicateAO defines model for QueryLanguagePredicateAO.
func (QueryLanguagePredicateAO) AsNegationTargetPredicateAO ¶
func (t QueryLanguagePredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
AsNegationTargetPredicateAO returns the union data inside the QueryLanguagePredicateAO as a NegationTargetPredicateAO
func (QueryLanguagePredicateAO) AsQueryLanguagePredicateAO ¶
func (t QueryLanguagePredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
AsQueryLanguagePredicateAO returns the union data inside the QueryLanguagePredicateAO as a QueryLanguagePredicateAO
func (QueryLanguagePredicateAO) AsTargetAgentIdPredicateAO ¶
func (t QueryLanguagePredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
AsTargetAgentIdPredicateAO returns the union data inside the QueryLanguagePredicateAO as a TargetAgentIdPredicateAO
func (QueryLanguagePredicateAO) AsTargetAttributeKeyCountPredicateAO ¶
func (t QueryLanguagePredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
AsTargetAttributeKeyCountPredicateAO returns the union data inside the QueryLanguagePredicateAO as a TargetAttributeKeyCountPredicateAO
func (QueryLanguagePredicateAO) AsTargetAttributeKeyPredicateAO ¶
func (t QueryLanguagePredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
AsTargetAttributeKeyPredicateAO returns the union data inside the QueryLanguagePredicateAO as a TargetAttributeKeyPredicateAO
func (QueryLanguagePredicateAO) AsTargetAttributeKeyPresencePredicateAO ¶
func (t QueryLanguagePredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
AsTargetAttributeKeyPresencePredicateAO returns the union data inside the QueryLanguagePredicateAO as a TargetAttributeKeyPresencePredicateAO
func (QueryLanguagePredicateAO) AsTargetAttributeKeyValuePredicateAO ¶
func (t QueryLanguagePredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
AsTargetAttributeKeyValuePredicateAO returns the union data inside the QueryLanguagePredicateAO as a TargetAttributeKeyValuePredicateAO
func (QueryLanguagePredicateAO) AsTargetNamePredicateAO ¶
func (t QueryLanguagePredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
AsTargetNamePredicateAO returns the union data inside the QueryLanguagePredicateAO as a TargetNamePredicateAO
func (QueryLanguagePredicateAO) AsTargetTypePredicateAO ¶
func (t QueryLanguagePredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
AsTargetTypePredicateAO returns the union data inside the QueryLanguagePredicateAO as a TargetTypePredicateAO
func (*QueryLanguagePredicateAO) FromNegationTargetPredicateAO ¶
func (t *QueryLanguagePredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
FromNegationTargetPredicateAO overwrites any union data inside the QueryLanguagePredicateAO as the provided NegationTargetPredicateAO
func (*QueryLanguagePredicateAO) FromQueryLanguagePredicateAO ¶
func (t *QueryLanguagePredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
FromQueryLanguagePredicateAO overwrites any union data inside the QueryLanguagePredicateAO as the provided QueryLanguagePredicateAO
func (*QueryLanguagePredicateAO) FromTargetAgentIdPredicateAO ¶
func (t *QueryLanguagePredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
FromTargetAgentIdPredicateAO overwrites any union data inside the QueryLanguagePredicateAO as the provided TargetAgentIdPredicateAO
func (*QueryLanguagePredicateAO) FromTargetAttributeKeyCountPredicateAO ¶
func (t *QueryLanguagePredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
FromTargetAttributeKeyCountPredicateAO overwrites any union data inside the QueryLanguagePredicateAO as the provided TargetAttributeKeyCountPredicateAO
func (*QueryLanguagePredicateAO) FromTargetAttributeKeyPredicateAO ¶
func (t *QueryLanguagePredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
FromTargetAttributeKeyPredicateAO overwrites any union data inside the QueryLanguagePredicateAO as the provided TargetAttributeKeyPredicateAO
func (*QueryLanguagePredicateAO) FromTargetAttributeKeyPresencePredicateAO ¶
func (t *QueryLanguagePredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
FromTargetAttributeKeyPresencePredicateAO overwrites any union data inside the QueryLanguagePredicateAO as the provided TargetAttributeKeyPresencePredicateAO
func (*QueryLanguagePredicateAO) FromTargetAttributeKeyValuePredicateAO ¶
func (t *QueryLanguagePredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
FromTargetAttributeKeyValuePredicateAO overwrites any union data inside the QueryLanguagePredicateAO as the provided TargetAttributeKeyValuePredicateAO
func (*QueryLanguagePredicateAO) FromTargetNamePredicateAO ¶
func (t *QueryLanguagePredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
FromTargetNamePredicateAO overwrites any union data inside the QueryLanguagePredicateAO as the provided TargetNamePredicateAO
func (*QueryLanguagePredicateAO) FromTargetTypePredicateAO ¶
func (t *QueryLanguagePredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
FromTargetTypePredicateAO overwrites any union data inside the QueryLanguagePredicateAO as the provided TargetTypePredicateAO
func (QueryLanguagePredicateAO) MarshalJSON ¶
func (t QueryLanguagePredicateAO) MarshalJSON() ([]byte, error)
func (*QueryLanguagePredicateAO) MergeNegationTargetPredicateAO ¶
func (t *QueryLanguagePredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
MergeNegationTargetPredicateAO performs a merge with any union data inside the QueryLanguagePredicateAO, using the provided NegationTargetPredicateAO
func (*QueryLanguagePredicateAO) MergeQueryLanguagePredicateAO ¶
func (t *QueryLanguagePredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
MergeQueryLanguagePredicateAO performs a merge with any union data inside the QueryLanguagePredicateAO, using the provided QueryLanguagePredicateAO
func (*QueryLanguagePredicateAO) MergeTargetAgentIdPredicateAO ¶
func (t *QueryLanguagePredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
MergeTargetAgentIdPredicateAO performs a merge with any union data inside the QueryLanguagePredicateAO, using the provided TargetAgentIdPredicateAO
func (*QueryLanguagePredicateAO) MergeTargetAttributeKeyCountPredicateAO ¶
func (t *QueryLanguagePredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
MergeTargetAttributeKeyCountPredicateAO performs a merge with any union data inside the QueryLanguagePredicateAO, using the provided TargetAttributeKeyCountPredicateAO
func (*QueryLanguagePredicateAO) MergeTargetAttributeKeyPredicateAO ¶
func (t *QueryLanguagePredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
MergeTargetAttributeKeyPredicateAO performs a merge with any union data inside the QueryLanguagePredicateAO, using the provided TargetAttributeKeyPredicateAO
func (*QueryLanguagePredicateAO) MergeTargetAttributeKeyPresencePredicateAO ¶
func (t *QueryLanguagePredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
MergeTargetAttributeKeyPresencePredicateAO performs a merge with any union data inside the QueryLanguagePredicateAO, using the provided TargetAttributeKeyPresencePredicateAO
func (*QueryLanguagePredicateAO) MergeTargetAttributeKeyValuePredicateAO ¶
func (t *QueryLanguagePredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
MergeTargetAttributeKeyValuePredicateAO performs a merge with any union data inside the QueryLanguagePredicateAO, using the provided TargetAttributeKeyValuePredicateAO
func (*QueryLanguagePredicateAO) MergeTargetNamePredicateAO ¶
func (t *QueryLanguagePredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
MergeTargetNamePredicateAO performs a merge with any union data inside the QueryLanguagePredicateAO, using the provided TargetNamePredicateAO
func (*QueryLanguagePredicateAO) MergeTargetTypePredicateAO ¶
func (t *QueryLanguagePredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
MergeTargetTypePredicateAO performs a merge with any union data inside the QueryLanguagePredicateAO, using the provided TargetTypePredicateAO
func (*QueryLanguagePredicateAO) UnmarshalJSON ¶
func (t *QueryLanguagePredicateAO) UnmarshalJSON(b []byte) error
type ReadinessResponse ¶
type ReadinessResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *map[string]interface{}
}
func ParseReadinessResponse ¶
func ParseReadinessResponse(rsp *http.Response) (*ReadinessResponse, error)
ParseReadinessResponse parses an HTTP response from a ReadinessWithResponse call
func (ReadinessResponse) ContentType ¶
func (r ReadinessResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReadinessResponse) GetBody ¶
func (r ReadinessResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ReadinessResponse) GetJSON200 ¶
func (r ReadinessResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ReadinessResponse) GetYAML200 ¶
func (r ReadinessResponse) GetYAML200() *map[string]interface{}
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (ReadinessResponse) Status ¶
func (r ReadinessResponse) Status() string
Status returns HTTPResponse.Status
func (ReadinessResponse) StatusCode ¶
func (r ReadinessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RecreateAccessTokenJSONRequestBody ¶
type RecreateAccessTokenJSONRequestBody = RecreateAccessTokenRequestV2AO
RecreateAccessTokenJSONRequestBody defines body for RecreateAccessToken for application/json ContentType.
type RecreateAccessTokenRequestV2AO ¶
type RecreateAccessTokenRequestV2AO struct {
// ExpiresAt New expiration date for the recreated token.
//
// Example: 2027-01-01T00:00:00Z
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
}
RecreateAccessTokenRequestV2AO defines model for RecreateAccessTokenRequestV2AO.
type RecreateAccessTokenResponse ¶
type RecreateAccessTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CreateAccessTokenResponseV2AO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *CreateAccessTokenResponseV2AO
}
func ParseRecreateAccessTokenResponse ¶
func ParseRecreateAccessTokenResponse(rsp *http.Response) (*RecreateAccessTokenResponse, error)
ParseRecreateAccessTokenResponse parses an HTTP response from a RecreateAccessTokenWithResponse call
func (RecreateAccessTokenResponse) ContentType ¶
func (r RecreateAccessTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RecreateAccessTokenResponse) GetBody ¶
func (r RecreateAccessTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RecreateAccessTokenResponse) GetJSON200 ¶
func (r RecreateAccessTokenResponse) GetJSON200() *CreateAccessTokenResponseV2AO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RecreateAccessTokenResponse) GetYAML200 ¶
func (r RecreateAccessTokenResponse) GetYAML200() *CreateAccessTokenResponseV2AO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (RecreateAccessTokenResponse) Status ¶
func (r RecreateAccessTokenResponse) Status() string
Status returns HTTPResponse.Status
func (RecreateAccessTokenResponse) StatusCode ¶
func (r RecreateAccessTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveExperimentScheduleByIdResponse ¶
func ParseRemoveExperimentScheduleByIdResponse ¶
func ParseRemoveExperimentScheduleByIdResponse(rsp *http.Response) (*RemoveExperimentScheduleByIdResponse, error)
ParseRemoveExperimentScheduleByIdResponse parses an HTTP response from a RemoveExperimentScheduleByIdWithResponse call
func (RemoveExperimentScheduleByIdResponse) ContentType ¶
func (r RemoveExperimentScheduleByIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveExperimentScheduleByIdResponse) GetBody ¶
func (r RemoveExperimentScheduleByIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveExperimentScheduleByIdResponse) Status ¶
func (r RemoveExperimentScheduleByIdResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveExperimentScheduleByIdResponse) StatusCode ¶
func (r RemoveExperimentScheduleByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveTeamEnvironmentsJSONRequestBody ¶
type RemoveTeamEnvironmentsJSONRequestBody = TeamEnvironmentsUpdateAO
RemoveTeamEnvironmentsJSONRequestBody defines body for RemoveTeamEnvironments for application/json ContentType.
type RemoveTeamEnvironmentsResponse ¶
type RemoveTeamEnvironmentsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TeamEnvironmentsAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TeamEnvironmentsAO
}
func ParseRemoveTeamEnvironmentsResponse ¶
func ParseRemoveTeamEnvironmentsResponse(rsp *http.Response) (*RemoveTeamEnvironmentsResponse, error)
ParseRemoveTeamEnvironmentsResponse parses an HTTP response from a RemoveTeamEnvironmentsWithResponse call
func (RemoveTeamEnvironmentsResponse) ContentType ¶
func (r RemoveTeamEnvironmentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveTeamEnvironmentsResponse) GetBody ¶
func (r RemoveTeamEnvironmentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveTeamEnvironmentsResponse) GetJSON200 ¶
func (r RemoveTeamEnvironmentsResponse) GetJSON200() *TeamEnvironmentsAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RemoveTeamEnvironmentsResponse) GetYAML200 ¶
func (r RemoveTeamEnvironmentsResponse) GetYAML200() *TeamEnvironmentsAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (RemoveTeamEnvironmentsResponse) Status ¶
func (r RemoveTeamEnvironmentsResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveTeamEnvironmentsResponse) StatusCode ¶
func (r RemoveTeamEnvironmentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveTeamMembersJSONRequestBody ¶
type RemoveTeamMembersJSONRequestBody = TeamMembersRemoveAO
RemoveTeamMembersJSONRequestBody defines body for RemoveTeamMembers for application/json ContentType.
type RemoveTeamMembersResponse ¶
type RemoveTeamMembersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TeamMembersAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TeamMembersAO
}
func ParseRemoveTeamMembersResponse ¶
func ParseRemoveTeamMembersResponse(rsp *http.Response) (*RemoveTeamMembersResponse, error)
ParseRemoveTeamMembersResponse parses an HTTP response from a RemoveTeamMembersWithResponse call
func (RemoveTeamMembersResponse) ContentType ¶
func (r RemoveTeamMembersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveTeamMembersResponse) GetBody ¶
func (r RemoveTeamMembersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveTeamMembersResponse) GetJSON200 ¶
func (r RemoveTeamMembersResponse) GetJSON200() *TeamMembersAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RemoveTeamMembersResponse) GetYAML200 ¶
func (r RemoveTeamMembersResponse) GetYAML200() *TeamMembersAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (RemoveTeamMembersResponse) Status ¶
func (r RemoveTeamMembersResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveTeamMembersResponse) StatusCode ¶
func (r RemoveTeamMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReportFilterAO ¶
type ReportFilterAO struct {
// From Start date of the report range (inclusive).
//
// Example: 2026-01-01
From openapi_types.Date `json:"from"`
// Rollup The time bucket granularity for report aggregation.
//
// Example: MONTHLY
Rollup *ReportFilterAORollup `json:"rollup,omitempty"`
// To End date of the report range (inclusive).
//
// Example: 2026-03-01
To openapi_types.Date `json:"to"`
}
ReportFilterAO Filter for time-series report data.
type ReportFilterAORollup ¶
type ReportFilterAORollup string
ReportFilterAORollup The time bucket granularity for report aggregation.
Example: MONTHLY
const ( ReportFilterAORollupDAILY ReportFilterAORollup = "DAILY" ReportFilterAORollupMONTHLY ReportFilterAORollup = "MONTHLY" )
Defines values for ReportFilterAORollup.
func (ReportFilterAORollup) Valid ¶
func (e ReportFilterAORollup) Valid() bool
Valid indicates whether the value is a known member of the ReportFilterAORollup enum.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResyncHubResponse ¶
type ResyncHubResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HubAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *HubAO
}
func ParseResyncHubResponse ¶
func ParseResyncHubResponse(rsp *http.Response) (*ResyncHubResponse, error)
ParseResyncHubResponse parses an HTTP response from a ResyncHubWithResponse call
func (ResyncHubResponse) ContentType ¶
func (r ResyncHubResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResyncHubResponse) GetBody ¶
func (r ResyncHubResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResyncHubResponse) GetJSON200 ¶
func (r ResyncHubResponse) GetJSON200() *HubAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ResyncHubResponse) GetYAML200 ¶
func (r ResyncHubResponse) GetYAML200() *HubAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (ResyncHubResponse) Status ¶
func (r ResyncHubResponse) Status() string
Status returns HTTPResponse.Status
func (ResyncHubResponse) StatusCode ¶
func (r ResyncHubResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SaveAndRunFromTemplateJSONRequestBody ¶
type SaveAndRunFromTemplateJSONRequestBody = CreateAndRunExperimentFromTemplateAO
SaveAndRunFromTemplateJSONRequestBody defines body for SaveAndRunFromTemplate for application/json ContentType.
type SaveAndRunFromTemplateParams ¶
type SaveAndRunFromTemplateParams struct {
// ResetProperties If `true`, all properties will be reset to properties specified in the template either with their fixed values in the template or via template placeholder. If `false`, existing properties will stay untouched, only new properties will be added. Only relevant for experiment updates via `externalId`.
ResetProperties *bool `form:"resetProperties,omitempty" json:"resetProperties,omitempty"`
// AllowParallel Should this experiment also be executed when there is already another experiment running?
AllowParallel *bool `form:"allowParallel,omitempty" json:"allowParallel,omitempty"`
// ForcePersist Optional parameter to always store runs on any failure. If false, won´t be stored on validation errors (default behaviour).
ForcePersist *bool `form:"forcePersist,omitempty" json:"forcePersist,omitempty"`
}
SaveAndRunFromTemplateParams defines parameters for SaveAndRunFromTemplate.
type SaveAndRunFromTemplateResponse ¶
type SaveAndRunFromTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExecuteExperimentResponseAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ExecuteExperimentResponseAO
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ExecuteExperimentResponseAO
// YAML422 the response for an HTTP 422 `application/yaml` response
YAML422 *ExecuteExperimentResponseAO
}
func ParseSaveAndRunFromTemplateResponse ¶
func ParseSaveAndRunFromTemplateResponse(rsp *http.Response) (*SaveAndRunFromTemplateResponse, error)
ParseSaveAndRunFromTemplateResponse parses an HTTP response from a SaveAndRunFromTemplateWithResponse call
func (SaveAndRunFromTemplateResponse) ContentType ¶
func (r SaveAndRunFromTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SaveAndRunFromTemplateResponse) GetBody ¶
func (r SaveAndRunFromTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SaveAndRunFromTemplateResponse) GetJSON200 ¶
func (r SaveAndRunFromTemplateResponse) GetJSON200() *ExecuteExperimentResponseAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SaveAndRunFromTemplateResponse) GetJSON422 ¶
func (r SaveAndRunFromTemplateResponse) GetJSON422() *ExecuteExperimentResponseAO
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (SaveAndRunFromTemplateResponse) GetYAML200 ¶
func (r SaveAndRunFromTemplateResponse) GetYAML200() *ExecuteExperimentResponseAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (SaveAndRunFromTemplateResponse) GetYAML422 ¶
func (r SaveAndRunFromTemplateResponse) GetYAML422() *ExecuteExperimentResponseAO
GetYAML422 returns the response for an HTTP 422 `application/yaml` response
func (SaveAndRunFromTemplateResponse) Status ¶
func (r SaveAndRunFromTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (SaveAndRunFromTemplateResponse) StatusCode ¶
func (r SaveAndRunFromTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SaveAndRunJSONRequestBody ¶
type SaveAndRunJSONRequestBody = CreateAndRunExperimentAO
SaveAndRunJSONRequestBody defines body for SaveAndRun for application/json ContentType.
type SaveAndRunParams ¶
type SaveAndRunParams struct {
// AllowParallel Should this experiment also be executed when there is already at least one experiment running?
AllowParallel *bool `form:"allowParallel,omitempty" json:"allowParallel,omitempty"`
// ForcePersist Optional parameter to always store runs on any failure. If false, won´t be stored on validation errors (default behaviour).
ForcePersist *bool `form:"forcePersist,omitempty" json:"forcePersist,omitempty"`
}
SaveAndRunParams defines parameters for SaveAndRun.
type SaveAndRunResponse ¶
type SaveAndRunResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExecuteExperimentResponseAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ExecuteExperimentResponseAO
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ExecuteExperimentResponseAO
// YAML422 the response for an HTTP 422 `application/yaml` response
YAML422 *ExecuteExperimentResponseAO
}
func ParseSaveAndRunResponse ¶
func ParseSaveAndRunResponse(rsp *http.Response) (*SaveAndRunResponse, error)
ParseSaveAndRunResponse parses an HTTP response from a SaveAndRunWithResponse call
func (SaveAndRunResponse) ContentType ¶
func (r SaveAndRunResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SaveAndRunResponse) GetBody ¶
func (r SaveAndRunResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SaveAndRunResponse) GetJSON200 ¶
func (r SaveAndRunResponse) GetJSON200() *ExecuteExperimentResponseAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SaveAndRunResponse) GetJSON422 ¶
func (r SaveAndRunResponse) GetJSON422() *ExecuteExperimentResponseAO
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (SaveAndRunResponse) GetYAML200 ¶
func (r SaveAndRunResponse) GetYAML200() *ExecuteExperimentResponseAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (SaveAndRunResponse) GetYAML422 ¶
func (r SaveAndRunResponse) GetYAML422() *ExecuteExperimentResponseAO
GetYAML422 returns the response for an HTTP 422 `application/yaml` response
func (SaveAndRunResponse) Status ¶
func (r SaveAndRunResponse) Status() string
Status returns HTTPResponse.Status
func (SaveAndRunResponse) StatusCode ¶
func (r SaveAndRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScalarValueAO ¶
type ScalarValueAO struct {
Type *string `json:"type,omitempty"`
Value *float64 `json:"value,omitempty"`
}
ScalarValueAO defines model for ScalarValueAO.
type SelectExpressionAO ¶
type SelectExpressionAO struct {
Attribute string `json:"attribute"`
Count *int32 `json:"count,omitempty"`
Filter *string `json:"filter,omitempty"`
Mode SelectExpressionAOMode `json:"mode"`
Percent *int32 `json:"percent,omitempty"`
// Scope Evaluation scope of a dynamic value, **required for service variables** and rejected for all other variables (environment, experiment, schedule, execution overrides). `service` samples from the service's own targets (its environment narrowed by the service's target query); `environment` samples from the whole environment the service lives in. There is no default — a service variable must state its scope explicitly.
//
// Example: service
Scope *SelectExpressionAOScope `json:"scope,omitempty"`
TargetType string `json:"targetType"`
Type *string `json:"type,omitempty"`
}
SelectExpressionAO defines model for SelectExpressionAO.
type SelectExpressionAOMode ¶
type SelectExpressionAOMode string
SelectExpressionAOMode defines model for SelectExpressionAO.Mode.
const ( Fixed SelectExpressionAOMode = "fixed" Percent SelectExpressionAOMode = "percent" )
Defines values for SelectExpressionAOMode.
func (SelectExpressionAOMode) Valid ¶
func (e SelectExpressionAOMode) Valid() bool
Valid indicates whether the value is a known member of the SelectExpressionAOMode enum.
type SelectExpressionAOScope ¶
type SelectExpressionAOScope string
SelectExpressionAOScope Evaluation scope of a dynamic value, **required for service variables** and rejected for all other variables (environment, experiment, schedule, execution overrides). `service` samples from the service's own targets (its environment narrowed by the service's target query); `environment` samples from the whole environment the service lives in. There is no default — a service variable must state its scope explicitly.
Example: service
const ( Environment SelectExpressionAOScope = "environment" Service SelectExpressionAOScope = "service" )
Defines values for SelectExpressionAOScope.
func (SelectExpressionAOScope) Valid ¶
func (e SelectExpressionAOScope) Valid() bool
Valid indicates whether the value is a known member of the SelectExpressionAOScope enum.
type ServiceAO ¶
type ServiceAO struct {
// Created Timestamp when the service was created
//
// Example: 2023-01-01T09:00:00Z
Created time.Time `json:"created"`
// CreatedBy The user that canceled the experiment execution, only present if the execution was canceled
//
// Example: {"email":"max@steadybit.com","name":"Max Mustermann","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"}
CreatedBy UserSummaryAO `json:"createdBy"`
// Edited Timestamp when the service was edited the last time
//
// Example: 2023-01-01T09:00:00Z
Edited time.Time `json:"edited"`
// EditedBy The user that canceled the experiment execution, only present if the execution was canceled
//
// Example: {"email":"max@steadybit.com","name":"Max Mustermann","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"}
EditedBy UserSummaryAO `json:"editedBy"`
// Environment The name of the environment to be used
//
// Example: Global
Environment string `json:"environment"`
// Id The unique id of the service
Id *openapi_types.UUID `json:"id,omitempty"`
// LogoColor Color scheme of the logo used to identify the service in the Platform UI
//
// Example: orangeLight
LogoColor string `json:"logoColor"`
// LogoId Identifier of the logo used to identify the service in the Platform UI
//
// Example: service-router
LogoId string `json:"logoId"`
// Name The name of the service
//
// Example: calculator-service
Name string `json:"name"`
// Properties The properties of the service
//
// Example: {"EXAMPLE_CUSTOM_PROPERTY":"I like this service!"}
Properties *map[string]interface{} `json:"properties,omitempty"`
// Query Query-Language predicate, specifies the targets belonging to this Service
//
// Example: aws.account="123" OR aws.account="456"
Query string `json:"query"`
// ServiceProfile Name of the service profile that should be used for this service
//
// Example: Steadybit provided
ServiceProfile string `json:"serviceProfile"`
// Team The key of the team to be used
//
// Example: ADM
Team string `json:"team"`
// Validations List of validations to be executed against the service
Validations []ExperimentStepActionAO `json:"validations"`
// Variables Variables owned by the service. Each value is either a constant string, an array of constant strings, or a select expression object. A select-expression value **must set `scope`** (`service` or `environment`) — the request is rejected otherwise. On `POST /api/services` (upsert): omitting this field leaves existing variables untouched, an empty object removes all of them.
//
// Example: {"httpEndpoint":"http://dev.shop.products.internal","targetServices":["gateway","hot-deals","fashion-bestseller"]}
Variables *map[string]VariableExpressionAO `json:"variables,omitempty"`
// Version Version for optimistic locking
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
ServiceAO Example: {"created":"2023-01-01T09:00:00Z","createdBy":{"name":"Manuel","pictureUrl":"https://.../picture.png","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"},"edited":"2023-01-01T09:00:00Z","editedBy":{"name":"Manuel","pictureUrl":"https://.../picture.png","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"},"environment":"Global","id":"2v1av42-e525-4c00-a13a-1ac32d170724","logoColor":"blue","logoId":"service-router","name":"shopping-service","query":"aws.account=\"123\" OR aws.account=\"456\"","serviceProfile":"Steadybit Starter","team":"ADM","validations":[{"actionType":"com.steadybit.extension_http.check.periodically","parameters":{"method":"GET","url":"https://my-service/health"},"type":"action"}],"variables":{"httpEndpoint":"http://prod.shop.products.internal","targets":{"attribute":"k8s.deployment","count":1,"filter":"k8s.namespace=\"shop\"","mode":"fixed","targetType":"com.steadybit.extension_kubernetes.kubernetes-deployment","type":"select"}},"version":1}
type ServiceExperimentAO ¶
type ServiceExperimentAO struct {
// AssociationType The type of the association
//
// Example: PROVIDED
AssociationType ServiceExperimentAOAssociationType `json:"associationType"`
// Category The category of the experiment.
//
// Example: Scalability
Category string `json:"category"`
// ExperimentKey The key of the experiment. If type is PROVIDED and the experiment has not been created, the experimentKey will be null
//
// Example: EX-754
ExperimentKey *string `json:"experimentKey,omitempty"`
// TemplateId The id of the experiment template if type is PROVIDED and the experiment has not been created.
//
// Example: 6bea7aec-3572-44cf-9151-c6ada57d08ca
TemplateId *openapi_types.UUID `json:"templateId,omitempty"`
}
ServiceExperimentAO defines model for ServiceExperimentAO.
type ServiceExperimentAOAssociationType ¶
type ServiceExperimentAOAssociationType string
ServiceExperimentAOAssociationType The type of the association
Example: PROVIDED
const ( ServiceExperimentAOAssociationTypeCUSTOM ServiceExperimentAOAssociationType = "CUSTOM" ServiceExperimentAOAssociationTypePROVIDED ServiceExperimentAOAssociationType = "PROVIDED" )
Defines values for ServiceExperimentAOAssociationType.
func (ServiceExperimentAOAssociationType) Valid ¶
func (e ServiceExperimentAOAssociationType) Valid() bool
Valid indicates whether the value is a known member of the ServiceExperimentAOAssociationType enum.
type ServiceProfileAO ¶
type ServiceProfileAO struct {
// Created Timestamp when the profile was created
//
// Example: 2023-01-01T09:00:00Z
Created time.Time `json:"created"`
// CreatedBy Username of the user that created the profile
//
// Example: admin@example.com
CreatedBy string `json:"createdBy"`
// DefaultProfile Whether this is the default profile.
//
// Example: true
DefaultProfile bool `json:"defaultProfile"`
// Edited Timestamp when the profile was last edited
//
// Example: 2023-01-01T09:00:00Z
Edited time.Time `json:"edited"`
// EditedBy Username of the user that last edited the profile
//
// Example: admin@example.com
EditedBy string `json:"editedBy"`
// Id The unique id of the profile
Id openapi_types.UUID `json:"id"`
// Name The name of the profile
//
// Example: Default Resilience Tests
Name string `json:"name"`
// Origin Origin of a service profile
//
// Example: CUSTOM
Origin ServiceProfileAOOrigin `json:"origin"`
// Templates Template entries in this profile
Templates []ServiceProfileCategoryAO `json:"templates"`
// Version Version for optimistic locking
//
// Example: 1
Version int32 `json:"version"`
}
ServiceProfileAO A service profile that groups experiment templates by category
type ServiceProfileAOOrigin ¶
type ServiceProfileAOOrigin string
ServiceProfileAOOrigin Origin of a service profile
Example: CUSTOM
const ( ServiceProfileAOOriginCUSTOM ServiceProfileAOOrigin = "CUSTOM" ServiceProfileAOOriginPROVIDED ServiceProfileAOOrigin = "PROVIDED" )
Defines values for ServiceProfileAOOrigin.
func (ServiceProfileAOOrigin) Valid ¶
func (e ServiceProfileAOOrigin) Valid() bool
Valid indicates whether the value is a known member of the ServiceProfileAOOrigin enum.
type ServiceProfileCategoryAO ¶
type ServiceProfileCategoryAO struct {
// Category The category name
//
// Example: Scalability
Category *string `json:"category,omitempty"`
// TemplateIds The template IDs in this category
//
// Example: ["6bea7aec-3572-44cf-9151-c6ada57d08ca","6bea7aec-3572-44cf-9151-c6ada57d08cb"]
TemplateIds *[]openapi_types.UUID `json:"templateIds,omitempty"`
}
ServiceProfileCategoryAO Template entries in this profile
type ServiceRiskAO ¶
type ServiceRiskAO struct {
// CategoryRisks Risk per category
CategoryRisks *map[string]CategoryRiskAO `json:"categoryRisks,omitempty"`
// ExperimentRisks Risk per experiment
ExperimentRisks *[]ExperimentRiskAO `json:"experimentRisks,omitempty"`
// LastCalculated Timestamp of the last risk calculation
LastCalculated *time.Time `json:"lastCalculated,omitempty"`
// Risk The overall risk for the service
Risk *int32 `json:"risk,omitempty"`
}
ServiceRiskAO The risk for a given service.
Example: {"categoryRisks":{"Dependency":{"advice":50,"experiment":50,"total":50},"Redundancy":{"advice":51,"experiment":100,"total":91},"Scalability":{"advice":58,"experiment":100,"total":92}},"experimentRisks":[{"experimentKey":"ADM-8","risk":100},{"experimentKey":"ADM-16","risk":100}],"lastCalculated":"2026-03-31T10:13:38.902372Z","risk":78}
type ServiceRiskReportFilterAO ¶
type ServiceRiskReportFilterAO struct {
// CategoryKeys Restrict results to services whose categoryRisks map contains any of the given category keys.
CategoryKeys *[]string `json:"categoryKeys,omitempty"`
// EnvironmentIds Restrict results to the given environment IDs. If not provided, all environments are included.
EnvironmentIds *[]openapi_types.UUID `json:"environmentIds,omitempty"`
// From Start date of the report range (inclusive).
//
// Example: 2026-01-01
From openapi_types.Date `json:"from"`
// Rollup The time bucket granularity for report aggregation.
//
// Example: MONTHLY
Rollup *ServiceRiskReportFilterAORollup `json:"rollup,omitempty"`
// ServiceIds Restrict results to the given service IDs. If not provided, all services are included.
ServiceIds *[]openapi_types.UUID `json:"serviceIds,omitempty"`
// ServiceProperties Filter on the service's enum/enum-list custom property values. Map of property key and values; values are OR within a key, AND across keys.
ServiceProperties *map[string][]string `json:"serviceProperties,omitempty"`
// TeamIds Restrict results to the given team IDs. If not provided, all teams are included.
TeamIds *[]openapi_types.UUID `json:"teamIds,omitempty"`
// To End date of the report range (inclusive).
//
// Example: 2026-03-01
To openapi_types.Date `json:"to"`
}
ServiceRiskReportFilterAO Filter for service risk report data, optionally scoped to specific teams, environments, and services.
type ServiceRiskReportFilterAORollup ¶
type ServiceRiskReportFilterAORollup string
ServiceRiskReportFilterAORollup The time bucket granularity for report aggregation.
Example: MONTHLY
const ( ServiceRiskReportFilterAORollupDAILY ServiceRiskReportFilterAORollup = "DAILY" ServiceRiskReportFilterAORollupMONTHLY ServiceRiskReportFilterAORollup = "MONTHLY" )
Defines values for ServiceRiskReportFilterAORollup.
func (ServiceRiskReportFilterAORollup) Valid ¶
func (e ServiceRiskReportFilterAORollup) Valid() bool
Valid indicates whether the value is a known member of the ServiceRiskReportFilterAORollup enum.
type ServiceSummaryAO ¶
type ServiceSummaryAO struct {
// Environment The name of the environment to be used
//
// Example: Global
Environment string `json:"environment"`
// Id The unique id of the service
Id *openapi_types.UUID `json:"id,omitempty"`
// LogoColor Color scheme of the logo used to identify the service in the Platform UI
//
// Example: blue
LogoColor *string `json:"logoColor,omitempty"`
// LogoId Identifier of the logo used to identify the service in the Platform UI
//
// Example: 1
LogoId *string `json:"logoId,omitempty"`
// Name The name of the service
//
// Example: calculator-service
Name string `json:"name"`
// Team The key of the team to be used
//
// Example: ADM
Team string `json:"team"`
}
ServiceSummaryAO defines model for ServiceSummaryAO.
type SetEnvironmentVariablesJSONBody ¶
type SetEnvironmentVariablesJSONBody map[string]VariableExpressionAO
SetEnvironmentVariablesJSONBody defines parameters for SetEnvironmentVariables.
type SetEnvironmentVariablesJSONRequestBody ¶
type SetEnvironmentVariablesJSONRequestBody SetEnvironmentVariablesJSONBody
SetEnvironmentVariablesJSONRequestBody defines body for SetEnvironmentVariables for application/json ContentType.
type SetEnvironmentVariablesResponse ¶
func ParseSetEnvironmentVariablesResponse ¶
func ParseSetEnvironmentVariablesResponse(rsp *http.Response) (*SetEnvironmentVariablesResponse, error)
ParseSetEnvironmentVariablesResponse parses an HTTP response from a SetEnvironmentVariablesWithResponse call
func (SetEnvironmentVariablesResponse) ContentType ¶
func (r SetEnvironmentVariablesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetEnvironmentVariablesResponse) GetBody ¶
func (r SetEnvironmentVariablesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetEnvironmentVariablesResponse) Status ¶
func (r SetEnvironmentVariablesResponse) Status() string
Status returns HTTPResponse.Status
func (SetEnvironmentVariablesResponse) StatusCode ¶
func (r SetEnvironmentVariablesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetExecutionPropertyValueJSONBody ¶
type SetExecutionPropertyValueJSONBody = map[string]interface{}
SetExecutionPropertyValueJSONBody defines parameters for SetExecutionPropertyValue.
type SetExecutionPropertyValueJSONRequestBody ¶
type SetExecutionPropertyValueJSONRequestBody = SetExecutionPropertyValueJSONBody
SetExecutionPropertyValueJSONRequestBody defines body for SetExecutionPropertyValue for application/json ContentType.
type SetExecutionPropertyValueResponse ¶
func ParseSetExecutionPropertyValueResponse ¶
func ParseSetExecutionPropertyValueResponse(rsp *http.Response) (*SetExecutionPropertyValueResponse, error)
ParseSetExecutionPropertyValueResponse parses an HTTP response from a SetExecutionPropertyValueWithResponse call
func (SetExecutionPropertyValueResponse) ContentType ¶
func (r SetExecutionPropertyValueResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetExecutionPropertyValueResponse) GetBody ¶
func (r SetExecutionPropertyValueResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetExecutionPropertyValueResponse) Status ¶
func (r SetExecutionPropertyValueResponse) Status() string
Status returns HTTPResponse.Status
func (SetExecutionPropertyValueResponse) StatusCode ¶
func (r SetExecutionPropertyValueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetServiceVariablesJSONBody ¶
type SetServiceVariablesJSONBody map[string]VariableExpressionAO
SetServiceVariablesJSONBody defines parameters for SetServiceVariables.
type SetServiceVariablesJSONRequestBody ¶
type SetServiceVariablesJSONRequestBody SetServiceVariablesJSONBody
SetServiceVariablesJSONRequestBody defines body for SetServiceVariables for application/json ContentType.
type SetServiceVariablesResponse ¶
func ParseSetServiceVariablesResponse ¶
func ParseSetServiceVariablesResponse(rsp *http.Response) (*SetServiceVariablesResponse, error)
ParseSetServiceVariablesResponse parses an HTTP response from a SetServiceVariablesWithResponse call
func (SetServiceVariablesResponse) ContentType ¶
func (r SetServiceVariablesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetServiceVariablesResponse) GetBody ¶
func (r SetServiceVariablesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetServiceVariablesResponse) Status ¶
func (r SetServiceVariablesResponse) Status() string
Status returns HTTPResponse.Status
func (SetServiceVariablesResponse) StatusCode ¶
func (r SetServiceVariablesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetTeamEnvironmentsJSONRequestBody ¶
type SetTeamEnvironmentsJSONRequestBody = TeamEnvironmentsAO
SetTeamEnvironmentsJSONRequestBody defines body for SetTeamEnvironments for application/json ContentType.
type SetTeamEnvironmentsParams ¶
type SetTeamEnvironmentsParams struct {
// ValidateEnvironments By default, Steadybit will skip environments, which are not yet know. If set to true, Steadybit will validate the given environments and show a 422 response.
ValidateEnvironments *bool `form:"validateEnvironments,omitempty" json:"validateEnvironments,omitempty"`
}
SetTeamEnvironmentsParams defines parameters for SetTeamEnvironments.
type SetTeamEnvironmentsResponse ¶
type SetTeamEnvironmentsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TeamEnvironmentsAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TeamEnvironmentsAO
}
func ParseSetTeamEnvironmentsResponse ¶
func ParseSetTeamEnvironmentsResponse(rsp *http.Response) (*SetTeamEnvironmentsResponse, error)
ParseSetTeamEnvironmentsResponse parses an HTTP response from a SetTeamEnvironmentsWithResponse call
func (SetTeamEnvironmentsResponse) ContentType ¶
func (r SetTeamEnvironmentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetTeamEnvironmentsResponse) GetBody ¶
func (r SetTeamEnvironmentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetTeamEnvironmentsResponse) GetJSON200 ¶
func (r SetTeamEnvironmentsResponse) GetJSON200() *TeamEnvironmentsAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetTeamEnvironmentsResponse) GetYAML200 ¶
func (r SetTeamEnvironmentsResponse) GetYAML200() *TeamEnvironmentsAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (SetTeamEnvironmentsResponse) Status ¶
func (r SetTeamEnvironmentsResponse) Status() string
Status returns HTTPResponse.Status
func (SetTeamEnvironmentsResponse) StatusCode ¶
func (r SetTeamEnvironmentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetTeamMembersJSONRequestBody ¶
type SetTeamMembersJSONRequestBody = TeamMembersUpdateAO
SetTeamMembersJSONRequestBody defines body for SetTeamMembers for application/json ContentType.
type SetTeamMembersParams ¶
type SetTeamMembersParams struct {
// ValidateMembers By default, Steadybit will skip members, which are not yet know. If set to true, Steadybit will validate the given members and show a 422 response.
ValidateMembers *bool `form:"validateMembers,omitempty" json:"validateMembers,omitempty"`
}
SetTeamMembersParams defines parameters for SetTeamMembers.
type SetTeamMembersResponse ¶
type SetTeamMembersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TeamMembersAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TeamMembersAO
}
func ParseSetTeamMembersResponse ¶
func ParseSetTeamMembersResponse(rsp *http.Response) (*SetTeamMembersResponse, error)
ParseSetTeamMembersResponse parses an HTTP response from a SetTeamMembersWithResponse call
func (SetTeamMembersResponse) ContentType ¶
func (r SetTeamMembersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetTeamMembersResponse) GetBody ¶
func (r SetTeamMembersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetTeamMembersResponse) GetJSON200 ¶
func (r SetTeamMembersResponse) GetJSON200() *TeamMembersAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetTeamMembersResponse) GetYAML200 ¶
func (r SetTeamMembersResponse) GetYAML200() *TeamMembersAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (SetTeamMembersResponse) Status ¶
func (r SetTeamMembersResponse) Status() string
Status returns HTTPResponse.Status
func (SetTeamMembersResponse) StatusCode ¶
func (r SetTeamMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SlackWebhookAO ¶
type SlackWebhookAO struct {
// Channel The name of the slack channel
//
// Example: #steadybit-notifications
Channel string `json:"channel"`
// Events The events that are being sent or a list containing a single `*` if all supported event types should be used.
//
// Supported Events:
// - "experiment.execution.requested"
// - "experiment.execution.created"
// - "experiment.execution.preflight"
// - "experiment.execution.completed"
// - "experiment.execution.failed"
// - "experiment.execution.errored"
// - "experiment.execution.canceled"
// - "experiment.execution.step-started"
// - "experiment.execution.step-completed"
// - "experiment.execution.step-failed"
// - "experiment.execution.step-errored"
// - "experiment.execution.step-canceled"
// - "experiment.execution.step-skipped"
// - "killswitch.engaged"
// - "killswitch.disengaged"
//
//
// Example: ["experiment.execution.created","experiment.execution.completed"]
Events *[]string `json:"events,omitempty"`
// IconUrl The icon URL of the slack channel, defaults to the Steadybit logo.
//
// Example: https://platform.steadybit.com/assets/logo512.png
IconUrl *string `json:"iconUrl,omitempty"`
// Id The id of the webhook
//
// Example: ac456d58-8fb2-4df4-86d8-ca81d7562739
Id openapi_types.UUID `json:"id"`
// Name The name of the integration
//
// Example: Slack ACME corporation.
Name string `json:"name"`
// Scope The scope of the webhook / integration
//
// Example: TEAM
Scope SlackWebhookAOScope `json:"scope"`
// Team The key of the team if the scope is `TEAM`
//
// Example: ADM
Team *string `json:"team,omitempty"`
// Url The Slack webhook url
//
// Example: https://hooks.slack.com/services/<redacted>
Url string `json:"url"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version int32 `json:"version"`
}
SlackWebhookAO defines model for SlackWebhookAO.
type SlackWebhookAOScope ¶
type SlackWebhookAOScope string
SlackWebhookAOScope The scope of the webhook / integration
Example: TEAM
const ( SlackWebhookAOScopeGLOBAL SlackWebhookAOScope = "GLOBAL" SlackWebhookAOScopeTEAM SlackWebhookAOScope = "TEAM" )
Defines values for SlackWebhookAOScope.
func (SlackWebhookAOScope) Valid ¶
func (e SlackWebhookAOScope) Valid() bool
Valid indicates whether the value is a known member of the SlackWebhookAOScope enum.
type SlackWebhookUpsertAO ¶
type SlackWebhookUpsertAO struct {
// Channel The name of the slack channel
//
// Example: #steadybit-notifications
Channel string `json:"channel"`
// Events The events that are being sent or a list containing a single `*` if all supported event types should be used.
//
// Supported Events:
// - "experiment.execution.requested"
// - "experiment.execution.created"
// - "experiment.execution.preflight"
// - "experiment.execution.completed"
// - "experiment.execution.failed"
// - "experiment.execution.errored"
// - "experiment.execution.canceled"
// - "experiment.execution.step-started"
// - "experiment.execution.step-completed"
// - "experiment.execution.step-failed"
// - "experiment.execution.step-errored"
// - "experiment.execution.step-canceled"
// - "experiment.execution.step-skipped"
// - "killswitch.engaged"
// - "killswitch.disengaged"
//
//
// Example: ["experiment.execution.created","experiment.execution.completed"]
Events *[]string `json:"events,omitempty"`
// IconUrl The icon URL of the slack channel, defaults to the Steadybit logo.
//
// Example: https://platform.steadybit.com/assets/logo512.png
IconUrl *string `json:"iconUrl,omitempty"`
// Id The id of the webhook or null if a new webhook should be created.
//
// Example: ac456d58-8fb2-4df4-86d8-ca81d7562739
Id *openapi_types.UUID `json:"id,omitempty"`
// Name The name of the integration
//
// Example: Slack ACME corporation.
Name string `json:"name"`
// Scope The scope of the webhook / integration
//
// Example: TEAM
Scope SlackWebhookUpsertAOScope `json:"scope"`
// Team The key of the team if the scope is `TEAM`
//
// Example: ADM
Team *string `json:"team,omitempty"`
// Url The Slack webhook url
//
// Example: https://hooks.slack.com/services/<redacted>
Url string `json:"url"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
SlackWebhookUpsertAO defines model for SlackWebhookUpsertAO.
type SlackWebhookUpsertAOScope ¶
type SlackWebhookUpsertAOScope string
SlackWebhookUpsertAOScope The scope of the webhook / integration
Example: TEAM
const ( SlackWebhookUpsertAOScopeGLOBAL SlackWebhookUpsertAOScope = "GLOBAL" SlackWebhookUpsertAOScopeTEAM SlackWebhookUpsertAOScope = "TEAM" )
Defines values for SlackWebhookUpsertAOScope.
func (SlackWebhookUpsertAOScope) Valid ¶
func (e SlackWebhookUpsertAOScope) Valid() bool
Valid indicates whether the value is a known member of the SlackWebhookUpsertAOScope enum.
type TargetAO ¶
type TargetAO struct {
// AgentId The ID of the agent this target belongs to
//
// Example: 019504aa-0f60-781b-862d-9763010d5948
AgentId *string `json:"agentId,omitempty"`
// Attributes The attributes for this target. A key may be associated multiple time to a single target.
//
// Example: [{"key":"container.port","value":"51152:2376"},{"key":"container.engine","value":"docker"}]
Attributes *[]AttributeAO `json:"attributes,omitempty"`
// Name The name of the target
//
// Example: fashion-bestseller
Name *string `json:"name,omitempty"`
// Type The name of the target
//
// Example: com.steadybit.extension_kubernetes.kubernetes-deployment
Type *string `json:"type,omitempty"`
// Version The version of the target, will be increased by every update via the agent.
//
// Example: 0
Version *int64 `json:"version,omitempty"`
}
TargetAO defines model for TargetAO.
type TargetAdviceAO ¶
type TargetAdviceAO struct {
// Advice Summary of a single advice for the referenced target
//
// Example: {"label":"Limit CPU Resources","status":"Validation needed","summary":"You already took action and configured a CPU limit. Validate your configuration via an experiment.","tags":["kubernetes","limit","cpu"],"type":"com.steadybit.extension_kubernetes.advice.k8s-cpu-limit"}
Advice *TargetAdviceAdvicePartAO `json:"advice,omitempty"`
// Target A reference to identify the target for a given advice
//
// Example: {"label":"gateway","reference":"prod-demo/steadybit-demo/gateway","type":"com.steadybit.extension_kubernetes.kubernetes-deployment"}
Target *TargetAdviceTargetPartAO `json:"target,omitempty"`
// Url URL to see all details to this advice for this target
//
// Example: https://platform.steadybit.com/permalink/advice/eyAiZW52...
Url *string `json:"url,omitempty"`
}
TargetAdviceAO A pageable list of pieces of advice.
Example: {"advice":{"label":"Limit CPU Resources","status":"Validation needed","summary":"You already took action and configured a CPU limit. Validate your configuration via an experiment.","tags":["kubernetes","limit","cpu"],"type":"com.steadybit.extension_kubernetes.advice.k8s-cpu-limit"},"target":{"label":"gateway","reference":"prod-demo/steadybit-demo/gateway","type":"com.steadybit.extension_kubernetes.kubernetes-deployment"},"url":"https://platform.steadybit.com/permalink/advice/eyAiZW52..."}
type TargetAdviceAdvicePartAO ¶
type TargetAdviceAdvicePartAO struct {
// Label Human readable label of the advice
//
// Example: Limit CPU Resources
Label *string `json:"label,omitempty"`
// Status Current status of the advice applied to the referenced target. One of 'Action Needed', 'Validation needed', 'Implemented'.
//
// Example: Validation needed
Status *string `json:"status,omitempty"`
// Summary Summary of the advice to describe the current status and next step.
//
// Example: You already took action and configured a CPU limit. Validate your configuration via an experiment
Summary string `json:"summary"`
// Tags Tags associated to the advice definition
//
// Example: ["AWS","Kubernetes"]
Tags *[]string `json:"tags,omitempty"`
// Type Identifier of the advice definition that is applied to the target
//
// Example: com.steadybit.extension_kubernetes.advice.k8s-cpu-limit
Type *string `json:"type,omitempty"`
}
TargetAdviceAdvicePartAO Summary of a single advice for the referenced target
Example: {"label":"Limit CPU Resources","status":"Validation needed","summary":"You already took action and configured a CPU limit. Validate your configuration via an experiment.","tags":["kubernetes","limit","cpu"],"type":"com.steadybit.extension_kubernetes.advice.k8s-cpu-limit"}
type TargetAdviceTargetPartAO ¶
type TargetAdviceTargetPartAO struct {
// Label Human readable identifier to be displayed for the target
//
// Example: gateway
Label string `json:"label"`
// Reference Unique stable identifier of the target for this target type
//
// Example: prod-demo/steadybit-demo/gateway
Reference string `json:"reference"`
// Type Target type of the referenced target
//
// Example: com.steadybit.extension_kubernetes.kubernetes-deployment
Type string `json:"type"`
}
TargetAdviceTargetPartAO A reference to identify the target for a given advice
Example: {"label":"gateway","reference":"prod-demo/steadybit-demo/gateway","type":"com.steadybit.extension_kubernetes.kubernetes-deployment"}
type TargetAgentIdPredicateAO ¶
type TargetAgentIdPredicateAO struct {
AgentId openapi_types.UUID `json:"agentId"`
// contains filtered or unexported fields
}
TargetAgentIdPredicateAO defines model for TargetAgentIdPredicateAO.
func (TargetAgentIdPredicateAO) AsNegationTargetPredicateAO ¶
func (t TargetAgentIdPredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
AsNegationTargetPredicateAO returns the union data inside the TargetAgentIdPredicateAO as a NegationTargetPredicateAO
func (TargetAgentIdPredicateAO) AsQueryLanguagePredicateAO ¶
func (t TargetAgentIdPredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
AsQueryLanguagePredicateAO returns the union data inside the TargetAgentIdPredicateAO as a QueryLanguagePredicateAO
func (TargetAgentIdPredicateAO) AsTargetAgentIdPredicateAO ¶
func (t TargetAgentIdPredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
AsTargetAgentIdPredicateAO returns the union data inside the TargetAgentIdPredicateAO as a TargetAgentIdPredicateAO
func (TargetAgentIdPredicateAO) AsTargetAttributeKeyCountPredicateAO ¶
func (t TargetAgentIdPredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
AsTargetAttributeKeyCountPredicateAO returns the union data inside the TargetAgentIdPredicateAO as a TargetAttributeKeyCountPredicateAO
func (TargetAgentIdPredicateAO) AsTargetAttributeKeyPredicateAO ¶
func (t TargetAgentIdPredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
AsTargetAttributeKeyPredicateAO returns the union data inside the TargetAgentIdPredicateAO as a TargetAttributeKeyPredicateAO
func (TargetAgentIdPredicateAO) AsTargetAttributeKeyPresencePredicateAO ¶
func (t TargetAgentIdPredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
AsTargetAttributeKeyPresencePredicateAO returns the union data inside the TargetAgentIdPredicateAO as a TargetAttributeKeyPresencePredicateAO
func (TargetAgentIdPredicateAO) AsTargetAttributeKeyValuePredicateAO ¶
func (t TargetAgentIdPredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
AsTargetAttributeKeyValuePredicateAO returns the union data inside the TargetAgentIdPredicateAO as a TargetAttributeKeyValuePredicateAO
func (TargetAgentIdPredicateAO) AsTargetNamePredicateAO ¶
func (t TargetAgentIdPredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
AsTargetNamePredicateAO returns the union data inside the TargetAgentIdPredicateAO as a TargetNamePredicateAO
func (TargetAgentIdPredicateAO) AsTargetTypePredicateAO ¶
func (t TargetAgentIdPredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
AsTargetTypePredicateAO returns the union data inside the TargetAgentIdPredicateAO as a TargetTypePredicateAO
func (*TargetAgentIdPredicateAO) FromNegationTargetPredicateAO ¶
func (t *TargetAgentIdPredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
FromNegationTargetPredicateAO overwrites any union data inside the TargetAgentIdPredicateAO as the provided NegationTargetPredicateAO
func (*TargetAgentIdPredicateAO) FromQueryLanguagePredicateAO ¶
func (t *TargetAgentIdPredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
FromQueryLanguagePredicateAO overwrites any union data inside the TargetAgentIdPredicateAO as the provided QueryLanguagePredicateAO
func (*TargetAgentIdPredicateAO) FromTargetAgentIdPredicateAO ¶
func (t *TargetAgentIdPredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
FromTargetAgentIdPredicateAO overwrites any union data inside the TargetAgentIdPredicateAO as the provided TargetAgentIdPredicateAO
func (*TargetAgentIdPredicateAO) FromTargetAttributeKeyCountPredicateAO ¶
func (t *TargetAgentIdPredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
FromTargetAttributeKeyCountPredicateAO overwrites any union data inside the TargetAgentIdPredicateAO as the provided TargetAttributeKeyCountPredicateAO
func (*TargetAgentIdPredicateAO) FromTargetAttributeKeyPredicateAO ¶
func (t *TargetAgentIdPredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
FromTargetAttributeKeyPredicateAO overwrites any union data inside the TargetAgentIdPredicateAO as the provided TargetAttributeKeyPredicateAO
func (*TargetAgentIdPredicateAO) FromTargetAttributeKeyPresencePredicateAO ¶
func (t *TargetAgentIdPredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
FromTargetAttributeKeyPresencePredicateAO overwrites any union data inside the TargetAgentIdPredicateAO as the provided TargetAttributeKeyPresencePredicateAO
func (*TargetAgentIdPredicateAO) FromTargetAttributeKeyValuePredicateAO ¶
func (t *TargetAgentIdPredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
FromTargetAttributeKeyValuePredicateAO overwrites any union data inside the TargetAgentIdPredicateAO as the provided TargetAttributeKeyValuePredicateAO
func (*TargetAgentIdPredicateAO) FromTargetNamePredicateAO ¶
func (t *TargetAgentIdPredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
FromTargetNamePredicateAO overwrites any union data inside the TargetAgentIdPredicateAO as the provided TargetNamePredicateAO
func (*TargetAgentIdPredicateAO) FromTargetTypePredicateAO ¶
func (t *TargetAgentIdPredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
FromTargetTypePredicateAO overwrites any union data inside the TargetAgentIdPredicateAO as the provided TargetTypePredicateAO
func (TargetAgentIdPredicateAO) MarshalJSON ¶
func (t TargetAgentIdPredicateAO) MarshalJSON() ([]byte, error)
func (*TargetAgentIdPredicateAO) MergeNegationTargetPredicateAO ¶
func (t *TargetAgentIdPredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
MergeNegationTargetPredicateAO performs a merge with any union data inside the TargetAgentIdPredicateAO, using the provided NegationTargetPredicateAO
func (*TargetAgentIdPredicateAO) MergeQueryLanguagePredicateAO ¶
func (t *TargetAgentIdPredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
MergeQueryLanguagePredicateAO performs a merge with any union data inside the TargetAgentIdPredicateAO, using the provided QueryLanguagePredicateAO
func (*TargetAgentIdPredicateAO) MergeTargetAgentIdPredicateAO ¶
func (t *TargetAgentIdPredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
MergeTargetAgentIdPredicateAO performs a merge with any union data inside the TargetAgentIdPredicateAO, using the provided TargetAgentIdPredicateAO
func (*TargetAgentIdPredicateAO) MergeTargetAttributeKeyCountPredicateAO ¶
func (t *TargetAgentIdPredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
MergeTargetAttributeKeyCountPredicateAO performs a merge with any union data inside the TargetAgentIdPredicateAO, using the provided TargetAttributeKeyCountPredicateAO
func (*TargetAgentIdPredicateAO) MergeTargetAttributeKeyPredicateAO ¶
func (t *TargetAgentIdPredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
MergeTargetAttributeKeyPredicateAO performs a merge with any union data inside the TargetAgentIdPredicateAO, using the provided TargetAttributeKeyPredicateAO
func (*TargetAgentIdPredicateAO) MergeTargetAttributeKeyPresencePredicateAO ¶
func (t *TargetAgentIdPredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
MergeTargetAttributeKeyPresencePredicateAO performs a merge with any union data inside the TargetAgentIdPredicateAO, using the provided TargetAttributeKeyPresencePredicateAO
func (*TargetAgentIdPredicateAO) MergeTargetAttributeKeyValuePredicateAO ¶
func (t *TargetAgentIdPredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
MergeTargetAttributeKeyValuePredicateAO performs a merge with any union data inside the TargetAgentIdPredicateAO, using the provided TargetAttributeKeyValuePredicateAO
func (*TargetAgentIdPredicateAO) MergeTargetNamePredicateAO ¶
func (t *TargetAgentIdPredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
MergeTargetNamePredicateAO performs a merge with any union data inside the TargetAgentIdPredicateAO, using the provided TargetNamePredicateAO
func (*TargetAgentIdPredicateAO) MergeTargetTypePredicateAO ¶
func (t *TargetAgentIdPredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
MergeTargetTypePredicateAO performs a merge with any union data inside the TargetAgentIdPredicateAO, using the provided TargetTypePredicateAO
func (*TargetAgentIdPredicateAO) UnmarshalJSON ¶
func (t *TargetAgentIdPredicateAO) UnmarshalJSON(b []byte) error
type TargetAttributeKeyCountPredicateAO ¶
type TargetAttributeKeyCountPredicateAO struct {
Key string `json:"key"`
Value string `json:"value"`
ValueCountOperator TargetAttributeKeyCountPredicateAOValueCountOperator `json:"valueCountOperator"`
// contains filtered or unexported fields
}
TargetAttributeKeyCountPredicateAO defines model for TargetAttributeKeyCountPredicateAO.
func (TargetAttributeKeyCountPredicateAO) AsNegationTargetPredicateAO ¶
func (t TargetAttributeKeyCountPredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
AsNegationTargetPredicateAO returns the union data inside the TargetAttributeKeyCountPredicateAO as a NegationTargetPredicateAO
func (TargetAttributeKeyCountPredicateAO) AsQueryLanguagePredicateAO ¶
func (t TargetAttributeKeyCountPredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
AsQueryLanguagePredicateAO returns the union data inside the TargetAttributeKeyCountPredicateAO as a QueryLanguagePredicateAO
func (TargetAttributeKeyCountPredicateAO) AsTargetAgentIdPredicateAO ¶
func (t TargetAttributeKeyCountPredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
AsTargetAgentIdPredicateAO returns the union data inside the TargetAttributeKeyCountPredicateAO as a TargetAgentIdPredicateAO
func (TargetAttributeKeyCountPredicateAO) AsTargetAttributeKeyCountPredicateAO ¶
func (t TargetAttributeKeyCountPredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
AsTargetAttributeKeyCountPredicateAO returns the union data inside the TargetAttributeKeyCountPredicateAO as a TargetAttributeKeyCountPredicateAO
func (TargetAttributeKeyCountPredicateAO) AsTargetAttributeKeyPredicateAO ¶
func (t TargetAttributeKeyCountPredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
AsTargetAttributeKeyPredicateAO returns the union data inside the TargetAttributeKeyCountPredicateAO as a TargetAttributeKeyPredicateAO
func (TargetAttributeKeyCountPredicateAO) AsTargetAttributeKeyPresencePredicateAO ¶
func (t TargetAttributeKeyCountPredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
AsTargetAttributeKeyPresencePredicateAO returns the union data inside the TargetAttributeKeyCountPredicateAO as a TargetAttributeKeyPresencePredicateAO
func (TargetAttributeKeyCountPredicateAO) AsTargetAttributeKeyValuePredicateAO ¶
func (t TargetAttributeKeyCountPredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
AsTargetAttributeKeyValuePredicateAO returns the union data inside the TargetAttributeKeyCountPredicateAO as a TargetAttributeKeyValuePredicateAO
func (TargetAttributeKeyCountPredicateAO) AsTargetNamePredicateAO ¶
func (t TargetAttributeKeyCountPredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
AsTargetNamePredicateAO returns the union data inside the TargetAttributeKeyCountPredicateAO as a TargetNamePredicateAO
func (TargetAttributeKeyCountPredicateAO) AsTargetTypePredicateAO ¶
func (t TargetAttributeKeyCountPredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
AsTargetTypePredicateAO returns the union data inside the TargetAttributeKeyCountPredicateAO as a TargetTypePredicateAO
func (*TargetAttributeKeyCountPredicateAO) FromNegationTargetPredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
FromNegationTargetPredicateAO overwrites any union data inside the TargetAttributeKeyCountPredicateAO as the provided NegationTargetPredicateAO
func (*TargetAttributeKeyCountPredicateAO) FromQueryLanguagePredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
FromQueryLanguagePredicateAO overwrites any union data inside the TargetAttributeKeyCountPredicateAO as the provided QueryLanguagePredicateAO
func (*TargetAttributeKeyCountPredicateAO) FromTargetAgentIdPredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
FromTargetAgentIdPredicateAO overwrites any union data inside the TargetAttributeKeyCountPredicateAO as the provided TargetAgentIdPredicateAO
func (*TargetAttributeKeyCountPredicateAO) FromTargetAttributeKeyCountPredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
FromTargetAttributeKeyCountPredicateAO overwrites any union data inside the TargetAttributeKeyCountPredicateAO as the provided TargetAttributeKeyCountPredicateAO
func (*TargetAttributeKeyCountPredicateAO) FromTargetAttributeKeyPredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
FromTargetAttributeKeyPredicateAO overwrites any union data inside the TargetAttributeKeyCountPredicateAO as the provided TargetAttributeKeyPredicateAO
func (*TargetAttributeKeyCountPredicateAO) FromTargetAttributeKeyPresencePredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
FromTargetAttributeKeyPresencePredicateAO overwrites any union data inside the TargetAttributeKeyCountPredicateAO as the provided TargetAttributeKeyPresencePredicateAO
func (*TargetAttributeKeyCountPredicateAO) FromTargetAttributeKeyValuePredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
FromTargetAttributeKeyValuePredicateAO overwrites any union data inside the TargetAttributeKeyCountPredicateAO as the provided TargetAttributeKeyValuePredicateAO
func (*TargetAttributeKeyCountPredicateAO) FromTargetNamePredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
FromTargetNamePredicateAO overwrites any union data inside the TargetAttributeKeyCountPredicateAO as the provided TargetNamePredicateAO
func (*TargetAttributeKeyCountPredicateAO) FromTargetTypePredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
FromTargetTypePredicateAO overwrites any union data inside the TargetAttributeKeyCountPredicateAO as the provided TargetTypePredicateAO
func (TargetAttributeKeyCountPredicateAO) MarshalJSON ¶
func (t TargetAttributeKeyCountPredicateAO) MarshalJSON() ([]byte, error)
func (*TargetAttributeKeyCountPredicateAO) MergeNegationTargetPredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
MergeNegationTargetPredicateAO performs a merge with any union data inside the TargetAttributeKeyCountPredicateAO, using the provided NegationTargetPredicateAO
func (*TargetAttributeKeyCountPredicateAO) MergeQueryLanguagePredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
MergeQueryLanguagePredicateAO performs a merge with any union data inside the TargetAttributeKeyCountPredicateAO, using the provided QueryLanguagePredicateAO
func (*TargetAttributeKeyCountPredicateAO) MergeTargetAgentIdPredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
MergeTargetAgentIdPredicateAO performs a merge with any union data inside the TargetAttributeKeyCountPredicateAO, using the provided TargetAgentIdPredicateAO
func (*TargetAttributeKeyCountPredicateAO) MergeTargetAttributeKeyCountPredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
MergeTargetAttributeKeyCountPredicateAO performs a merge with any union data inside the TargetAttributeKeyCountPredicateAO, using the provided TargetAttributeKeyCountPredicateAO
func (*TargetAttributeKeyCountPredicateAO) MergeTargetAttributeKeyPredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
MergeTargetAttributeKeyPredicateAO performs a merge with any union data inside the TargetAttributeKeyCountPredicateAO, using the provided TargetAttributeKeyPredicateAO
func (*TargetAttributeKeyCountPredicateAO) MergeTargetAttributeKeyPresencePredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
MergeTargetAttributeKeyPresencePredicateAO performs a merge with any union data inside the TargetAttributeKeyCountPredicateAO, using the provided TargetAttributeKeyPresencePredicateAO
func (*TargetAttributeKeyCountPredicateAO) MergeTargetAttributeKeyValuePredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
MergeTargetAttributeKeyValuePredicateAO performs a merge with any union data inside the TargetAttributeKeyCountPredicateAO, using the provided TargetAttributeKeyValuePredicateAO
func (*TargetAttributeKeyCountPredicateAO) MergeTargetNamePredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
MergeTargetNamePredicateAO performs a merge with any union data inside the TargetAttributeKeyCountPredicateAO, using the provided TargetNamePredicateAO
func (*TargetAttributeKeyCountPredicateAO) MergeTargetTypePredicateAO ¶
func (t *TargetAttributeKeyCountPredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
MergeTargetTypePredicateAO performs a merge with any union data inside the TargetAttributeKeyCountPredicateAO, using the provided TargetTypePredicateAO
func (*TargetAttributeKeyCountPredicateAO) UnmarshalJSON ¶
func (t *TargetAttributeKeyCountPredicateAO) UnmarshalJSON(b []byte) error
type TargetAttributeKeyCountPredicateAOValueCountOperator ¶
type TargetAttributeKeyCountPredicateAOValueCountOperator string
TargetAttributeKeyCountPredicateAOValueCountOperator defines model for TargetAttributeKeyCountPredicateAO.ValueCountOperator.
const ( EQUAL TargetAttributeKeyCountPredicateAOValueCountOperator = "EQUAL" GREATERTHAN TargetAttributeKeyCountPredicateAOValueCountOperator = "GREATER_THAN" GREATERTHANOREQUAL TargetAttributeKeyCountPredicateAOValueCountOperator = "GREATER_THAN_OR_EQUAL" LESSTHAN TargetAttributeKeyCountPredicateAOValueCountOperator = "LESS_THAN" LESSTHANOREQUAL TargetAttributeKeyCountPredicateAOValueCountOperator = "LESS_THAN_OR_EQUAL" NOTEQUAL TargetAttributeKeyCountPredicateAOValueCountOperator = "NOT_EQUAL" )
Defines values for TargetAttributeKeyCountPredicateAOValueCountOperator.
func (TargetAttributeKeyCountPredicateAOValueCountOperator) Valid ¶
func (e TargetAttributeKeyCountPredicateAOValueCountOperator) Valid() bool
Valid indicates whether the value is a known member of the TargetAttributeKeyCountPredicateAOValueCountOperator enum.
type TargetAttributeKeyPredicateAO ¶
type TargetAttributeKeyPredicateAO struct {
Key string `json:"key"`
Operator string `json:"operator"`
// contains filtered or unexported fields
}
TargetAttributeKeyPredicateAO defines model for TargetAttributeKeyPredicateAO.
func (TargetAttributeKeyPredicateAO) AsNegationTargetPredicateAO ¶
func (t TargetAttributeKeyPredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
AsNegationTargetPredicateAO returns the union data inside the TargetAttributeKeyPredicateAO as a NegationTargetPredicateAO
func (TargetAttributeKeyPredicateAO) AsQueryLanguagePredicateAO ¶
func (t TargetAttributeKeyPredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
AsQueryLanguagePredicateAO returns the union data inside the TargetAttributeKeyPredicateAO as a QueryLanguagePredicateAO
func (TargetAttributeKeyPredicateAO) AsTargetAgentIdPredicateAO ¶
func (t TargetAttributeKeyPredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
AsTargetAgentIdPredicateAO returns the union data inside the TargetAttributeKeyPredicateAO as a TargetAgentIdPredicateAO
func (TargetAttributeKeyPredicateAO) AsTargetAttributeKeyCountPredicateAO ¶
func (t TargetAttributeKeyPredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
AsTargetAttributeKeyCountPredicateAO returns the union data inside the TargetAttributeKeyPredicateAO as a TargetAttributeKeyCountPredicateAO
func (TargetAttributeKeyPredicateAO) AsTargetAttributeKeyPredicateAO ¶
func (t TargetAttributeKeyPredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
AsTargetAttributeKeyPredicateAO returns the union data inside the TargetAttributeKeyPredicateAO as a TargetAttributeKeyPredicateAO
func (TargetAttributeKeyPredicateAO) AsTargetAttributeKeyPresencePredicateAO ¶
func (t TargetAttributeKeyPredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
AsTargetAttributeKeyPresencePredicateAO returns the union data inside the TargetAttributeKeyPredicateAO as a TargetAttributeKeyPresencePredicateAO
func (TargetAttributeKeyPredicateAO) AsTargetAttributeKeyValuePredicateAO ¶
func (t TargetAttributeKeyPredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
AsTargetAttributeKeyValuePredicateAO returns the union data inside the TargetAttributeKeyPredicateAO as a TargetAttributeKeyValuePredicateAO
func (TargetAttributeKeyPredicateAO) AsTargetNamePredicateAO ¶
func (t TargetAttributeKeyPredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
AsTargetNamePredicateAO returns the union data inside the TargetAttributeKeyPredicateAO as a TargetNamePredicateAO
func (TargetAttributeKeyPredicateAO) AsTargetTypePredicateAO ¶
func (t TargetAttributeKeyPredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
AsTargetTypePredicateAO returns the union data inside the TargetAttributeKeyPredicateAO as a TargetTypePredicateAO
func (*TargetAttributeKeyPredicateAO) FromNegationTargetPredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
FromNegationTargetPredicateAO overwrites any union data inside the TargetAttributeKeyPredicateAO as the provided NegationTargetPredicateAO
func (*TargetAttributeKeyPredicateAO) FromQueryLanguagePredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
FromQueryLanguagePredicateAO overwrites any union data inside the TargetAttributeKeyPredicateAO as the provided QueryLanguagePredicateAO
func (*TargetAttributeKeyPredicateAO) FromTargetAgentIdPredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
FromTargetAgentIdPredicateAO overwrites any union data inside the TargetAttributeKeyPredicateAO as the provided TargetAgentIdPredicateAO
func (*TargetAttributeKeyPredicateAO) FromTargetAttributeKeyCountPredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
FromTargetAttributeKeyCountPredicateAO overwrites any union data inside the TargetAttributeKeyPredicateAO as the provided TargetAttributeKeyCountPredicateAO
func (*TargetAttributeKeyPredicateAO) FromTargetAttributeKeyPredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
FromTargetAttributeKeyPredicateAO overwrites any union data inside the TargetAttributeKeyPredicateAO as the provided TargetAttributeKeyPredicateAO
func (*TargetAttributeKeyPredicateAO) FromTargetAttributeKeyPresencePredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
FromTargetAttributeKeyPresencePredicateAO overwrites any union data inside the TargetAttributeKeyPredicateAO as the provided TargetAttributeKeyPresencePredicateAO
func (*TargetAttributeKeyPredicateAO) FromTargetAttributeKeyValuePredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
FromTargetAttributeKeyValuePredicateAO overwrites any union data inside the TargetAttributeKeyPredicateAO as the provided TargetAttributeKeyValuePredicateAO
func (*TargetAttributeKeyPredicateAO) FromTargetNamePredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
FromTargetNamePredicateAO overwrites any union data inside the TargetAttributeKeyPredicateAO as the provided TargetNamePredicateAO
func (*TargetAttributeKeyPredicateAO) FromTargetTypePredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
FromTargetTypePredicateAO overwrites any union data inside the TargetAttributeKeyPredicateAO as the provided TargetTypePredicateAO
func (TargetAttributeKeyPredicateAO) MarshalJSON ¶
func (t TargetAttributeKeyPredicateAO) MarshalJSON() ([]byte, error)
func (*TargetAttributeKeyPredicateAO) MergeNegationTargetPredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
MergeNegationTargetPredicateAO performs a merge with any union data inside the TargetAttributeKeyPredicateAO, using the provided NegationTargetPredicateAO
func (*TargetAttributeKeyPredicateAO) MergeQueryLanguagePredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
MergeQueryLanguagePredicateAO performs a merge with any union data inside the TargetAttributeKeyPredicateAO, using the provided QueryLanguagePredicateAO
func (*TargetAttributeKeyPredicateAO) MergeTargetAgentIdPredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
MergeTargetAgentIdPredicateAO performs a merge with any union data inside the TargetAttributeKeyPredicateAO, using the provided TargetAgentIdPredicateAO
func (*TargetAttributeKeyPredicateAO) MergeTargetAttributeKeyCountPredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
MergeTargetAttributeKeyCountPredicateAO performs a merge with any union data inside the TargetAttributeKeyPredicateAO, using the provided TargetAttributeKeyCountPredicateAO
func (*TargetAttributeKeyPredicateAO) MergeTargetAttributeKeyPredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
MergeTargetAttributeKeyPredicateAO performs a merge with any union data inside the TargetAttributeKeyPredicateAO, using the provided TargetAttributeKeyPredicateAO
func (*TargetAttributeKeyPredicateAO) MergeTargetAttributeKeyPresencePredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
MergeTargetAttributeKeyPresencePredicateAO performs a merge with any union data inside the TargetAttributeKeyPredicateAO, using the provided TargetAttributeKeyPresencePredicateAO
func (*TargetAttributeKeyPredicateAO) MergeTargetAttributeKeyValuePredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
MergeTargetAttributeKeyValuePredicateAO performs a merge with any union data inside the TargetAttributeKeyPredicateAO, using the provided TargetAttributeKeyValuePredicateAO
func (*TargetAttributeKeyPredicateAO) MergeTargetNamePredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
MergeTargetNamePredicateAO performs a merge with any union data inside the TargetAttributeKeyPredicateAO, using the provided TargetNamePredicateAO
func (*TargetAttributeKeyPredicateAO) MergeTargetTypePredicateAO ¶
func (t *TargetAttributeKeyPredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
MergeTargetTypePredicateAO performs a merge with any union data inside the TargetAttributeKeyPredicateAO, using the provided TargetTypePredicateAO
func (*TargetAttributeKeyPredicateAO) UnmarshalJSON ¶
func (t *TargetAttributeKeyPredicateAO) UnmarshalJSON(b []byte) error
type TargetAttributeKeyPresencePredicateAO ¶
type TargetAttributeKeyPresencePredicateAO struct {
Key string `json:"key"`
PresenceOperator TargetAttributeKeyPresencePredicateAOPresenceOperator `json:"presenceOperator"`
// contains filtered or unexported fields
}
TargetAttributeKeyPresencePredicateAO defines model for TargetAttributeKeyPresencePredicateAO.
func (TargetAttributeKeyPresencePredicateAO) AsNegationTargetPredicateAO ¶
func (t TargetAttributeKeyPresencePredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
AsNegationTargetPredicateAO returns the union data inside the TargetAttributeKeyPresencePredicateAO as a NegationTargetPredicateAO
func (TargetAttributeKeyPresencePredicateAO) AsQueryLanguagePredicateAO ¶
func (t TargetAttributeKeyPresencePredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
AsQueryLanguagePredicateAO returns the union data inside the TargetAttributeKeyPresencePredicateAO as a QueryLanguagePredicateAO
func (TargetAttributeKeyPresencePredicateAO) AsTargetAgentIdPredicateAO ¶
func (t TargetAttributeKeyPresencePredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
AsTargetAgentIdPredicateAO returns the union data inside the TargetAttributeKeyPresencePredicateAO as a TargetAgentIdPredicateAO
func (TargetAttributeKeyPresencePredicateAO) AsTargetAttributeKeyCountPredicateAO ¶
func (t TargetAttributeKeyPresencePredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
AsTargetAttributeKeyCountPredicateAO returns the union data inside the TargetAttributeKeyPresencePredicateAO as a TargetAttributeKeyCountPredicateAO
func (TargetAttributeKeyPresencePredicateAO) AsTargetAttributeKeyPredicateAO ¶
func (t TargetAttributeKeyPresencePredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
AsTargetAttributeKeyPredicateAO returns the union data inside the TargetAttributeKeyPresencePredicateAO as a TargetAttributeKeyPredicateAO
func (TargetAttributeKeyPresencePredicateAO) AsTargetAttributeKeyPresencePredicateAO ¶
func (t TargetAttributeKeyPresencePredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
AsTargetAttributeKeyPresencePredicateAO returns the union data inside the TargetAttributeKeyPresencePredicateAO as a TargetAttributeKeyPresencePredicateAO
func (TargetAttributeKeyPresencePredicateAO) AsTargetAttributeKeyValuePredicateAO ¶
func (t TargetAttributeKeyPresencePredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
AsTargetAttributeKeyValuePredicateAO returns the union data inside the TargetAttributeKeyPresencePredicateAO as a TargetAttributeKeyValuePredicateAO
func (TargetAttributeKeyPresencePredicateAO) AsTargetNamePredicateAO ¶
func (t TargetAttributeKeyPresencePredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
AsTargetNamePredicateAO returns the union data inside the TargetAttributeKeyPresencePredicateAO as a TargetNamePredicateAO
func (TargetAttributeKeyPresencePredicateAO) AsTargetTypePredicateAO ¶
func (t TargetAttributeKeyPresencePredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
AsTargetTypePredicateAO returns the union data inside the TargetAttributeKeyPresencePredicateAO as a TargetTypePredicateAO
func (*TargetAttributeKeyPresencePredicateAO) FromNegationTargetPredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
FromNegationTargetPredicateAO overwrites any union data inside the TargetAttributeKeyPresencePredicateAO as the provided NegationTargetPredicateAO
func (*TargetAttributeKeyPresencePredicateAO) FromQueryLanguagePredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
FromQueryLanguagePredicateAO overwrites any union data inside the TargetAttributeKeyPresencePredicateAO as the provided QueryLanguagePredicateAO
func (*TargetAttributeKeyPresencePredicateAO) FromTargetAgentIdPredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
FromTargetAgentIdPredicateAO overwrites any union data inside the TargetAttributeKeyPresencePredicateAO as the provided TargetAgentIdPredicateAO
func (*TargetAttributeKeyPresencePredicateAO) FromTargetAttributeKeyCountPredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
FromTargetAttributeKeyCountPredicateAO overwrites any union data inside the TargetAttributeKeyPresencePredicateAO as the provided TargetAttributeKeyCountPredicateAO
func (*TargetAttributeKeyPresencePredicateAO) FromTargetAttributeKeyPredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
FromTargetAttributeKeyPredicateAO overwrites any union data inside the TargetAttributeKeyPresencePredicateAO as the provided TargetAttributeKeyPredicateAO
func (*TargetAttributeKeyPresencePredicateAO) FromTargetAttributeKeyPresencePredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
FromTargetAttributeKeyPresencePredicateAO overwrites any union data inside the TargetAttributeKeyPresencePredicateAO as the provided TargetAttributeKeyPresencePredicateAO
func (*TargetAttributeKeyPresencePredicateAO) FromTargetAttributeKeyValuePredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
FromTargetAttributeKeyValuePredicateAO overwrites any union data inside the TargetAttributeKeyPresencePredicateAO as the provided TargetAttributeKeyValuePredicateAO
func (*TargetAttributeKeyPresencePredicateAO) FromTargetNamePredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
FromTargetNamePredicateAO overwrites any union data inside the TargetAttributeKeyPresencePredicateAO as the provided TargetNamePredicateAO
func (*TargetAttributeKeyPresencePredicateAO) FromTargetTypePredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
FromTargetTypePredicateAO overwrites any union data inside the TargetAttributeKeyPresencePredicateAO as the provided TargetTypePredicateAO
func (TargetAttributeKeyPresencePredicateAO) MarshalJSON ¶
func (t TargetAttributeKeyPresencePredicateAO) MarshalJSON() ([]byte, error)
func (*TargetAttributeKeyPresencePredicateAO) MergeNegationTargetPredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
MergeNegationTargetPredicateAO performs a merge with any union data inside the TargetAttributeKeyPresencePredicateAO, using the provided NegationTargetPredicateAO
func (*TargetAttributeKeyPresencePredicateAO) MergeQueryLanguagePredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
MergeQueryLanguagePredicateAO performs a merge with any union data inside the TargetAttributeKeyPresencePredicateAO, using the provided QueryLanguagePredicateAO
func (*TargetAttributeKeyPresencePredicateAO) MergeTargetAgentIdPredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
MergeTargetAgentIdPredicateAO performs a merge with any union data inside the TargetAttributeKeyPresencePredicateAO, using the provided TargetAgentIdPredicateAO
func (*TargetAttributeKeyPresencePredicateAO) MergeTargetAttributeKeyCountPredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
MergeTargetAttributeKeyCountPredicateAO performs a merge with any union data inside the TargetAttributeKeyPresencePredicateAO, using the provided TargetAttributeKeyCountPredicateAO
func (*TargetAttributeKeyPresencePredicateAO) MergeTargetAttributeKeyPredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
MergeTargetAttributeKeyPredicateAO performs a merge with any union data inside the TargetAttributeKeyPresencePredicateAO, using the provided TargetAttributeKeyPredicateAO
func (*TargetAttributeKeyPresencePredicateAO) MergeTargetAttributeKeyPresencePredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
MergeTargetAttributeKeyPresencePredicateAO performs a merge with any union data inside the TargetAttributeKeyPresencePredicateAO, using the provided TargetAttributeKeyPresencePredicateAO
func (*TargetAttributeKeyPresencePredicateAO) MergeTargetAttributeKeyValuePredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
MergeTargetAttributeKeyValuePredicateAO performs a merge with any union data inside the TargetAttributeKeyPresencePredicateAO, using the provided TargetAttributeKeyValuePredicateAO
func (*TargetAttributeKeyPresencePredicateAO) MergeTargetNamePredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
MergeTargetNamePredicateAO performs a merge with any union data inside the TargetAttributeKeyPresencePredicateAO, using the provided TargetNamePredicateAO
func (*TargetAttributeKeyPresencePredicateAO) MergeTargetTypePredicateAO ¶
func (t *TargetAttributeKeyPresencePredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
MergeTargetTypePredicateAO performs a merge with any union data inside the TargetAttributeKeyPresencePredicateAO, using the provided TargetTypePredicateAO
func (*TargetAttributeKeyPresencePredicateAO) UnmarshalJSON ¶
func (t *TargetAttributeKeyPresencePredicateAO) UnmarshalJSON(b []byte) error
type TargetAttributeKeyPresencePredicateAOPresenceOperator ¶
type TargetAttributeKeyPresencePredicateAOPresenceOperator string
TargetAttributeKeyPresencePredicateAOPresenceOperator defines model for TargetAttributeKeyPresencePredicateAO.PresenceOperator.
const ( NOTPRESENT TargetAttributeKeyPresencePredicateAOPresenceOperator = "NOT_PRESENT" PRESENT TargetAttributeKeyPresencePredicateAOPresenceOperator = "PRESENT" )
Defines values for TargetAttributeKeyPresencePredicateAOPresenceOperator.
func (TargetAttributeKeyPresencePredicateAOPresenceOperator) Valid ¶
func (e TargetAttributeKeyPresencePredicateAOPresenceOperator) Valid() bool
Valid indicates whether the value is a known member of the TargetAttributeKeyPresencePredicateAOPresenceOperator enum.
type TargetAttributeKeyValuePredicateAO ¶
type TargetAttributeKeyValuePredicateAO struct {
Key string `json:"key"`
Operator string `json:"operator"`
Values []string `json:"values"`
// contains filtered or unexported fields
}
TargetAttributeKeyValuePredicateAO defines model for TargetAttributeKeyValuePredicateAO.
func (TargetAttributeKeyValuePredicateAO) AsNegationTargetPredicateAO ¶
func (t TargetAttributeKeyValuePredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
AsNegationTargetPredicateAO returns the union data inside the TargetAttributeKeyValuePredicateAO as a NegationTargetPredicateAO
func (TargetAttributeKeyValuePredicateAO) AsQueryLanguagePredicateAO ¶
func (t TargetAttributeKeyValuePredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
AsQueryLanguagePredicateAO returns the union data inside the TargetAttributeKeyValuePredicateAO as a QueryLanguagePredicateAO
func (TargetAttributeKeyValuePredicateAO) AsTargetAgentIdPredicateAO ¶
func (t TargetAttributeKeyValuePredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
AsTargetAgentIdPredicateAO returns the union data inside the TargetAttributeKeyValuePredicateAO as a TargetAgentIdPredicateAO
func (TargetAttributeKeyValuePredicateAO) AsTargetAttributeKeyCountPredicateAO ¶
func (t TargetAttributeKeyValuePredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
AsTargetAttributeKeyCountPredicateAO returns the union data inside the TargetAttributeKeyValuePredicateAO as a TargetAttributeKeyCountPredicateAO
func (TargetAttributeKeyValuePredicateAO) AsTargetAttributeKeyPredicateAO ¶
func (t TargetAttributeKeyValuePredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
AsTargetAttributeKeyPredicateAO returns the union data inside the TargetAttributeKeyValuePredicateAO as a TargetAttributeKeyPredicateAO
func (TargetAttributeKeyValuePredicateAO) AsTargetAttributeKeyPresencePredicateAO ¶
func (t TargetAttributeKeyValuePredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
AsTargetAttributeKeyPresencePredicateAO returns the union data inside the TargetAttributeKeyValuePredicateAO as a TargetAttributeKeyPresencePredicateAO
func (TargetAttributeKeyValuePredicateAO) AsTargetAttributeKeyValuePredicateAO ¶
func (t TargetAttributeKeyValuePredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
AsTargetAttributeKeyValuePredicateAO returns the union data inside the TargetAttributeKeyValuePredicateAO as a TargetAttributeKeyValuePredicateAO
func (TargetAttributeKeyValuePredicateAO) AsTargetNamePredicateAO ¶
func (t TargetAttributeKeyValuePredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
AsTargetNamePredicateAO returns the union data inside the TargetAttributeKeyValuePredicateAO as a TargetNamePredicateAO
func (TargetAttributeKeyValuePredicateAO) AsTargetTypePredicateAO ¶
func (t TargetAttributeKeyValuePredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
AsTargetTypePredicateAO returns the union data inside the TargetAttributeKeyValuePredicateAO as a TargetTypePredicateAO
func (*TargetAttributeKeyValuePredicateAO) FromNegationTargetPredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
FromNegationTargetPredicateAO overwrites any union data inside the TargetAttributeKeyValuePredicateAO as the provided NegationTargetPredicateAO
func (*TargetAttributeKeyValuePredicateAO) FromQueryLanguagePredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
FromQueryLanguagePredicateAO overwrites any union data inside the TargetAttributeKeyValuePredicateAO as the provided QueryLanguagePredicateAO
func (*TargetAttributeKeyValuePredicateAO) FromTargetAgentIdPredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
FromTargetAgentIdPredicateAO overwrites any union data inside the TargetAttributeKeyValuePredicateAO as the provided TargetAgentIdPredicateAO
func (*TargetAttributeKeyValuePredicateAO) FromTargetAttributeKeyCountPredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
FromTargetAttributeKeyCountPredicateAO overwrites any union data inside the TargetAttributeKeyValuePredicateAO as the provided TargetAttributeKeyCountPredicateAO
func (*TargetAttributeKeyValuePredicateAO) FromTargetAttributeKeyPredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
FromTargetAttributeKeyPredicateAO overwrites any union data inside the TargetAttributeKeyValuePredicateAO as the provided TargetAttributeKeyPredicateAO
func (*TargetAttributeKeyValuePredicateAO) FromTargetAttributeKeyPresencePredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
FromTargetAttributeKeyPresencePredicateAO overwrites any union data inside the TargetAttributeKeyValuePredicateAO as the provided TargetAttributeKeyPresencePredicateAO
func (*TargetAttributeKeyValuePredicateAO) FromTargetAttributeKeyValuePredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
FromTargetAttributeKeyValuePredicateAO overwrites any union data inside the TargetAttributeKeyValuePredicateAO as the provided TargetAttributeKeyValuePredicateAO
func (*TargetAttributeKeyValuePredicateAO) FromTargetNamePredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
FromTargetNamePredicateAO overwrites any union data inside the TargetAttributeKeyValuePredicateAO as the provided TargetNamePredicateAO
func (*TargetAttributeKeyValuePredicateAO) FromTargetTypePredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
FromTargetTypePredicateAO overwrites any union data inside the TargetAttributeKeyValuePredicateAO as the provided TargetTypePredicateAO
func (TargetAttributeKeyValuePredicateAO) MarshalJSON ¶
func (t TargetAttributeKeyValuePredicateAO) MarshalJSON() ([]byte, error)
func (*TargetAttributeKeyValuePredicateAO) MergeNegationTargetPredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
MergeNegationTargetPredicateAO performs a merge with any union data inside the TargetAttributeKeyValuePredicateAO, using the provided NegationTargetPredicateAO
func (*TargetAttributeKeyValuePredicateAO) MergeQueryLanguagePredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
MergeQueryLanguagePredicateAO performs a merge with any union data inside the TargetAttributeKeyValuePredicateAO, using the provided QueryLanguagePredicateAO
func (*TargetAttributeKeyValuePredicateAO) MergeTargetAgentIdPredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
MergeTargetAgentIdPredicateAO performs a merge with any union data inside the TargetAttributeKeyValuePredicateAO, using the provided TargetAgentIdPredicateAO
func (*TargetAttributeKeyValuePredicateAO) MergeTargetAttributeKeyCountPredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
MergeTargetAttributeKeyCountPredicateAO performs a merge with any union data inside the TargetAttributeKeyValuePredicateAO, using the provided TargetAttributeKeyCountPredicateAO
func (*TargetAttributeKeyValuePredicateAO) MergeTargetAttributeKeyPredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
MergeTargetAttributeKeyPredicateAO performs a merge with any union data inside the TargetAttributeKeyValuePredicateAO, using the provided TargetAttributeKeyPredicateAO
func (*TargetAttributeKeyValuePredicateAO) MergeTargetAttributeKeyPresencePredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
MergeTargetAttributeKeyPresencePredicateAO performs a merge with any union data inside the TargetAttributeKeyValuePredicateAO, using the provided TargetAttributeKeyPresencePredicateAO
func (*TargetAttributeKeyValuePredicateAO) MergeTargetAttributeKeyValuePredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
MergeTargetAttributeKeyValuePredicateAO performs a merge with any union data inside the TargetAttributeKeyValuePredicateAO, using the provided TargetAttributeKeyValuePredicateAO
func (*TargetAttributeKeyValuePredicateAO) MergeTargetNamePredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
MergeTargetNamePredicateAO performs a merge with any union data inside the TargetAttributeKeyValuePredicateAO, using the provided TargetNamePredicateAO
func (*TargetAttributeKeyValuePredicateAO) MergeTargetTypePredicateAO ¶
func (t *TargetAttributeKeyValuePredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
MergeTargetTypePredicateAO performs a merge with any union data inside the TargetAttributeKeyValuePredicateAO, using the provided TargetTypePredicateAO
func (*TargetAttributeKeyValuePredicateAO) UnmarshalJSON ¶
func (t *TargetAttributeKeyValuePredicateAO) UnmarshalJSON(b []byte) error
type TargetExecutionAO ¶
type TargetExecutionAO struct {
// AgentHostname The agent that processed this target-action command and forwarded it to the proper extension instance.
//
// Example: prod-demo/steadybit-agent/steadybit-agent-0
AgentHostname *string `json:"agentHostname,omitempty"`
// Artifacts List of artifact identifiers that are associated with this target execution
//
// Example: ["jmeter-report.zip","system-metrics.csv"]
Artifacts *[]string `json:"artifacts,omitempty"`
// Attributes A set of attributes that have been discovered for this target. A key may be associated multiple time to a single target.
//
// Example: [{"key":"container.port","value":"51152:2376"},{"key":"container.engine","value":"docker"}]
Attributes *[]AttributeAO `json:"attributes,omitempty"`
// Id Unique identifier of this target execution
//
// Example: 019aba52-558d-7d44-b793-92839f3c3152
Id *openapi_types.UUID `json:"id,omitempty"`
// Name Identifier of the target that is expected to be effected
//
// Example: docker://1f769d01b9c5cd29bb302ca40157274f38798104208117b3310825ba676883ea
Name *string `json:"name,omitempty"`
// Reason Reason on a per target-level why the experiment failed or errored. If this step didn't failed or errored (`state != 'FAILED' and state != 'ERRORED') the reason is `null`.
//
// Example: Failed to start Stop Container (com.steadybit.extension_container.stop)
Reason *string `json:"reason,omitempty"`
// ReasonDetails Optional additional reason details on a per target-level why the the experiment failed or errored.
//
// Example: Could not read state of target container: exit status 1 (time="2023-09-29T12:41:32Z" level=error msg="container does not exist"
ReasonDetails *string `json:"reasonDetails,omitempty"`
// Source The source (i.e. call to the extension) that caused the step to error or fail.
//
// Example: POST http://11.20.86.255:9093/com.steadybit.extension_container.container_stop/prepare
Source *string `json:"source,omitempty"`
// State State of this specific step on a per target-level.
//
// Example: COMPLETED
State *string `json:"state,omitempty"`
// Summary A summary for a target execution
//
// Example: {"level":"INFO","text":"Hello world!"}
Summary *TargetExecutionSummaryAO `json:"summary,omitempty"`
// Type Type of the target that is expected to be effected
//
// Example: container
Type *string `json:"type,omitempty"`
}
TargetExecutionAO A target that is expected to be effected by this action.
Example: {"attributes":[{"key":"container.port","value":"51152:2376"},{"key":"container.engine","value":"docker"},{"key":"container.host/name","value":"docker-desktop/minikube"},{"key":"container.host","value":"docker-desktop"}],"name":"docker://1f769d01b9c5cd29bb302ca40157274f38798104208117b3310825ba676883ea","state":"COMPLETED","type":"com.steadybit.extension_container.container"}
type TargetExecutionSummaryAO ¶
type TargetExecutionSummaryAO struct {
Level *string `json:"level,omitempty"`
Text *string `json:"text,omitempty"`
}
TargetExecutionSummaryAO A summary for a target execution
Example: {"level":"INFO","text":"Hello world!"}
type TargetNamePredicateAO ¶
type TargetNamePredicateAO struct {
Name string `json:"name"`
// contains filtered or unexported fields
}
TargetNamePredicateAO defines model for TargetNamePredicateAO.
func (TargetNamePredicateAO) AsNegationTargetPredicateAO ¶
func (t TargetNamePredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
AsNegationTargetPredicateAO returns the union data inside the TargetNamePredicateAO as a NegationTargetPredicateAO
func (TargetNamePredicateAO) AsQueryLanguagePredicateAO ¶
func (t TargetNamePredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
AsQueryLanguagePredicateAO returns the union data inside the TargetNamePredicateAO as a QueryLanguagePredicateAO
func (TargetNamePredicateAO) AsTargetAgentIdPredicateAO ¶
func (t TargetNamePredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
AsTargetAgentIdPredicateAO returns the union data inside the TargetNamePredicateAO as a TargetAgentIdPredicateAO
func (TargetNamePredicateAO) AsTargetAttributeKeyCountPredicateAO ¶
func (t TargetNamePredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
AsTargetAttributeKeyCountPredicateAO returns the union data inside the TargetNamePredicateAO as a TargetAttributeKeyCountPredicateAO
func (TargetNamePredicateAO) AsTargetAttributeKeyPredicateAO ¶
func (t TargetNamePredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
AsTargetAttributeKeyPredicateAO returns the union data inside the TargetNamePredicateAO as a TargetAttributeKeyPredicateAO
func (TargetNamePredicateAO) AsTargetAttributeKeyPresencePredicateAO ¶
func (t TargetNamePredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
AsTargetAttributeKeyPresencePredicateAO returns the union data inside the TargetNamePredicateAO as a TargetAttributeKeyPresencePredicateAO
func (TargetNamePredicateAO) AsTargetAttributeKeyValuePredicateAO ¶
func (t TargetNamePredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
AsTargetAttributeKeyValuePredicateAO returns the union data inside the TargetNamePredicateAO as a TargetAttributeKeyValuePredicateAO
func (TargetNamePredicateAO) AsTargetNamePredicateAO ¶
func (t TargetNamePredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
AsTargetNamePredicateAO returns the union data inside the TargetNamePredicateAO as a TargetNamePredicateAO
func (TargetNamePredicateAO) AsTargetTypePredicateAO ¶
func (t TargetNamePredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
AsTargetTypePredicateAO returns the union data inside the TargetNamePredicateAO as a TargetTypePredicateAO
func (*TargetNamePredicateAO) FromNegationTargetPredicateAO ¶
func (t *TargetNamePredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
FromNegationTargetPredicateAO overwrites any union data inside the TargetNamePredicateAO as the provided NegationTargetPredicateAO
func (*TargetNamePredicateAO) FromQueryLanguagePredicateAO ¶
func (t *TargetNamePredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
FromQueryLanguagePredicateAO overwrites any union data inside the TargetNamePredicateAO as the provided QueryLanguagePredicateAO
func (*TargetNamePredicateAO) FromTargetAgentIdPredicateAO ¶
func (t *TargetNamePredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
FromTargetAgentIdPredicateAO overwrites any union data inside the TargetNamePredicateAO as the provided TargetAgentIdPredicateAO
func (*TargetNamePredicateAO) FromTargetAttributeKeyCountPredicateAO ¶
func (t *TargetNamePredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
FromTargetAttributeKeyCountPredicateAO overwrites any union data inside the TargetNamePredicateAO as the provided TargetAttributeKeyCountPredicateAO
func (*TargetNamePredicateAO) FromTargetAttributeKeyPredicateAO ¶
func (t *TargetNamePredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
FromTargetAttributeKeyPredicateAO overwrites any union data inside the TargetNamePredicateAO as the provided TargetAttributeKeyPredicateAO
func (*TargetNamePredicateAO) FromTargetAttributeKeyPresencePredicateAO ¶
func (t *TargetNamePredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
FromTargetAttributeKeyPresencePredicateAO overwrites any union data inside the TargetNamePredicateAO as the provided TargetAttributeKeyPresencePredicateAO
func (*TargetNamePredicateAO) FromTargetAttributeKeyValuePredicateAO ¶
func (t *TargetNamePredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
FromTargetAttributeKeyValuePredicateAO overwrites any union data inside the TargetNamePredicateAO as the provided TargetAttributeKeyValuePredicateAO
func (*TargetNamePredicateAO) FromTargetNamePredicateAO ¶
func (t *TargetNamePredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
FromTargetNamePredicateAO overwrites any union data inside the TargetNamePredicateAO as the provided TargetNamePredicateAO
func (*TargetNamePredicateAO) FromTargetTypePredicateAO ¶
func (t *TargetNamePredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
FromTargetTypePredicateAO overwrites any union data inside the TargetNamePredicateAO as the provided TargetTypePredicateAO
func (TargetNamePredicateAO) MarshalJSON ¶
func (t TargetNamePredicateAO) MarshalJSON() ([]byte, error)
func (*TargetNamePredicateAO) MergeNegationTargetPredicateAO ¶
func (t *TargetNamePredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
MergeNegationTargetPredicateAO performs a merge with any union data inside the TargetNamePredicateAO, using the provided NegationTargetPredicateAO
func (*TargetNamePredicateAO) MergeQueryLanguagePredicateAO ¶
func (t *TargetNamePredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
MergeQueryLanguagePredicateAO performs a merge with any union data inside the TargetNamePredicateAO, using the provided QueryLanguagePredicateAO
func (*TargetNamePredicateAO) MergeTargetAgentIdPredicateAO ¶
func (t *TargetNamePredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
MergeTargetAgentIdPredicateAO performs a merge with any union data inside the TargetNamePredicateAO, using the provided TargetAgentIdPredicateAO
func (*TargetNamePredicateAO) MergeTargetAttributeKeyCountPredicateAO ¶
func (t *TargetNamePredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
MergeTargetAttributeKeyCountPredicateAO performs a merge with any union data inside the TargetNamePredicateAO, using the provided TargetAttributeKeyCountPredicateAO
func (*TargetNamePredicateAO) MergeTargetAttributeKeyPredicateAO ¶
func (t *TargetNamePredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
MergeTargetAttributeKeyPredicateAO performs a merge with any union data inside the TargetNamePredicateAO, using the provided TargetAttributeKeyPredicateAO
func (*TargetNamePredicateAO) MergeTargetAttributeKeyPresencePredicateAO ¶
func (t *TargetNamePredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
MergeTargetAttributeKeyPresencePredicateAO performs a merge with any union data inside the TargetNamePredicateAO, using the provided TargetAttributeKeyPresencePredicateAO
func (*TargetNamePredicateAO) MergeTargetAttributeKeyValuePredicateAO ¶
func (t *TargetNamePredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
MergeTargetAttributeKeyValuePredicateAO performs a merge with any union data inside the TargetNamePredicateAO, using the provided TargetAttributeKeyValuePredicateAO
func (*TargetNamePredicateAO) MergeTargetNamePredicateAO ¶
func (t *TargetNamePredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
MergeTargetNamePredicateAO performs a merge with any union data inside the TargetNamePredicateAO, using the provided TargetNamePredicateAO
func (*TargetNamePredicateAO) MergeTargetTypePredicateAO ¶
func (t *TargetNamePredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
MergeTargetTypePredicateAO performs a merge with any union data inside the TargetNamePredicateAO, using the provided TargetTypePredicateAO
func (*TargetNamePredicateAO) UnmarshalJSON ¶
func (t *TargetNamePredicateAO) UnmarshalJSON(b []byte) error
type TargetPredicateAO ¶
type TargetPredicateAO struct {
// contains filtered or unexported fields
}
TargetPredicateAO Query defining the overall superset of targets being effected
Example: [{"key":"container.host/name","operator":"EQUALS","values":["docker-desktop/minikube"]}]
func (TargetPredicateAO) AsNegationTargetPredicateAO ¶
func (t TargetPredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
AsNegationTargetPredicateAO returns the union data inside the TargetPredicateAO as a NegationTargetPredicateAO
func (TargetPredicateAO) AsQueryLanguagePredicateAO ¶
func (t TargetPredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
AsQueryLanguagePredicateAO returns the union data inside the TargetPredicateAO as a QueryLanguagePredicateAO
func (TargetPredicateAO) AsTargetAgentIdPredicateAO ¶
func (t TargetPredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
AsTargetAgentIdPredicateAO returns the union data inside the TargetPredicateAO as a TargetAgentIdPredicateAO
func (TargetPredicateAO) AsTargetAttributeKeyCountPredicateAO ¶
func (t TargetPredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
AsTargetAttributeKeyCountPredicateAO returns the union data inside the TargetPredicateAO as a TargetAttributeKeyCountPredicateAO
func (TargetPredicateAO) AsTargetAttributeKeyPredicateAO ¶
func (t TargetPredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
AsTargetAttributeKeyPredicateAO returns the union data inside the TargetPredicateAO as a TargetAttributeKeyPredicateAO
func (TargetPredicateAO) AsTargetAttributeKeyPresencePredicateAO ¶
func (t TargetPredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
AsTargetAttributeKeyPresencePredicateAO returns the union data inside the TargetPredicateAO as a TargetAttributeKeyPresencePredicateAO
func (TargetPredicateAO) AsTargetAttributeKeyValuePredicateAO ¶
func (t TargetPredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
AsTargetAttributeKeyValuePredicateAO returns the union data inside the TargetPredicateAO as a TargetAttributeKeyValuePredicateAO
func (TargetPredicateAO) AsTargetNamePredicateAO ¶
func (t TargetPredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
AsTargetNamePredicateAO returns the union data inside the TargetPredicateAO as a TargetNamePredicateAO
func (TargetPredicateAO) AsTargetTypePredicateAO ¶
func (t TargetPredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
AsTargetTypePredicateAO returns the union data inside the TargetPredicateAO as a TargetTypePredicateAO
func (*TargetPredicateAO) FromNegationTargetPredicateAO ¶
func (t *TargetPredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
FromNegationTargetPredicateAO overwrites any union data inside the TargetPredicateAO as the provided NegationTargetPredicateAO
func (*TargetPredicateAO) FromQueryLanguagePredicateAO ¶
func (t *TargetPredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
FromQueryLanguagePredicateAO overwrites any union data inside the TargetPredicateAO as the provided QueryLanguagePredicateAO
func (*TargetPredicateAO) FromTargetAgentIdPredicateAO ¶
func (t *TargetPredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
FromTargetAgentIdPredicateAO overwrites any union data inside the TargetPredicateAO as the provided TargetAgentIdPredicateAO
func (*TargetPredicateAO) FromTargetAttributeKeyCountPredicateAO ¶
func (t *TargetPredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
FromTargetAttributeKeyCountPredicateAO overwrites any union data inside the TargetPredicateAO as the provided TargetAttributeKeyCountPredicateAO
func (*TargetPredicateAO) FromTargetAttributeKeyPredicateAO ¶
func (t *TargetPredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
FromTargetAttributeKeyPredicateAO overwrites any union data inside the TargetPredicateAO as the provided TargetAttributeKeyPredicateAO
func (*TargetPredicateAO) FromTargetAttributeKeyPresencePredicateAO ¶
func (t *TargetPredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
FromTargetAttributeKeyPresencePredicateAO overwrites any union data inside the TargetPredicateAO as the provided TargetAttributeKeyPresencePredicateAO
func (*TargetPredicateAO) FromTargetAttributeKeyValuePredicateAO ¶
func (t *TargetPredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
FromTargetAttributeKeyValuePredicateAO overwrites any union data inside the TargetPredicateAO as the provided TargetAttributeKeyValuePredicateAO
func (*TargetPredicateAO) FromTargetNamePredicateAO ¶
func (t *TargetPredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
FromTargetNamePredicateAO overwrites any union data inside the TargetPredicateAO as the provided TargetNamePredicateAO
func (*TargetPredicateAO) FromTargetTypePredicateAO ¶
func (t *TargetPredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
FromTargetTypePredicateAO overwrites any union data inside the TargetPredicateAO as the provided TargetTypePredicateAO
func (TargetPredicateAO) MarshalJSON ¶
func (t TargetPredicateAO) MarshalJSON() ([]byte, error)
func (*TargetPredicateAO) MergeNegationTargetPredicateAO ¶
func (t *TargetPredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
MergeNegationTargetPredicateAO performs a merge with any union data inside the TargetPredicateAO, using the provided NegationTargetPredicateAO
func (*TargetPredicateAO) MergeQueryLanguagePredicateAO ¶
func (t *TargetPredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
MergeQueryLanguagePredicateAO performs a merge with any union data inside the TargetPredicateAO, using the provided QueryLanguagePredicateAO
func (*TargetPredicateAO) MergeTargetAgentIdPredicateAO ¶
func (t *TargetPredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
MergeTargetAgentIdPredicateAO performs a merge with any union data inside the TargetPredicateAO, using the provided TargetAgentIdPredicateAO
func (*TargetPredicateAO) MergeTargetAttributeKeyCountPredicateAO ¶
func (t *TargetPredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
MergeTargetAttributeKeyCountPredicateAO performs a merge with any union data inside the TargetPredicateAO, using the provided TargetAttributeKeyCountPredicateAO
func (*TargetPredicateAO) MergeTargetAttributeKeyPredicateAO ¶
func (t *TargetPredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
MergeTargetAttributeKeyPredicateAO performs a merge with any union data inside the TargetPredicateAO, using the provided TargetAttributeKeyPredicateAO
func (*TargetPredicateAO) MergeTargetAttributeKeyPresencePredicateAO ¶
func (t *TargetPredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
MergeTargetAttributeKeyPresencePredicateAO performs a merge with any union data inside the TargetPredicateAO, using the provided TargetAttributeKeyPresencePredicateAO
func (*TargetPredicateAO) MergeTargetAttributeKeyValuePredicateAO ¶
func (t *TargetPredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
MergeTargetAttributeKeyValuePredicateAO performs a merge with any union data inside the TargetPredicateAO, using the provided TargetAttributeKeyValuePredicateAO
func (*TargetPredicateAO) MergeTargetNamePredicateAO ¶
func (t *TargetPredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
MergeTargetNamePredicateAO performs a merge with any union data inside the TargetPredicateAO, using the provided TargetNamePredicateAO
func (*TargetPredicateAO) MergeTargetTypePredicateAO ¶
func (t *TargetPredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
MergeTargetTypePredicateAO performs a merge with any union data inside the TargetPredicateAO, using the provided TargetTypePredicateAO
func (*TargetPredicateAO) UnmarshalJSON ¶
func (t *TargetPredicateAO) UnmarshalJSON(b []byte) error
type TargetPredicateTemplateAO ¶
type TargetPredicateTemplateAO struct {
// Description Description of the template.
Description *string `json:"description,omitempty"`
// Name Display name of the template.
Name *string `json:"name,omitempty"`
// Template Query language template.
Template string `json:"template"`
}
TargetPredicateTemplateAO A predefined target predicate template that users can apply when configuring an action.
type TargetSelectorAO ¶
type TargetSelectorAO struct {
TargetQuery *string `json:"targetQuery,omitempty"`
Type string `json:"type"`
}
TargetSelectorAO defines model for TargetSelectorAO.
type TargetStatsRequest ¶
type TargetStatsRequest struct {
// Predicate Query defining the overall superset of targets being effected
//
// Example: [{"key":"container.host/name","operator":"EQUALS","values":["docker-desktop/minikube"]}]
Predicate *TargetPredicateAO `json:"predicate,omitempty"`
// Query Alternative to `predicate`. If both `query` and `predicate` will be provided, `query` will override the `predicate`.
//
// Example: (aws.account="123" OR aws.account="456"
Query *string `json:"query,omitempty"`
}
TargetStatsRequest defines model for TargetStatsRequest.
type TargetTypePredicateAO ¶
type TargetTypePredicateAO struct {
Types []string `json:"types"`
// contains filtered or unexported fields
}
TargetTypePredicateAO defines model for TargetTypePredicateAO.
func (TargetTypePredicateAO) AsNegationTargetPredicateAO ¶
func (t TargetTypePredicateAO) AsNegationTargetPredicateAO() (NegationTargetPredicateAO, error)
AsNegationTargetPredicateAO returns the union data inside the TargetTypePredicateAO as a NegationTargetPredicateAO
func (TargetTypePredicateAO) AsQueryLanguagePredicateAO ¶
func (t TargetTypePredicateAO) AsQueryLanguagePredicateAO() (QueryLanguagePredicateAO, error)
AsQueryLanguagePredicateAO returns the union data inside the TargetTypePredicateAO as a QueryLanguagePredicateAO
func (TargetTypePredicateAO) AsTargetAgentIdPredicateAO ¶
func (t TargetTypePredicateAO) AsTargetAgentIdPredicateAO() (TargetAgentIdPredicateAO, error)
AsTargetAgentIdPredicateAO returns the union data inside the TargetTypePredicateAO as a TargetAgentIdPredicateAO
func (TargetTypePredicateAO) AsTargetAttributeKeyCountPredicateAO ¶
func (t TargetTypePredicateAO) AsTargetAttributeKeyCountPredicateAO() (TargetAttributeKeyCountPredicateAO, error)
AsTargetAttributeKeyCountPredicateAO returns the union data inside the TargetTypePredicateAO as a TargetAttributeKeyCountPredicateAO
func (TargetTypePredicateAO) AsTargetAttributeKeyPredicateAO ¶
func (t TargetTypePredicateAO) AsTargetAttributeKeyPredicateAO() (TargetAttributeKeyPredicateAO, error)
AsTargetAttributeKeyPredicateAO returns the union data inside the TargetTypePredicateAO as a TargetAttributeKeyPredicateAO
func (TargetTypePredicateAO) AsTargetAttributeKeyPresencePredicateAO ¶
func (t TargetTypePredicateAO) AsTargetAttributeKeyPresencePredicateAO() (TargetAttributeKeyPresencePredicateAO, error)
AsTargetAttributeKeyPresencePredicateAO returns the union data inside the TargetTypePredicateAO as a TargetAttributeKeyPresencePredicateAO
func (TargetTypePredicateAO) AsTargetAttributeKeyValuePredicateAO ¶
func (t TargetTypePredicateAO) AsTargetAttributeKeyValuePredicateAO() (TargetAttributeKeyValuePredicateAO, error)
AsTargetAttributeKeyValuePredicateAO returns the union data inside the TargetTypePredicateAO as a TargetAttributeKeyValuePredicateAO
func (TargetTypePredicateAO) AsTargetNamePredicateAO ¶
func (t TargetTypePredicateAO) AsTargetNamePredicateAO() (TargetNamePredicateAO, error)
AsTargetNamePredicateAO returns the union data inside the TargetTypePredicateAO as a TargetNamePredicateAO
func (TargetTypePredicateAO) AsTargetTypePredicateAO ¶
func (t TargetTypePredicateAO) AsTargetTypePredicateAO() (TargetTypePredicateAO, error)
AsTargetTypePredicateAO returns the union data inside the TargetTypePredicateAO as a TargetTypePredicateAO
func (*TargetTypePredicateAO) FromNegationTargetPredicateAO ¶
func (t *TargetTypePredicateAO) FromNegationTargetPredicateAO(v NegationTargetPredicateAO) error
FromNegationTargetPredicateAO overwrites any union data inside the TargetTypePredicateAO as the provided NegationTargetPredicateAO
func (*TargetTypePredicateAO) FromQueryLanguagePredicateAO ¶
func (t *TargetTypePredicateAO) FromQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
FromQueryLanguagePredicateAO overwrites any union data inside the TargetTypePredicateAO as the provided QueryLanguagePredicateAO
func (*TargetTypePredicateAO) FromTargetAgentIdPredicateAO ¶
func (t *TargetTypePredicateAO) FromTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
FromTargetAgentIdPredicateAO overwrites any union data inside the TargetTypePredicateAO as the provided TargetAgentIdPredicateAO
func (*TargetTypePredicateAO) FromTargetAttributeKeyCountPredicateAO ¶
func (t *TargetTypePredicateAO) FromTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
FromTargetAttributeKeyCountPredicateAO overwrites any union data inside the TargetTypePredicateAO as the provided TargetAttributeKeyCountPredicateAO
func (*TargetTypePredicateAO) FromTargetAttributeKeyPredicateAO ¶
func (t *TargetTypePredicateAO) FromTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
FromTargetAttributeKeyPredicateAO overwrites any union data inside the TargetTypePredicateAO as the provided TargetAttributeKeyPredicateAO
func (*TargetTypePredicateAO) FromTargetAttributeKeyPresencePredicateAO ¶
func (t *TargetTypePredicateAO) FromTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
FromTargetAttributeKeyPresencePredicateAO overwrites any union data inside the TargetTypePredicateAO as the provided TargetAttributeKeyPresencePredicateAO
func (*TargetTypePredicateAO) FromTargetAttributeKeyValuePredicateAO ¶
func (t *TargetTypePredicateAO) FromTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
FromTargetAttributeKeyValuePredicateAO overwrites any union data inside the TargetTypePredicateAO as the provided TargetAttributeKeyValuePredicateAO
func (*TargetTypePredicateAO) FromTargetNamePredicateAO ¶
func (t *TargetTypePredicateAO) FromTargetNamePredicateAO(v TargetNamePredicateAO) error
FromTargetNamePredicateAO overwrites any union data inside the TargetTypePredicateAO as the provided TargetNamePredicateAO
func (*TargetTypePredicateAO) FromTargetTypePredicateAO ¶
func (t *TargetTypePredicateAO) FromTargetTypePredicateAO(v TargetTypePredicateAO) error
FromTargetTypePredicateAO overwrites any union data inside the TargetTypePredicateAO as the provided TargetTypePredicateAO
func (TargetTypePredicateAO) MarshalJSON ¶
func (t TargetTypePredicateAO) MarshalJSON() ([]byte, error)
func (*TargetTypePredicateAO) MergeNegationTargetPredicateAO ¶
func (t *TargetTypePredicateAO) MergeNegationTargetPredicateAO(v NegationTargetPredicateAO) error
MergeNegationTargetPredicateAO performs a merge with any union data inside the TargetTypePredicateAO, using the provided NegationTargetPredicateAO
func (*TargetTypePredicateAO) MergeQueryLanguagePredicateAO ¶
func (t *TargetTypePredicateAO) MergeQueryLanguagePredicateAO(v QueryLanguagePredicateAO) error
MergeQueryLanguagePredicateAO performs a merge with any union data inside the TargetTypePredicateAO, using the provided QueryLanguagePredicateAO
func (*TargetTypePredicateAO) MergeTargetAgentIdPredicateAO ¶
func (t *TargetTypePredicateAO) MergeTargetAgentIdPredicateAO(v TargetAgentIdPredicateAO) error
MergeTargetAgentIdPredicateAO performs a merge with any union data inside the TargetTypePredicateAO, using the provided TargetAgentIdPredicateAO
func (*TargetTypePredicateAO) MergeTargetAttributeKeyCountPredicateAO ¶
func (t *TargetTypePredicateAO) MergeTargetAttributeKeyCountPredicateAO(v TargetAttributeKeyCountPredicateAO) error
MergeTargetAttributeKeyCountPredicateAO performs a merge with any union data inside the TargetTypePredicateAO, using the provided TargetAttributeKeyCountPredicateAO
func (*TargetTypePredicateAO) MergeTargetAttributeKeyPredicateAO ¶
func (t *TargetTypePredicateAO) MergeTargetAttributeKeyPredicateAO(v TargetAttributeKeyPredicateAO) error
MergeTargetAttributeKeyPredicateAO performs a merge with any union data inside the TargetTypePredicateAO, using the provided TargetAttributeKeyPredicateAO
func (*TargetTypePredicateAO) MergeTargetAttributeKeyPresencePredicateAO ¶
func (t *TargetTypePredicateAO) MergeTargetAttributeKeyPresencePredicateAO(v TargetAttributeKeyPresencePredicateAO) error
MergeTargetAttributeKeyPresencePredicateAO performs a merge with any union data inside the TargetTypePredicateAO, using the provided TargetAttributeKeyPresencePredicateAO
func (*TargetTypePredicateAO) MergeTargetAttributeKeyValuePredicateAO ¶
func (t *TargetTypePredicateAO) MergeTargetAttributeKeyValuePredicateAO(v TargetAttributeKeyValuePredicateAO) error
MergeTargetAttributeKeyValuePredicateAO performs a merge with any union data inside the TargetTypePredicateAO, using the provided TargetAttributeKeyValuePredicateAO
func (*TargetTypePredicateAO) MergeTargetNamePredicateAO ¶
func (t *TargetTypePredicateAO) MergeTargetNamePredicateAO(v TargetNamePredicateAO) error
MergeTargetNamePredicateAO performs a merge with any union data inside the TargetTypePredicateAO, using the provided TargetNamePredicateAO
func (*TargetTypePredicateAO) MergeTargetTypePredicateAO ¶
func (t *TargetTypePredicateAO) MergeTargetTypePredicateAO(v TargetTypePredicateAO) error
MergeTargetTypePredicateAO performs a merge with any union data inside the TargetTypePredicateAO, using the provided TargetTypePredicateAO
func (*TargetTypePredicateAO) UnmarshalJSON ¶
func (t *TargetTypePredicateAO) UnmarshalJSON(b []byte) error
type TeamAL ¶
type TeamAL struct {
Id openapi_types.UUID `json:"id"`
Key string `json:"key"`
Name string `json:"name"`
}
TeamAL The team in which the event was triggered
Example: {"id":"a2167b29-e73b-4445-8468-4670a0b459b3","key":"ADMIN","name":"Administrators"}
type TeamAO ¶
type TeamAO struct {
// AllowedActions Set of allowed actions that can be used in an experiment of this team
//
// Example: ["com.steadybit.extension_host.host.stress-cpu"]
AllowedActions []string `json:"allowedActions"`
// AllowedEnvironments Set of allowed environments, identified via name
//
// Example: ["Global"]
AllowedEnvironments []string `json:"allowedEnvironments"`
// Description An optional description of a team
Description *string `json:"description,omitempty"`
Id *openapi_types.UUID `json:"id,omitempty"`
// Key Unique identifier of a team
//
// Example: ADM
Key string `json:"key"`
// LogoColor Color scheme of the logo used to identify the team in the Platform UI
//
// Example: cyanDark
LogoColor *string `json:"logoColor,omitempty"`
// LogoId Identifier of the logo used to identify the team in the Platform UI
//
// Example: 1
LogoId *string `json:"logoId,omitempty"`
// ManagedBy How a team or team membership is managed
//
// Example: MANUAL
ManagedBy *TeamAOManagedBy `json:"managedBy,omitempty"`
// Members Members that are associated to this team
//
// Example: {"role":"OWNER","username":"auth0|11a9315afc84590069cd53b2"}
Members []MemberAO `json:"members"`
// Name Name of a team
//
// Example: ADMIN
Name string `json:"name"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
TeamAO A team that is uniquely identified via it's teamKey and has members, allowed environments and actions.
Example: {"allowedActions":["com.steadybit.extension_host.host.stress-cpu"],"allowedEnvironments":["Global"],"id":"71ab0180-8abc-4d30-8acb-6aa024e3065f","key":"ADM","logoColor":"cyanDark","logoId":"1","members":[{"role":"OWNER","username":"auth0|11a9315afc84590069cd53b2"},{"role":"MEMBER","username":"auth0|13b1s51vg184590069cd51ab"},{"role":"MEMBER","username":"auth0|1va2g15afc84590069cd53c3"}],"name":"Administrators","version":1}
type TeamAOManagedBy ¶
type TeamAOManagedBy string
TeamAOManagedBy How a team or team membership is managed
Example: MANUAL
const ( TeamAOManagedByLDAP TeamAOManagedBy = "LDAP" TeamAOManagedByMANUAL TeamAOManagedBy = "MANUAL" TeamAOManagedByOIDC TeamAOManagedBy = "OIDC" )
Defines values for TeamAOManagedBy.
func (TeamAOManagedBy) Valid ¶
func (e TeamAOManagedBy) Valid() bool
Valid indicates whether the value is a known member of the TeamAOManagedBy enum.
type TeamEnvironmentAO ¶
type TeamEnvironmentAO struct {
// Name Name of the environment.
//
// Example: Global
Name string `json:"name"`
}
TeamEnvironmentAO Environment assigned to a team.
Example: {"name":"Global"}
type TeamEnvironmentsAO ¶
type TeamEnvironmentsAO struct {
// Environments Environments that are assigned to this team
//
// Example: [{"name":"Global"},{"name":"Shop Production"}]
Environments []TeamEnvironmentAO `json:"environments"`
}
TeamEnvironmentsAO List of environments that are assigned to this team.
Example: {"environments":[{"name":"Global"},{"name":"Shop Production"}]}
type TeamEnvironmentsUpdateAO ¶
type TeamEnvironmentsUpdateAO struct {
// Environments Environments that should be updated to this team
//
// Example: [{"name":"Global"},{"name":"Shop Production"}]
Environments []TeamEnvironmentAO `json:"environments"`
}
TeamEnvironmentsUpdateAO Update request to change the environments of a specific team.
Example: {"environments":[{"name":"Global"},{"name":"Shop Production"}]}
type TeamMembersAO ¶
type TeamMembersAO struct {
// Members Members that are associated to this team
//
// Example: [{"email":"jane.doe@steadybit.com","name":"jane doe","role":"OWNER","username":"13av2737-b318-4048-a79d-4789d645bc31"},{"email":"jane.smith@steadybit.com","name":"john smith","role":"MEMBER","username":"google-oauth2|931412422966030837225"}]
Members []MemberAO `json:"members"`
}
TeamMembersAO List of members that are part of this team.
Example: {"members":[{"role":"OWNER","username":"13av2737-b318-4048-a79d-4789d645bc31"},{"role":"MEMBER","username":"google-oauth2|931412422966030837225"}]}
type TeamMembersRemoveAO ¶
type TeamMembersRemoveAO struct {
Emails *[]string `json:"emails,omitempty"`
Usernames *[]string `json:"usernames,omitempty"`
}
TeamMembersRemoveAO Team members that should be removed from a given team. You can specify the user to be removed via the internal identifier `usernames` or via the user's `emails`. If you specify both, both set of users will be removed.
Example: {"emails":["jane.doe@example.com","javier.rodriguez@example.com"],"usernames":["13av2737-b318-4048-a79d-4789d645bc31"]}
type TeamMembersUpdateAO ¶
type TeamMembersUpdateAO struct {
// Members Members that should be updated to this team
//
// Example: {"email":"jane.doe@example.com","role":"OWNER"}
Members []MemberUpdateAO `json:"members"`
}
TeamMembersUpdateAO Update request to change the members of a specific team. Specify either username, being a Steadybit user id, or the email address of the user.
Example: {"members":[{"email":"jane.doe@example.com","role":"OWNER"},{"email":"javier.rodriguez@example.com","role":"MEMBER"},{"role":"MEMBER","username":"auth0|1va2g15afc84590069cd53c3"}]}
type TeamSummariesAO ¶
type TeamSummariesAO struct {
Teams *[]TeamAO `json:"teams,omitempty"`
}
TeamSummariesAO List of teams.
Example: {"teams":[{"allowedActions":["com.steadybit.extension_host.host.stress-cpu"],"allowedEnvironments":["Global"],"id":"714b0180-8abc-4d30-8acb-6aa024e3065f","key":"ADM","logoColor":"cyanDark","logoId":"1","members":[{"role":"OWNER","username":"auth0|11a9315afc84590069cd53b2"}],"name":"Administrators","version":1}]}
type TenantAL ¶
TenantAL The tenant in which the event was performed. Only relevant in case you are using multiple tenants of the Steadybit platform.
Example: {"key":"Demo","name":"Demo Tenant"}
type TimeSeriesAO ¶
type TimeSeriesAO struct {
// Name Name of the series, corresponding to the group label.
Name *string `json:"name,omitempty"`
// Values Date-value pairs, each serialized as [date, count].
Values *[]TimeSeriesValueAO `json:"values,omitempty"`
}
TimeSeriesAO A named time series with date-value pairs.
type TimeSeriesReportAO ¶
type TimeSeriesReportAO struct {
// From Start date of the requested report range (inclusive).
//
// Example: 2026-01-01
From *openapi_types.Date `json:"from,omitempty"`
// GroupBy The grouping dimension applied to the series.
GroupBy *TimeSeriesReportAOGroupBy `json:"groupBy,omitempty"`
// Rollup The time bucket granularity for report aggregation.
Rollup *TimeSeriesReportAORollup `json:"rollup,omitempty"`
// Series The time-series data, one entry per group.
Series *[]TimeSeriesAO `json:"series,omitempty"`
// To End date of the requested report range (inclusive).
//
// Example: 2026-03-01
To *openapi_types.Date `json:"to,omitempty"`
}
TimeSeriesReportAO Time-series report data with metadata describing the query context.
Example: {"from":"2026-01-01","groupBy":"NONE","rollup":"MONTHLY","series":[{"name":"users","values":[["2026-01-01",23],["2026-02-01",42],["2026-03-01",42]]}],"to":"2026-03-01"}
type TimeSeriesReportAOGroupBy ¶
type TimeSeriesReportAOGroupBy string
TimeSeriesReportAOGroupBy The grouping dimension applied to the series.
const ( TimeSeriesReportAOGroupByACTION TimeSeriesReportAOGroupBy = "ACTION" TimeSeriesReportAOGroupByCATEGORY TimeSeriesReportAOGroupBy = "CATEGORY" TimeSeriesReportAOGroupByCREATEDVIA TimeSeriesReportAOGroupBy = "CREATED_VIA" TimeSeriesReportAOGroupByISSUESDISCOVERED TimeSeriesReportAOGroupBy = "ISSUES_DISCOVERED" TimeSeriesReportAOGroupByISSUESFIXED TimeSeriesReportAOGroupBy = "ISSUES_FIXED" TimeSeriesReportAOGroupByNONE TimeSeriesReportAOGroupBy = "NONE" TimeSeriesReportAOGroupByORIGIN TimeSeriesReportAOGroupBy = "ORIGIN" TimeSeriesReportAOGroupByRISKLEVEL TimeSeriesReportAOGroupBy = "RISK_LEVEL" TimeSeriesReportAOGroupBySTATE TimeSeriesReportAOGroupBy = "STATE" TimeSeriesReportAOGroupByTRIGGER TimeSeriesReportAOGroupBy = "TRIGGER" )
Defines values for TimeSeriesReportAOGroupBy.
func (TimeSeriesReportAOGroupBy) Valid ¶
func (e TimeSeriesReportAOGroupBy) Valid() bool
Valid indicates whether the value is a known member of the TimeSeriesReportAOGroupBy enum.
type TimeSeriesReportAORollup ¶
type TimeSeriesReportAORollup string
TimeSeriesReportAORollup The time bucket granularity for report aggregation.
const ( TimeSeriesReportAORollupDAILY TimeSeriesReportAORollup = "DAILY" TimeSeriesReportAORollupMONTHLY TimeSeriesReportAORollup = "MONTHLY" )
Defines values for TimeSeriesReportAORollup.
func (TimeSeriesReportAORollup) Valid ¶
func (e TimeSeriesReportAORollup) Valid() bool
Valid indicates whether the value is a known member of the TimeSeriesReportAORollup enum.
type TimeSeriesValueAO ¶
type TimeSeriesValueAO struct {
// Date Start date of the time bucket.
//
// Example: 2026-01-01
Date *openapi_types.Date `json:"date,omitempty"`
// Value The count for this time bucket.
Value *int32 `json:"value,omitempty"`
}
TimeSeriesValueAO A date-value pair serialized as a two-element array [date, count].
type UnlinkCustomExperimentParams ¶
type UnlinkCustomExperimentParams struct {
ExperimentKey string `form:"experimentKey" json:"experimentKey"`
}
UnlinkCustomExperimentParams defines parameters for UnlinkCustomExperiment.
type UnlinkCustomExperimentResponse ¶
func ParseUnlinkCustomExperimentResponse ¶
func ParseUnlinkCustomExperimentResponse(rsp *http.Response) (*UnlinkCustomExperimentResponse, error)
ParseUnlinkCustomExperimentResponse parses an HTTP response from a UnlinkCustomExperimentWithResponse call
func (UnlinkCustomExperimentResponse) ContentType ¶
func (r UnlinkCustomExperimentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UnlinkCustomExperimentResponse) GetBody ¶
func (r UnlinkCustomExperimentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UnlinkCustomExperimentResponse) Status ¶
func (r UnlinkCustomExperimentResponse) Status() string
Status returns HTTPResponse.Status
func (UnlinkCustomExperimentResponse) StatusCode ¶
func (r UnlinkCustomExperimentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateEnvironmentVariablesJSONBody ¶
type UpdateEnvironmentVariablesJSONBody map[string]VariableExpressionAO
UpdateEnvironmentVariablesJSONBody defines parameters for UpdateEnvironmentVariables.
type UpdateEnvironmentVariablesJSONRequestBody ¶
type UpdateEnvironmentVariablesJSONRequestBody UpdateEnvironmentVariablesJSONBody
UpdateEnvironmentVariablesJSONRequestBody defines body for UpdateEnvironmentVariables for application/json ContentType.
type UpdateEnvironmentVariablesResponse ¶
func ParseUpdateEnvironmentVariablesResponse ¶
func ParseUpdateEnvironmentVariablesResponse(rsp *http.Response) (*UpdateEnvironmentVariablesResponse, error)
ParseUpdateEnvironmentVariablesResponse parses an HTTP response from a UpdateEnvironmentVariablesWithResponse call
func (UpdateEnvironmentVariablesResponse) ContentType ¶
func (r UpdateEnvironmentVariablesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateEnvironmentVariablesResponse) GetBody ¶
func (r UpdateEnvironmentVariablesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateEnvironmentVariablesResponse) Status ¶
func (r UpdateEnvironmentVariablesResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateEnvironmentVariablesResponse) StatusCode ¶
func (r UpdateEnvironmentVariablesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateExecutionPropertiesJSONRequestBody ¶
type UpdateExecutionPropertiesJSONRequestBody = UpdateExperimentExecutionPropertiesAO
UpdateExecutionPropertiesJSONRequestBody defines body for UpdateExecutionProperties for application/json ContentType.
type UpdateExecutionPropertiesResponse ¶
func ParseUpdateExecutionPropertiesResponse ¶
func ParseUpdateExecutionPropertiesResponse(rsp *http.Response) (*UpdateExecutionPropertiesResponse, error)
ParseUpdateExecutionPropertiesResponse parses an HTTP response from a UpdateExecutionPropertiesWithResponse call
func (UpdateExecutionPropertiesResponse) ContentType ¶
func (r UpdateExecutionPropertiesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateExecutionPropertiesResponse) GetBody ¶
func (r UpdateExecutionPropertiesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateExecutionPropertiesResponse) Status ¶
func (r UpdateExecutionPropertiesResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateExecutionPropertiesResponse) StatusCode ¶
func (r UpdateExecutionPropertiesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateExperimentAO ¶
type UpdateExperimentAO struct {
// Environment The name of the environment to be used
//
// Example: Global
Environment *string `json:"environment,omitempty"`
// ExperimentVariables Variables that will be used when the experiment will be executed. Experiment variables will override existing environment variables. Each value is either a constant string, an array of constant strings, or a select expression object (`{"type":"select",...}`).
//
// Example: {"httpEndpoint":"http://dev.shop.products.internal","httpEndpointZones":{"attribute":"aws.zone","count":2,"mode":"fixed","targetType":"com.steadybit.extension_container.container","type":"select"},"targetServices":["gateway","hot-deals","fashion-bestseller"]}
ExperimentVariables *map[string]VariableExpressionAO `json:"experimentVariables,omitempty"`
// ExternalId An optional external identifier used for create-or-update semantics.
//
// Example: 1234567
ExternalId *string `json:"externalId,omitempty"`
// ExternalReference An optional external reference. Will be removed and is replaced by tags. If used with experiment creation, the value will be added as a tag.
//
// Example: INCIDENT-4711
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ExternalReference *string `json:"externalReference,omitempty"`
// Hypothesis The hypothesis that is validated by the experiment
//
// Example: System is able to survive a latency in the network of 1500ms
Hypothesis *string `json:"hypothesis,omitempty"`
// Lanes The lanes (steps executed in parallel) in the experiment. Each lane consists of multiple steps that are executed sequential per lane.
//
// Example: [{"steps":[{"actionType":"com.steadybit.extension_host.stress-cpu","ignoreFailure":false,"parameters":{"duration":"30s"},"radius":{"percentage":100,"predicate":{"operator":"AND","predicates":[{"key":"k8s.deployment","operator":"EQUALS","values":["hot-deals"]}]},"query":null,"targetType":"com.steadybit.extension_container.container"},"type":"action"}]}]
Lanes []ExperimentLaneAO `json:"lanes"`
// Name Name of the experiment to easily identify the experiment
//
// Example: Shop survives unavailability of hot-deals products
Name string `json:"name"`
// Properties The properties of the experiment
//
// Example: {"EXAMPLE_CUSTOM_PROPERTY":"I like this experiment!"}
Properties *map[string]interface{} `json:"properties,omitempty"`
//
// Example: [OPS, SHOP]
SharedTeams *[]string `json:"sharedTeams,omitempty"`
// Tags An optional set of tags you can use to search for.
//
// Example: ["myTag","myOtherTag"]
Tags *[]string `json:"tags,omitempty"`
// Team The key of the team to be used
//
// Example: ADM
Team string `json:"team"`
}
UpdateExperimentAO Update the experiment with the given experiment design.
Example: {"environment":"Global","lanes":[{"steps":[{"actionType":"com.steadybit.extension_host.stress-cpu","ignoreFailure":false,"parameters":{"duration":"30s"},"radius":{"percentage":100,"predicate":{"operator":"AND","predicates":[{"key":"k8s.deployment","operator":"EQUALS","values":["hot-deals"]}]},"query":null,"targetType":"com.steadybit.extension_container.container"},"type":"action"}]}],"name":"Blackhole Hot-deals","properties":{"EXAMPLE_CUSTOM_PROPERTY":"I like this experiment!"},"team":"ADM"}
type UpdateExperimentByTemplateJSONRequestBody ¶
type UpdateExperimentByTemplateJSONRequestBody = UpdateExperimentFromTemplateAO
UpdateExperimentByTemplateJSONRequestBody defines body for UpdateExperimentByTemplate for application/json ContentType.
type UpdateExperimentByTemplateParams ¶
type UpdateExperimentByTemplateParams struct {
// ResetProperties If `true`, all properties will be reset to properties specified in the template either with their fixed values in the template or via template placeholder. If `false`, existing properties will stay untouched, only new properties will be added.
ResetProperties *bool `form:"resetProperties,omitempty" json:"resetProperties,omitempty"`
}
UpdateExperimentByTemplateParams defines parameters for UpdateExperimentByTemplate.
type UpdateExperimentByTemplateResponse ¶
func ParseUpdateExperimentByTemplateResponse ¶
func ParseUpdateExperimentByTemplateResponse(rsp *http.Response) (*UpdateExperimentByTemplateResponse, error)
ParseUpdateExperimentByTemplateResponse parses an HTTP response from a UpdateExperimentByTemplateWithResponse call
func (UpdateExperimentByTemplateResponse) ContentType ¶
func (r UpdateExperimentByTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateExperimentByTemplateResponse) GetBody ¶
func (r UpdateExperimentByTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateExperimentByTemplateResponse) Status ¶
func (r UpdateExperimentByTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateExperimentByTemplateResponse) StatusCode ¶
func (r UpdateExperimentByTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateExperimentExecutionPropertiesAO ¶
type UpdateExperimentExecutionPropertiesAO struct {
// Properties The properties of the experiment execution
//
// Example: {"EXAMPLE_CUSTOM_PROPERTY":"I like this experiment execution!"}
Properties *map[string]interface{} `json:"properties,omitempty"`
// PropertiesOrder The order of the properties for this experiment execution. This may include global and experiment scoped assigned properties.
//
// Example: ["EXAMPLE_CUSTOM_PROPERTY"]
PropertiesOrder *[]string `json:"propertiesOrder,omitempty"`
// PropertiesVersion Version for optimistic locking (optional in the API)
//
// Example: 1
PropertiesVersion *int32 `json:"propertiesVersion,omitempty"`
}
UpdateExperimentExecutionPropertiesAO Experiment execution data that should be used only for that specific experiment execution and will not update the experiment design.
Example: {"properties":{"EXAMPLE_CUSTOM_PROPERTY":"I like this experiment execution!"},"propertiesOrder":["EXAMPLE_CUSTOM_PROPERTY"],"propertiesVersion":1}
type UpdateExperimentFromTemplateAO ¶
type UpdateExperimentFromTemplateAO struct {
// Placeholders List of template placeholder values
Placeholders *[]ExperimentTemplatePlaceholderValueAO `json:"placeholders,omitempty"`
}
UpdateExperimentFromTemplateAO Update an experiment based on an experiment template.
Example: {
"placeholders": [
{
"key": "CLUSTER",
"value": "demo-cluster"
},
{
"key": "BOOL",
"value": true
},
{
"key": "NUMBER",
"value": 15
},
{
"key": "KEYVALUE",
"value": [
{
"key": "example-a",
"value": "abc"
},
{
"key": "example-b",
"value": "123"
}
]
},
{
"key": "LIST",
"value": [
"entry1",
"entry2",
"entry3"
]
},
{
"key": "FILE",
"value": {
"fileName": "example.txt",
"data": "SGVsbG8gV29ybGQh"
}
}
],
}
type UpdateExperimentJSONRequestBody ¶
type UpdateExperimentJSONRequestBody = UpdateExperimentAO
UpdateExperimentJSONRequestBody defines body for UpdateExperiment for application/json ContentType.
type UpdateExperimentResponse ¶
func ParseUpdateExperimentResponse ¶
func ParseUpdateExperimentResponse(rsp *http.Response) (*UpdateExperimentResponse, error)
ParseUpdateExperimentResponse parses an HTTP response from a UpdateExperimentWithResponse call
func (UpdateExperimentResponse) ContentType ¶
func (r UpdateExperimentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateExperimentResponse) GetBody ¶
func (r UpdateExperimentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateExperimentResponse) Status ¶
func (r UpdateExperimentResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateExperimentResponse) StatusCode ¶
func (r UpdateExperimentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateLandscapeViewJSONRequestBody ¶
type UpdateLandscapeViewJSONRequestBody = UpsertLandscapeViewAO
UpdateLandscapeViewJSONRequestBody defines body for UpdateLandscapeView for application/json ContentType.
type UpdateLandscapeViewResponse ¶
type UpdateLandscapeViewResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LandscapeViewAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *LandscapeViewAO
}
func ParseUpdateLandscapeViewResponse ¶
func ParseUpdateLandscapeViewResponse(rsp *http.Response) (*UpdateLandscapeViewResponse, error)
ParseUpdateLandscapeViewResponse parses an HTTP response from a UpdateLandscapeViewWithResponse call
func (UpdateLandscapeViewResponse) ContentType ¶
func (r UpdateLandscapeViewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateLandscapeViewResponse) GetBody ¶
func (r UpdateLandscapeViewResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateLandscapeViewResponse) GetJSON200 ¶
func (r UpdateLandscapeViewResponse) GetJSON200() *LandscapeViewAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateLandscapeViewResponse) GetYAML200 ¶
func (r UpdateLandscapeViewResponse) GetYAML200() *LandscapeViewAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (UpdateLandscapeViewResponse) Status ¶
func (r UpdateLandscapeViewResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateLandscapeViewResponse) StatusCode ¶
func (r UpdateLandscapeViewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertCustomWebhookJSONRequestBody ¶
type UpsertCustomWebhookJSONRequestBody = CustomWebhookUpsertAO
UpsertCustomWebhookJSONRequestBody defines body for UpsertCustomWebhook for application/json ContentType.
type UpsertCustomWebhookResponse ¶
type UpsertCustomWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CustomWebhookAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *CustomWebhookAO
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CustomWebhookAO
// YAML201 the response for an HTTP 201 `application/yaml` response
YAML201 *CustomWebhookAO
}
func ParseUpsertCustomWebhookResponse ¶
func ParseUpsertCustomWebhookResponse(rsp *http.Response) (*UpsertCustomWebhookResponse, error)
ParseUpsertCustomWebhookResponse parses an HTTP response from a UpsertCustomWebhookWithResponse call
func (UpsertCustomWebhookResponse) ContentType ¶
func (r UpsertCustomWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpsertCustomWebhookResponse) GetBody ¶
func (r UpsertCustomWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpsertCustomWebhookResponse) GetJSON200 ¶
func (r UpsertCustomWebhookResponse) GetJSON200() *CustomWebhookAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpsertCustomWebhookResponse) GetJSON201 ¶
func (r UpsertCustomWebhookResponse) GetJSON201() *CustomWebhookAO
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (UpsertCustomWebhookResponse) GetYAML200 ¶
func (r UpsertCustomWebhookResponse) GetYAML200() *CustomWebhookAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (UpsertCustomWebhookResponse) GetYAML201 ¶
func (r UpsertCustomWebhookResponse) GetYAML201() *CustomWebhookAO
GetYAML201 returns the response for an HTTP 201 `application/yaml` response
func (UpsertCustomWebhookResponse) Status ¶
func (r UpsertCustomWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertCustomWebhookResponse) StatusCode ¶
func (r UpsertCustomWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertEnvironmentAO ¶
type UpsertEnvironmentAO struct {
// Id Unique identifier of a environment
Id *openapi_types.UUID `json:"id,omitempty"`
// Name Name of the environment.
//
// Example: Global
Name string `json:"name"`
// Predicate Query defining the overall superset of targets being effected
//
// Example: [{"key":"container.host/name","operator":"EQUALS","values":["docker-desktop/minikube"]}]
Predicate *TargetPredicateAO `json:"predicate,omitempty"`
// Query Alternative to `predicate`. If both `query` and `predicate` will be provided, `query` will override the `predicate`.
//
// Example: aws.account="123" OR aws.account="456"
Query *string `json:"query,omitempty"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
UpsertEnvironmentAO Update or insert environment.
Example: {"id":"2v1av42-e525-4c00-a13a-1ac32d170724","name":"Global","query":"aws.account=\"123\" OR aws.account=\"456\"","version":0}
type UpsertEnvironmentJSONRequestBody ¶
type UpsertEnvironmentJSONRequestBody = UpsertEnvironmentAO
UpsertEnvironmentJSONRequestBody defines body for UpsertEnvironment for application/json ContentType.
type UpsertEnvironmentResponse ¶
type UpsertEnvironmentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EnvironmentAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *EnvironmentAO
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *EnvironmentAO
// YAML201 the response for an HTTP 201 `application/yaml` response
YAML201 *EnvironmentAO
}
func ParseUpsertEnvironmentResponse ¶
func ParseUpsertEnvironmentResponse(rsp *http.Response) (*UpsertEnvironmentResponse, error)
ParseUpsertEnvironmentResponse parses an HTTP response from a UpsertEnvironmentWithResponse call
func (UpsertEnvironmentResponse) ContentType ¶
func (r UpsertEnvironmentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpsertEnvironmentResponse) GetBody ¶
func (r UpsertEnvironmentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpsertEnvironmentResponse) GetJSON200 ¶
func (r UpsertEnvironmentResponse) GetJSON200() *EnvironmentAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpsertEnvironmentResponse) GetJSON201 ¶
func (r UpsertEnvironmentResponse) GetJSON201() *EnvironmentAO
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (UpsertEnvironmentResponse) GetYAML200 ¶
func (r UpsertEnvironmentResponse) GetYAML200() *EnvironmentAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (UpsertEnvironmentResponse) GetYAML201 ¶
func (r UpsertEnvironmentResponse) GetYAML201() *EnvironmentAO
GetYAML201 returns the response for an HTTP 201 `application/yaml` response
func (UpsertEnvironmentResponse) Status ¶
func (r UpsertEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertEnvironmentResponse) StatusCode ¶
func (r UpsertEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertExperimentScheduleAO ¶
type UpsertExperimentScheduleAO struct {
// AllowParallel Should the experiment run if another experiment is running? Default is true.
//
// Example: true
AllowParallel *bool `json:"allowParallel,omitempty"`
// Cron Cron expression for the experiment schedule. Can't be used in combination with `startAt`.
//
// Example: 0 15 10 ? * *
Cron *string `json:"cron,omitempty"`
// Enabled If `false`, the schedule is deactivated and no experiment will be executed. Default is true.
//
// Example: false
Enabled *bool `json:"enabled,omitempty"`
// ExperimentKey The experiment that should be scheduled.
//
// Example: ADM-123
ExperimentKey string `json:"experimentKey"`
// Id The unique identifier of the schedule. If not set, a new schedule will be created.
//
// Example: 01951394-727f-76a0-8675-c7519ebd0ff5
Id *string `json:"id,omitempty"`
// StartAt Start date for a single execution. Can't be used in combination with `cron`.
StartAt *time.Time `json:"startAt,omitempty"`
// Timezone Optional timezone for a experiment schedule. Can only be used with `cron`.
//
// Example: Europe/Berlin
Timezone *string `json:"timezone,omitempty"`
// Variables Variables that will be used when the experiment will be executed. The variables will override existing environment or experiment variables. Each value is either a constant string, an array of constant strings, or a select expression object.
//
// Example: {"httpEndpoint":"http://dev.shop.products.internal"}
Variables *map[string]VariableExpressionAO `json:"variables,omitempty"`
}
UpsertExperimentScheduleAO An update or insert for an experiment schedule
Example: {"cron":"30 * * * * ? *","experimentKey":"ADM-8"}
type UpsertExperimentTemplateAO ¶
type UpsertExperimentTemplateAO struct {
// ExperimentName Name of the experiment created by this template. If omitted, the name needs to be added when the template is used.
//
// Example: Shop survives unavailability of database
ExperimentName *string `json:"experimentName,omitempty"`
// Hidden Should the experiment template be hidden
//
// Example: false
Hidden *bool `json:"hidden,omitempty"`
// Hypothesis The hypothesis that is validated by the experiment
//
// Example: System is able to survive a latency in the network of 1500ms
Hypothesis *string `json:"hypothesis,omitempty"`
Id *openapi_types.UUID `json:"id,omitempty"`
// Lanes The lanes (steps executed in parallel) in the experiment template. Each lane consists of multiple steps that are executed sequential per lane.
//
// Example: [{"steps":[{"actionType":"com.steadybit.extension_host.stress-cpu","ignoreFailure":false,"parameters":{"duration":"30s"},"radius":{"percentage":100,"predicate":{"operator":"AND","predicates":[{"key":"k8s.deployment","operator":"EQUALS","values":["hot-deals"]}]},"query":null,"targetType":"com.steadybit.extension_container.container"},"type":"action"}]}]
Lanes []ExperimentLaneAO `json:"lanes"`
// Placeholders A list of placeholders used in this experiment template.
Placeholders *[]ExperimentTemplatePlaceholderAO `json:"placeholders,omitempty"`
// Properties The properties of the experiment
//
// Example: {"EXAMPLE_CUSTOM_PROPERTY":"I like this experiment!"}
Properties *map[string]interface{} `json:"properties,omitempty"`
// PropertiesMetadata Metadata for properties used in this template.
//
// Example: [{"editableInExecution":false,"key":"EXAMPLE_CUSTOM_PROPERTY","required":true}]
PropertiesMetadata *[]PropertyMetadataAO `json:"propertiesMetadata,omitempty"`
// Tags A list of tags for this experiment template. (Up to 5)
Tags *[]string `json:"tags,omitempty"`
// TemplateDescription A brief description what the template is doing.
TemplateDescription string `json:"templateDescription"`
// TemplateTitle The title of the template
//
// Example: Shop survives unavailability of database
TemplateTitle string `json:"templateTitle"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
UpsertExperimentTemplateAO Insert or update the experiment template in Steadybit. The `id` will be used to identify whether the template already exists and should be updated or newly inserted.
Example: {"lanes":[{"steps":[{"actionType":"com.steadybit.extension_http.check.periodically","ignoreFailure":false,"parameters":{"connectTimeout":"5s","duration":"60s","followRedirects":false,"headers":[],"maxConcurrent":5,"method":"GET","readTimeout":"5s","requestsPerSecond":1,"statusCode":"200-299","successRate":"100","url":"[[HTTP_ENDPOINT]]"},"type":"action"}]},{"steps":[{"ignoreFailure":false,"parameters":{"duration":"10s"},"type":"wait"},{"actionType":"com.steadybit.extension_kubernetes.rollout-restart","ignoreFailure":false,"parameters":{"wait":false},"radius":{"percentage":50,"predicate":{"operator":"AND","predicates":[{"key":"k8s.cluster-name","operator":"EQUALS","values":["[[CLUSTER]]"]},{"key":"k8s.namespace","operator":"EQUALS","values":["[[NAMESPACE]]"]},{"key":"k8s.deployment","operator":"EQUALS","values":["[[DEPLOYMENT]]"]}]},"targetType":"com.steadybit.extension_kubernetes.kubernetes-deployment"},"type":"action"},{"actionType":"com.steadybit.extension_kubernetes.rollout-status","ignoreFailure":false,"parameters":{"duration":"10m"},"radius":{"percentage":50,"predicate":{"operator":"AND","predicates":[{"key":"k8s.cluster-name","operator":"EQUALS","values":["[[CLUSTER]]"]},{"key":"k8s.namespace","operator":"EQUALS","values":["[[NAMESPACE]]"]},{"key":"k8s.deployment","operator":"EQUALS","values":["[[DEPLOYMENT]]"]}]},"targetType":"com.steadybit.extension_kubernetes.kubernetes-deployment"},"type":"action"}]}],"placeholders":[{"description":"Which HTTP Endpoint should be checked during experiment execution?","key":"HTTP_ENDPOINT","name":"HTTP Endpoint"},{"description":"Which Kubernetes deployment do you want to restart?","key":"DEPLOYMENT","name":"Kubernetes Deployment"},{"description":"In which Kubernetes cluster is the deployment deployed to?","key":"CLUSTER","name":"Kubernetes Cluster"},{"description":"In which Kubernetes namespace is the deployment deployed to?","key":"NAMESPACE","name":"Kubernetes Namespace"}],"properties":{"EXAMPLE_CUSTOM_PROPERTY":"I like this experiment!"},"propertiesMetadata":[{"editableInExecution":false,"key":"EXAMPLE_CUSTOM_PROPERTY","required":true}],"tags":["Kubernetes"],"templateDescription":"Test if a given HTTP Endpoint remains funcitonal if a Kubernetes deployment is restarted.","templateTitle":"HTTP Endpoint remains functional during Kubernetes Rollout Restart"}
type UpsertExperimentTemplateJSONRequestBody ¶
type UpsertExperimentTemplateJSONRequestBody = UpsertExperimentTemplateAO
UpsertExperimentTemplateJSONRequestBody defines body for UpsertExperimentTemplate for application/json ContentType.
type UpsertExperimentTemplateResponse ¶
type UpsertExperimentTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExperimentTemplateAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ExperimentTemplateAO
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ExperimentTemplateAO
// YAML201 the response for an HTTP 201 `application/yaml` response
YAML201 *ExperimentTemplateAO
}
func ParseUpsertExperimentTemplateResponse ¶
func ParseUpsertExperimentTemplateResponse(rsp *http.Response) (*UpsertExperimentTemplateResponse, error)
ParseUpsertExperimentTemplateResponse parses an HTTP response from a UpsertExperimentTemplateWithResponse call
func (UpsertExperimentTemplateResponse) ContentType ¶
func (r UpsertExperimentTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpsertExperimentTemplateResponse) GetBody ¶
func (r UpsertExperimentTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpsertExperimentTemplateResponse) GetJSON200 ¶
func (r UpsertExperimentTemplateResponse) GetJSON200() *ExperimentTemplateAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpsertExperimentTemplateResponse) GetJSON201 ¶
func (r UpsertExperimentTemplateResponse) GetJSON201() *ExperimentTemplateAO
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (UpsertExperimentTemplateResponse) GetYAML200 ¶
func (r UpsertExperimentTemplateResponse) GetYAML200() *ExperimentTemplateAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (UpsertExperimentTemplateResponse) GetYAML201 ¶
func (r UpsertExperimentTemplateResponse) GetYAML201() *ExperimentTemplateAO
GetYAML201 returns the response for an HTTP 201 `application/yaml` response
func (UpsertExperimentTemplateResponse) Status ¶
func (r UpsertExperimentTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertExperimentTemplateResponse) StatusCode ¶
func (r UpsertExperimentTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertHubAO ¶
type UpsertHubAO struct {
// HubLink Website address of the the hub
//
// Example: https://hub.steadybit.com/
HubLink *string `json:"hubLink,omitempty"`
// HubName Name of the hub
HubName string `json:"hubName"`
Id *openapi_types.UUID `json:"id,omitempty"`
// RepositoryUrl HTTP address of the the hub's repository
//
// Example: https://github.com/steadybit/reliability-hub-db
RepositoryUrl string `json:"repositoryUrl"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
UpsertHubAO defines model for UpsertHubAO.
type UpsertHubJSONRequestBody ¶
type UpsertHubJSONRequestBody = UpsertHubAO
UpsertHubJSONRequestBody defines body for UpsertHub for application/json ContentType.
type UpsertHubParams ¶
type UpsertHubParams struct {
// Synchronize Whether to synchronize the hub or not.
Synchronize *bool `form:"synchronize,omitempty" json:"synchronize,omitempty"`
}
UpsertHubParams defines parameters for UpsertHub.
type UpsertHubResponse ¶
type UpsertHubResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HubAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *HubAO
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *HubAO
// YAML201 the response for an HTTP 201 `application/yaml` response
YAML201 *HubAO
}
func ParseUpsertHubResponse ¶
func ParseUpsertHubResponse(rsp *http.Response) (*UpsertHubResponse, error)
ParseUpsertHubResponse parses an HTTP response from a UpsertHubWithResponse call
func (UpsertHubResponse) ContentType ¶
func (r UpsertHubResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpsertHubResponse) GetBody ¶
func (r UpsertHubResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpsertHubResponse) GetJSON200 ¶
func (r UpsertHubResponse) GetJSON200() *HubAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpsertHubResponse) GetJSON201 ¶
func (r UpsertHubResponse) GetJSON201() *HubAO
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (UpsertHubResponse) GetYAML200 ¶
func (r UpsertHubResponse) GetYAML200() *HubAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (UpsertHubResponse) GetYAML201 ¶
func (r UpsertHubResponse) GetYAML201() *HubAO
GetYAML201 returns the response for an HTTP 201 `application/yaml` response
func (UpsertHubResponse) Status ¶
func (r UpsertHubResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertHubResponse) StatusCode ¶
func (r UpsertHubResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertLandscapeViewAO ¶
type UpsertLandscapeViewAO struct {
// ColorBy The color-by dimension: the attribute the targets are colored by, together with its advanced configuration.
ColorBy *LandscapeViewColorByAO `json:"colorBy,omitempty"`
// Description Description of the saved view.
//
// Example: All shop workloads grouped by namespace.
Description *string `json:"description,omitempty"`
// Environment Name of the environment the view is scoped to.
//
// Example: Global
Environment *string `json:"environment,omitempty"`
// FilterQuery Explorer filter query narrowing the targets shown on the landscape.
//
// Example: k8s.namespace="shop"
FilterQuery *string `json:"filterQuery,omitempty"`
// GroupBy Ordered list of group-by dimensions the targets are grouped by, each with its own advanced configuration.
GroupBy *[]LandscapeViewGroupByAO `json:"groupBy,omitempty"`
// Name Title of the saved view.
//
// Example: Kubernetes by namespace
Name *string `json:"name,omitempty"`
// ShowAdvice Whether reliability advice is shown on the landscape.
//
// Example: false
ShowAdvice *bool `json:"showAdvice,omitempty"`
// SizeBy Attribute key the size of a target is derived from.
//
// Example: k8s.container.cpu.limit
SizeBy *string `json:"sizeBy,omitempty"`
// Team Key of the team the saved view belongs to.
//
// Example: ADM
Team string `json:"team"`
}
UpsertLandscapeViewAO Create or update a saved view of the explorer landscape.
type UpsertPreflightActionIntegrationJSONRequestBody ¶
type UpsertPreflightActionIntegrationJSONRequestBody = PreflightActionIntegrationUpsertAO
UpsertPreflightActionIntegrationJSONRequestBody defines body for UpsertPreflightActionIntegration for application/json ContentType.
type UpsertPreflightActionIntegrationResponse ¶
type UpsertPreflightActionIntegrationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PreflightActionIntegrationAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PreflightActionIntegrationAO
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PreflightActionIntegrationAO
// YAML201 the response for an HTTP 201 `application/yaml` response
YAML201 *PreflightActionIntegrationAO
}
func ParseUpsertPreflightActionIntegrationResponse ¶
func ParseUpsertPreflightActionIntegrationResponse(rsp *http.Response) (*UpsertPreflightActionIntegrationResponse, error)
ParseUpsertPreflightActionIntegrationResponse parses an HTTP response from a UpsertPreflightActionIntegrationWithResponse call
func (UpsertPreflightActionIntegrationResponse) ContentType ¶
func (r UpsertPreflightActionIntegrationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpsertPreflightActionIntegrationResponse) GetBody ¶
func (r UpsertPreflightActionIntegrationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpsertPreflightActionIntegrationResponse) GetJSON200 ¶
func (r UpsertPreflightActionIntegrationResponse) GetJSON200() *PreflightActionIntegrationAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpsertPreflightActionIntegrationResponse) GetJSON201 ¶
func (r UpsertPreflightActionIntegrationResponse) GetJSON201() *PreflightActionIntegrationAO
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (UpsertPreflightActionIntegrationResponse) GetYAML200 ¶
func (r UpsertPreflightActionIntegrationResponse) GetYAML200() *PreflightActionIntegrationAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (UpsertPreflightActionIntegrationResponse) GetYAML201 ¶
func (r UpsertPreflightActionIntegrationResponse) GetYAML201() *PreflightActionIntegrationAO
GetYAML201 returns the response for an HTTP 201 `application/yaml` response
func (UpsertPreflightActionIntegrationResponse) Status ¶
func (r UpsertPreflightActionIntegrationResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertPreflightActionIntegrationResponse) StatusCode ¶
func (r UpsertPreflightActionIntegrationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertPreflightWebhookJSONRequestBody ¶
type UpsertPreflightWebhookJSONRequestBody = PreflightWebhookUpsertAO
UpsertPreflightWebhookJSONRequestBody defines body for UpsertPreflightWebhook for application/json ContentType.
type UpsertPreflightWebhookResponse ¶
type UpsertPreflightWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PreflightWebhookAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PreflightWebhookAO
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PreflightWebhookAO
// YAML201 the response for an HTTP 201 `application/yaml` response
YAML201 *PreflightWebhookAO
}
func ParseUpsertPreflightWebhookResponse ¶
func ParseUpsertPreflightWebhookResponse(rsp *http.Response) (*UpsertPreflightWebhookResponse, error)
ParseUpsertPreflightWebhookResponse parses an HTTP response from a UpsertPreflightWebhookWithResponse call
func (UpsertPreflightWebhookResponse) ContentType ¶
func (r UpsertPreflightWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpsertPreflightWebhookResponse) GetBody ¶
func (r UpsertPreflightWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpsertPreflightWebhookResponse) GetJSON200 ¶
func (r UpsertPreflightWebhookResponse) GetJSON200() *PreflightWebhookAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpsertPreflightWebhookResponse) GetJSON201 ¶
func (r UpsertPreflightWebhookResponse) GetJSON201() *PreflightWebhookAO
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (UpsertPreflightWebhookResponse) GetYAML200 ¶
func (r UpsertPreflightWebhookResponse) GetYAML200() *PreflightWebhookAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (UpsertPreflightWebhookResponse) GetYAML201 ¶
func (r UpsertPreflightWebhookResponse) GetYAML201() *PreflightWebhookAO
GetYAML201 returns the response for an HTTP 201 `application/yaml` response
func (UpsertPreflightWebhookResponse) Status ¶
func (r UpsertPreflightWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertPreflightWebhookResponse) StatusCode ¶
func (r UpsertPreflightWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertProfileJSONRequestBody ¶
type UpsertProfileJSONRequestBody = UpsertServiceProfileAO
UpsertProfileJSONRequestBody defines body for UpsertProfile for application/json ContentType.
type UpsertProfileParams ¶
type UpsertProfileParams struct {
// DeleteExperiments When templates are removed from a service profile, provided experiments using those templates will be affected. Setting the value to `true` will delete those experiments.
DeleteExperiments *bool `form:"deleteExperiments,omitempty" json:"deleteExperiments,omitempty"`
}
UpsertProfileParams defines parameters for UpsertProfile.
type UpsertProfileResponse ¶
type UpsertProfileResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceProfileAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ServiceProfileAO
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ServiceProfileAO
// YAML201 the response for an HTTP 201 `application/yaml` response
YAML201 *ServiceProfileAO
}
func ParseUpsertProfileResponse ¶
func ParseUpsertProfileResponse(rsp *http.Response) (*UpsertProfileResponse, error)
ParseUpsertProfileResponse parses an HTTP response from a UpsertProfileWithResponse call
func (UpsertProfileResponse) ContentType ¶
func (r UpsertProfileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpsertProfileResponse) GetBody ¶
func (r UpsertProfileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpsertProfileResponse) GetJSON200 ¶
func (r UpsertProfileResponse) GetJSON200() *ServiceProfileAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpsertProfileResponse) GetJSON201 ¶
func (r UpsertProfileResponse) GetJSON201() *ServiceProfileAO
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (UpsertProfileResponse) GetYAML200 ¶
func (r UpsertProfileResponse) GetYAML200() *ServiceProfileAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (UpsertProfileResponse) GetYAML201 ¶
func (r UpsertProfileResponse) GetYAML201() *ServiceProfileAO
GetYAML201 returns the response for an HTTP 201 `application/yaml` response
func (UpsertProfileResponse) Status ¶
func (r UpsertProfileResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertProfileResponse) StatusCode ¶
func (r UpsertProfileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertPropertyAssociationAO ¶
type UpsertPropertyAssociationAO struct {
// AssociationType Always defined to either `EXPERIMENT` for experiment design or run related associations or `SERVICE` for service-associations. Only for the former, an `experimentKey` can be defined and only for the latter, a `serviceId` can be defined
//
// Example: EXPERIMENT
AssociationType *UpsertPropertyAssociationAOAssociationType `json:"associationType,omitempty"`
// EditableInExecution Is the property editable in the execution view. Only used when `associationType` is set to `EXPERIMENT`.
//
// Example: true
EditableInExecution *bool `json:"editableInExecution,omitempty"`
// ExperimentKey The key of the associated experiment. When `associationType` is set to `EXPERIMENT` and `experimentKey` is `null`, it is associated to ALL experiment designs. Can't be changed during updates.
//
// Example: EXP-1
ExperimentKey *string `json:"experimentKey,omitempty"`
// Id Id of an existing Property-Association. A new association will be created if no id is provided or no matching association could be found
Id *openapi_types.UUID `json:"id,omitempty"`
// Key The key of the property definition
//
// Example: RESULT_COLOR
Key string `json:"key"`
// Required Is the value required?
//
// Example: true
Required *bool `json:"required,omitempty"`
// ServiceId The serviceId of the associated service. When `associationType` is set to `SERVICE` and `serviceId` is `null`, it is associated to ALL services. Can't be changed during updates.
//
// Example: 3308b47d-5c1f-4f08-a25b-a18fc10f8a56
ServiceId *openapi_types.UUID `json:"serviceId,omitempty"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
UpsertPropertyAssociationAO A property association upsert.
Example: {"editableInExecution":true,"key":"RESULT_COLOR","required":true}
type UpsertPropertyAssociationAOAssociationType ¶
type UpsertPropertyAssociationAOAssociationType string
UpsertPropertyAssociationAOAssociationType Always defined to either `EXPERIMENT` for experiment design or run related associations or `SERVICE` for service-associations. Only for the former, an `experimentKey` can be defined and only for the latter, a `serviceId` can be defined
Example: EXPERIMENT
const ( UpsertPropertyAssociationAOAssociationTypeEXPERIMENT UpsertPropertyAssociationAOAssociationType = "EXPERIMENT" UpsertPropertyAssociationAOAssociationTypeSERVICE UpsertPropertyAssociationAOAssociationType = "SERVICE" )
Defines values for UpsertPropertyAssociationAOAssociationType.
func (UpsertPropertyAssociationAOAssociationType) Valid ¶
func (e UpsertPropertyAssociationAOAssociationType) Valid() bool
Valid indicates whether the value is a known member of the UpsertPropertyAssociationAOAssociationType enum.
type UpsertPropertyAssociationJSONRequestBody ¶
type UpsertPropertyAssociationJSONRequestBody = UpsertPropertyAssociationAO
UpsertPropertyAssociationJSONRequestBody defines body for UpsertPropertyAssociation for application/json ContentType.
type UpsertPropertyAssociationResponse ¶
type UpsertPropertyAssociationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PropertyAssociationAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PropertyAssociationAO
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PropertyAssociationAO
// YAML201 the response for an HTTP 201 `application/yaml` response
YAML201 *PropertyAssociationAO
}
func ParseUpsertPropertyAssociationResponse ¶
func ParseUpsertPropertyAssociationResponse(rsp *http.Response) (*UpsertPropertyAssociationResponse, error)
ParseUpsertPropertyAssociationResponse parses an HTTP response from a UpsertPropertyAssociationWithResponse call
func (UpsertPropertyAssociationResponse) ContentType ¶
func (r UpsertPropertyAssociationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpsertPropertyAssociationResponse) GetBody ¶
func (r UpsertPropertyAssociationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpsertPropertyAssociationResponse) GetJSON200 ¶
func (r UpsertPropertyAssociationResponse) GetJSON200() *PropertyAssociationAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpsertPropertyAssociationResponse) GetJSON201 ¶
func (r UpsertPropertyAssociationResponse) GetJSON201() *PropertyAssociationAO
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (UpsertPropertyAssociationResponse) GetYAML200 ¶
func (r UpsertPropertyAssociationResponse) GetYAML200() *PropertyAssociationAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (UpsertPropertyAssociationResponse) GetYAML201 ¶
func (r UpsertPropertyAssociationResponse) GetYAML201() *PropertyAssociationAO
GetYAML201 returns the response for an HTTP 201 `application/yaml` response
func (UpsertPropertyAssociationResponse) Status ¶
func (r UpsertPropertyAssociationResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertPropertyAssociationResponse) StatusCode ¶
func (r UpsertPropertyAssociationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertPropertyDefinitionAO ¶
type UpsertPropertyDefinitionAO struct {
// DataType The data type of the property
//
// Example: STRING
DataType UpsertPropertyDefinitionAODataType `json:"dataType"`
// Description The text describing the property.
//
// Example: How would you describe the result of your experiment, thinking in beautiful colors?
Description *string `json:"description,omitempty"`
// EnumValues Valid values if the dataType `ENUM` is used
//
// Example: ["RED","GREEN","BLUE"]
EnumValues *[]string `json:"enumValues,omitempty"`
// Key The unique key of the property definition
//
// Example: RESULT_COLOR
Key string `json:"key"`
// Label The label shown in the ui for this property
//
// Example: Result color
Label string `json:"label"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
UpsertPropertyDefinitionAO A property association upsert.
Example: {"dataType":"ENUM","description":"How would you describe the result of your experiment, thinking in beautiful colors?","enumValues":["RED","GREEN","BLUE"],"key":"RESULT_COLOR","label":"Result Color"}
type UpsertPropertyDefinitionAODataType ¶
type UpsertPropertyDefinitionAODataType string
UpsertPropertyDefinitionAODataType The data type of the property
Example: STRING
const ( UpsertPropertyDefinitionAODataTypeBOOLEAN UpsertPropertyDefinitionAODataType = "BOOLEAN" UpsertPropertyDefinitionAODataTypeDATE UpsertPropertyDefinitionAODataType = "DATE" UpsertPropertyDefinitionAODataTypeENUM UpsertPropertyDefinitionAODataType = "ENUM" UpsertPropertyDefinitionAODataTypeENUMLIST UpsertPropertyDefinitionAODataType = "ENUM_LIST" UpsertPropertyDefinitionAODataTypeLINK UpsertPropertyDefinitionAODataType = "LINK" UpsertPropertyDefinitionAODataTypeLINKLIST UpsertPropertyDefinitionAODataType = "LINK_LIST" UpsertPropertyDefinitionAODataTypeMARKDOWN UpsertPropertyDefinitionAODataType = "MARKDOWN" UpsertPropertyDefinitionAODataTypeNUMBER UpsertPropertyDefinitionAODataType = "NUMBER" UpsertPropertyDefinitionAODataTypeNUMBERLIST UpsertPropertyDefinitionAODataType = "NUMBER_LIST" UpsertPropertyDefinitionAODataTypeSTRING UpsertPropertyDefinitionAODataType = "STRING" UpsertPropertyDefinitionAODataTypeSTRINGLIST UpsertPropertyDefinitionAODataType = "STRING_LIST" )
Defines values for UpsertPropertyDefinitionAODataType.
func (UpsertPropertyDefinitionAODataType) Valid ¶
func (e UpsertPropertyDefinitionAODataType) Valid() bool
Valid indicates whether the value is a known member of the UpsertPropertyDefinitionAODataType enum.
type UpsertPropertyDefinitionJSONRequestBody ¶
type UpsertPropertyDefinitionJSONRequestBody = UpsertPropertyDefinitionAO
UpsertPropertyDefinitionJSONRequestBody defines body for UpsertPropertyDefinition for application/json ContentType.
type UpsertPropertyDefinitionParams ¶
type UpsertPropertyDefinitionParams struct {
// DeleteValues You can remove enum-values for a ENUM or ENUM_LIST property if they are still in use in experiment designs. Setting this parameter to `true` will delete those values in experiment designs.
DeleteValues *bool `form:"deleteValues,omitempty" json:"deleteValues,omitempty"`
}
UpsertPropertyDefinitionParams defines parameters for UpsertPropertyDefinition.
type UpsertPropertyDefinitionResponse ¶
type UpsertPropertyDefinitionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PropertyDefinitionAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *PropertyDefinitionAO
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PropertyDefinitionAO
// YAML201 the response for an HTTP 201 `application/yaml` response
YAML201 *PropertyDefinitionAO
}
func ParseUpsertPropertyDefinitionResponse ¶
func ParseUpsertPropertyDefinitionResponse(rsp *http.Response) (*UpsertPropertyDefinitionResponse, error)
ParseUpsertPropertyDefinitionResponse parses an HTTP response from a UpsertPropertyDefinitionWithResponse call
func (UpsertPropertyDefinitionResponse) ContentType ¶
func (r UpsertPropertyDefinitionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpsertPropertyDefinitionResponse) GetBody ¶
func (r UpsertPropertyDefinitionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpsertPropertyDefinitionResponse) GetJSON200 ¶
func (r UpsertPropertyDefinitionResponse) GetJSON200() *PropertyDefinitionAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpsertPropertyDefinitionResponse) GetJSON201 ¶
func (r UpsertPropertyDefinitionResponse) GetJSON201() *PropertyDefinitionAO
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (UpsertPropertyDefinitionResponse) GetYAML200 ¶
func (r UpsertPropertyDefinitionResponse) GetYAML200() *PropertyDefinitionAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (UpsertPropertyDefinitionResponse) GetYAML201 ¶
func (r UpsertPropertyDefinitionResponse) GetYAML201() *PropertyDefinitionAO
GetYAML201 returns the response for an HTTP 201 `application/yaml` response
func (UpsertPropertyDefinitionResponse) Status ¶
func (r UpsertPropertyDefinitionResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertPropertyDefinitionResponse) StatusCode ¶
func (r UpsertPropertyDefinitionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertProvidedExperimentJSONRequestBody ¶
type UpsertProvidedExperimentJSONRequestBody = UpsertProvidedExperimentRequestAO
UpsertProvidedExperimentJSONRequestBody defines body for UpsertProvidedExperiment for application/json ContentType.
type UpsertProvidedExperimentParams ¶
type UpsertProvidedExperimentParams struct {
// ResetProperties If `true`, all properties will be reset to properties specified in the template either with their fixed values in the template or via template placeholder. If `false`, existing properties will stay untouched, only new properties will be added. Only relevant for experiment updates.
ResetProperties *bool `form:"resetProperties,omitempty" json:"resetProperties,omitempty"`
}
UpsertProvidedExperimentParams defines parameters for UpsertProvidedExperiment.
type UpsertProvidedExperimentRequestAO ¶
type UpsertProvidedExperimentRequestAO struct {
// ExperimentKey Update only - the experiment that should be updated
//
// Example: ADM-18
ExperimentKey *string `json:"experimentKey,omitempty"`
// Placeholders List of template placeholder values
Placeholders *[]ExperimentTemplatePlaceholderValueAO `json:"placeholders,omitempty"`
// TemplateId The templateId that should be used for the provided experiment (needs to be included in the used service profile)
//
// Example: e1c22d74-a48b-4661-ab56-4e90c584c4e0
TemplateId openapi_types.UUID `json:"templateId"`
}
UpsertProvidedExperimentRequestAO defines model for UpsertProvidedExperimentRequestAO.
type UpsertProvidedExperimentResponse ¶
func ParseUpsertProvidedExperimentResponse ¶
func ParseUpsertProvidedExperimentResponse(rsp *http.Response) (*UpsertProvidedExperimentResponse, error)
ParseUpsertProvidedExperimentResponse parses an HTTP response from a UpsertProvidedExperimentWithResponse call
func (UpsertProvidedExperimentResponse) ContentType ¶
func (r UpsertProvidedExperimentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpsertProvidedExperimentResponse) GetBody ¶
func (r UpsertProvidedExperimentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpsertProvidedExperimentResponse) Status ¶
func (r UpsertProvidedExperimentResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertProvidedExperimentResponse) StatusCode ¶
func (r UpsertProvidedExperimentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertScheduleJSONRequestBody ¶
type UpsertScheduleJSONRequestBody = UpsertExperimentScheduleAO
UpsertScheduleJSONRequestBody defines body for UpsertSchedule for application/json ContentType.
type UpsertScheduleResponse ¶
type UpsertScheduleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExperimentScheduleAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ExperimentScheduleAO
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ExperimentScheduleAO
// YAML201 the response for an HTTP 201 `application/yaml` response
YAML201 *ExperimentScheduleAO
}
func ParseUpsertScheduleResponse ¶
func ParseUpsertScheduleResponse(rsp *http.Response) (*UpsertScheduleResponse, error)
ParseUpsertScheduleResponse parses an HTTP response from a UpsertScheduleWithResponse call
func (UpsertScheduleResponse) ContentType ¶
func (r UpsertScheduleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpsertScheduleResponse) GetBody ¶
func (r UpsertScheduleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpsertScheduleResponse) GetJSON200 ¶
func (r UpsertScheduleResponse) GetJSON200() *ExperimentScheduleAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpsertScheduleResponse) GetJSON201 ¶
func (r UpsertScheduleResponse) GetJSON201() *ExperimentScheduleAO
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (UpsertScheduleResponse) GetYAML200 ¶
func (r UpsertScheduleResponse) GetYAML200() *ExperimentScheduleAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (UpsertScheduleResponse) GetYAML201 ¶
func (r UpsertScheduleResponse) GetYAML201() *ExperimentScheduleAO
GetYAML201 returns the response for an HTTP 201 `application/yaml` response
func (UpsertScheduleResponse) Status ¶
func (r UpsertScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertScheduleResponse) StatusCode ¶
func (r UpsertScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertServiceAO ¶
type UpsertServiceAO struct {
// Environment The name of the environment to be used
//
// Example: Global
Environment string `json:"environment"`
// Id The unique id of the service, will be created if not provided
Id *openapi_types.UUID `json:"id,omitempty"`
// LogoColor Color scheme of the logo used to identify the service in the Platform UI
//
// Example: orangeLight
LogoColor string `json:"logoColor"`
// LogoId Identifier of the logo used to identify the service in the Platform UI
//
// Example: service-router
LogoId string `json:"logoId"`
// Name The name of the service
//
// Example: calculator-service
Name string `json:"name"`
// Properties The properties of the service
//
// Example: {"EXAMPLE_CUSTOM_PROPERTY":"I like this service!"}
Properties *map[string]interface{} `json:"properties,omitempty"`
// Query Query-Language predicate, specifies the targets belonging to this Service
//
// Example: aws.account="123" OR aws.account="456"
Query string `json:"query"`
// ServiceProfile Name of the service profile that should be used for this service
//
// Example: Steadybit provided
ServiceProfile string `json:"serviceProfile"`
// Team The key of the team to be used
//
// Example: ADM
Team string `json:"team"`
// Validations List of validations to be executed against the service
Validations []ExperimentStepActionAO `json:"validations"`
// Variables Variables owned by the service. Each value is either a constant string, an array of constant strings, or a select expression object. A select-expression value **must set `scope`** (`service` or `environment`) — the request is rejected otherwise. On `POST /api/services` (upsert): omitting this field leaves existing variables untouched, an empty object removes all of them.
//
// Example: {"httpEndpoint":"http://dev.shop.products.internal","targetServices":["gateway","hot-deals","fashion-bestseller"]}
Variables *map[string]VariableExpressionAO `json:"variables,omitempty"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
UpsertServiceAO Example: {"environment":"Global","name":"shopping-service","query":"aws.account=\"123\" OR aws.account=\"456\"","serviceProfile":"Steadybit Starter","team":"ADM","validations":[{"actionType":"com.steadybit.extension_http.check.periodically","parameters":{"method":"GET","url":"https://my-service/health"},"type":"action"}],"variables":{"httpEndpoint":"http://prod.shop.products.internal","targets":{"attribute":"k8s.deployment","count":1,"filter":"k8s.namespace=\"shop\"","mode":"fixed","targetType":"com.steadybit.extension_kubernetes.kubernetes-deployment","type":"select"}}}
type UpsertServiceJSONRequestBody ¶
type UpsertServiceJSONRequestBody = UpsertServiceAO
UpsertServiceJSONRequestBody defines body for UpsertService for application/json ContentType.
type UpsertServiceParams ¶
type UpsertServiceParams struct {
// DeleteExperiments When the service profile of a service gets updated, provided experiments whose template ids are not part of the new service profile are not allowed. Setting the value to `true` will delete those experiments.
DeleteExperiments *bool `form:"deleteExperiments,omitempty" json:"deleteExperiments,omitempty"`
}
UpsertServiceParams defines parameters for UpsertService.
type UpsertServiceProfileAO ¶
type UpsertServiceProfileAO struct {
// Id The unique id of the profile. Will be created if not provided.
Id *openapi_types.UUID `json:"id,omitempty"`
// Name The name of the profile
//
// Example: Default Resilience Tests
Name string `json:"name"`
// Origin Origin of a service profile
//
// Example: CUSTOM
Origin UpsertServiceProfileAOOrigin `json:"origin"`
// Templates Template entries in this profile
Templates []ServiceProfileCategoryAO `json:"templates"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
UpsertServiceProfileAO Request to create or update a service profile
Example: {"name":"My Custom Templates","origin":"CUSTOM","templates":{"availability":["550e8400-e29b-41d4-a716-446655440000"],"latency":["550e8400-e29b-41d4-a716-446655440002"]}}
type UpsertServiceProfileAOOrigin ¶
type UpsertServiceProfileAOOrigin string
UpsertServiceProfileAOOrigin Origin of a service profile
Example: CUSTOM
const ( UpsertServiceProfileAOOriginCUSTOM UpsertServiceProfileAOOrigin = "CUSTOM" UpsertServiceProfileAOOriginPROVIDED UpsertServiceProfileAOOrigin = "PROVIDED" )
Defines values for UpsertServiceProfileAOOrigin.
func (UpsertServiceProfileAOOrigin) Valid ¶
func (e UpsertServiceProfileAOOrigin) Valid() bool
Valid indicates whether the value is a known member of the UpsertServiceProfileAOOrigin enum.
type UpsertServiceResponse ¶
type UpsertServiceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *ServiceAO
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ServiceAO
// YAML201 the response for an HTTP 201 `application/yaml` response
YAML201 *ServiceAO
}
func ParseUpsertServiceResponse ¶
func ParseUpsertServiceResponse(rsp *http.Response) (*UpsertServiceResponse, error)
ParseUpsertServiceResponse parses an HTTP response from a UpsertServiceWithResponse call
func (UpsertServiceResponse) ContentType ¶
func (r UpsertServiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpsertServiceResponse) GetBody ¶
func (r UpsertServiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpsertServiceResponse) GetJSON200 ¶
func (r UpsertServiceResponse) GetJSON200() *ServiceAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpsertServiceResponse) GetJSON201 ¶
func (r UpsertServiceResponse) GetJSON201() *ServiceAO
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (UpsertServiceResponse) GetYAML200 ¶
func (r UpsertServiceResponse) GetYAML200() *ServiceAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (UpsertServiceResponse) GetYAML201 ¶
func (r UpsertServiceResponse) GetYAML201() *ServiceAO
GetYAML201 returns the response for an HTTP 201 `application/yaml` response
func (UpsertServiceResponse) Status ¶
func (r UpsertServiceResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertServiceResponse) StatusCode ¶
func (r UpsertServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertSlackIntegrationJSONRequestBody ¶
type UpsertSlackIntegrationJSONRequestBody = SlackWebhookUpsertAO
UpsertSlackIntegrationJSONRequestBody defines body for UpsertSlackIntegration for application/json ContentType.
type UpsertSlackIntegrationResponse ¶
type UpsertSlackIntegrationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SlackWebhookAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *SlackWebhookAO
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *SlackWebhookAO
// YAML201 the response for an HTTP 201 `application/yaml` response
YAML201 *SlackWebhookAO
}
func ParseUpsertSlackIntegrationResponse ¶
func ParseUpsertSlackIntegrationResponse(rsp *http.Response) (*UpsertSlackIntegrationResponse, error)
ParseUpsertSlackIntegrationResponse parses an HTTP response from a UpsertSlackIntegrationWithResponse call
func (UpsertSlackIntegrationResponse) ContentType ¶
func (r UpsertSlackIntegrationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpsertSlackIntegrationResponse) GetBody ¶
func (r UpsertSlackIntegrationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpsertSlackIntegrationResponse) GetJSON200 ¶
func (r UpsertSlackIntegrationResponse) GetJSON200() *SlackWebhookAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpsertSlackIntegrationResponse) GetJSON201 ¶
func (r UpsertSlackIntegrationResponse) GetJSON201() *SlackWebhookAO
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (UpsertSlackIntegrationResponse) GetYAML200 ¶
func (r UpsertSlackIntegrationResponse) GetYAML200() *SlackWebhookAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (UpsertSlackIntegrationResponse) GetYAML201 ¶
func (r UpsertSlackIntegrationResponse) GetYAML201() *SlackWebhookAO
GetYAML201 returns the response for an HTTP 201 `application/yaml` response
func (UpsertSlackIntegrationResponse) Status ¶
func (r UpsertSlackIntegrationResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertSlackIntegrationResponse) StatusCode ¶
func (r UpsertSlackIntegrationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertTeamAO ¶
type UpsertTeamAO struct {
// AllowedActions Set of allowed actions that can be used in an experiment of this team
//
// Example: ["com.steadybit.extension_host.host.stress-cpu"]
AllowedActions []string `json:"allowedActions"`
// AllowedEnvironments Set of allowed environments, identified via name
//
// Example: ["Global"]
AllowedEnvironments []string `json:"allowedEnvironments"`
// Description An optional description of a team
Description *string `json:"description,omitempty"`
Id *openapi_types.UUID `json:"id,omitempty"`
// Key Unique identifier of a team
//
// Example: ADM
Key string `json:"key"`
// LogoColor Color scheme of the logo used to identify the team in the Platform UI
//
// Example: cyanDark
LogoColor *string `json:"logoColor,omitempty"`
// LogoId Identifier of the logo used to identify the team in the Platform UI
//
// Example: 1
LogoId *string `json:"logoId,omitempty"`
// ManagedBy How a team or team membership is managed
//
// Example: MANUAL
ManagedBy *UpsertTeamAOManagedBy `json:"managedBy,omitempty"`
// Members Members that should be added to this team
//
// Example: {"email":"jane.doe@example.com","role":"OWNER"}
Members *[]MemberUpdateAO `json:"members,omitempty"`
// Name Name of a team
//
// Example: ADMIN
Name string `json:"name"`
// Version Version for optimistic locking (optional in the API)
//
// Example: 1
Version *int32 `json:"version,omitempty"`
}
UpsertTeamAO Insert or update the team in Steadybit. The `key` will be used to identify whether the team exists already and should be updated or newly inserted.
Example: {"allowedActions":["com.steadybit.extension_host.host.stress-cpu"],"allowedEnvironments":["Global"],"id":"71ab0180-8abc-4d30-8acb-6aa024e3065f","key":"ADM","logoColor":"cyanDark","logoId":"1","members":[{"email":"jane.doe@example.com","role":"OWNER"},{"email":"javier.rodriguez@example.com","role":"MEMBER"},{"role":"MEMBER","username":"auth0|1va2g15afc84590069cd53c3"}],"name":"Administrators","version":1}
type UpsertTeamAOManagedBy ¶
type UpsertTeamAOManagedBy string
UpsertTeamAOManagedBy How a team or team membership is managed
Example: MANUAL
const ( UpsertTeamAOManagedByLDAP UpsertTeamAOManagedBy = "LDAP" UpsertTeamAOManagedByMANUAL UpsertTeamAOManagedBy = "MANUAL" UpsertTeamAOManagedByOIDC UpsertTeamAOManagedBy = "OIDC" )
Defines values for UpsertTeamAOManagedBy.
func (UpsertTeamAOManagedBy) Valid ¶
func (e UpsertTeamAOManagedBy) Valid() bool
Valid indicates whether the value is a known member of the UpsertTeamAOManagedBy enum.
type UpsertTeamJSONRequestBody ¶
type UpsertTeamJSONRequestBody = UpsertTeamAO
UpsertTeamJSONRequestBody defines body for UpsertTeam for application/json ContentType.
type UpsertTeamParams ¶
type UpsertTeamParams struct {
// ValidateActions By default, Steadybit checks whether the allowed actions exists and are reported by an agent. For convenience, this can be deactivated to decouple team creation and agent-installation
ValidateActions *bool `form:"validateActions,omitempty" json:"validateActions,omitempty"`
// ValidateMembers By default, Steadybit will skip members, which are not yet know. If set to true, Steadybit will validate the given members and show a 422 response.
ValidateMembers *bool `form:"validateMembers,omitempty" json:"validateMembers,omitempty"`
}
UpsertTeamParams defines parameters for UpsertTeam.
type UpsertTeamResponse ¶
type UpsertTeamResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TeamAO
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *TeamAO
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *TeamAO
// YAML201 the response for an HTTP 201 `application/yaml` response
YAML201 *TeamAO
}
func ParseUpsertTeamResponse ¶
func ParseUpsertTeamResponse(rsp *http.Response) (*UpsertTeamResponse, error)
ParseUpsertTeamResponse parses an HTTP response from a UpsertTeamWithResponse call
func (UpsertTeamResponse) ContentType ¶
func (r UpsertTeamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpsertTeamResponse) GetBody ¶
func (r UpsertTeamResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpsertTeamResponse) GetJSON200 ¶
func (r UpsertTeamResponse) GetJSON200() *TeamAO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpsertTeamResponse) GetJSON201 ¶
func (r UpsertTeamResponse) GetJSON201() *TeamAO
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (UpsertTeamResponse) GetYAML200 ¶
func (r UpsertTeamResponse) GetYAML200() *TeamAO
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (UpsertTeamResponse) GetYAML201 ¶
func (r UpsertTeamResponse) GetYAML201() *TeamAO
GetYAML201 returns the response for an HTTP 201 `application/yaml` response
func (UpsertTeamResponse) Status ¶
func (r UpsertTeamResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertTeamResponse) StatusCode ¶
func (r UpsertTeamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserPrincipalAL ¶
type UserPrincipalAL struct {
// Email E-mail of the user, unique within Steadybit
//
// Example: example@example.com
Email string `json:"email"`
// Name Name of the user
//
// Example: Jane Doe
Name string `json:"name"`
// PrincipalType Principal type for user based principal
//
// Example: USER
PrincipalType UserPrincipalALPrincipalType `json:"principalType"`
// Role Role of the user in the platform
//
// Example: ADMIN
Role *UserPrincipalALRole `json:"role,omitempty"`
// Username Username of the user, internal identifier of Steadybit
//
// Example: 13av2737-b318-4048-a79d-4789d645bc31
Username string `json:"username"`
}
UserPrincipalAL A user has performed the logged event e.g. via UI
Example: {"email":"example@example.com","name":"Jane Doe","principalType":"USER","role":"ADMIN","username":"1ava2afg-xju33-4c6a-9451-2854584c15be"}
type UserPrincipalALPrincipalType ¶
type UserPrincipalALPrincipalType string
UserPrincipalALPrincipalType Principal type for user based principal
Example: USER
const ( UserPrincipalALPrincipalTypeACCESSTOKEN UserPrincipalALPrincipalType = "ACCESS_TOKEN" UserPrincipalALPrincipalTypeBATCHJOB UserPrincipalALPrincipalType = "BATCH_JOB" UserPrincipalALPrincipalTypeUSER UserPrincipalALPrincipalType = "USER" )
Defines values for UserPrincipalALPrincipalType.
func (UserPrincipalALPrincipalType) Valid ¶
func (e UserPrincipalALPrincipalType) Valid() bool
Valid indicates whether the value is a known member of the UserPrincipalALPrincipalType enum.
type UserPrincipalALRole ¶
type UserPrincipalALRole string
UserPrincipalALRole Role of the user in the platform
Example: ADMIN
const ( UserPrincipalALRoleADMIN UserPrincipalALRole = "ADMIN" UserPrincipalALRoleSUPPORT UserPrincipalALRole = "SUPPORT" UserPrincipalALRoleUSER UserPrincipalALRole = "USER" )
Defines values for UserPrincipalALRole.
func (UserPrincipalALRole) Valid ¶
func (e UserPrincipalALRole) Valid() bool
Valid indicates whether the value is a known member of the UserPrincipalALRole enum.
type UserSummaryAO ¶
type UserSummaryAO struct {
Email *string `json:"email,omitempty"`
// Name Name of the user
//
// Example: Jane Doe
Name *string `json:"name,omitempty"`
PictureUrl *string `json:"pictureUrl,omitempty"`
// Username Username of the user, internal identifier of Steadybit
//
// Example: 13av2737-b318-4048-a79d-4789d645bc31
Username string `json:"username"`
}
UserSummaryAO The user that canceled the experiment execution, only present if the execution was canceled
Example: {"email":"max@steadybit.com","name":"Max Mustermann","username":"ag1hb7ap-d299-47ab-998f-c2a53b433820"}
type VariableExpressionAO ¶
type VariableExpressionAO struct {
// contains filtered or unexported fields
}
VariableExpressionAO A variable value: a constant string (≤5000 chars), an array of constant strings, or a select expression object.
func (VariableExpressionAO) AsSelectExpressionAO ¶
func (t VariableExpressionAO) AsSelectExpressionAO() (SelectExpressionAO, error)
AsSelectExpressionAO returns the union data inside the VariableExpressionAO as a SelectExpressionAO
func (VariableExpressionAO) AsVariableExpressionAO0 ¶
func (t VariableExpressionAO) AsVariableExpressionAO0() (VariableExpressionAO0, error)
AsVariableExpressionAO0 returns the union data inside the VariableExpressionAO as a VariableExpressionAO0
func (VariableExpressionAO) AsVariableExpressionAO1 ¶
func (t VariableExpressionAO) AsVariableExpressionAO1() (VariableExpressionAO1, error)
AsVariableExpressionAO1 returns the union data inside the VariableExpressionAO as a VariableExpressionAO1
func (*VariableExpressionAO) FromSelectExpressionAO ¶
func (t *VariableExpressionAO) FromSelectExpressionAO(v SelectExpressionAO) error
FromSelectExpressionAO overwrites any union data inside the VariableExpressionAO as the provided SelectExpressionAO
func (*VariableExpressionAO) FromVariableExpressionAO0 ¶
func (t *VariableExpressionAO) FromVariableExpressionAO0(v VariableExpressionAO0) error
FromVariableExpressionAO0 overwrites any union data inside the VariableExpressionAO as the provided VariableExpressionAO0
func (*VariableExpressionAO) FromVariableExpressionAO1 ¶
func (t *VariableExpressionAO) FromVariableExpressionAO1(v VariableExpressionAO1) error
FromVariableExpressionAO1 overwrites any union data inside the VariableExpressionAO as the provided VariableExpressionAO1
func (VariableExpressionAO) MarshalJSON ¶
func (t VariableExpressionAO) MarshalJSON() ([]byte, error)
func (*VariableExpressionAO) MergeSelectExpressionAO ¶
func (t *VariableExpressionAO) MergeSelectExpressionAO(v SelectExpressionAO) error
MergeSelectExpressionAO performs a merge with any union data inside the VariableExpressionAO, using the provided SelectExpressionAO
func (*VariableExpressionAO) MergeVariableExpressionAO0 ¶
func (t *VariableExpressionAO) MergeVariableExpressionAO0(v VariableExpressionAO0) error
MergeVariableExpressionAO0 performs a merge with any union data inside the VariableExpressionAO, using the provided VariableExpressionAO0
func (*VariableExpressionAO) MergeVariableExpressionAO1 ¶
func (t *VariableExpressionAO) MergeVariableExpressionAO1(v VariableExpressionAO1) error
MergeVariableExpressionAO1 performs a merge with any union data inside the VariableExpressionAO, using the provided VariableExpressionAO1
func (*VariableExpressionAO) UnmarshalJSON ¶
func (t *VariableExpressionAO) UnmarshalJSON(b []byte) error
type VariableExpressionAO0 ¶
type VariableExpressionAO0 = string
VariableExpressionAO0 defines model for VariableExpressionAO.0.
type VariableExpressionAO1 ¶
type VariableExpressionAO1 = []string
VariableExpressionAO1 defines model for VariableExpressionAO.1.
type VariableValueAO ¶
VariableValueAO defines model for VariableValueAO.