listener

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceByteplusListeners

func DataSourceByteplusListeners() *schema.Resource

func HealthCheckFieldDiffSuppress

func HealthCheckFieldDiffSuppress(k, old, new string, d *schema.ResourceData) bool

func HealthCheckHTTPOnlyFieldDiffSuppress

func HealthCheckHTTPOnlyFieldDiffSuppress(k, old, new string, d *schema.ResourceData) bool

func HealthCheckUDPOnlyFieldDiffSuppress

func HealthCheckUDPOnlyFieldDiffSuppress(k, old, new string, d *schema.ResourceData) bool

func ResourceByteplusListener

func ResourceByteplusListener() *schema.Resource

Types

type ByteplusListenerService

type ByteplusListenerService struct {
	Client *bp.SdkClient
}

func NewListenerService

func NewListenerService(c *bp.SdkClient) *ByteplusListenerService

func (*ByteplusListenerService) CreateResource

func (s *ByteplusListenerService) CreateResource(resourceData *schema.ResourceData, resource *schema.Resource) []bp.Callback

func (*ByteplusListenerService) DatasourceResources

func (*ByteplusListenerService) GetClient

func (s *ByteplusListenerService) GetClient() *bp.SdkClient

func (*ByteplusListenerService) ModifyResource

func (s *ByteplusListenerService) ModifyResource(resourceData *schema.ResourceData, resource *schema.Resource) []bp.Callback

func (*ByteplusListenerService) ReadResource

func (s *ByteplusListenerService) ReadResource(resourceData *schema.ResourceData, listenerId string) (data map[string]interface{}, err error)

func (*ByteplusListenerService) ReadResourceId

func (s *ByteplusListenerService) ReadResourceId(id string) string

func (*ByteplusListenerService) ReadResources

func (s *ByteplusListenerService) ReadResources(condition map[string]interface{}) (data []interface{}, err error)

func (*ByteplusListenerService) RefreshResourceState

func (s *ByteplusListenerService) RefreshResourceState(resourceData *schema.ResourceData, target []string, timeout time.Duration, id string) *resource.StateChangeConf

func (*ByteplusListenerService) RemoveResource

func (s *ByteplusListenerService) RemoveResource(resourceData *schema.ResourceData, r *schema.Resource) []bp.Callback

func (*ByteplusListenerService) WithResourceResponseHandlers

func (*ByteplusListenerService) WithResourceResponseHandlers(listener map[string]interface{}) []bp.ResourceResponseHandler

Jump to

Keyboard shortcuts

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