fastly

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MPL-2.0 Imports: 24 Imported by: 5

Documentation

Index

Constants

View Source
const (
	// ServiceTypeVCL is the type for VCL services.
	ServiceTypeVCL = "vcl"
	// ServiceTypeCompute is the type for Compute services.
	ServiceTypeCompute = "wasm"
)
View Source
const (
	WAFStatusCheckDelay      = 5 * time.Second
	WAFStatusCheckMinTimeout = 5 * time.Second
)
View Source
const GzipLevelDescription = "" /* 180-byte string literal not displayed */
View Source
const MessageTypeDescription = "How the message should be formatted. Can be either `classic`, `loggly`, `logplex` or `blank`. Default is `classic`"
View Source
const SnippetTypeDescription = "" /* 172-byte string literal not displayed */
View Source
const TerraformProviderProductUserAgent = "terraform-provider-fastly"
View Source
const TimestampFormatDescription = "The `strftime` specified timestamp formatting (default `%Y-%m-%dT%H:%M:%S.000`)"

Variables

This section is empty.

Functions

func DefaultWAFDeploymentChecker added in v0.20.3

func DefaultWAFDeploymentChecker(conn *gofastly.Client) func(wafID string, version int) (*gofastly.WAFVersion, error)

func Provider

func Provider() *schema.Provider

Provider returns a *schema.Provider.

Types

type ACLServiceAttributeHandler added in v0.20.3

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

func (*ACLServiceAttributeHandler) Create added in v0.35.0

func (h *ACLServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface{}, latestVersion int, conn *gofastly.Client) error

func (*ACLServiceAttributeHandler) Delete added in v0.35.0

func (h *ACLServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface{}, latestVersion int, conn *gofastly.Client) error

func (*ACLServiceAttributeHandler) GetSchema added in v0.35.0

func (h *ACLServiceAttributeHandler) GetSchema() *schema.Schema

func (*ACLServiceAttributeHandler) Key added in v0.35.0

func (*ACLServiceAttributeHandler) Read added in v0.20.3

func (h *ACLServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, latestVersion int, conn *gofastly.Client) error

func (*ACLServiceAttributeHandler) Update added in v0.35.0

func (h *ACLServiceAttributeHandler) Update(context.Context, *schema.ResourceData, map[string]interface{}, map[string]interface{}, int, *gofastly.Client) error

type BackendServiceAttributeHandler added in v0.20.3

type BackendServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*BackendServiceAttributeHandler) Create added in v0.35.0

func (h *BackendServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*BackendServiceAttributeHandler) Delete added in v0.35.0

func (h *BackendServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*BackendServiceAttributeHandler) GetSchema added in v0.35.0

func (*BackendServiceAttributeHandler) Key added in v0.35.0

func (*BackendServiceAttributeHandler) Read added in v0.20.3

func (h *BackendServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*BackendServiceAttributeHandler) Update added in v0.35.0

func (h *BackendServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

type BaseServiceDefinition added in v0.20.3

type BaseServiceDefinition struct {
	Attributes []ServiceAttributeDefinition
	Type       string
}

BaseServiceDefinition is the base implementation of the BaseServiceDefinition interface.

func (*BaseServiceDefinition) GetAttributeHandler added in v0.20.3

func (d *BaseServiceDefinition) GetAttributeHandler() []ServiceAttributeDefinition

func (*BaseServiceDefinition) GetType added in v0.20.3

func (d *BaseServiceDefinition) GetType() string

type BigQueryLoggingServiceAttributeHandler added in v0.20.3

type BigQueryLoggingServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*BigQueryLoggingServiceAttributeHandler) Create added in v0.35.0

func (h *BigQueryLoggingServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*BigQueryLoggingServiceAttributeHandler) Delete added in v0.35.0

func (h *BigQueryLoggingServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*BigQueryLoggingServiceAttributeHandler) GetSchema added in v0.35.0

func (*BigQueryLoggingServiceAttributeHandler) Key added in v0.35.0

func (*BigQueryLoggingServiceAttributeHandler) Read added in v0.20.3

func (h *BigQueryLoggingServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*BigQueryLoggingServiceAttributeHandler) Update added in v0.35.0

func (h *BigQueryLoggingServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

type BlobStorageLoggingServiceAttributeHandler added in v0.20.3

type BlobStorageLoggingServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*BlobStorageLoggingServiceAttributeHandler) Create added in v0.35.0

func (h *BlobStorageLoggingServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*BlobStorageLoggingServiceAttributeHandler) Delete added in v0.35.0

func (h *BlobStorageLoggingServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*BlobStorageLoggingServiceAttributeHandler) GetSchema added in v0.35.0

func (*BlobStorageLoggingServiceAttributeHandler) Key added in v0.35.0

func (*BlobStorageLoggingServiceAttributeHandler) Read added in v0.20.3

func (h *BlobStorageLoggingServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*BlobStorageLoggingServiceAttributeHandler) Update added in v0.35.0

func (h *BlobStorageLoggingServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type CacheSettingServiceAttributeHandler added in v0.20.3

type CacheSettingServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*CacheSettingServiceAttributeHandler) Create added in v0.35.0

func (h *CacheSettingServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*CacheSettingServiceAttributeHandler) Delete added in v0.35.0

func (h *CacheSettingServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*CacheSettingServiceAttributeHandler) GetSchema added in v0.35.0

func (*CacheSettingServiceAttributeHandler) Key added in v0.35.0

func (*CacheSettingServiceAttributeHandler) Read added in v0.20.3

func (h *CacheSettingServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*CacheSettingServiceAttributeHandler) Update added in v0.35.0

func (h *CacheSettingServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type CloudfilesServiceAttributeHandler added in v0.20.3

type CloudfilesServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*CloudfilesServiceAttributeHandler) Create added in v0.35.0

func (h *CloudfilesServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*CloudfilesServiceAttributeHandler) Delete added in v0.35.0

func (h *CloudfilesServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*CloudfilesServiceAttributeHandler) GetSchema added in v0.35.0

func (*CloudfilesServiceAttributeHandler) Key added in v0.35.0

func (*CloudfilesServiceAttributeHandler) Read added in v0.20.3

func (h *CloudfilesServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*CloudfilesServiceAttributeHandler) Update added in v0.35.0

func (h *CloudfilesServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type ConditionServiceAttributeHandler added in v0.20.3

type ConditionServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*ConditionServiceAttributeHandler) Create added in v0.35.0

func (h *ConditionServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*ConditionServiceAttributeHandler) Delete added in v0.35.0

func (h *ConditionServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*ConditionServiceAttributeHandler) GetSchema added in v0.35.0

func (*ConditionServiceAttributeHandler) Key added in v0.35.0

func (*ConditionServiceAttributeHandler) Read added in v0.20.3

func (h *ConditionServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*ConditionServiceAttributeHandler) Update added in v0.35.0

func (h *ConditionServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type Config

type Config struct {
	ApiKey     string
	BaseURL    string
	UserAgent  string
	NoAuth     bool
	ForceHttp2 bool
}

func (*Config) Client

func (c *Config) Client() (*FastlyClient, diag.Diagnostics)

type DatadogServiceAttributeHandler added in v0.20.3

type DatadogServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*DatadogServiceAttributeHandler) Create added in v0.35.0

func (h *DatadogServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*DatadogServiceAttributeHandler) Delete added in v0.35.0

func (h *DatadogServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*DatadogServiceAttributeHandler) GetSchema added in v0.35.0

func (*DatadogServiceAttributeHandler) Key added in v0.35.0

func (*DatadogServiceAttributeHandler) Read added in v0.20.3

func (h *DatadogServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*DatadogServiceAttributeHandler) Update added in v0.35.0

func (h *DatadogServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type DefaultServiceAttributeHandler added in v0.20.3

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

DefaultServiceAttributeHandler provides a base implementation for ServiceAttributeDefinition.

func (*DefaultServiceAttributeHandler) GetKey added in v0.20.3

GetKey is provided since most attributes will just use their private "key" for interacting with the service.

func (*DefaultServiceAttributeHandler) GetServiceMetadata added in v0.20.3

func (h *DefaultServiceAttributeHandler) GetServiceMetadata() ServiceMetadata

GetServiceMetadata is provided to allow internal methods to get the service Metadata

func (*DefaultServiceAttributeHandler) HasChange added in v0.20.3

func (*DefaultServiceAttributeHandler) MustProcess added in v0.20.3

type DictionaryServiceAttributeHandler added in v0.20.3

type DictionaryServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*DictionaryServiceAttributeHandler) Create added in v0.35.0

func (h *DictionaryServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*DictionaryServiceAttributeHandler) Delete added in v0.35.0

func (h *DictionaryServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*DictionaryServiceAttributeHandler) GetSchema added in v0.35.0

func (*DictionaryServiceAttributeHandler) Key added in v0.35.0

func (*DictionaryServiceAttributeHandler) Read added in v0.20.3

func (h *DictionaryServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*DictionaryServiceAttributeHandler) Update added in v0.35.0

func (h *DictionaryServiceAttributeHandler) Update(_ context.Context, _ *schema.ResourceData, _, _ map[string]interface {
}, _ int, _ *gofastly.Client) error

type DiffResult added in v0.20.3

type DiffResult struct {
	Added      []interface{}
	Modified   []interface{}
	Deleted    []interface{}
	Unmodified []interface{}
}

DiffResult contains the differences between two sets

type DigitalOceanServiceAttributeHandler added in v0.20.3

type DigitalOceanServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*DigitalOceanServiceAttributeHandler) Create added in v0.35.0

func (h *DigitalOceanServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*DigitalOceanServiceAttributeHandler) Delete added in v0.35.0

func (h *DigitalOceanServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*DigitalOceanServiceAttributeHandler) GetSchema added in v0.35.0

func (*DigitalOceanServiceAttributeHandler) Key added in v0.35.0

func (*DigitalOceanServiceAttributeHandler) Read added in v0.20.3

func (h *DigitalOceanServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*DigitalOceanServiceAttributeHandler) Update added in v0.35.0

func (h *DigitalOceanServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type DirectorServiceAttributeHandler added in v0.20.3

type DirectorServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

DirectorServiceAttributeHandler implements ServiceAttributeDefinition.

func (*DirectorServiceAttributeHandler) Create added in v0.35.0

func (h *DirectorServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

Create creates a new resource instance.

func (*DirectorServiceAttributeHandler) Delete added in v0.35.0

func (h *DirectorServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

Delete deletes the resource instance.

func (*DirectorServiceAttributeHandler) GetSchema added in v0.35.0

GetSchema returns the resource schema.

func (*DirectorServiceAttributeHandler) Key added in v0.35.0

Key returns the resource key.

func (*DirectorServiceAttributeHandler) Read added in v0.20.3

func (h *DirectorServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

Read refreshes the resource state.

func (*DirectorServiceAttributeHandler) Update added in v0.35.0

func (h *DirectorServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

Update updates the resource instance.

type DomainServiceAttributeHandler added in v0.20.3

type DomainServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*DomainServiceAttributeHandler) Create added in v0.35.0

func (h *DomainServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*DomainServiceAttributeHandler) Delete added in v0.35.0

func (h *DomainServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*DomainServiceAttributeHandler) GetSchema added in v0.35.0

func (*DomainServiceAttributeHandler) Key added in v0.35.0

func (*DomainServiceAttributeHandler) Read added in v0.20.3

func (h *DomainServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*DomainServiceAttributeHandler) Update added in v0.35.0

func (h *DomainServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type DynamicSnippetServiceAttributeHandler added in v0.20.3

type DynamicSnippetServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*DynamicSnippetServiceAttributeHandler) Create added in v0.35.0

func (h *DynamicSnippetServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*DynamicSnippetServiceAttributeHandler) Delete added in v0.35.0

func (h *DynamicSnippetServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*DynamicSnippetServiceAttributeHandler) GetSchema added in v0.35.0

func (*DynamicSnippetServiceAttributeHandler) Key added in v0.35.0

func (*DynamicSnippetServiceAttributeHandler) Read added in v0.20.3

func (h *DynamicSnippetServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*DynamicSnippetServiceAttributeHandler) Update added in v0.35.0

func (h *DynamicSnippetServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type ElasticSearchServiceAttributeHandler added in v0.20.3

type ElasticSearchServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*ElasticSearchServiceAttributeHandler) Create added in v0.35.0

func (h *ElasticSearchServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*ElasticSearchServiceAttributeHandler) Delete added in v0.35.0

func (h *ElasticSearchServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*ElasticSearchServiceAttributeHandler) GetSchema added in v0.35.0

func (*ElasticSearchServiceAttributeHandler) Key added in v0.35.0

func (*ElasticSearchServiceAttributeHandler) Read added in v0.20.3

func (h *ElasticSearchServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*ElasticSearchServiceAttributeHandler) Update added in v0.35.0

func (h *ElasticSearchServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type FTPServiceAttributeHandler added in v0.20.3

type FTPServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*FTPServiceAttributeHandler) Create added in v0.35.0

func (h *FTPServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*FTPServiceAttributeHandler) Delete added in v0.35.0

func (h *FTPServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*FTPServiceAttributeHandler) GetSchema added in v0.35.0

func (h *FTPServiceAttributeHandler) GetSchema() *schema.Schema

func (*FTPServiceAttributeHandler) Key added in v0.35.0

func (*FTPServiceAttributeHandler) Read added in v0.20.3

func (h *FTPServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*FTPServiceAttributeHandler) Update added in v0.35.0

func (h *FTPServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type FastlyClient

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

type GCSLoggingServiceAttributeHandler added in v0.20.3

type GCSLoggingServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*GCSLoggingServiceAttributeHandler) Create added in v0.35.0

func (h *GCSLoggingServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*GCSLoggingServiceAttributeHandler) Delete added in v0.35.0

func (h *GCSLoggingServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*GCSLoggingServiceAttributeHandler) GetSchema added in v0.35.0

func (*GCSLoggingServiceAttributeHandler) Key added in v0.35.0

func (*GCSLoggingServiceAttributeHandler) Read added in v0.20.3

func (h *GCSLoggingServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*GCSLoggingServiceAttributeHandler) Update added in v0.35.0

func (h *GCSLoggingServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type GooglePubSubServiceAttributeHandler added in v0.20.3

type GooglePubSubServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*GooglePubSubServiceAttributeHandler) Create added in v0.35.0

func (h *GooglePubSubServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*GooglePubSubServiceAttributeHandler) Delete added in v0.35.0

func (h *GooglePubSubServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*GooglePubSubServiceAttributeHandler) GetSchema added in v0.35.0

func (*GooglePubSubServiceAttributeHandler) Key added in v0.35.0

func (*GooglePubSubServiceAttributeHandler) Read added in v0.20.3

func (h *GooglePubSubServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*GooglePubSubServiceAttributeHandler) Update added in v0.35.0

func (h *GooglePubSubServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type GzipServiceAttributeHandler added in v0.20.3

type GzipServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*GzipServiceAttributeHandler) Create added in v0.35.0

func (h *GzipServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*GzipServiceAttributeHandler) Delete added in v0.35.0

func (h *GzipServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*GzipServiceAttributeHandler) GetSchema added in v0.35.0

func (h *GzipServiceAttributeHandler) GetSchema() *schema.Schema

func (*GzipServiceAttributeHandler) Key added in v0.35.0

func (*GzipServiceAttributeHandler) Read added in v0.20.3

func (h *GzipServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*GzipServiceAttributeHandler) Update added in v0.35.0

func (h *GzipServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type HTTPSLoggingServiceAttributeHandler added in v0.20.3

type HTTPSLoggingServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*HTTPSLoggingServiceAttributeHandler) Create added in v0.35.0

func (h *HTTPSLoggingServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*HTTPSLoggingServiceAttributeHandler) Delete added in v0.35.0

func (h *HTTPSLoggingServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*HTTPSLoggingServiceAttributeHandler) GetSchema added in v0.35.0

func (*HTTPSLoggingServiceAttributeHandler) Key added in v0.35.0

func (*HTTPSLoggingServiceAttributeHandler) Read added in v0.20.3

func (h *HTTPSLoggingServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*HTTPSLoggingServiceAttributeHandler) Update added in v0.35.0

func (h *HTTPSLoggingServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type HeaderServiceAttributeHandler added in v0.20.3

type HeaderServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*HeaderServiceAttributeHandler) Create added in v0.35.0

func (h *HeaderServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*HeaderServiceAttributeHandler) Delete added in v0.35.0

func (h *HeaderServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*HeaderServiceAttributeHandler) GetSchema added in v0.35.0

func (*HeaderServiceAttributeHandler) Key added in v0.35.0

func (*HeaderServiceAttributeHandler) Read added in v0.20.3

func (h *HeaderServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*HeaderServiceAttributeHandler) Update added in v0.35.0

func (h *HeaderServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type HealthCheckServiceAttributeHandler added in v0.20.3

type HealthCheckServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*HealthCheckServiceAttributeHandler) Create added in v0.35.0

func (h *HealthCheckServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*HealthCheckServiceAttributeHandler) Delete added in v0.35.0

func (h *HealthCheckServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*HealthCheckServiceAttributeHandler) GetSchema added in v0.35.0

func (*HealthCheckServiceAttributeHandler) Key added in v0.35.0

func (*HealthCheckServiceAttributeHandler) Read added in v0.20.3

func (h *HealthCheckServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*HealthCheckServiceAttributeHandler) Update added in v0.35.0

func (h *HealthCheckServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type HerokuServiceAttributeHandler added in v0.20.3

type HerokuServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*HerokuServiceAttributeHandler) Create added in v0.35.0

func (h *HerokuServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*HerokuServiceAttributeHandler) Delete added in v0.35.0

func (h *HerokuServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*HerokuServiceAttributeHandler) GetSchema added in v0.35.0

func (*HerokuServiceAttributeHandler) Key added in v0.35.0

func (*HerokuServiceAttributeHandler) Read added in v0.20.3

func (h *HerokuServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*HerokuServiceAttributeHandler) Update added in v0.35.0

func (h *HerokuServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type HoneycombServiceAttributeHandler added in v0.20.3

type HoneycombServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*HoneycombServiceAttributeHandler) Create added in v0.35.0

func (h *HoneycombServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*HoneycombServiceAttributeHandler) Delete added in v0.35.0

func (h *HoneycombServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*HoneycombServiceAttributeHandler) GetSchema added in v0.35.0

func (*HoneycombServiceAttributeHandler) Key added in v0.35.0

func (*HoneycombServiceAttributeHandler) Read added in v0.20.3

func (h *HoneycombServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*HoneycombServiceAttributeHandler) Update added in v0.35.0

func (h *HoneycombServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type KafkaServiceAttributeHandler added in v0.20.3

type KafkaServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*KafkaServiceAttributeHandler) Create added in v0.35.0

func (h *KafkaServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*KafkaServiceAttributeHandler) Delete added in v0.35.0

func (h *KafkaServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*KafkaServiceAttributeHandler) GetSchema added in v0.35.0

func (h *KafkaServiceAttributeHandler) GetSchema() *schema.Schema

func (*KafkaServiceAttributeHandler) Key added in v0.35.0

func (*KafkaServiceAttributeHandler) Read added in v0.20.3

func (h *KafkaServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*KafkaServiceAttributeHandler) Update added in v0.35.0

func (h *KafkaServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type KeyFunc added in v0.20.3

type KeyFunc func(interface{}) (interface{}, error)

KeyFunc calculates a key from an element

type KinesisServiceAttributeHandler added in v0.22.0

type KinesisServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*KinesisServiceAttributeHandler) Create added in v0.35.0

func (h *KinesisServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*KinesisServiceAttributeHandler) Delete added in v0.35.0

func (h *KinesisServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*KinesisServiceAttributeHandler) GetSchema added in v0.35.0

func (*KinesisServiceAttributeHandler) Key added in v0.35.0

func (*KinesisServiceAttributeHandler) Read added in v0.22.0

func (h *KinesisServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*KinesisServiceAttributeHandler) Update added in v0.35.0

func (h *KinesisServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type LogentriesServiceAttributeHandler added in v0.20.3

type LogentriesServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*LogentriesServiceAttributeHandler) Create added in v0.35.0

func (h *LogentriesServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*LogentriesServiceAttributeHandler) Delete added in v0.35.0

func (h *LogentriesServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*LogentriesServiceAttributeHandler) GetSchema added in v0.35.0

func (*LogentriesServiceAttributeHandler) Key added in v0.35.0

func (*LogentriesServiceAttributeHandler) Read added in v0.20.3

func (h *LogentriesServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*LogentriesServiceAttributeHandler) Update added in v0.35.0

func (h *LogentriesServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type LogglyServiceAttributeHandler added in v0.20.3

type LogglyServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*LogglyServiceAttributeHandler) Create added in v0.35.0

func (h *LogglyServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*LogglyServiceAttributeHandler) Delete added in v0.35.0

func (h *LogglyServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*LogglyServiceAttributeHandler) GetSchema added in v0.35.0

func (*LogglyServiceAttributeHandler) Key added in v0.35.0

func (*LogglyServiceAttributeHandler) Read added in v0.20.3

func (h *LogglyServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*LogglyServiceAttributeHandler) Update added in v0.35.0

func (h *LogglyServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type LogshuttleServiceAttributeHandler added in v0.20.3

type LogshuttleServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*LogshuttleServiceAttributeHandler) Create added in v0.35.0

func (h *LogshuttleServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*LogshuttleServiceAttributeHandler) Delete added in v0.35.0

func (h *LogshuttleServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*LogshuttleServiceAttributeHandler) GetSchema added in v0.35.0

func (*LogshuttleServiceAttributeHandler) Key added in v0.35.0

func (*LogshuttleServiceAttributeHandler) Read added in v0.20.3

func (h *LogshuttleServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*LogshuttleServiceAttributeHandler) Update added in v0.35.0

func (h *LogshuttleServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type NewRelicServiceAttributeHandler added in v0.20.3

type NewRelicServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*NewRelicServiceAttributeHandler) Create added in v0.35.0

func (h *NewRelicServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*NewRelicServiceAttributeHandler) Delete added in v0.35.0

func (h *NewRelicServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*NewRelicServiceAttributeHandler) GetSchema added in v0.35.0

func (*NewRelicServiceAttributeHandler) Key added in v0.35.0

func (*NewRelicServiceAttributeHandler) Read added in v0.20.3

func (h *NewRelicServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*NewRelicServiceAttributeHandler) Update added in v0.35.0

func (h *NewRelicServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type OpenstackServiceAttributeHandler added in v0.20.3

type OpenstackServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*OpenstackServiceAttributeHandler) Create added in v0.35.0

func (h *OpenstackServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*OpenstackServiceAttributeHandler) Delete added in v0.35.0

func (h *OpenstackServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*OpenstackServiceAttributeHandler) GetSchema added in v0.35.0

func (*OpenstackServiceAttributeHandler) Key added in v0.35.0

func (*OpenstackServiceAttributeHandler) Read added in v0.20.3

func (h *OpenstackServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*OpenstackServiceAttributeHandler) Update added in v0.35.0

func (h *OpenstackServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type PackageServiceAttributeHandler added in v0.20.3

type PackageServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*PackageServiceAttributeHandler) Process added in v0.20.3

func (h *PackageServiceAttributeHandler) Process(ctx context.Context, d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error

func (*PackageServiceAttributeHandler) Read added in v0.20.3

func (*PackageServiceAttributeHandler) Register added in v0.20.3

type PaperTrailServiceAttributeHandler added in v0.20.3

type PaperTrailServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*PaperTrailServiceAttributeHandler) Create added in v0.35.0

func (h *PaperTrailServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*PaperTrailServiceAttributeHandler) Delete added in v0.35.0

func (h *PaperTrailServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*PaperTrailServiceAttributeHandler) GetSchema added in v0.35.0

func (*PaperTrailServiceAttributeHandler) Key added in v0.35.0

func (*PaperTrailServiceAttributeHandler) Read added in v0.20.3

func (h *PaperTrailServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*PaperTrailServiceAttributeHandler) Update added in v0.35.0

func (h *PaperTrailServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type PlatformTLSCertificatePredicate added in v0.25.0

type PlatformTLSCertificatePredicate func(certificate *fastly.BulkCertificate) bool

type RequestSettingServiceAttributeHandler added in v0.20.3

type RequestSettingServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*RequestSettingServiceAttributeHandler) Create added in v0.35.0

func (h *RequestSettingServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*RequestSettingServiceAttributeHandler) Delete added in v0.35.0

func (h *RequestSettingServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*RequestSettingServiceAttributeHandler) GetSchema added in v0.35.0

func (*RequestSettingServiceAttributeHandler) Key added in v0.35.0

func (*RequestSettingServiceAttributeHandler) Read added in v0.20.3

func (h *RequestSettingServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*RequestSettingServiceAttributeHandler) Update added in v0.35.0

func (h *RequestSettingServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type ResponseObjectServiceAttributeHandler added in v0.20.3

type ResponseObjectServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*ResponseObjectServiceAttributeHandler) Create added in v0.35.0

func (h *ResponseObjectServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*ResponseObjectServiceAttributeHandler) Delete added in v0.35.0

func (h *ResponseObjectServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*ResponseObjectServiceAttributeHandler) GetSchema added in v0.35.0

func (*ResponseObjectServiceAttributeHandler) Key added in v0.35.0

func (*ResponseObjectServiceAttributeHandler) Read added in v0.20.3

func (h *ResponseObjectServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*ResponseObjectServiceAttributeHandler) Update added in v0.35.0

func (h *ResponseObjectServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type S3LoggingServiceAttributeHandler added in v0.20.3

type S3LoggingServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*S3LoggingServiceAttributeHandler) Create added in v0.35.0

func (h *S3LoggingServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*S3LoggingServiceAttributeHandler) Delete added in v0.35.0

func (h *S3LoggingServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*S3LoggingServiceAttributeHandler) GetSchema added in v0.35.0

func (*S3LoggingServiceAttributeHandler) Key added in v0.35.0

func (*S3LoggingServiceAttributeHandler) Read added in v0.20.3

func (h *S3LoggingServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*S3LoggingServiceAttributeHandler) Update added in v0.35.0

func (h *S3LoggingServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type SFTPServiceAttributeHandler added in v0.20.3

type SFTPServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*SFTPServiceAttributeHandler) Create added in v0.35.0

func (h *SFTPServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*SFTPServiceAttributeHandler) Delete added in v0.35.0

func (h *SFTPServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*SFTPServiceAttributeHandler) GetSchema added in v0.35.0

func (h *SFTPServiceAttributeHandler) GetSchema() *schema.Schema

func (*SFTPServiceAttributeHandler) Key added in v0.35.0

func (*SFTPServiceAttributeHandler) Read added in v0.20.3

func (h *SFTPServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*SFTPServiceAttributeHandler) Update added in v0.35.0

func (h *SFTPServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type ScalyrServiceAttributeHandler added in v0.20.3

type ScalyrServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*ScalyrServiceAttributeHandler) Create added in v0.35.0

func (h *ScalyrServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*ScalyrServiceAttributeHandler) Delete added in v0.35.0

func (h *ScalyrServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*ScalyrServiceAttributeHandler) GetSchema added in v0.35.0

func (*ScalyrServiceAttributeHandler) Key added in v0.35.0

func (*ScalyrServiceAttributeHandler) Read added in v0.20.3

func (h *ScalyrServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*ScalyrServiceAttributeHandler) Update added in v0.35.0

func (h *ScalyrServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type ServiceAttributeDefinition added in v0.20.3

type ServiceAttributeDefinition interface {
	// Register add the attribute to the resource schema.
	Register(s *schema.Resource) error

	// Read refreshes the attribute state against the Fastly API.
	Read(ctx context.Context, d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error

	// Process creates or updates the attribute against the Fastly API.
	Process(ctx context.Context, d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error

	// HasChange returns whether the state of the attribute has changed against Terraform stored state.
	HasChange(d *schema.ResourceData) bool

	// MustProcess returns whether we must process the resource (usually HasChange==true but allowing exceptions).
	// For example: at present, the settings attributeHandler (block_fastly_service_settings.go) must process when
	// default_ttl==0 and it is the initialVersion - as well as when default_ttl or default_host have changed.
	MustProcess(d *schema.ResourceData, initialVersion bool) bool
}

ServiceAttributeDefinition provides an interface for service attributes. We compose a service resource out of attribute objects to allow us to construct both the VCL and Compute service resources from common components.

func NewServiceACL added in v0.20.3

func NewServiceACL() ServiceAttributeDefinition

func NewServiceBackend added in v0.20.3

func NewServiceBackend(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceCacheSetting added in v0.20.3

func NewServiceCacheSetting(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceCondition added in v0.20.3

func NewServiceCondition(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceDictionary added in v0.20.3

func NewServiceDictionary(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceDirector added in v0.20.3

func NewServiceDirector(sa ServiceMetadata) ServiceAttributeDefinition

NewServiceDirector constructs a service attribute.

func NewServiceDomain added in v0.20.3

func NewServiceDomain(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceDynamicSnippet added in v0.20.3

func NewServiceDynamicSnippet(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceGzip added in v0.20.3

func NewServiceHeader added in v0.20.3

func NewServiceHeader(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceHealthCheck added in v0.20.3

func NewServiceHealthCheck(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingBigQuery added in v1.0.0

func NewServiceLoggingBigQuery(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingBlobStorage added in v1.0.0

func NewServiceLoggingBlobStorage(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingCloudfiles added in v0.20.3

func NewServiceLoggingCloudfiles(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingDatadog added in v0.20.3

func NewServiceLoggingDatadog(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingDigitalOcean added in v0.20.3

func NewServiceLoggingDigitalOcean(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingElasticSearch added in v0.20.3

func NewServiceLoggingElasticSearch(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingFTP added in v0.20.3

func NewServiceLoggingFTP(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingGCS added in v1.0.0

func NewServiceLoggingGCS(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingGooglePubSub added in v0.20.3

func NewServiceLoggingGooglePubSub(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingHTTPS added in v1.0.0

func NewServiceLoggingHTTPS(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingHeroku added in v0.20.3

func NewServiceLoggingHeroku(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingHoneycomb added in v0.20.3

func NewServiceLoggingHoneycomb(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingKafka added in v0.20.3

func NewServiceLoggingKafka(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingKinesis added in v0.22.0

func NewServiceLoggingKinesis(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingLogentries added in v1.0.0

func NewServiceLoggingLogentries(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingLoggly added in v0.20.3

func NewServiceLoggingLoggly(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingLogshuttle added in v0.20.3

func NewServiceLoggingLogshuttle(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingNewRelic added in v0.20.3

func NewServiceLoggingNewRelic(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingOpenstack added in v0.20.3

func NewServiceLoggingOpenstack(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingPaperTrail added in v1.0.0

func NewServiceLoggingPaperTrail(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingS3 added in v1.0.0

func NewServiceLoggingS3(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingSFTP added in v0.20.3

func NewServiceLoggingSFTP(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingScalyr added in v0.20.3

func NewServiceLoggingScalyr(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingSplunk added in v1.0.0

func NewServiceLoggingSplunk(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingSumologic added in v1.0.0

func NewServiceLoggingSumologic(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceLoggingSyslog added in v1.0.0

func NewServiceLoggingSyslog(sa ServiceMetadata) ServiceAttributeDefinition

func NewServicePackage added in v0.20.3

func NewServicePackage(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceRequestSetting added in v0.20.3

func NewServiceRequestSetting(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceResponseObject added in v0.20.3

func NewServiceResponseObject(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceSettings added in v0.20.3

func NewServiceSettings() ServiceAttributeDefinition

func NewServiceSnippet added in v0.20.3

func NewServiceSnippet(sa ServiceMetadata) ServiceAttributeDefinition

func NewServiceVCL added in v0.20.3

func NewServiceWAF added in v0.20.3

func ToServiceAttributeDefinition added in v0.35.0

func ToServiceAttributeDefinition(definition ServiceCRUDAttributeDefinition) ServiceAttributeDefinition

ToServiceAttributeDefinition returns an implementation of ServiceAttributeDefinition for a particular implementation of ServiceCRUDAttributeDefinition. It implements the Process and Read methods from ServiceAttributeDefinition using the SetDiff functions.

type ServiceCRUDAttributeDefinition added in v0.35.0

type ServiceCRUDAttributeDefinition interface {
	// Key returns the name of the nested block. This is used when composing the schema into the parent Service schema.
	Key() string

	// GetSchema returns the schema.Schema of the nested block. This gets composed into the parent Service schema.
	GetSchema() *schema.Schema

	// Create should create an instance of the nested block. The resource argument will be a map containing all of the
	// attributes from the schema of the nested block. The d argument, of type schema.ResourceData, will contain the
	// data for the whole service, so the resource argument should be used for most of the creation parameters. The d
	// argument should just be used for things like getting the service ID. The serviceVersion argument should be used
	// to decide which version of the service to make updates to. This will be an unlocked version that the base service
	// update function created.
	Create(ctx context.Context, d *schema.ResourceData, resource map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

	// Read should refresh the state of all of the instance of the nested blocks. See the description of Create for more
	// details about the arguments.
	Read(ctx context.Context, d *schema.ResourceData, resource map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

	// Update should make changes to an existing instance of the nested block. The arguments are as described in the
	// Create comments, with the exception of modified which will contain only the attributes that have changed.
	Update(ctx context.Context, d *schema.ResourceData, resource, modified map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

	// Delete should remove the instance of the nested block. See the description of Create for more details about the
	// arguments.
	Delete(ctx context.Context, d *schema.ResourceData, resource map[string]interface{}, serviceVersion int, conn *gofastly.Client) error
}

ServiceCRUDAttributeDefinition is an interface for most ServiceAttributeDefinition implementations which can be represented by the four CRUD operations. Most service attributes will fall into this category and should implement this interface instead of ServiceAttributeDefinition directly.

An attribute that implements ServiceCRUDAttributeDefinition can use the ToServiceAttributeDefinition function defined below in its constructor to convert it to the ServiceAttributeDefinition that the service resources expect.

The requirements for a service attribute to be defined in terms of this interface are: - the attribute must be a nested block with a schema type of schema.TypeSet - the nested block must have its own "name" attribute which uniquely defines the nested resource - the block must support all four of the CRUD operations, or at least Create, Read, and Delete if updating the resource is not supported

Some service attributes don't fit into these constraints are better suited to implementing the ServiceAttributeDefinition directly. One example is the "package" block in block_fastly_service_package.go, which only uses an Update operation, and therefore implements ServiceAttributeDefinition directly without ServiceCRUDAttributeDefinition.

type ServiceDefinition added in v0.20.3

type ServiceDefinition interface {
	// GetType returns whether this is a VCL or Compute service.
	GetType() string

	// GetAttributeHandler returns the list of attributes/handlers supported by this service.
	GetAttributeHandler() []ServiceAttributeDefinition
}

ServiceDefinition defines the data model for service definitions There are two types of service: VCL and Compute. This interface specifies the data object from which service resources are constructed.

type ServiceMetadata added in v0.20.3

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

ServiceMetadata provides a container to pass service attributes into an Attribute handler.

type SetDiff added in v0.20.3

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

SetDiff diffs two sets using a key to identify which elements have been added, changed, removed or not modified.

This object compares sets using Terraform's schema.Set methods (e.g. Difference() and Intersection()) so that the same differences displayed to the user are honoured here.

SetDiff however is able to tell if two elements from two distinct sets have the same key. This is useful to detect that an element should be updated instead of recreated on the remote server.

func NewSetDiff added in v0.20.3

func NewSetDiff(keyFunc KeyFunc) *SetDiff

NewSetDiff creates a new SetDiff with a provided KeyFunc.

func (*SetDiff) Diff added in v0.20.3

func (h *SetDiff) Diff(oldSet, newSet *schema.Set) (*DiffResult, error)

Diff diffs two Set objects and returns a DiffResult object containing the diffs.

The DiffResult object will contain the elements from newSet on the Modified field.

NOTE: there is a caveat with the current implementation which is related to the lookup 'key' you specify. If the key you use (to lookup a resource within the comparable set) is also updatable via the fastly API, then that means you'll end up deleting and recreating the resource rather than simply updating it (which is less efficient, as it's two separate operations).

For example, a 'domain' can be updated by changing either its 'name' or its 'comment' attribute, but in order to compare changes using SetDiff we only really have the option to use 'name' as the lookup key.

func (*SetDiff) Filter added in v0.21.3

func (h *SetDiff) Filter(modified map[string]interface{}, oldSet *schema.Set) map[string]interface{}

Filter filters out unmodified fields of a Set elements map data structure by ranging over the original data and comparing each field against the new data.

The motivation for this function is to avoid resetting an attribute on a resource to a value that hasn't actually changed because (depending on the attribute) it might have unexpected consequences (e.g. a nested resource gets replaced/recreated). Safer to only update attributes that need to be.

type SettingsServiceAttributeHandler added in v0.20.3

type SettingsServiceAttributeHandler struct {
}

func (*SettingsServiceAttributeHandler) HasChange added in v0.20.3

func (*SettingsServiceAttributeHandler) MustProcess added in v0.20.3

func (h *SettingsServiceAttributeHandler) MustProcess(d *schema.ResourceData, initialVersion bool) bool

If the requested default_ttl is 0, and this is the first version being created, HasChange will return false, but we need to set it anyway, so ensure we update the settings in that case.

func (*SettingsServiceAttributeHandler) Process added in v0.20.3

func (h *SettingsServiceAttributeHandler) Process(ctx context.Context, d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error

func (*SettingsServiceAttributeHandler) Read added in v0.20.3

func (*SettingsServiceAttributeHandler) Register added in v0.20.3

type SnippetServiceAttributeHandler added in v0.20.3

type SnippetServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*SnippetServiceAttributeHandler) Create added in v0.35.0

func (h *SnippetServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*SnippetServiceAttributeHandler) Delete added in v0.35.0

func (h *SnippetServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*SnippetServiceAttributeHandler) GetSchema added in v0.35.0

func (*SnippetServiceAttributeHandler) Key added in v0.35.0

func (*SnippetServiceAttributeHandler) Read added in v0.20.3

func (h *SnippetServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*SnippetServiceAttributeHandler) Update added in v0.35.0

func (h *SnippetServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type SplunkServiceAttributeHandler added in v0.20.3

type SplunkServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*SplunkServiceAttributeHandler) Create added in v0.35.0

func (h *SplunkServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*SplunkServiceAttributeHandler) Delete added in v0.35.0

func (h *SplunkServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*SplunkServiceAttributeHandler) GetSchema added in v0.35.0

func (*SplunkServiceAttributeHandler) Key added in v0.35.0

func (*SplunkServiceAttributeHandler) Read added in v0.20.3

func (h *SplunkServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*SplunkServiceAttributeHandler) Update added in v0.35.0

func (h *SplunkServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type SumologicServiceAttributeHandler added in v0.20.3

type SumologicServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*SumologicServiceAttributeHandler) Create added in v0.35.0

func (h *SumologicServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*SumologicServiceAttributeHandler) Delete added in v0.35.0

func (h *SumologicServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*SumologicServiceAttributeHandler) GetSchema added in v0.35.0

func (*SumologicServiceAttributeHandler) Key added in v0.35.0

func (*SumologicServiceAttributeHandler) Read added in v0.20.3

func (h *SumologicServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*SumologicServiceAttributeHandler) Update added in v0.35.0

func (h *SumologicServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type SyslogServiceAttributeHandler added in v0.20.3

type SyslogServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*SyslogServiceAttributeHandler) Create added in v0.35.0

func (h *SyslogServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*SyslogServiceAttributeHandler) Delete added in v0.35.0

func (h *SyslogServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*SyslogServiceAttributeHandler) GetSchema added in v0.35.0

func (*SyslogServiceAttributeHandler) Key added in v0.35.0

func (*SyslogServiceAttributeHandler) Read added in v0.20.3

func (h *SyslogServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*SyslogServiceAttributeHandler) Update added in v0.35.0

func (h *SyslogServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type TLSActivationPredicate added in v0.25.0

type TLSActivationPredicate func(activation *fastly.TLSActivation) bool

type TLSCertificatePredicate added in v0.25.0

type TLSCertificatePredicate func(*fastly.CustomTLSCertificate) bool

type TLSDomainPredicate added in v0.25.0

type TLSDomainPredicate func(domain *fastly.TLSDomain) bool

type TLSPrivateKeyPredicate added in v0.25.0

type TLSPrivateKeyPredicate func(key *fastly.PrivateKey) bool

type TLSSubscriptionPredicate added in v0.25.0

type TLSSubscriptionPredicate func(*fastly.TLSSubscription) bool

type VCLLoggingAttributes added in v0.20.3

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

type VCLServiceAttributeHandler added in v0.20.3

type VCLServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*VCLServiceAttributeHandler) Create added in v0.35.0

func (h *VCLServiceAttributeHandler) Create(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*VCLServiceAttributeHandler) Delete added in v0.35.0

func (h *VCLServiceAttributeHandler) Delete(_ context.Context, d *schema.ResourceData, resource map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

func (*VCLServiceAttributeHandler) GetSchema added in v0.35.0

func (h *VCLServiceAttributeHandler) GetSchema() *schema.Schema

func (*VCLServiceAttributeHandler) Key added in v0.35.0

func (*VCLServiceAttributeHandler) Read added in v0.20.3

func (h *VCLServiceAttributeHandler) Read(_ context.Context, d *schema.ResourceData, _ map[string]interface{}, serviceVersion int, conn *gofastly.Client) error

func (*VCLServiceAttributeHandler) Update added in v0.35.0

func (h *VCLServiceAttributeHandler) Update(_ context.Context, d *schema.ResourceData, resource, modified map[string]interface {
}, serviceVersion int, conn *gofastly.Client) error

type WAFDeploymentChecker added in v0.20.3

type WAFDeploymentChecker struct {
	Timeout    time.Duration
	Delay      time.Duration
	MinTimeout time.Duration
	Check      WAFDeploymentStatusCheck
}

type WAFDeploymentStatusCheck added in v0.20.3

type WAFDeploymentStatusCheck func(wafID string, version int) (*gofastly.WAFVersion, error)

type WAFServiceAttributeHandler added in v0.20.3

type WAFServiceAttributeHandler struct {
	*DefaultServiceAttributeHandler
}

func (*WAFServiceAttributeHandler) Process added in v0.20.3

func (h *WAFServiceAttributeHandler) Process(ctx context.Context, d *schema.ResourceData, serviceVersion int, conn *gofastly.Client) error

func (*WAFServiceAttributeHandler) Read added in v0.20.3

func (*WAFServiceAttributeHandler) Register added in v0.20.3

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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