webhook

package
v12.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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 NewArtifactCustomWebhookResource() resource.Resource

func NewArtifactLifecycleCustomWebhookResource added in v12.2.0

func NewArtifactLifecycleCustomWebhookResource() resource.Resource

func NewArtifactLifecycleWebhookResource added in v12.2.0

func NewArtifactLifecycleWebhookResource() resource.Resource

func NewArtifactPropertyCustomWebhookResource added in v12.2.0

func NewArtifactPropertyCustomWebhookResource() resource.Resource

func NewArtifactPropertyWebhookResource added in v12.2.0

func NewArtifactPropertyWebhookResource() resource.Resource

func NewArtifactWebhookResource added in v12.2.0

func NewArtifactWebhookResource() resource.Resource

func NewArtifactoryReleaseBundleCustomWebhookResource added in v12.2.0

func NewArtifactoryReleaseBundleCustomWebhookResource() resource.Resource

func NewArtifactoryReleaseBundleWebhookResource added in v12.2.0

func NewArtifactoryReleaseBundleWebhookResource() resource.Resource

func NewBuildCustomWebhookResource added in v12.2.0

func NewBuildCustomWebhookResource() resource.Resource

func NewBuildWebhookResource added in v12.2.0

func NewBuildWebhookResource() resource.Resource

func NewDestinationCustomWebhookResource added in v12.2.0

func NewDestinationCustomWebhookResource() resource.Resource

func NewDestinationWebhookResource added in v12.2.0

func NewDestinationWebhookResource() resource.Resource

func NewDistributionCustomWebhookResource added in v12.2.0

func NewDistributionCustomWebhookResource() resource.Resource

func NewDistributionWebhookResource added in v12.2.0

func NewDistributionWebhookResource() resource.Resource

func NewDockerCustomWebhookResource added in v12.2.0

func NewDockerCustomWebhookResource() resource.Resource

func NewDockerWebhookResource added in v12.2.0

func NewDockerWebhookResource() resource.Resource

func NewReleaseBundleCustomWebhookResource added in v12.2.0

func NewReleaseBundleCustomWebhookResource() resource.Resource

func NewReleaseBundleV2CustomWebhookResource added in v12.2.0

func NewReleaseBundleV2CustomWebhookResource() resource.Resource

func NewReleaseBundleV2PromotionCustomWebhookResource added in v12.2.0

func NewReleaseBundleV2PromotionCustomWebhookResource() resource.Resource

func NewReleaseBundleV2PromotionWebhookResource added in v12.2.0

func NewReleaseBundleV2PromotionWebhookResource() resource.Resource

func NewReleaseBundleV2WebhookResource added in v12.2.0

func NewReleaseBundleV2WebhookResource() resource.Resource

func NewReleaseBundleWebhookResource added in v12.2.0

func NewReleaseBundleWebhookResource() resource.Resource

func NewUserCustomWebhookResource added in v12.2.0

func NewUserCustomWebhookResource() resource.Resource

func NewUserWebhookResource added in v12.2.0

func NewUserWebhookResource() resource.Resource

Types

type ArtifactLifecycleCustomWebhookResource added in v12.2.0

type ArtifactLifecycleCustomWebhookResource struct {
	CustomWebhookResource
}

func (*ArtifactLifecycleCustomWebhookResource) Configure added in v12.2.0

func (*ArtifactLifecycleCustomWebhookResource) Create added in v12.2.0

func (*ArtifactLifecycleCustomWebhookResource) Delete added in v12.2.0

func (*ArtifactLifecycleCustomWebhookResource) ImportState added in v12.2.0

ImportState imports the resource into the Terraform state.

func (*ArtifactLifecycleCustomWebhookResource) Metadata added in v12.2.0

func (*ArtifactLifecycleCustomWebhookResource) Read added in v12.2.0

func (*ArtifactLifecycleCustomWebhookResource) Schema added in v12.2.0

func (*ArtifactLifecycleCustomWebhookResource) Update added in v12.2.0

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 (*ArtifactLifecycleWebhookResource) Create added in v12.2.0

func (*ArtifactLifecycleWebhookResource) Delete added in v12.2.0

func (*ArtifactLifecycleWebhookResource) ImportState added in v12.2.0

ImportState imports the resource into the Terraform state.

func (*ArtifactLifecycleWebhookResource) Metadata added in v12.2.0

func (*ArtifactLifecycleWebhookResource) Read added in v12.2.0

func (*ArtifactLifecycleWebhookResource) Schema added in v12.2.0

func (*ArtifactLifecycleWebhookResource) Update added in v12.2.0

type ArtifactLifecycleWebhookResourceModel added in v12.2.0

type ArtifactLifecycleWebhookResourceModel struct {
	WebhookBaseResourceModel
}

type BaseCriteriaAPIModel added in v12.2.0

type BaseCriteriaAPIModel struct {
	IncludePatterns []string `json:"includePatterns"`
	ExcludePatterns []string `json:"excludePatterns"`
}

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 (*BuildCustomWebhookResource) Create added in v12.2.0

func (*BuildCustomWebhookResource) Delete added in v12.2.0

func (*BuildCustomWebhookResource) ImportState added in v12.2.0

ImportState imports the resource into the Terraform state.

func (*BuildCustomWebhookResource) Metadata added in v12.2.0

func (*BuildCustomWebhookResource) Read added in v12.2.0

func (*BuildCustomWebhookResource) Schema added in v12.2.0

func (*BuildCustomWebhookResource) Update added in v12.2.0

func (BuildCustomWebhookResource) ValidateConfig added in v12.2.0

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 (*BuildWebhookResource) Create added in v12.2.0

func (*BuildWebhookResource) Delete added in v12.2.0

func (*BuildWebhookResource) ImportState added in v12.2.0

ImportState imports the resource into the Terraform state.

func (*BuildWebhookResource) Metadata added in v12.2.0

func (*BuildWebhookResource) Read added in v12.2.0

func (*BuildWebhookResource) Schema added in v12.2.0

func (*BuildWebhookResource) Update added in v12.2.0

func (BuildWebhookResource) ValidateConfig added in v12.2.0

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

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 (*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

type CustomWebhookResourceModel added in v12.2.0

type CustomWebhookResourceModel struct {
	CustomWebhookBaseResourceModel
	WebhookCriteriaResourceModel
}

type EventFilterAPIModel added in v12.2.0

type EventFilterAPIModel struct {
	Domain     string      `json:"domain"`
	EventTypes []string    `json:"event_types"`
	Criteria   interface{} `json:"criteria,omitempty"`
}

type HandlerAPIModel added in v12.2.0

type HandlerAPIModel struct {
	HandlerType         string                 `json:"handler_type"`
	Url                 string                 `json:"url"`
	Secret              *string                `json:"secret"`
	UseSecretForSigning *bool                  `json:"use_secret_for_signing,omitempty"`
	Proxy               *string                `json:"proxy"`
	CustomHttpHeaders   []KeyValuePairAPIModel `json:"custom_http_headers"`
}

type KeyValuePairAPIModel added in v12.2.0

type KeyValuePairAPIModel struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

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 (*ReleaseBundleCustomWebhookResource) Create added in v12.2.0

func (*ReleaseBundleCustomWebhookResource) Delete added in v12.2.0

func (*ReleaseBundleCustomWebhookResource) ImportState added in v12.2.0

ImportState imports the resource into the Terraform state.

func (*ReleaseBundleCustomWebhookResource) Metadata added in v12.2.0

func (*ReleaseBundleCustomWebhookResource) Read added in v12.2.0

func (*ReleaseBundleCustomWebhookResource) Schema added in v12.2.0

func (*ReleaseBundleCustomWebhookResource) Update added in v12.2.0

func (ReleaseBundleCustomWebhookResource) ValidateConfig added in v12.2.0

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 (*ReleaseBundleV2CustomWebhookResource) Create added in v12.2.0

func (*ReleaseBundleV2CustomWebhookResource) Delete added in v12.2.0

func (*ReleaseBundleV2CustomWebhookResource) ImportState added in v12.2.0

ImportState imports the resource into the Terraform state.

func (*ReleaseBundleV2CustomWebhookResource) Metadata added in v12.2.0

func (*ReleaseBundleV2CustomWebhookResource) Read added in v12.2.0

func (*ReleaseBundleV2CustomWebhookResource) Schema added in v12.2.0

func (*ReleaseBundleV2CustomWebhookResource) Update added in v12.2.0

func (ReleaseBundleV2CustomWebhookResource) ValidateConfig added in v12.2.0

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 (*ReleaseBundleV2PromotionCustomWebhookResource) Create added in v12.2.0

func (*ReleaseBundleV2PromotionCustomWebhookResource) Delete added in v12.2.0

func (*ReleaseBundleV2PromotionCustomWebhookResource) ImportState added in v12.2.0

ImportState imports the resource into the Terraform state.

func (*ReleaseBundleV2PromotionCustomWebhookResource) Metadata added in v12.2.0

func (*ReleaseBundleV2PromotionCustomWebhookResource) Read added in v12.2.0

func (*ReleaseBundleV2PromotionCustomWebhookResource) Schema added in v12.2.0

func (*ReleaseBundleV2PromotionCustomWebhookResource) Update added in v12.2.0

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 (*ReleaseBundleV2PromotionWebhookResource) Create added in v12.2.0

func (*ReleaseBundleV2PromotionWebhookResource) Delete added in v12.2.0

func (*ReleaseBundleV2PromotionWebhookResource) ImportState added in v12.2.0

ImportState imports the resource into the Terraform state.

func (*ReleaseBundleV2PromotionWebhookResource) Metadata added in v12.2.0

func (*ReleaseBundleV2PromotionWebhookResource) Read added in v12.2.0

func (*ReleaseBundleV2PromotionWebhookResource) Schema added in v12.2.0

func (*ReleaseBundleV2PromotionWebhookResource) Update added in v12.2.0

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 (*ReleaseBundleV2WebhookResource) Create added in v12.2.0

func (*ReleaseBundleV2WebhookResource) Delete added in v12.2.0

func (*ReleaseBundleV2WebhookResource) ImportState added in v12.2.0

ImportState imports the resource into the Terraform state.

func (*ReleaseBundleV2WebhookResource) Metadata added in v12.2.0

func (*ReleaseBundleV2WebhookResource) Read added in v12.2.0

func (*ReleaseBundleV2WebhookResource) Schema added in v12.2.0

func (*ReleaseBundleV2WebhookResource) Update added in v12.2.0

func (ReleaseBundleV2WebhookResource) ValidateConfig added in v12.2.0

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 (*ReleaseBundleWebhookResource) Create added in v12.2.0

func (*ReleaseBundleWebhookResource) Delete added in v12.2.0

func (*ReleaseBundleWebhookResource) ImportState added in v12.2.0

ImportState imports the resource into the Terraform state.

func (*ReleaseBundleWebhookResource) Metadata added in v12.2.0

func (*ReleaseBundleWebhookResource) Read added in v12.2.0

func (*ReleaseBundleWebhookResource) Schema added in v12.2.0

func (*ReleaseBundleWebhookResource) Update added in v12.2.0

func (ReleaseBundleWebhookResource) ValidateConfig added in v12.2.0

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 (*RepoCustomWebhookResource) Create added in v12.2.0

func (*RepoCustomWebhookResource) Delete added in v12.2.0

func (*RepoCustomWebhookResource) ImportState added in v12.2.0

ImportState imports the resource into the Terraform state.

func (*RepoCustomWebhookResource) Metadata added in v12.2.0

func (*RepoCustomWebhookResource) Read added in v12.2.0

func (*RepoCustomWebhookResource) Schema added in v12.2.0

func (*RepoCustomWebhookResource) Update added in v12.2.0

func (RepoCustomWebhookResource) ValidateConfig added in v12.2.0

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 (*RepoWebhookResource) Create added in v12.2.0

func (*RepoWebhookResource) Delete added in v12.2.0

func (*RepoWebhookResource) ImportState added in v12.2.0

ImportState imports the resource into the Terraform state.

func (*RepoWebhookResource) Metadata added in v12.2.0

func (*RepoWebhookResource) Read added in v12.2.0

func (*RepoWebhookResource) Schema added in v12.2.0

func (*RepoWebhookResource) Update added in v12.2.0

func (RepoWebhookResource) ValidateConfig added in v12.2.0

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 (*UserCustomWebhookResource) Create added in v12.2.0

func (*UserCustomWebhookResource) Delete added in v12.2.0

func (*UserCustomWebhookResource) ImportState added in v12.2.0

ImportState imports the resource into the Terraform state.

func (*UserCustomWebhookResource) Metadata added in v12.2.0

func (*UserCustomWebhookResource) Read added in v12.2.0

func (*UserCustomWebhookResource) Schema added in v12.2.0

func (*UserCustomWebhookResource) Update added in v12.2.0

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 (*UserWebhookResource) Create added in v12.2.0

func (*UserWebhookResource) Delete added in v12.2.0

func (*UserWebhookResource) ImportState added in v12.2.0

ImportState imports the resource into the Terraform state.

func (*UserWebhookResource) Metadata added in v12.2.0

func (*UserWebhookResource) Read added in v12.2.0

func (*UserWebhookResource) Schema added in v12.2.0

func (*UserWebhookResource) Update added in v12.2.0

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 WebhookBaseResourceModel struct {
	Key         types.String `tfsdk:"key"`
	Description types.String `tfsdk:"description"`
	Enabled     types.Bool   `tfsdk:"enabled"`
	EventTypes  types.Set    `tfsdk:"event_types"`
	Handlers    types.Set    `tfsdk:"handler"`
}

type WebhookCriteriaResourceModel added in v12.2.0

type WebhookCriteriaResourceModel struct {
	Criteria types.Set `tfsdk:"criteria"`
}

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 (*WebhookResource) Create added in v12.2.0

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

ImportState imports the resource into the Terraform state.

func (*WebhookResource) Metadata added in v12.2.0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL