Documentation ¶
Index ¶
- Variables
- func BackendDatasource() *schema.Resource
- func BackendSetDatasource() *schema.Resource
- func CertificateDatasource() *schema.Resource
- func LoadBalancerBackendResource() *schema.Resource
- func LoadBalancerBackendSetResource() *schema.Resource
- func LoadBalancerCertificateResource() *schema.Resource
- func LoadBalancerDatasource() *schema.Resource
- func LoadBalancerListenerResource() *schema.Resource
- func LoadBalancerResource() *schema.Resource
- func PolicyDatasource() *schema.Resource
- func ProtocolDatasource() *schema.Resource
- func ShapeDatasource() *schema.Resource
- type BackendDatasourceCrud
- type BackendSetDatasourceCrud
- type CertificateDatasourceCrud
- type LoadBalancerBackendResourceCrud
- func (s *LoadBalancerBackendResourceCrud) Create() (e error)
- func (s *LoadBalancerBackendResourceCrud) CreatedPending() []string
- func (s *LoadBalancerBackendResourceCrud) CreatedTarget() []string
- func (s *LoadBalancerBackendResourceCrud) Delete() (e error)
- func (s *LoadBalancerBackendResourceCrud) DeletedPending() []string
- func (s *LoadBalancerBackendResourceCrud) DeletedTarget() []string
- func (s *LoadBalancerBackendResourceCrud) Get() (e error)
- func (s *LoadBalancerBackendResourceCrud) ID() string
- func (s *LoadBalancerBackendResourceCrud) RefreshWorkRequest() (*baremetal.WorkRequest, error)
- func (s *LoadBalancerBackendResourceCrud) SetData()
- func (s *LoadBalancerBackendResourceCrud) Update() (e error)
- type LoadBalancerBackendSetResourceCrud
- func (s *LoadBalancerBackendSetResourceCrud) Create() (e error)
- func (s *LoadBalancerBackendSetResourceCrud) CreatedPending() []string
- func (s *LoadBalancerBackendSetResourceCrud) CreatedTarget() []string
- func (s *LoadBalancerBackendSetResourceCrud) Delete() (e error)
- func (s *LoadBalancerBackendSetResourceCrud) DeletedPending() []string
- func (s *LoadBalancerBackendSetResourceCrud) DeletedTarget() []string
- func (s *LoadBalancerBackendSetResourceCrud) Get() (e error)
- func (s *LoadBalancerBackendSetResourceCrud) ID() string
- func (s *LoadBalancerBackendSetResourceCrud) RefreshWorkRequest() (*baremetal.WorkRequest, error)
- func (s *LoadBalancerBackendSetResourceCrud) SetData()
- func (s *LoadBalancerBackendSetResourceCrud) Update() (e error)
- type LoadBalancerCertificateResourceCrud
- func (s *LoadBalancerCertificateResourceCrud) Create() (e error)
- func (s *LoadBalancerCertificateResourceCrud) CreatedPending() []string
- func (s *LoadBalancerCertificateResourceCrud) CreatedTarget() []string
- func (s *LoadBalancerCertificateResourceCrud) Delete() (e error)
- func (s *LoadBalancerCertificateResourceCrud) DeletedPending() []string
- func (s *LoadBalancerCertificateResourceCrud) DeletedTarget() []string
- func (s *LoadBalancerCertificateResourceCrud) Get() (e error)
- func (s *LoadBalancerCertificateResourceCrud) ID() string
- func (s *LoadBalancerCertificateResourceCrud) RefreshWorkRequest() (*baremetal.WorkRequest, error)
- func (s *LoadBalancerCertificateResourceCrud) SetData()
- type LoadBalancerDatasourceCrud
- type LoadBalancerListenerResourceCrud
- func (s *LoadBalancerListenerResourceCrud) Create() (e error)
- func (s *LoadBalancerListenerResourceCrud) CreatedPending() []string
- func (s *LoadBalancerListenerResourceCrud) CreatedTarget() []string
- func (s *LoadBalancerListenerResourceCrud) Delete() (e error)
- func (s *LoadBalancerListenerResourceCrud) DeletedPending() []string
- func (s *LoadBalancerListenerResourceCrud) DeletedTarget() []string
- func (s *LoadBalancerListenerResourceCrud) Get() (e error)
- func (s *LoadBalancerListenerResourceCrud) GetListener(loadBalancerID, name string) (*baremetal.Listener, error)
- func (s *LoadBalancerListenerResourceCrud) ID() string
- func (s *LoadBalancerListenerResourceCrud) RefreshWorkRequest() (*baremetal.WorkRequest, error)
- func (s *LoadBalancerListenerResourceCrud) SetData()
- func (s *LoadBalancerListenerResourceCrud) Update() (e error)
- type LoadBalancerResourceCrud
- func (s *LoadBalancerResourceCrud) Create() (e error)
- func (s *LoadBalancerResourceCrud) CreatedPending() []string
- func (s *LoadBalancerResourceCrud) CreatedTarget() []string
- func (s *LoadBalancerResourceCrud) Delete() (e error)
- func (s *LoadBalancerResourceCrud) DeletedPending() []string
- func (s *LoadBalancerResourceCrud) DeletedTarget() []string
- func (s *LoadBalancerResourceCrud) Get() (e error)
- func (s *LoadBalancerResourceCrud) ID() string
- func (s *LoadBalancerResourceCrud) RefreshWorkRequest() (*baremetal.WorkRequest, error)
- func (s *LoadBalancerResourceCrud) SetData()
- func (s *LoadBalancerResourceCrud) Update() (e error)
- type PoliciesDatasourceCrud
- type ProtocolDatasourceCrud
- type ShapeDatasourceCrud
Constants ¶
This section is empty.
Variables ¶
var HealthCheckerSchema = &schema.Schema{ Type: schema.TypeList, Optional: true, MaxItems: 1, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "interval_ms": { Type: schema.TypeInt, Optional: true, Default: 30000, }, "port": { Type: schema.TypeInt, Required: true, }, "protocol": { Type: schema.TypeString, Required: true, }, "response_body_regex": { Type: schema.TypeString, Required: true, }, }, }, }
var SSLConfigSchema = &schema.Schema{ Type: schema.TypeList, Optional: true, MaxItems: 1, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "certificate_name": { Type: schema.TypeString, Required: true, }, "verify_depth": { Type: schema.TypeInt, Optional: true, Default: 5, }, "verify_peer_certificate": { Type: schema.TypeBool, Optional: true, Default: true, }, }, }, }
Functions ¶
func BackendDatasource ¶
func BackendSetDatasource ¶
func CertificateDatasource ¶
func LoadBalancerDatasource ¶
func LoadBalancerResource ¶
func PolicyDatasource ¶
func ProtocolDatasource ¶
func ShapeDatasource ¶
Types ¶
type BackendDatasourceCrud ¶
func (*BackendDatasourceCrud) Get ¶
func (s *BackendDatasourceCrud) Get() (e error)
func (*BackendDatasourceCrud) SetData ¶
func (s *BackendDatasourceCrud) SetData()
type BackendSetDatasourceCrud ¶
func (*BackendSetDatasourceCrud) Get ¶
func (s *BackendSetDatasourceCrud) Get() (e error)
func (*BackendSetDatasourceCrud) SetData ¶
func (s *BackendSetDatasourceCrud) SetData()
type CertificateDatasourceCrud ¶
func (*CertificateDatasourceCrud) Get ¶
func (s *CertificateDatasourceCrud) Get() (e error)
func (*CertificateDatasourceCrud) SetData ¶
func (s *CertificateDatasourceCrud) SetData()
type LoadBalancerBackendResourceCrud ¶
type LoadBalancerBackendResourceCrud struct { crud.BaseCrud WorkRequest *baremetal.WorkRequest Resource *baremetal.Backend }
func (*LoadBalancerBackendResourceCrud) Create ¶
func (s *LoadBalancerBackendResourceCrud) Create() (e error)
func (*LoadBalancerBackendResourceCrud) CreatedPending ¶
func (s *LoadBalancerBackendResourceCrud) CreatedPending() []string
func (*LoadBalancerBackendResourceCrud) CreatedTarget ¶
func (s *LoadBalancerBackendResourceCrud) CreatedTarget() []string
func (*LoadBalancerBackendResourceCrud) Delete ¶
func (s *LoadBalancerBackendResourceCrud) Delete() (e error)
func (*LoadBalancerBackendResourceCrud) DeletedPending ¶
func (s *LoadBalancerBackendResourceCrud) DeletedPending() []string
func (*LoadBalancerBackendResourceCrud) DeletedTarget ¶
func (s *LoadBalancerBackendResourceCrud) DeletedTarget() []string
func (*LoadBalancerBackendResourceCrud) Get ¶
func (s *LoadBalancerBackendResourceCrud) Get() (e error)
func (*LoadBalancerBackendResourceCrud) ID ¶
func (s *LoadBalancerBackendResourceCrud) ID() string
func (*LoadBalancerBackendResourceCrud) RefreshWorkRequest ¶
func (s *LoadBalancerBackendResourceCrud) RefreshWorkRequest() (*baremetal.WorkRequest, error)
RefreshWorkRequest returns the last updated workRequest
func (*LoadBalancerBackendResourceCrud) SetData ¶
func (s *LoadBalancerBackendResourceCrud) SetData()
func (*LoadBalancerBackendResourceCrud) Update ¶
func (s *LoadBalancerBackendResourceCrud) Update() (e error)
type LoadBalancerBackendSetResourceCrud ¶
type LoadBalancerBackendSetResourceCrud struct { crud.BaseCrud WorkRequest *baremetal.WorkRequest Resource *baremetal.BackendSet ResourceName string }
func (*LoadBalancerBackendSetResourceCrud) Create ¶
func (s *LoadBalancerBackendSetResourceCrud) Create() (e error)
func (*LoadBalancerBackendSetResourceCrud) CreatedPending ¶
func (s *LoadBalancerBackendSetResourceCrud) CreatedPending() []string
func (*LoadBalancerBackendSetResourceCrud) CreatedTarget ¶
func (s *LoadBalancerBackendSetResourceCrud) CreatedTarget() []string
func (*LoadBalancerBackendSetResourceCrud) Delete ¶
func (s *LoadBalancerBackendSetResourceCrud) Delete() (e error)
func (*LoadBalancerBackendSetResourceCrud) DeletedPending ¶
func (s *LoadBalancerBackendSetResourceCrud) DeletedPending() []string
func (*LoadBalancerBackendSetResourceCrud) DeletedTarget ¶
func (s *LoadBalancerBackendSetResourceCrud) DeletedTarget() []string
func (*LoadBalancerBackendSetResourceCrud) Get ¶
func (s *LoadBalancerBackendSetResourceCrud) Get() (e error)
func (*LoadBalancerBackendSetResourceCrud) ID ¶
func (s *LoadBalancerBackendSetResourceCrud) ID() string
func (*LoadBalancerBackendSetResourceCrud) RefreshWorkRequest ¶
func (s *LoadBalancerBackendSetResourceCrud) RefreshWorkRequest() (*baremetal.WorkRequest, error)
RefreshWorkRequest returns the last updated workRequest
func (*LoadBalancerBackendSetResourceCrud) SetData ¶
func (s *LoadBalancerBackendSetResourceCrud) SetData()
func (*LoadBalancerBackendSetResourceCrud) Update ¶
func (s *LoadBalancerBackendSetResourceCrud) Update() (e error)
type LoadBalancerCertificateResourceCrud ¶
type LoadBalancerCertificateResourceCrud struct { crud.BaseCrud WorkRequest *baremetal.WorkRequest Resource *baremetal.Certificate }
func (*LoadBalancerCertificateResourceCrud) Create ¶
func (s *LoadBalancerCertificateResourceCrud) Create() (e error)
func (*LoadBalancerCertificateResourceCrud) CreatedPending ¶
func (s *LoadBalancerCertificateResourceCrud) CreatedPending() []string
func (*LoadBalancerCertificateResourceCrud) CreatedTarget ¶
func (s *LoadBalancerCertificateResourceCrud) CreatedTarget() []string
func (*LoadBalancerCertificateResourceCrud) Delete ¶
func (s *LoadBalancerCertificateResourceCrud) Delete() (e error)
func (*LoadBalancerCertificateResourceCrud) DeletedPending ¶
func (s *LoadBalancerCertificateResourceCrud) DeletedPending() []string
func (*LoadBalancerCertificateResourceCrud) DeletedTarget ¶
func (s *LoadBalancerCertificateResourceCrud) DeletedTarget() []string
func (*LoadBalancerCertificateResourceCrud) Get ¶
func (s *LoadBalancerCertificateResourceCrud) Get() (e error)
func (*LoadBalancerCertificateResourceCrud) ID ¶
func (s *LoadBalancerCertificateResourceCrud) ID() string
func (*LoadBalancerCertificateResourceCrud) RefreshWorkRequest ¶
func (s *LoadBalancerCertificateResourceCrud) RefreshWorkRequest() (*baremetal.WorkRequest, error)
RefreshWorkRequest returns the last updated workRequest
func (*LoadBalancerCertificateResourceCrud) SetData ¶
func (s *LoadBalancerCertificateResourceCrud) SetData()
type LoadBalancerDatasourceCrud ¶
func (*LoadBalancerDatasourceCrud) Get ¶
func (s *LoadBalancerDatasourceCrud) Get() (e error)
func (*LoadBalancerDatasourceCrud) SetData ¶
func (s *LoadBalancerDatasourceCrud) SetData()
type LoadBalancerListenerResourceCrud ¶
type LoadBalancerListenerResourceCrud struct { crud.BaseCrud WorkRequest *baremetal.WorkRequest Resource *baremetal.Listener }
func (*LoadBalancerListenerResourceCrud) Create ¶
func (s *LoadBalancerListenerResourceCrud) Create() (e error)
func (*LoadBalancerListenerResourceCrud) CreatedPending ¶
func (s *LoadBalancerListenerResourceCrud) CreatedPending() []string
func (*LoadBalancerListenerResourceCrud) CreatedTarget ¶
func (s *LoadBalancerListenerResourceCrud) CreatedTarget() []string
func (*LoadBalancerListenerResourceCrud) Delete ¶
func (s *LoadBalancerListenerResourceCrud) Delete() (e error)
func (*LoadBalancerListenerResourceCrud) DeletedPending ¶
func (s *LoadBalancerListenerResourceCrud) DeletedPending() []string
func (*LoadBalancerListenerResourceCrud) DeletedTarget ¶
func (s *LoadBalancerListenerResourceCrud) DeletedTarget() []string
func (*LoadBalancerListenerResourceCrud) Get ¶
func (s *LoadBalancerListenerResourceCrud) Get() (e error)
func (*LoadBalancerListenerResourceCrud) GetListener ¶
func (s *LoadBalancerListenerResourceCrud) GetListener(loadBalancerID, name string) (*baremetal.Listener, error)
TODO: move this into the SDK, onto the client
func (*LoadBalancerListenerResourceCrud) ID ¶
func (s *LoadBalancerListenerResourceCrud) ID() string
ID uniquely identifies the listener and its parent load balancer
func (*LoadBalancerListenerResourceCrud) RefreshWorkRequest ¶
func (s *LoadBalancerListenerResourceCrud) RefreshWorkRequest() (*baremetal.WorkRequest, error)
RefreshWorkRequest returns the last updated workRequest
func (*LoadBalancerListenerResourceCrud) SetData ¶
func (s *LoadBalancerListenerResourceCrud) SetData()
func (*LoadBalancerListenerResourceCrud) Update ¶
func (s *LoadBalancerListenerResourceCrud) Update() (e error)
type LoadBalancerResourceCrud ¶
type LoadBalancerResourceCrud struct { crud.BaseCrud WorkRequest *baremetal.WorkRequest Resource *baremetal.LoadBalancer }
LoadBalancerResourceCrud wraps a baremetal.LoadBalancer to support crud
func (*LoadBalancerResourceCrud) Create ¶
func (s *LoadBalancerResourceCrud) Create() (e error)
Create makes a request to create a new load balancer from the resourceData It should leave the work request set up
func (*LoadBalancerResourceCrud) CreatedPending ¶
func (s *LoadBalancerResourceCrud) CreatedPending() []string
CreatedPending returns the resource states which qualify as "creating"
func (*LoadBalancerResourceCrud) CreatedTarget ¶
func (s *LoadBalancerResourceCrud) CreatedTarget() []string
CreatedTarget returns the resource states which qualify as "created"
func (*LoadBalancerResourceCrud) Delete ¶
func (s *LoadBalancerResourceCrud) Delete() (e error)
Delete makes a request to delete the load balancer
func (*LoadBalancerResourceCrud) DeletedPending ¶
func (s *LoadBalancerResourceCrud) DeletedPending() []string
DeletedPending returns the resource states which qualify as "deleting"
func (*LoadBalancerResourceCrud) DeletedTarget ¶
func (s *LoadBalancerResourceCrud) DeletedTarget() []string
DeletedTarget returns the resource states which qualify as "deleted"
func (*LoadBalancerResourceCrud) Get ¶
func (s *LoadBalancerResourceCrud) Get() (e error)
Get makes a request to get the load balancer, populating s.Resource.
func (*LoadBalancerResourceCrud) ID ¶
func (s *LoadBalancerResourceCrud) ID() string
ID delegates to the load balancer ID, falling back to the work request ID
func (*LoadBalancerResourceCrud) RefreshWorkRequest ¶
func (s *LoadBalancerResourceCrud) RefreshWorkRequest() (*baremetal.WorkRequest, error)
RefreshWorkRequest returns the last updated workRequest
func (*LoadBalancerResourceCrud) SetData ¶
func (s *LoadBalancerResourceCrud) SetData()
SetData populates the resourceData from the model
func (*LoadBalancerResourceCrud) Update ¶
func (s *LoadBalancerResourceCrud) Update() (e error)
Update makes a request to update the load balancer
type PoliciesDatasourceCrud ¶
func (*PoliciesDatasourceCrud) Get ¶
func (s *PoliciesDatasourceCrud) Get() (e error)
func (*PoliciesDatasourceCrud) SetData ¶
func (s *PoliciesDatasourceCrud) SetData()
type ProtocolDatasourceCrud ¶
func (*ProtocolDatasourceCrud) Get ¶
func (s *ProtocolDatasourceCrud) Get() (e error)
func (*ProtocolDatasourceCrud) SetData ¶
func (s *ProtocolDatasourceCrud) SetData()
type ShapeDatasourceCrud ¶
func (*ShapeDatasourceCrud) Get ¶
func (s *ShapeDatasourceCrud) Get() (e error)
func (*ShapeDatasourceCrud) SetData ¶
func (s *ShapeDatasourceCrud) SetData()
Source Files ¶
- backend_datasource.go
- backend_datasource_crud.go
- backend_resource.go
- backend_resource_crud.go
- backend_set_resource.go
- backend_set_resource_crud.go
- backendset_datasource.go
- backendset_datasource_crud.go
- certificate_datasource.go
- certificate_datasource_crud.go
- certificate_resource.go
- certificate_resource_crud.go
- helpers.go
- listener_resource.go
- listener_resource_crud.go
- loadbalancer_datasource.go
- loadbalancer_datasource_crud.go
- loadbalancer_policy_datasource.go
- loadbalancer_policy_datasource_crud.go
- loadbalancer_protocol_datasource.go
- loadbalancer_protocol_datasource_crud.go
- loadbalancer_resource.go
- loadbalancer_resource_crud.go
- loadbalancer_shape_datasource.go
- loadbalancer_shape_datasource_crud.go