Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UrlData ¶
type UrlData struct { JwtConfig *jwt.Config ContentMd5 string ContentType string HttpMethod string Expires int HttpHeaders map[string]string Path string }
UrlData stores the values required to create a Signed Url
func (*UrlData) EncodedSignature ¶
EncodedSignature returns the Signature() after base64 encoding and url escaping
func (*UrlData) SignedUrl ¶
SignedUrl constructs the final signed URL a client can use to retrieve storage object
func (*UrlData) SigningString ¶
SigningString creates a string representation of the UrlData in a form ready for signing: see https://cloud.google.com/storage/docs/access-control/create-signed-urls-program Example output: ------------------- GET
1388534400 bucket/objectname -------------------
Source Files ¶
- data_source_compute_lb_ip_ranges.go
- data_source_container_registry_image.go
- data_source_container_registry_repository.go
- data_source_dns_managed_zone.go
- data_source_google_active_folder.go
- data_source_google_billing_account.go
- data_source_google_client_config.go
- data_source_google_client_openid_userinfo.go
- data_source_google_cloudfunctions_function.go
- data_source_google_composer_image_versions.go
- data_source_google_compute_address.go
- data_source_google_compute_backend_service.go
- data_source_google_compute_default_service_account.go
- data_source_google_compute_forwarding_rule.go
- data_source_google_compute_global_address.go
- data_source_google_compute_image.go
- data_source_google_compute_instance.go
- data_source_google_compute_instance_group.go
- data_source_google_compute_network.go
- data_source_google_compute_node_types.go
- data_source_google_compute_region_instance_group.go
- data_source_google_compute_regions.go
- data_source_google_compute_ssl_certificate.go
- data_source_google_compute_ssl_policy.go
- data_source_google_compute_subnetwork.go
- data_source_google_compute_vpn_gateway.go
- data_source_google_compute_zones.go
- data_source_google_container_cluster.go
- data_source_google_folder.go
- data_source_google_folder_organization_policy.go
- data_source_google_iam_policy.go
- data_source_google_iam_role.go
- data_source_google_kms_crypto_key.go
- data_source_google_kms_key_ring.go
- data_source_google_kms_secret.go
- data_source_google_netblock_ip_ranges.go
- data_source_google_organization.go
- data_source_google_project.go
- data_source_google_project_organization_policy.go
- data_source_google_project_services.go
- data_source_google_projects.go
- data_source_google_service_account.go
- data_source_google_service_account_key.go
- data_source_google_storage_bucket_object.go
- data_source_google_storage_project_service_account.go
- data_source_google_storage_transfer_project_service_account.go
- data_source_storage_object_signed_url.go
- data_source_tpu_tensorflow_versions.go
Click to show internal directories.
Click to hide internal directories.