Documentation ¶
Index ¶
- Constants
- Variables
- func NewArtifactCustomWebhookResource() resource.Resource
- func NewArtifactLifecycleCustomWebhookResource() resource.Resource
- func NewArtifactLifecycleWebhookResource() resource.Resource
- func NewArtifactPropertyCustomWebhookResource() resource.Resource
- func NewArtifactPropertyWebhookResource() resource.Resource
- func NewArtifactWebhookResource() resource.Resource
- func NewArtifactoryReleaseBundleCustomWebhookResource() resource.Resource
- func NewArtifactoryReleaseBundleWebhookResource() resource.Resource
- func NewBuildCustomWebhookResource() resource.Resource
- func NewBuildWebhookResource() resource.Resource
- func NewDestinationCustomWebhookResource() resource.Resource
- func NewDestinationWebhookResource() resource.Resource
- func NewDistributionCustomWebhookResource() resource.Resource
- func NewDistributionWebhookResource() resource.Resource
- func NewDockerCustomWebhookResource() resource.Resource
- func NewDockerWebhookResource() resource.Resource
- func NewReleaseBundleCustomWebhookResource() resource.Resource
- func NewReleaseBundleV2CustomWebhookResource() resource.Resource
- func NewReleaseBundleV2PromotionCustomWebhookResource() resource.Resource
- func NewReleaseBundleV2PromotionWebhookResource() resource.Resource
- func NewReleaseBundleV2WebhookResource() resource.Resource
- func NewReleaseBundleWebhookResource() resource.Resource
- func NewUserCustomWebhookResource() resource.Resource
- func NewUserWebhookResource() resource.Resource
- type ArtifactLifecycleCustomWebhookResource
- func (r *ArtifactLifecycleCustomWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ArtifactLifecycleCustomWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ArtifactLifecycleCustomWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ArtifactLifecycleCustomWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ArtifactLifecycleCustomWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ArtifactLifecycleCustomWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ArtifactLifecycleCustomWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ArtifactLifecycleCustomWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ArtifactLifecycleCustomWebhookResourceModel
- type ArtifactLifecycleWebhookResource
- func (r *ArtifactLifecycleWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ArtifactLifecycleWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ArtifactLifecycleWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ArtifactLifecycleWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ArtifactLifecycleWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ArtifactLifecycleWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ArtifactLifecycleWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ArtifactLifecycleWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ArtifactLifecycleWebhookResourceModel
- type BaseCriteriaAPIModel
- type BuildCriteriaAPIModel
- type BuildCustomWebhookResource
- func (r *BuildCustomWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *BuildCustomWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *BuildCustomWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *BuildCustomWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *BuildCustomWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *BuildCustomWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *BuildCustomWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *BuildCustomWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r BuildCustomWebhookResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, ...)
- type BuildCustomWebhookResourceModel
- type BuildWebhookResource
- func (r *BuildWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *BuildWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *BuildWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *BuildWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *BuildWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *BuildWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *BuildWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *BuildWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r BuildWebhookResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, ...)
- type BuildWebhookResourceModel
- type CustomHandlerAPIModel
- type CustomWebhookAPIModel
- type CustomWebhookBaseResourceModel
- type CustomWebhookResource
- func (r *CustomWebhookResource) Create(ctx context.Context, webhook CustomWebhookAPIModel, ...)
- func (r *CustomWebhookResource) CreateSchema(domain string, criteriaBlock *schema.SetNestedBlock) schema.Schema
- func (r *CustomWebhookResource) Read(ctx context.Context, key string, webhook *CustomWebhookAPIModel, ...) (found bool)
- func (r *CustomWebhookResource) Update(_ context.Context, key string, webhook CustomWebhookAPIModel, ...)
- type CustomWebhookResourceModel
- type EventFilterAPIModel
- type HandlerAPIModel
- type KeyValuePairAPIModel
- type ReleaseBundleCriteriaAPIModel
- type ReleaseBundleCustomWebhookResource
- func (r *ReleaseBundleCustomWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ReleaseBundleCustomWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ReleaseBundleCustomWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ReleaseBundleCustomWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ReleaseBundleCustomWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ReleaseBundleCustomWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ReleaseBundleCustomWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ReleaseBundleCustomWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r ReleaseBundleCustomWebhookResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, ...)
- type ReleaseBundleCustomWebhookResourceModel
- type ReleaseBundleV2CriteriaAPIModel
- type ReleaseBundleV2CustomWebhookResource
- func (r *ReleaseBundleV2CustomWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ReleaseBundleV2CustomWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ReleaseBundleV2CustomWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ReleaseBundleV2CustomWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ReleaseBundleV2CustomWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ReleaseBundleV2CustomWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ReleaseBundleV2CustomWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ReleaseBundleV2CustomWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r ReleaseBundleV2CustomWebhookResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, ...)
- type ReleaseBundleV2CustomWebhookResourceModel
- type ReleaseBundleV2PromotionCriteriaAPIModel
- type ReleaseBundleV2PromotionCustomWebhookResource
- func (r *ReleaseBundleV2PromotionCustomWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ReleaseBundleV2PromotionCustomWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ReleaseBundleV2PromotionCustomWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ReleaseBundleV2PromotionCustomWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ReleaseBundleV2PromotionCustomWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ReleaseBundleV2PromotionCustomWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ReleaseBundleV2PromotionCustomWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ReleaseBundleV2PromotionCustomWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ReleaseBundleV2PromotionCustomWebhookResourceModel
- type ReleaseBundleV2PromotionWebhookResource
- func (r *ReleaseBundleV2PromotionWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ReleaseBundleV2PromotionWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ReleaseBundleV2PromotionWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ReleaseBundleV2PromotionWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ReleaseBundleV2PromotionWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ReleaseBundleV2PromotionWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ReleaseBundleV2PromotionWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ReleaseBundleV2PromotionWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ReleaseBundleV2PromotionWebhookResourceModel
- type ReleaseBundleV2WebhookResource
- func (r *ReleaseBundleV2WebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ReleaseBundleV2WebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ReleaseBundleV2WebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ReleaseBundleV2WebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ReleaseBundleV2WebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ReleaseBundleV2WebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ReleaseBundleV2WebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ReleaseBundleV2WebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r ReleaseBundleV2WebhookResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, ...)
- type ReleaseBundleV2WebhookResourceModel
- type ReleaseBundleWebhookResource
- func (r *ReleaseBundleWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ReleaseBundleWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ReleaseBundleWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ReleaseBundleWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ReleaseBundleWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ReleaseBundleWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ReleaseBundleWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ReleaseBundleWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r ReleaseBundleWebhookResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, ...)
- type ReleaseBundleWebhookResourceModel
- type RepoCriteriaAPIModel
- type RepoCustomWebhookResource
- func (r *RepoCustomWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *RepoCustomWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *RepoCustomWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *RepoCustomWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *RepoCustomWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *RepoCustomWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *RepoCustomWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *RepoCustomWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r RepoCustomWebhookResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, ...)
- type RepoCustomWebhookResourceModel
- type RepoWebhookResource
- func (r *RepoWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *RepoWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *RepoWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *RepoWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *RepoWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *RepoWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *RepoWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *RepoWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r RepoWebhookResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, ...)
- type RepoWebhookResourceModel
- type UserCustomWebhookResource
- func (r *UserCustomWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *UserCustomWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *UserCustomWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *UserCustomWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *UserCustomWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *UserCustomWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *UserCustomWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *UserCustomWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type UserCustomWebhookResourceModel
- type UserWebhookResource
- func (r *UserWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *UserWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *UserWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *UserWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *UserWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *UserWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *UserWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *UserWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type UserWebhookResourceModel
- type WebhookAPIModel
- type WebhookBaseResourceModel
- type WebhookCriteriaResourceModel
- type WebhookResource
- func (r *WebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *WebhookResource) Create(_ context.Context, webhook WebhookAPIModel, resp *resource.CreateResponse)
- func (r *WebhookResource) CreateSchema(domain string, criteriaBlock *schema.SetNestedBlock, ...) schema.Schema
- func (r *WebhookResource) Delete(ctx context.Context, key string, resp *resource.DeleteResponse)
- func (r *WebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *WebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *WebhookResource) Read(ctx context.Context, key string, webhook *WebhookAPIModel, ...) (found bool)
- func (r *WebhookResource) Update(_ context.Context, key string, webhook WebhookAPIModel, ...)
- type WebhookResourceModel
Constants ¶
const ( WebhookURL = "/event/api/v1/subscriptions/{webhookKey}" ArtifactLifecycleDomain = "artifact_lifecycle" ArtifactPropertyDomain = "artifact_property" ArtifactDomain = "artifact" ArtifactoryReleaseBundleDomain = "artifactory_release_bundle" BuildDomain = "build" DestinationDomain = "destination" DistributionDomain = "distribution" DockerDomain = "docker" ReleaseBundleDomain = "release_bundle" ReleaseBundleV2Domain = "release_bundle_v2" ReleaseBundleV2PromotionDomain = "release_bundle_v2_promotion" UserDomain = "user" )
Variables ¶
var DomainEventTypesSupported = map[string][]string{ ArtifactDomain: {"deployed", "deleted", "moved", "copied", "cached"}, ArtifactPropertyDomain: {"added", "deleted"}, DockerDomain: {"pushed", "deleted", "promoted"}, BuildDomain: {"uploaded", "deleted", "promoted"}, ReleaseBundleDomain: {"created", "signed", "deleted"}, DistributionDomain: {"distribute_started", "distribute_completed", "distribute_aborted", "distribute_failed", "delete_started", "delete_completed", "delete_failed"}, ArtifactoryReleaseBundleDomain: {"received", "delete_started", "delete_completed", "delete_failed"}, DestinationDomain: {"received", "delete_started", "delete_completed", "delete_failed"}, UserDomain: {"locked"}, ReleaseBundleV2Domain: {"release_bundle_v2_started", "release_bundle_v2_failed", "release_bundle_v2_completed"}, ReleaseBundleV2PromotionDomain: {"release_bundle_v2_promotion_completed", "release_bundle_v2_promotion_failed", "release_bundle_v2_promotion_started"}, ArtifactLifecycleDomain: {"archive", "restore"}, }
Functions ¶
func NewArtifactCustomWebhookResource ¶ added in v12.2.0
func NewArtifactLifecycleCustomWebhookResource ¶ added in v12.2.0
func NewArtifactLifecycleWebhookResource ¶ added in v12.2.0
func NewArtifactPropertyCustomWebhookResource ¶ added in v12.2.0
func NewArtifactPropertyWebhookResource ¶ added in v12.2.0
func NewArtifactWebhookResource ¶ added in v12.2.0
func NewArtifactoryReleaseBundleCustomWebhookResource ¶ added in v12.2.0
func NewArtifactoryReleaseBundleWebhookResource ¶ added in v12.2.0
func NewBuildCustomWebhookResource ¶ added in v12.2.0
func NewBuildWebhookResource ¶ added in v12.2.0
func NewDestinationCustomWebhookResource ¶ added in v12.2.0
func NewDestinationWebhookResource ¶ added in v12.2.0
func NewDistributionCustomWebhookResource ¶ added in v12.2.0
func NewDistributionWebhookResource ¶ added in v12.2.0
func NewDockerCustomWebhookResource ¶ added in v12.2.0
func NewDockerWebhookResource ¶ added in v12.2.0
func NewReleaseBundleCustomWebhookResource ¶ added in v12.2.0
func NewReleaseBundleV2CustomWebhookResource ¶ added in v12.2.0
func NewReleaseBundleV2PromotionCustomWebhookResource ¶ added in v12.2.0
func NewReleaseBundleV2PromotionWebhookResource ¶ added in v12.2.0
func NewReleaseBundleV2WebhookResource ¶ added in v12.2.0
func NewReleaseBundleWebhookResource ¶ added in v12.2.0
func NewUserCustomWebhookResource ¶ added in v12.2.0
func NewUserWebhookResource ¶ added in v12.2.0
Types ¶
type ArtifactLifecycleCustomWebhookResource ¶ added in v12.2.0
type ArtifactLifecycleCustomWebhookResource struct {
CustomWebhookResource
}
func (*ArtifactLifecycleCustomWebhookResource) Configure ¶ added in v12.2.0
func (r *ArtifactLifecycleCustomWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ArtifactLifecycleCustomWebhookResource) Create ¶ added in v12.2.0
func (r *ArtifactLifecycleCustomWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ArtifactLifecycleCustomWebhookResource) Delete ¶ added in v12.2.0
func (r *ArtifactLifecycleCustomWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ArtifactLifecycleCustomWebhookResource) ImportState ¶ added in v12.2.0
func (r *ArtifactLifecycleCustomWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*ArtifactLifecycleCustomWebhookResource) Metadata ¶ added in v12.2.0
func (r *ArtifactLifecycleCustomWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ArtifactLifecycleCustomWebhookResource) Read ¶ added in v12.2.0
func (r *ArtifactLifecycleCustomWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ArtifactLifecycleCustomWebhookResource) Schema ¶ added in v12.2.0
func (r *ArtifactLifecycleCustomWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ArtifactLifecycleCustomWebhookResource) Update ¶ added in v12.2.0
func (r *ArtifactLifecycleCustomWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ArtifactLifecycleCustomWebhookResourceModel ¶ added in v12.2.0
type ArtifactLifecycleCustomWebhookResourceModel struct {
CustomWebhookBaseResourceModel
}
type ArtifactLifecycleWebhookResource ¶ added in v12.2.0
type ArtifactLifecycleWebhookResource struct {
WebhookResource
}
func (*ArtifactLifecycleWebhookResource) Configure ¶ added in v12.2.0
func (r *ArtifactLifecycleWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ArtifactLifecycleWebhookResource) Create ¶ added in v12.2.0
func (r *ArtifactLifecycleWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ArtifactLifecycleWebhookResource) Delete ¶ added in v12.2.0
func (r *ArtifactLifecycleWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ArtifactLifecycleWebhookResource) ImportState ¶ added in v12.2.0
func (r *ArtifactLifecycleWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*ArtifactLifecycleWebhookResource) Metadata ¶ added in v12.2.0
func (r *ArtifactLifecycleWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ArtifactLifecycleWebhookResource) Read ¶ added in v12.2.0
func (r *ArtifactLifecycleWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ArtifactLifecycleWebhookResource) Schema ¶ added in v12.2.0
func (r *ArtifactLifecycleWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ArtifactLifecycleWebhookResource) Update ¶ added in v12.2.0
func (r *ArtifactLifecycleWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ArtifactLifecycleWebhookResourceModel ¶ added in v12.2.0
type ArtifactLifecycleWebhookResourceModel struct {
WebhookBaseResourceModel
}
type BaseCriteriaAPIModel ¶ added in v12.2.0
type BuildCriteriaAPIModel ¶ added in v12.2.0
type BuildCriteriaAPIModel struct { BaseCriteriaAPIModel AnyBuild bool `json:"anyBuild"` SelectedBuilds []string `json:"selectedBuilds"` }
type BuildCustomWebhookResource ¶ added in v12.2.0
type BuildCustomWebhookResource struct {
CustomWebhookResource
}
func (*BuildCustomWebhookResource) Configure ¶ added in v12.2.0
func (r *BuildCustomWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*BuildCustomWebhookResource) Create ¶ added in v12.2.0
func (r *BuildCustomWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*BuildCustomWebhookResource) Delete ¶ added in v12.2.0
func (r *BuildCustomWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*BuildCustomWebhookResource) ImportState ¶ added in v12.2.0
func (r *BuildCustomWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*BuildCustomWebhookResource) Metadata ¶ added in v12.2.0
func (r *BuildCustomWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*BuildCustomWebhookResource) Read ¶ added in v12.2.0
func (r *BuildCustomWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*BuildCustomWebhookResource) Schema ¶ added in v12.2.0
func (r *BuildCustomWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*BuildCustomWebhookResource) Update ¶ added in v12.2.0
func (r *BuildCustomWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (BuildCustomWebhookResource) ValidateConfig ¶ added in v12.2.0
func (r BuildCustomWebhookResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, resp *resource.ValidateConfigResponse)
type BuildCustomWebhookResourceModel ¶ added in v12.2.0
type BuildCustomWebhookResourceModel struct {
CustomWebhookResourceModel
}
type BuildWebhookResource ¶ added in v12.2.0
type BuildWebhookResource struct {
WebhookResource
}
func (*BuildWebhookResource) Configure ¶ added in v12.2.0
func (r *BuildWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*BuildWebhookResource) Create ¶ added in v12.2.0
func (r *BuildWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*BuildWebhookResource) Delete ¶ added in v12.2.0
func (r *BuildWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*BuildWebhookResource) ImportState ¶ added in v12.2.0
func (r *BuildWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*BuildWebhookResource) Metadata ¶ added in v12.2.0
func (r *BuildWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*BuildWebhookResource) Read ¶ added in v12.2.0
func (r *BuildWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*BuildWebhookResource) Schema ¶ added in v12.2.0
func (r *BuildWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*BuildWebhookResource) Update ¶ added in v12.2.0
func (r *BuildWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (BuildWebhookResource) ValidateConfig ¶ added in v12.2.0
func (r BuildWebhookResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, resp *resource.ValidateConfigResponse)
type BuildWebhookResourceModel ¶ added in v12.2.0
type BuildWebhookResourceModel struct {
WebhookResourceModel
}
type CustomHandlerAPIModel ¶ added in v12.2.0
type CustomHandlerAPIModel struct { HandlerType string `json:"handler_type"` Url string `json:"url"` Secrets []KeyValuePairAPIModel `json:"secrets"` Proxy *string `json:"proxy"` HttpHeaders []KeyValuePairAPIModel `json:"http_headers"` Payload string `json:"payload,omitempty"` }
type CustomWebhookAPIModel ¶ added in v12.2.0
type CustomWebhookAPIModel struct { WebhookAPIModel Handlers []CustomHandlerAPIModel `json:"handlers"` }
func (CustomWebhookAPIModel) Id ¶ added in v12.2.0
func (w CustomWebhookAPIModel) Id() string
type CustomWebhookBaseResourceModel ¶ added in v12.2.0
type CustomWebhookBaseResourceModel struct {
WebhookBaseResourceModel
}
type CustomWebhookResource ¶ added in v12.2.0
type CustomWebhookResource struct {
WebhookResource
}
func (*CustomWebhookResource) Create ¶ added in v12.2.0
func (r *CustomWebhookResource) Create(ctx context.Context, webhook CustomWebhookAPIModel, resp *resource.CreateResponse)
func (*CustomWebhookResource) CreateSchema ¶ added in v12.2.0
func (r *CustomWebhookResource) CreateSchema(domain string, criteriaBlock *schema.SetNestedBlock) schema.Schema
func (*CustomWebhookResource) Read ¶ added in v12.2.0
func (r *CustomWebhookResource) Read(ctx context.Context, key string, webhook *CustomWebhookAPIModel, resp *resource.ReadResponse) (found bool)
func (*CustomWebhookResource) Update ¶ added in v12.2.0
func (r *CustomWebhookResource) Update(_ context.Context, key string, webhook CustomWebhookAPIModel, resp *resource.UpdateResponse)
type CustomWebhookResourceModel ¶ added in v12.2.0
type CustomWebhookResourceModel struct { CustomWebhookBaseResourceModel WebhookCriteriaResourceModel }
type EventFilterAPIModel ¶ added in v12.2.0
type HandlerAPIModel ¶ added in v12.2.0
type KeyValuePairAPIModel ¶ added in v12.2.0
type ReleaseBundleCriteriaAPIModel ¶ added in v12.2.0
type ReleaseBundleCriteriaAPIModel struct { BaseCriteriaAPIModel AnyReleaseBundle bool `json:"anyReleaseBundle"` RegisteredReleaseBundlesNames []string `json:"registeredReleaseBundlesNames"` }
type ReleaseBundleCustomWebhookResource ¶ added in v12.2.0
type ReleaseBundleCustomWebhookResource struct {
CustomWebhookResource
}
func (*ReleaseBundleCustomWebhookResource) Configure ¶ added in v12.2.0
func (r *ReleaseBundleCustomWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ReleaseBundleCustomWebhookResource) Create ¶ added in v12.2.0
func (r *ReleaseBundleCustomWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ReleaseBundleCustomWebhookResource) Delete ¶ added in v12.2.0
func (r *ReleaseBundleCustomWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ReleaseBundleCustomWebhookResource) ImportState ¶ added in v12.2.0
func (r *ReleaseBundleCustomWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*ReleaseBundleCustomWebhookResource) Metadata ¶ added in v12.2.0
func (r *ReleaseBundleCustomWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ReleaseBundleCustomWebhookResource) Read ¶ added in v12.2.0
func (r *ReleaseBundleCustomWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ReleaseBundleCustomWebhookResource) Schema ¶ added in v12.2.0
func (r *ReleaseBundleCustomWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ReleaseBundleCustomWebhookResource) Update ¶ added in v12.2.0
func (r *ReleaseBundleCustomWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (ReleaseBundleCustomWebhookResource) ValidateConfig ¶ added in v12.2.0
func (r ReleaseBundleCustomWebhookResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, resp *resource.ValidateConfigResponse)
type ReleaseBundleCustomWebhookResourceModel ¶ added in v12.2.0
type ReleaseBundleCustomWebhookResourceModel struct {
CustomWebhookResourceModel
}
type ReleaseBundleV2CriteriaAPIModel ¶ added in v12.2.0
type ReleaseBundleV2CriteriaAPIModel struct { BaseCriteriaAPIModel AnyReleaseBundle bool `json:"anyReleaseBundle"` SelectedReleaseBundles []string `json:"selectedReleaseBundles"` }
type ReleaseBundleV2CustomWebhookResource ¶ added in v12.2.0
type ReleaseBundleV2CustomWebhookResource struct {
CustomWebhookResource
}
func (*ReleaseBundleV2CustomWebhookResource) Configure ¶ added in v12.2.0
func (r *ReleaseBundleV2CustomWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ReleaseBundleV2CustomWebhookResource) Create ¶ added in v12.2.0
func (r *ReleaseBundleV2CustomWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ReleaseBundleV2CustomWebhookResource) Delete ¶ added in v12.2.0
func (r *ReleaseBundleV2CustomWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ReleaseBundleV2CustomWebhookResource) ImportState ¶ added in v12.2.0
func (r *ReleaseBundleV2CustomWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*ReleaseBundleV2CustomWebhookResource) Metadata ¶ added in v12.2.0
func (r *ReleaseBundleV2CustomWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ReleaseBundleV2CustomWebhookResource) Read ¶ added in v12.2.0
func (r *ReleaseBundleV2CustomWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ReleaseBundleV2CustomWebhookResource) Schema ¶ added in v12.2.0
func (r *ReleaseBundleV2CustomWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ReleaseBundleV2CustomWebhookResource) Update ¶ added in v12.2.0
func (r *ReleaseBundleV2CustomWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (ReleaseBundleV2CustomWebhookResource) ValidateConfig ¶ added in v12.2.0
func (r ReleaseBundleV2CustomWebhookResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, resp *resource.ValidateConfigResponse)
type ReleaseBundleV2CustomWebhookResourceModel ¶ added in v12.2.0
type ReleaseBundleV2CustomWebhookResourceModel struct {
CustomWebhookResourceModel
}
type ReleaseBundleV2PromotionCriteriaAPIModel ¶ added in v12.2.0
type ReleaseBundleV2PromotionCriteriaAPIModel struct {
SelectedEnvironments []string `json:"selectedEnvironments"`
}
type ReleaseBundleV2PromotionCustomWebhookResource ¶ added in v12.2.0
type ReleaseBundleV2PromotionCustomWebhookResource struct {
CustomWebhookResource
}
func (*ReleaseBundleV2PromotionCustomWebhookResource) Configure ¶ added in v12.2.0
func (r *ReleaseBundleV2PromotionCustomWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ReleaseBundleV2PromotionCustomWebhookResource) Create ¶ added in v12.2.0
func (r *ReleaseBundleV2PromotionCustomWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ReleaseBundleV2PromotionCustomWebhookResource) Delete ¶ added in v12.2.0
func (r *ReleaseBundleV2PromotionCustomWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ReleaseBundleV2PromotionCustomWebhookResource) ImportState ¶ added in v12.2.0
func (r *ReleaseBundleV2PromotionCustomWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*ReleaseBundleV2PromotionCustomWebhookResource) Metadata ¶ added in v12.2.0
func (r *ReleaseBundleV2PromotionCustomWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ReleaseBundleV2PromotionCustomWebhookResource) Read ¶ added in v12.2.0
func (r *ReleaseBundleV2PromotionCustomWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ReleaseBundleV2PromotionCustomWebhookResource) Schema ¶ added in v12.2.0
func (r *ReleaseBundleV2PromotionCustomWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ReleaseBundleV2PromotionCustomWebhookResource) Update ¶ added in v12.2.0
func (r *ReleaseBundleV2PromotionCustomWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ReleaseBundleV2PromotionCustomWebhookResourceModel ¶ added in v12.2.0
type ReleaseBundleV2PromotionCustomWebhookResourceModel struct {
CustomWebhookResourceModel
}
type ReleaseBundleV2PromotionWebhookResource ¶ added in v12.2.0
type ReleaseBundleV2PromotionWebhookResource struct {
WebhookResource
}
func (*ReleaseBundleV2PromotionWebhookResource) Configure ¶ added in v12.2.0
func (r *ReleaseBundleV2PromotionWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ReleaseBundleV2PromotionWebhookResource) Create ¶ added in v12.2.0
func (r *ReleaseBundleV2PromotionWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ReleaseBundleV2PromotionWebhookResource) Delete ¶ added in v12.2.0
func (r *ReleaseBundleV2PromotionWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ReleaseBundleV2PromotionWebhookResource) ImportState ¶ added in v12.2.0
func (r *ReleaseBundleV2PromotionWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*ReleaseBundleV2PromotionWebhookResource) Metadata ¶ added in v12.2.0
func (r *ReleaseBundleV2PromotionWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ReleaseBundleV2PromotionWebhookResource) Read ¶ added in v12.2.0
func (r *ReleaseBundleV2PromotionWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ReleaseBundleV2PromotionWebhookResource) Schema ¶ added in v12.2.0
func (r *ReleaseBundleV2PromotionWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ReleaseBundleV2PromotionWebhookResource) Update ¶ added in v12.2.0
func (r *ReleaseBundleV2PromotionWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ReleaseBundleV2PromotionWebhookResourceModel ¶ added in v12.2.0
type ReleaseBundleV2PromotionWebhookResourceModel struct {
WebhookResourceModel
}
type ReleaseBundleV2WebhookResource ¶ added in v12.2.0
type ReleaseBundleV2WebhookResource struct {
WebhookResource
}
func (*ReleaseBundleV2WebhookResource) Configure ¶ added in v12.2.0
func (r *ReleaseBundleV2WebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ReleaseBundleV2WebhookResource) Create ¶ added in v12.2.0
func (r *ReleaseBundleV2WebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ReleaseBundleV2WebhookResource) Delete ¶ added in v12.2.0
func (r *ReleaseBundleV2WebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ReleaseBundleV2WebhookResource) ImportState ¶ added in v12.2.0
func (r *ReleaseBundleV2WebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*ReleaseBundleV2WebhookResource) Metadata ¶ added in v12.2.0
func (r *ReleaseBundleV2WebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ReleaseBundleV2WebhookResource) Read ¶ added in v12.2.0
func (r *ReleaseBundleV2WebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ReleaseBundleV2WebhookResource) Schema ¶ added in v12.2.0
func (r *ReleaseBundleV2WebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ReleaseBundleV2WebhookResource) Update ¶ added in v12.2.0
func (r *ReleaseBundleV2WebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (ReleaseBundleV2WebhookResource) ValidateConfig ¶ added in v12.2.0
func (r ReleaseBundleV2WebhookResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, resp *resource.ValidateConfigResponse)
type ReleaseBundleV2WebhookResourceModel ¶ added in v12.2.0
type ReleaseBundleV2WebhookResourceModel struct {
WebhookResourceModel
}
type ReleaseBundleWebhookResource ¶ added in v12.2.0
type ReleaseBundleWebhookResource struct {
WebhookResource
}
func (*ReleaseBundleWebhookResource) Configure ¶ added in v12.2.0
func (r *ReleaseBundleWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ReleaseBundleWebhookResource) Create ¶ added in v12.2.0
func (r *ReleaseBundleWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ReleaseBundleWebhookResource) Delete ¶ added in v12.2.0
func (r *ReleaseBundleWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ReleaseBundleWebhookResource) ImportState ¶ added in v12.2.0
func (r *ReleaseBundleWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*ReleaseBundleWebhookResource) Metadata ¶ added in v12.2.0
func (r *ReleaseBundleWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ReleaseBundleWebhookResource) Read ¶ added in v12.2.0
func (r *ReleaseBundleWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ReleaseBundleWebhookResource) Schema ¶ added in v12.2.0
func (r *ReleaseBundleWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ReleaseBundleWebhookResource) Update ¶ added in v12.2.0
func (r *ReleaseBundleWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (ReleaseBundleWebhookResource) ValidateConfig ¶ added in v12.2.0
func (r ReleaseBundleWebhookResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, resp *resource.ValidateConfigResponse)
type ReleaseBundleWebhookResourceModel ¶ added in v12.2.0
type ReleaseBundleWebhookResourceModel struct {
WebhookResourceModel
}
type RepoCriteriaAPIModel ¶ added in v12.2.0
type RepoCriteriaAPIModel struct { BaseCriteriaAPIModel AnyLocal bool `json:"anyLocal"` AnyRemote bool `json:"anyRemote"` AnyFederated bool `json:"anyFederated"` RepoKeys []string `json:"repoKeys"` }
type RepoCustomWebhookResource ¶ added in v12.2.0
type RepoCustomWebhookResource struct {
CustomWebhookResource
}
func (*RepoCustomWebhookResource) Configure ¶ added in v12.2.0
func (r *RepoCustomWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*RepoCustomWebhookResource) Create ¶ added in v12.2.0
func (r *RepoCustomWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*RepoCustomWebhookResource) Delete ¶ added in v12.2.0
func (r *RepoCustomWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*RepoCustomWebhookResource) ImportState ¶ added in v12.2.0
func (r *RepoCustomWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*RepoCustomWebhookResource) Metadata ¶ added in v12.2.0
func (r *RepoCustomWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*RepoCustomWebhookResource) Read ¶ added in v12.2.0
func (r *RepoCustomWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*RepoCustomWebhookResource) Schema ¶ added in v12.2.0
func (r *RepoCustomWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*RepoCustomWebhookResource) Update ¶ added in v12.2.0
func (r *RepoCustomWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (RepoCustomWebhookResource) ValidateConfig ¶ added in v12.2.0
func (r RepoCustomWebhookResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, resp *resource.ValidateConfigResponse)
type RepoCustomWebhookResourceModel ¶ added in v12.2.0
type RepoCustomWebhookResourceModel struct {
CustomWebhookResourceModel
}
type RepoWebhookResource ¶ added in v12.2.0
type RepoWebhookResource struct {
WebhookResource
}
func (*RepoWebhookResource) Configure ¶ added in v12.2.0
func (r *RepoWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*RepoWebhookResource) Create ¶ added in v12.2.0
func (r *RepoWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*RepoWebhookResource) Delete ¶ added in v12.2.0
func (r *RepoWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*RepoWebhookResource) ImportState ¶ added in v12.2.0
func (r *RepoWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*RepoWebhookResource) Metadata ¶ added in v12.2.0
func (r *RepoWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*RepoWebhookResource) Read ¶ added in v12.2.0
func (r *RepoWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*RepoWebhookResource) Schema ¶ added in v12.2.0
func (r *RepoWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*RepoWebhookResource) Update ¶ added in v12.2.0
func (r *RepoWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (RepoWebhookResource) ValidateConfig ¶ added in v12.2.0
func (r RepoWebhookResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, resp *resource.ValidateConfigResponse)
type RepoWebhookResourceModel ¶ added in v12.2.0
type RepoWebhookResourceModel struct {
WebhookResourceModel
}
type UserCustomWebhookResource ¶ added in v12.2.0
type UserCustomWebhookResource struct {
CustomWebhookResource
}
func (*UserCustomWebhookResource) Configure ¶ added in v12.2.0
func (r *UserCustomWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*UserCustomWebhookResource) Create ¶ added in v12.2.0
func (r *UserCustomWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*UserCustomWebhookResource) Delete ¶ added in v12.2.0
func (r *UserCustomWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*UserCustomWebhookResource) ImportState ¶ added in v12.2.0
func (r *UserCustomWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*UserCustomWebhookResource) Metadata ¶ added in v12.2.0
func (r *UserCustomWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*UserCustomWebhookResource) Read ¶ added in v12.2.0
func (r *UserCustomWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*UserCustomWebhookResource) Schema ¶ added in v12.2.0
func (r *UserCustomWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*UserCustomWebhookResource) Update ¶ added in v12.2.0
func (r *UserCustomWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type UserCustomWebhookResourceModel ¶ added in v12.2.0
type UserCustomWebhookResourceModel struct {
CustomWebhookBaseResourceModel
}
type UserWebhookResource ¶ added in v12.2.0
type UserWebhookResource struct {
WebhookResource
}
func (*UserWebhookResource) Configure ¶ added in v12.2.0
func (r *UserWebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*UserWebhookResource) Create ¶ added in v12.2.0
func (r *UserWebhookResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*UserWebhookResource) Delete ¶ added in v12.2.0
func (r *UserWebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*UserWebhookResource) ImportState ¶ added in v12.2.0
func (r *UserWebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*UserWebhookResource) Metadata ¶ added in v12.2.0
func (r *UserWebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*UserWebhookResource) Read ¶ added in v12.2.0
func (r *UserWebhookResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*UserWebhookResource) Schema ¶ added in v12.2.0
func (r *UserWebhookResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*UserWebhookResource) Update ¶ added in v12.2.0
func (r *UserWebhookResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type UserWebhookResourceModel ¶ added in v12.2.0
type UserWebhookResourceModel struct {
WebhookBaseResourceModel
}
type WebhookAPIModel ¶ added in v12.2.0
type WebhookAPIModel struct { Key string `json:"key"` Description string `json:"description"` Enabled bool `json:"enabled"` EventFilter EventFilterAPIModel `json:"event_filter"` Handlers []HandlerAPIModel `json:"handlers"` }
type WebhookBaseResourceModel ¶ added in v12.2.0
type WebhookCriteriaResourceModel ¶ added in v12.2.0
type WebhookResource ¶ added in v12.2.0
type WebhookResource struct { ProviderData util.ProviderMetadata TypeName string Domain string Description string }
func (*WebhookResource) Configure ¶ added in v12.2.0
func (r *WebhookResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*WebhookResource) Create ¶ added in v12.2.0
func (r *WebhookResource) Create(_ context.Context, webhook WebhookAPIModel, resp *resource.CreateResponse)
func (*WebhookResource) CreateSchema ¶ added in v12.2.0
func (r *WebhookResource) CreateSchema(domain string, criteriaBlock *schema.SetNestedBlock, handlerBlock schema.SetNestedBlock) schema.Schema
func (*WebhookResource) Delete ¶ added in v12.2.0
func (r *WebhookResource) Delete(ctx context.Context, key string, resp *resource.DeleteResponse)
func (*WebhookResource) ImportState ¶ added in v12.2.0
func (r *WebhookResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*WebhookResource) Metadata ¶ added in v12.2.0
func (r *WebhookResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*WebhookResource) Read ¶ added in v12.2.0
func (r *WebhookResource) Read(ctx context.Context, key string, webhook *WebhookAPIModel, resp *resource.ReadResponse) (found bool)
func (*WebhookResource) Update ¶ added in v12.2.0
func (r *WebhookResource) Update(_ context.Context, key string, webhook WebhookAPIModel, resp *resource.UpdateResponse)
type WebhookResourceModel ¶ added in v12.2.0
type WebhookResourceModel struct { WebhookBaseResourceModel WebhookCriteriaResourceModel }
Source Files ¶
- resource_artifactory_custom_webhook.go
- resource_artifactory_custom_webhook_artifact_lifecycle.go
- resource_artifactory_custom_webhook_build.go
- resource_artifactory_custom_webhook_release_bundle.go
- resource_artifactory_custom_webhook_release_bundle_v2.go
- resource_artifactory_custom_webhook_release_bundle_v2_promotion.go
- resource_artifactory_custom_webhook_repo.go
- resource_artifactory_custom_webhook_user.go
- resource_artifactory_webhook.go
- resource_artifactory_webhook_artifact_lifecycle.go
- resource_artifactory_webhook_build.go
- resource_artifactory_webhook_release_bundle.go
- resource_artifactory_webhook_release_bundle_v2.go
- resource_artifactory_webhook_release_bundle_v2_promotion.go
- resource_artifactory_webhook_repo.go
- resource_artifactory_webhook_user.go