Documentation ¶
Index ¶
Constants ¶
View Source
const ( // KB 1000B KB int64 = 1000 // MB 1000KB MB = 1000 * KB // GB 1000MB GB = 1000 * MB // TB 1000GB TB = 1000 * GB // PB 1000TB PB = 1000 * TB // KiB 1024B KiB int64 = 1024 // MiB 1024KiB MiB = 1024 * KiB // GiB 1024MiB GiB = 1024 * MiB // TiB 1024GiB TiB = 1024 * GiB // PiB 1024TiB PiB = 1024 * TiB )
Variables ¶
View Source
var ( // Version app version Version = "1.22.0" // Revision git commit short commithash Revision = "xxxxxx" // set on build )
Functions ¶
func Provider ¶
func Provider() terraform.ResourceProvider
Provider returns a terraform.ResourceProvider.
func StringSliceFromState ¶ added in v1.1.0
func StringSliceFromState(is *terraform.InstanceState, key string) []string
StringSliceFromState returns string slice from *terraform.InstanceState.Attributes
Types ¶
type Config ¶
type Config struct { AccessToken string AccessTokenSecret string Zone string TimeoutMinute int TraceMode bool AcceptLanguage string APIRootURL string RetryMax int RetryInterval int APIRequestTimeout int APIRequestRateLimit int // contains filtered or unexported fields }
Config type of SakuraCloud Config
Source Files ¶
- config.go
- customize_diff_func.go
- data_source_sakuracloud_archive.go
- data_source_sakuracloud_bridge.go
- data_source_sakuracloud_bucket_object.go
- data_source_sakuracloud_cdrom.go
- data_source_sakuracloud_database.go
- data_source_sakuracloud_disk.go
- data_source_sakuracloud_dns.go
- data_source_sakuracloud_gslb.go
- data_source_sakuracloud_icon.go
- data_source_sakuracloud_internet.go
- data_source_sakuracloud_loadbalancer.go
- data_source_sakuracloud_nfs.go
- data_source_sakuracloud_note.go
- data_source_sakuracloud_packet_filter.go
- data_source_sakuracloud_private_host.go
- data_source_sakuracloud_proxylb.go
- data_source_sakuracloud_server.go
- data_source_sakuracloud_simple_monitor.go
- data_source_sakuracloud_ssh_key.go
- data_source_sakuracloud_subnet.go
- data_source_sakuracloud_switch.go
- data_source_sakuracloud_vpc_router.go
- data_source_sakuracloud_webaccel.go
- data_source_sakuracloud_zone.go
- filter.go
- instance_state.go
- provider.go
- resource_sakuracloud_archive.go
- resource_sakuracloud_auto_backup.go
- resource_sakuracloud_bridge.go
- resource_sakuracloud_bucket_object.go
- resource_sakuracloud_cdrom.go
- resource_sakuracloud_database.go
- resource_sakuracloud_database_read_replica.go
- resource_sakuracloud_disk.go
- resource_sakuracloud_dns.go
- resource_sakuracloud_dns_record.go
- resource_sakuracloud_gslb.go
- resource_sakuracloud_gslb_server.go
- resource_sakuracloud_icon.go
- resource_sakuracloud_internet.go
- resource_sakuracloud_ipv4_ptr.go
- resource_sakuracloud_loadbalancer.go
- resource_sakuracloud_loadbalancer_server.go
- resource_sakuracloud_loadbalancer_vip.go
- resource_sakuracloud_mobile_gateway.go
- resource_sakuracloud_mobile_gateway_sim_route.go
- resource_sakuracloud_mobile_gateway_static_route.go
- resource_sakuracloud_nfs.go
- resource_sakuracloud_note.go
- resource_sakuracloud_packet_filter.go
- resource_sakuracloud_packet_filter_rule.go
- resource_sakuracloud_private_host.go
- resource_sakuracloud_proxylb.go
- resource_sakuracloud_proxylb_acme.go
- resource_sakuracloud_server.go
- resource_sakuracloud_server_connector.go
- resource_sakuracloud_sim.go
- resource_sakuracloud_simple_monitor.go
- resource_sakuracloud_ssh_key.go
- resource_sakuracloud_ssh_key_gen.go
- resource_sakuracloud_subnet.go
- resource_sakuracloud_switch.go
- resource_sakuracloud_vpc_router.go
- resource_sakuracloud_vpc_router_dhcp_server.go
- resource_sakuracloud_vpc_router_dhcp_static_mapping.go
- resource_sakuracloud_vpc_router_firewall.go
- resource_sakuracloud_vpc_router_interface.go
- resource_sakuracloud_vpc_router_l2tp.go
- resource_sakuracloud_vpc_router_port_forwarding.go
- resource_sakuracloud_vpc_router_pptp.go
- resource_sakuracloud_vpc_router_site_to_site_vpn.go
- resource_sakuracloud_vpc_router_static_nat.go
- resource_sakuracloud_vpc_router_static_route.go
- resource_sakuracloud_vpc_router_user.go
- resource_sakuracloud_webaccel_certificate.go
- shutdown_handler.go
- size.go
- structure.go
- validators.go
- version.go
- vpc_router_schema.go
Click to show internal directories.
Click to hide internal directories.