image

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceByteplusImages

func DataSourceByteplusImages() *schema.Resource

Types

type ByteplusImageService

type ByteplusImageService struct {
	Client *bp.SdkClient
}

func NewImageService

func NewImageService(c *bp.SdkClient) *ByteplusImageService

func (*ByteplusImageService) CreateResource

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

func (*ByteplusImageService) DatasourceResources

func (s *ByteplusImageService) DatasourceResources(data *schema.ResourceData, resource *schema.Resource) bp.DataSourceInfo

func (*ByteplusImageService) GetClient

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

func (*ByteplusImageService) ModifyResource

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

func (*ByteplusImageService) ReadResource

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

func (*ByteplusImageService) ReadResourceId

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

func (*ByteplusImageService) ReadResources

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

func (*ByteplusImageService) RefreshResourceState

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

func (*ByteplusImageService) RemoveResource

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

func (*ByteplusImageService) WithResourceResponseHandlers

func (s *ByteplusImageService) WithResourceResponseHandlers(image map[string]interface{}) []bp.ResourceResponseHandler

Jump to

Keyboard shortcuts

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