Documentation
¶
Index ¶
- Constants
- func Provider() terraform.ResourceProvider
- type ACLServiceAttributeHandler
- func (h *ACLServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *ACLServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *ACLServiceAttributeHandler) Register(s *schema.Resource) error
- type BackendServiceAttributeHandler
- func (h *BackendServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *BackendServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *BackendServiceAttributeHandler) Register(s *schema.Resource) error
- type BaseServiceDefinition
- type BigQueryLoggingServiceAttributeHandler
- func (h *BigQueryLoggingServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *BigQueryLoggingServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *BigQueryLoggingServiceAttributeHandler) Register(s *schema.Resource) error
- type BlobStorageLoggingServiceAttributeHandler
- func (h *BlobStorageLoggingServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *BlobStorageLoggingServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *BlobStorageLoggingServiceAttributeHandler) Register(s *schema.Resource) error
- type CacheSettingServiceAttributeHandler
- func (h *CacheSettingServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *CacheSettingServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *CacheSettingServiceAttributeHandler) Register(s *schema.Resource) error
- type CloudfilesServiceAttributeHandler
- func (h *CloudfilesServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *CloudfilesServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *CloudfilesServiceAttributeHandler) Register(s *schema.Resource) error
- type ConditionServiceAttributeHandler
- func (h *ConditionServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *ConditionServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *ConditionServiceAttributeHandler) Register(s *schema.Resource) error
- type Config
- type DatadogServiceAttributeHandler
- func (h *DatadogServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *DatadogServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *DatadogServiceAttributeHandler) Register(s *schema.Resource) error
- type DefaultServiceAttributeHandler
- func (h *DefaultServiceAttributeHandler) GetKey() string
- func (h *DefaultServiceAttributeHandler) GetServiceMetadata() ServiceMetadata
- func (h *DefaultServiceAttributeHandler) HasChange(d *schema.ResourceData) bool
- func (h *DefaultServiceAttributeHandler) MustProcess(d *schema.ResourceData, initialVersion bool) bool
- type DictionaryServiceAttributeHandler
- func (h *DictionaryServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *DictionaryServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *DictionaryServiceAttributeHandler) Register(s *schema.Resource) error
- type DigitalOceanServiceAttributeHandler
- func (h *DigitalOceanServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *DigitalOceanServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *DigitalOceanServiceAttributeHandler) Register(s *schema.Resource) error
- type DirectorServiceAttributeHandler
- func (h *DirectorServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *DirectorServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *DirectorServiceAttributeHandler) Register(s *schema.Resource) error
- type DomainServiceAttributeHandler
- func (h *DomainServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *DomainServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *DomainServiceAttributeHandler) Register(s *schema.Resource) error
- type DynamicSnippetServiceAttributeHandler
- func (h *DynamicSnippetServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *DynamicSnippetServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *DynamicSnippetServiceAttributeHandler) Register(s *schema.Resource) error
- type ElasticSearchServiceAttributeHandler
- func (h *ElasticSearchServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *ElasticSearchServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *ElasticSearchServiceAttributeHandler) Register(s *schema.Resource) error
- type FTPServiceAttributeHandler
- func (h *FTPServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *FTPServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *FTPServiceAttributeHandler) Register(s *schema.Resource) error
- type FastlyClient
- type GCSLoggingServiceAttributeHandler
- func (h *GCSLoggingServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *GCSLoggingServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *GCSLoggingServiceAttributeHandler) Register(s *schema.Resource) error
- type GooglePubSubServiceAttributeHandler
- func (h *GooglePubSubServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *GooglePubSubServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *GooglePubSubServiceAttributeHandler) Register(s *schema.Resource) error
- type GzipServiceAttributeHandler
- func (h *GzipServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *GzipServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *GzipServiceAttributeHandler) Register(s *schema.Resource) error
- type HTTPSLoggingServiceAttributeHandler
- func (h *HTTPSLoggingServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *HTTPSLoggingServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *HTTPSLoggingServiceAttributeHandler) Register(s *schema.Resource) error
- type HeaderServiceAttributeHandler
- func (h *HeaderServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *HeaderServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *HeaderServiceAttributeHandler) Register(s *schema.Resource) error
- type HealthCheckServiceAttributeHandler
- func (h *HealthCheckServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *HealthCheckServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *HealthCheckServiceAttributeHandler) Register(s *schema.Resource) error
- type HerokuServiceAttributeHandler
- func (h *HerokuServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *HerokuServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *HerokuServiceAttributeHandler) Register(s *schema.Resource) error
- type HoneycombServiceAttributeHandler
- func (h *HoneycombServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *HoneycombServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *HoneycombServiceAttributeHandler) Register(s *schema.Resource) error
- type KafkaServiceAttributeHandler
- func (h *KafkaServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *KafkaServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *KafkaServiceAttributeHandler) Register(s *schema.Resource) error
- type LogentriesServiceAttributeHandler
- func (h *LogentriesServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *LogentriesServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *LogentriesServiceAttributeHandler) Register(s *schema.Resource) error
- type LogglyServiceAttributeHandler
- func (h *LogglyServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *LogglyServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *LogglyServiceAttributeHandler) Register(s *schema.Resource) error
- type LogshuttleServiceAttributeHandler
- func (h *LogshuttleServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *LogshuttleServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *LogshuttleServiceAttributeHandler) Register(s *schema.Resource) error
- type NewRelicServiceAttributeHandler
- func (h *NewRelicServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *NewRelicServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *NewRelicServiceAttributeHandler) Register(s *schema.Resource) error
- type OpenstackServiceAttributeHandler
- func (h *OpenstackServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *OpenstackServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *OpenstackServiceAttributeHandler) Register(s *schema.Resource) error
- type PackageServiceAttributeHandler
- func (h *PackageServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *PackageServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *PackageServiceAttributeHandler) Register(s *schema.Resource) error
- type PaperTrailServiceAttributeHandler
- func (h *PaperTrailServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *PaperTrailServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *PaperTrailServiceAttributeHandler) Register(s *schema.Resource) error
- type RequestSettingServiceAttributeHandler
- func (h *RequestSettingServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *RequestSettingServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *RequestSettingServiceAttributeHandler) Register(s *schema.Resource) error
- type ResponseObjectServiceAttributeHandler
- func (h *ResponseObjectServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *ResponseObjectServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *ResponseObjectServiceAttributeHandler) Register(s *schema.Resource) error
- type S3LoggingServiceAttributeHandler
- func (h *S3LoggingServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *S3LoggingServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *S3LoggingServiceAttributeHandler) Register(s *schema.Resource) error
- type SFTPServiceAttributeHandler
- func (h *SFTPServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *SFTPServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *SFTPServiceAttributeHandler) Register(s *schema.Resource) error
- type ScalyrServiceAttributeHandler
- func (h *ScalyrServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *ScalyrServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *ScalyrServiceAttributeHandler) Register(s *schema.Resource) error
- type ServiceAttributeDefinition
- func NewServiceACL(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceBackend(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceBigQueryLogging(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceBlobStorageLogging(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceCacheSetting(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceCondition(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceDictionary(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceDirector(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceDomain(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceDynamicSnippet(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceGCSLogging(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceGzip(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceHTTPSLogging(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceHeader(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceHealthCheck(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceLogentries(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceLoggingCloudfiles(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceLoggingDatadog(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceLoggingDigitalOcean(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceLoggingElasticSearch(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceLoggingFTP(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceLoggingGooglePubSub(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceLoggingHeroku(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceLoggingHoneycomb(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceLoggingKafka(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceLoggingLoggly(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceLoggingLogshuttle(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceLoggingNewRelic(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceLoggingOpenstack(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceLoggingSFTP(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceLoggingScalyr(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServicePackage(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServicePaperTrail(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceRequestSetting(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceResponseObject(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceS3Logging(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceSettings() ServiceAttributeDefinition
- func NewServiceSnippet(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceSplunk(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceSumologic(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceSyslog(sa ServiceMetadata) ServiceAttributeDefinition
- func NewServiceVCL(sa ServiceMetadata) ServiceAttributeDefinition
- type ServiceDefinition
- type ServiceMetadata
- type SettingsServiceAttributeHandler
- func (h *SettingsServiceAttributeHandler) HasChange(d *schema.ResourceData) bool
- func (h *SettingsServiceAttributeHandler) MustProcess(d *schema.ResourceData, initialVersion bool) bool
- func (h *SettingsServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *SettingsServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *SettingsServiceAttributeHandler) Register(s *schema.Resource) error
- type SnippetServiceAttributeHandler
- func (h *SnippetServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *SnippetServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *SnippetServiceAttributeHandler) Register(s *schema.Resource) error
- type SplunkServiceAttributeHandler
- func (h *SplunkServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *SplunkServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *SplunkServiceAttributeHandler) Register(s *schema.Resource) error
- type SumologicServiceAttributeHandler
- func (h *SumologicServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *SumologicServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *SumologicServiceAttributeHandler) Register(s *schema.Resource) error
- type SyslogServiceAttributeHandler
- func (h *SyslogServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *SyslogServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *SyslogServiceAttributeHandler) Register(s *schema.Resource) error
- type VCLLoggingAttributes
- type VCLServiceAttributeHandler
- func (h *VCLServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
- func (h *VCLServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
- func (h *VCLServiceAttributeHandler) Register(s *schema.Resource) error
Constants ¶
const ( // ServiceTypeVCL is the type for VCL services. ServiceTypeVCL = "vcl" // ServiceTypeCompute is the type for Compute services. ServiceTypeCompute = "wasm" )
const TerraformProviderProductUserAgent = "terraform-provider-fastly"
Variables ¶
This section is empty.
Functions ¶
func Provider ¶
func Provider() terraform.ResourceProvider
Provider returns a terraform.ResourceProvider.
Types ¶
type ACLServiceAttributeHandler ¶ added in v0.17.1
type ACLServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*ACLServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *ACLServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*ACLServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *ACLServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type BackendServiceAttributeHandler ¶ added in v0.17.1
type BackendServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*BackendServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *BackendServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*BackendServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *BackendServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type BaseServiceDefinition ¶ added in v0.17.1
type BaseServiceDefinition struct { Attributes []ServiceAttributeDefinition Type string }
BaseServiceDefinition is the base implementation of the BaseServiceDefinition interface.
func (*BaseServiceDefinition) GetAttributeHandler ¶ added in v0.17.1
func (d *BaseServiceDefinition) GetAttributeHandler() []ServiceAttributeDefinition
func (*BaseServiceDefinition) GetType ¶ added in v0.17.1
func (d *BaseServiceDefinition) GetType() string
type BigQueryLoggingServiceAttributeHandler ¶ added in v0.17.1
type BigQueryLoggingServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*BigQueryLoggingServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *BigQueryLoggingServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*BigQueryLoggingServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *BigQueryLoggingServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type BlobStorageLoggingServiceAttributeHandler ¶ added in v0.17.1
type BlobStorageLoggingServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*BlobStorageLoggingServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *BlobStorageLoggingServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*BlobStorageLoggingServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *BlobStorageLoggingServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type CacheSettingServiceAttributeHandler ¶ added in v0.17.1
type CacheSettingServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*CacheSettingServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *CacheSettingServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*CacheSettingServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *CacheSettingServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type CloudfilesServiceAttributeHandler ¶ added in v0.18.0
type CloudfilesServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*CloudfilesServiceAttributeHandler) Process ¶ added in v0.18.0
func (h *CloudfilesServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*CloudfilesServiceAttributeHandler) Read ¶ added in v0.18.0
func (h *CloudfilesServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type ConditionServiceAttributeHandler ¶ added in v0.17.1
type ConditionServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*ConditionServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *ConditionServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*ConditionServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *ConditionServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type DatadogServiceAttributeHandler ¶ added in v0.17.1
type DatadogServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*DatadogServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *DatadogServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*DatadogServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *DatadogServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type DefaultServiceAttributeHandler ¶ added in v0.17.1
type DefaultServiceAttributeHandler struct {
// contains filtered or unexported fields
}
DefaultServiceAttributeHandler provides a base implementation for ServiceAttributeDefinition.
func (*DefaultServiceAttributeHandler) GetKey ¶ added in v0.17.1
func (h *DefaultServiceAttributeHandler) GetKey() string
GetKey is provided since most attributes will just use their private "key" for interacting with the service.
func (*DefaultServiceAttributeHandler) GetServiceMetadata ¶ added in v0.19.0
func (h *DefaultServiceAttributeHandler) GetServiceMetadata() ServiceMetadata
GetServiceMetadata is provided to allow internal methods to get the service Metadata
func (*DefaultServiceAttributeHandler) HasChange ¶ added in v0.17.1
func (h *DefaultServiceAttributeHandler) HasChange(d *schema.ResourceData) bool
See interface definition for comments.
func (*DefaultServiceAttributeHandler) MustProcess ¶ added in v0.17.1
func (h *DefaultServiceAttributeHandler) MustProcess(d *schema.ResourceData, initialVersion bool) bool
See interface definition for comments.
type DictionaryServiceAttributeHandler ¶ added in v0.17.1
type DictionaryServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*DictionaryServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *DictionaryServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*DictionaryServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *DictionaryServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type DigitalOceanServiceAttributeHandler ¶ added in v0.18.0
type DigitalOceanServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*DigitalOceanServiceAttributeHandler) Process ¶ added in v0.18.0
func (h *DigitalOceanServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*DigitalOceanServiceAttributeHandler) Read ¶ added in v0.18.0
func (h *DigitalOceanServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type DirectorServiceAttributeHandler ¶ added in v0.17.1
type DirectorServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*DirectorServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *DirectorServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*DirectorServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *DirectorServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type DomainServiceAttributeHandler ¶ added in v0.17.1
type DomainServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*DomainServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *DomainServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*DomainServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *DomainServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type DynamicSnippetServiceAttributeHandler ¶ added in v0.17.1
type DynamicSnippetServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*DynamicSnippetServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *DynamicSnippetServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*DynamicSnippetServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *DynamicSnippetServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type ElasticSearchServiceAttributeHandler ¶ added in v0.17.1
type ElasticSearchServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*ElasticSearchServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *ElasticSearchServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*ElasticSearchServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *ElasticSearchServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type FTPServiceAttributeHandler ¶ added in v0.17.1
type FTPServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*FTPServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *FTPServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*FTPServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *FTPServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type FastlyClient ¶
type FastlyClient struct {
// contains filtered or unexported fields
}
type GCSLoggingServiceAttributeHandler ¶ added in v0.17.1
type GCSLoggingServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*GCSLoggingServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *GCSLoggingServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*GCSLoggingServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *GCSLoggingServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type GooglePubSubServiceAttributeHandler ¶ added in v0.17.1
type GooglePubSubServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*GooglePubSubServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *GooglePubSubServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*GooglePubSubServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *GooglePubSubServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type GzipServiceAttributeHandler ¶ added in v0.18.0
type GzipServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*GzipServiceAttributeHandler) Process ¶ added in v0.18.0
func (h *GzipServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*GzipServiceAttributeHandler) Read ¶ added in v0.18.0
func (h *GzipServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type HTTPSLoggingServiceAttributeHandler ¶ added in v0.17.1
type HTTPSLoggingServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*HTTPSLoggingServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *HTTPSLoggingServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*HTTPSLoggingServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *HTTPSLoggingServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type HeaderServiceAttributeHandler ¶ added in v0.17.1
type HeaderServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*HeaderServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *HeaderServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*HeaderServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *HeaderServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type HealthCheckServiceAttributeHandler ¶ added in v0.17.1
type HealthCheckServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*HealthCheckServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *HealthCheckServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*HealthCheckServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *HealthCheckServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type HerokuServiceAttributeHandler ¶ added in v0.18.0
type HerokuServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*HerokuServiceAttributeHandler) Process ¶ added in v0.18.0
func (h *HerokuServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*HerokuServiceAttributeHandler) Read ¶ added in v0.18.0
func (h *HerokuServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type HoneycombServiceAttributeHandler ¶ added in v0.18.0
type HoneycombServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*HoneycombServiceAttributeHandler) Process ¶ added in v0.18.0
func (h *HoneycombServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*HoneycombServiceAttributeHandler) Read ¶ added in v0.18.0
func (h *HoneycombServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type KafkaServiceAttributeHandler ¶ added in v0.17.1
type KafkaServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*KafkaServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *KafkaServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*KafkaServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *KafkaServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type LogentriesServiceAttributeHandler ¶ added in v0.17.1
type LogentriesServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*LogentriesServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *LogentriesServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*LogentriesServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *LogentriesServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type LogglyServiceAttributeHandler ¶ added in v0.17.1
type LogglyServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*LogglyServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *LogglyServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*LogglyServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *LogglyServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type LogshuttleServiceAttributeHandler ¶ added in v0.18.0
type LogshuttleServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*LogshuttleServiceAttributeHandler) Process ¶ added in v0.18.0
func (h *LogshuttleServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*LogshuttleServiceAttributeHandler) Read ¶ added in v0.18.0
func (h *LogshuttleServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type NewRelicServiceAttributeHandler ¶ added in v0.17.1
type NewRelicServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*NewRelicServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *NewRelicServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*NewRelicServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *NewRelicServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type OpenstackServiceAttributeHandler ¶ added in v0.18.0
type OpenstackServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*OpenstackServiceAttributeHandler) Process ¶ added in v0.18.0
func (h *OpenstackServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*OpenstackServiceAttributeHandler) Read ¶ added in v0.18.0
func (h *OpenstackServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type PackageServiceAttributeHandler ¶ added in v0.19.0
type PackageServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*PackageServiceAttributeHandler) Process ¶ added in v0.19.0
func (h *PackageServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*PackageServiceAttributeHandler) Read ¶ added in v0.19.0
func (h *PackageServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type PaperTrailServiceAttributeHandler ¶ added in v0.17.1
type PaperTrailServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*PaperTrailServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *PaperTrailServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*PaperTrailServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *PaperTrailServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type RequestSettingServiceAttributeHandler ¶ added in v0.17.1
type RequestSettingServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*RequestSettingServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *RequestSettingServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*RequestSettingServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *RequestSettingServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type ResponseObjectServiceAttributeHandler ¶ added in v0.17.1
type ResponseObjectServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*ResponseObjectServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *ResponseObjectServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*ResponseObjectServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *ResponseObjectServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type S3LoggingServiceAttributeHandler ¶ added in v0.17.1
type S3LoggingServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*S3LoggingServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *S3LoggingServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*S3LoggingServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *S3LoggingServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type SFTPServiceAttributeHandler ¶ added in v0.17.1
type SFTPServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*SFTPServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *SFTPServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*SFTPServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *SFTPServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type ScalyrServiceAttributeHandler ¶ added in v0.17.1
type ScalyrServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*ScalyrServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *ScalyrServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*ScalyrServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *ScalyrServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type ServiceAttributeDefinition ¶ added in v0.17.1
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(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error // Process creates or updates the attribute against the Fastly API. Process(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_v1_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.17.1
func NewServiceACL(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceBackend ¶ added in v0.17.1
func NewServiceBackend(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceBigQueryLogging ¶ added in v0.17.1
func NewServiceBigQueryLogging(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceBlobStorageLogging ¶ added in v0.17.1
func NewServiceBlobStorageLogging(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceCacheSetting ¶ added in v0.17.1
func NewServiceCacheSetting(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceCondition ¶ added in v0.17.1
func NewServiceCondition(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceDictionary ¶ added in v0.17.1
func NewServiceDictionary(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceDirector ¶ added in v0.17.1
func NewServiceDirector(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceDomain ¶ added in v0.17.1
func NewServiceDomain(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceDynamicSnippet ¶ added in v0.17.1
func NewServiceDynamicSnippet(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceGCSLogging ¶ added in v0.17.1
func NewServiceGCSLogging(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceGzip ¶ added in v0.18.0
func NewServiceGzip(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceHTTPSLogging ¶ added in v0.17.1
func NewServiceHTTPSLogging(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceHeader ¶ added in v0.17.1
func NewServiceHeader(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceHealthCheck ¶ added in v0.17.1
func NewServiceHealthCheck(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceLogentries ¶ added in v0.17.1
func NewServiceLogentries(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceLoggingCloudfiles ¶ added in v0.18.0
func NewServiceLoggingCloudfiles(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceLoggingDatadog ¶ added in v0.17.1
func NewServiceLoggingDatadog(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceLoggingDigitalOcean ¶ added in v0.18.0
func NewServiceLoggingDigitalOcean(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceLoggingElasticSearch ¶ added in v0.17.1
func NewServiceLoggingElasticSearch(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceLoggingFTP ¶ added in v0.17.1
func NewServiceLoggingFTP(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceLoggingGooglePubSub ¶ added in v0.17.1
func NewServiceLoggingGooglePubSub(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceLoggingHeroku ¶ added in v0.18.0
func NewServiceLoggingHeroku(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceLoggingHoneycomb ¶ added in v0.18.0
func NewServiceLoggingHoneycomb(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceLoggingKafka ¶ added in v0.17.1
func NewServiceLoggingKafka(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceLoggingLoggly ¶ added in v0.17.1
func NewServiceLoggingLoggly(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceLoggingLogshuttle ¶ added in v0.18.0
func NewServiceLoggingLogshuttle(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceLoggingNewRelic ¶ added in v0.17.1
func NewServiceLoggingNewRelic(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceLoggingOpenstack ¶ added in v0.18.0
func NewServiceLoggingOpenstack(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceLoggingSFTP ¶ added in v0.17.1
func NewServiceLoggingSFTP(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceLoggingScalyr ¶ added in v0.17.1
func NewServiceLoggingScalyr(sa ServiceMetadata) ServiceAttributeDefinition
func NewServicePackage ¶ added in v0.19.0
func NewServicePackage(sa ServiceMetadata) ServiceAttributeDefinition
func NewServicePaperTrail ¶ added in v0.17.1
func NewServicePaperTrail(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceRequestSetting ¶ added in v0.17.1
func NewServiceRequestSetting(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceResponseObject ¶ added in v0.17.1
func NewServiceResponseObject(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceS3Logging ¶ added in v0.17.1
func NewServiceS3Logging(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceSettings ¶ added in v0.17.1
func NewServiceSettings() ServiceAttributeDefinition
func NewServiceSnippet ¶ added in v0.17.1
func NewServiceSnippet(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceSplunk ¶ added in v0.17.1
func NewServiceSplunk(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceSumologic ¶ added in v0.17.1
func NewServiceSumologic(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceSyslog ¶ added in v0.17.1
func NewServiceSyslog(sa ServiceMetadata) ServiceAttributeDefinition
func NewServiceVCL ¶ added in v0.17.1
func NewServiceVCL(sa ServiceMetadata) ServiceAttributeDefinition
type ServiceDefinition ¶ added in v0.17.1
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.19.0
type ServiceMetadata struct {
// contains filtered or unexported fields
}
ServiceMetadata provides a container to pass service attributes into an Attribute handler.
type SettingsServiceAttributeHandler ¶ added in v0.17.1
type SettingsServiceAttributeHandler struct { }
func (*SettingsServiceAttributeHandler) HasChange ¶ added in v0.17.1
func (h *SettingsServiceAttributeHandler) HasChange(d *schema.ResourceData) bool
func (*SettingsServiceAttributeHandler) MustProcess ¶ added in v0.17.1
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.17.1
func (h *SettingsServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*SettingsServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *SettingsServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type SnippetServiceAttributeHandler ¶ added in v0.17.1
type SnippetServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*SnippetServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *SnippetServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*SnippetServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *SnippetServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type SplunkServiceAttributeHandler ¶ added in v0.17.1
type SplunkServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*SplunkServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *SplunkServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*SplunkServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *SplunkServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type SumologicServiceAttributeHandler ¶ added in v0.17.1
type SumologicServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*SumologicServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *SumologicServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*SumologicServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *SumologicServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type SyslogServiceAttributeHandler ¶ added in v0.17.1
type SyslogServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*SyslogServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *SyslogServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*SyslogServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *SyslogServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
type VCLLoggingAttributes ¶ added in v0.19.0
type VCLLoggingAttributes struct {
// contains filtered or unexported fields
}
type VCLServiceAttributeHandler ¶ added in v0.17.1
type VCLServiceAttributeHandler struct {
*DefaultServiceAttributeHandler
}
func (*VCLServiceAttributeHandler) Process ¶ added in v0.17.1
func (h *VCLServiceAttributeHandler) Process(d *schema.ResourceData, latestVersion int, conn *gofastly.Client) error
func (*VCLServiceAttributeHandler) Read ¶ added in v0.17.1
func (h *VCLServiceAttributeHandler) Read(d *schema.ResourceData, s *gofastly.ServiceDetail, conn *gofastly.Client) error
Source Files
¶
- base_fastly_service_v1.go
- block_fastly_service_v1_acl.go
- block_fastly_service_v1_backend.go
- block_fastly_service_v1_bigquerylogging.go
- block_fastly_service_v1_blobstoragelogging.go
- block_fastly_service_v1_cachesetting.go
- block_fastly_service_v1_condition.go
- block_fastly_service_v1_dictionary.go
- block_fastly_service_v1_director.go
- block_fastly_service_v1_domain.go
- block_fastly_service_v1_dynamicsnippet.go
- block_fastly_service_v1_gcslogging.go
- block_fastly_service_v1_gzip.go
- block_fastly_service_v1_header.go
- block_fastly_service_v1_healthcheck.go
- block_fastly_service_v1_httpslogging.go
- block_fastly_service_v1_logentries.go
- block_fastly_service_v1_logging_cloudfiles.go
- block_fastly_service_v1_logging_datadog.go
- block_fastly_service_v1_logging_digitalocean.go
- block_fastly_service_v1_logging_elasticsearch.go
- block_fastly_service_v1_logging_ftp.go
- block_fastly_service_v1_logging_googlepubsub.go
- block_fastly_service_v1_logging_heroku.go
- block_fastly_service_v1_logging_honeycomb.go
- block_fastly_service_v1_logging_kafka.go
- block_fastly_service_v1_logging_loggly.go
- block_fastly_service_v1_logging_logshuttle.go
- block_fastly_service_v1_logging_newrelic.go
- block_fastly_service_v1_logging_openstack.go
- block_fastly_service_v1_logging_scalyr.go
- block_fastly_service_v1_logging_sftp.go
- block_fastly_service_v1_package.go
- block_fastly_service_v1_papertrail.go
- block_fastly_service_v1_requestsetting.go
- block_fastly_service_v1_responseobject.go
- block_fastly_service_v1_s3logging.go
- block_fastly_service_v1_settings.go
- block_fastly_service_v1_snippet.go
- block_fastly_service_v1_splunk.go
- block_fastly_service_v1_sumologic.go
- block_fastly_service_v1_syslog.go
- block_fastly_service_v1_vcl.go
- config.go
- data_source_ip_ranges.go
- provider.go
- resource_fastly_service_acl_entries_v1.go
- resource_fastly_service_compute.go
- resource_fastly_service_dictionary_items_v1.go
- resource_fastly_service_dynamic_snippet_content_v1.go
- resource_fastly_service_v1.go
- resource_fastly_user_v1.go
- statefuncs.go
- validators.go