package google_cloud_conformance_storage_v1
import "cloud.google.com/go/storage/internal/test/conformance"
Index ¶
- Variables
- type ConditionalMatches
- func (*ConditionalMatches) Descriptor() ([]byte, []int)
- func (m *ConditionalMatches) GetExpression() []string
- func (*ConditionalMatches) ProtoMessage()
- func (m *ConditionalMatches) Reset()
- func (m *ConditionalMatches) String() string
- func (m *ConditionalMatches) XXX_DiscardUnknown()
- func (m *ConditionalMatches) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConditionalMatches) XXX_Merge(src proto.Message)
- func (m *ConditionalMatches) XXX_Size() int
- func (m *ConditionalMatches) XXX_Unmarshal(b []byte) error
- type PolicyConditions
- func (*PolicyConditions) Descriptor() ([]byte, []int)
- func (m *PolicyConditions) GetContentLengthRange() []int32
- func (m *PolicyConditions) GetStartsWith() []string
- func (*PolicyConditions) ProtoMessage()
- func (m *PolicyConditions) Reset()
- func (m *PolicyConditions) String() string
- func (m *PolicyConditions) XXX_DiscardUnknown()
- func (m *PolicyConditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PolicyConditions) XXX_Merge(src proto.Message)
- func (m *PolicyConditions) XXX_Size() int
- func (m *PolicyConditions) XXX_Unmarshal(b []byte) error
- type PolicyInput
- func (*PolicyInput) Descriptor() ([]byte, []int)
- func (m *PolicyInput) GetBucket() string
- func (m *PolicyInput) GetBucketBoundHostname() string
- func (m *PolicyInput) GetConditions() *PolicyConditions
- func (m *PolicyInput) GetExpiration() int32
- func (m *PolicyInput) GetFields() map[string]string
- func (m *PolicyInput) GetObject() string
- func (m *PolicyInput) GetScheme() string
- func (m *PolicyInput) GetTimestamp() *timestamp.Timestamp
- func (m *PolicyInput) GetUrlStyle() UrlStyle
- func (*PolicyInput) ProtoMessage()
- func (m *PolicyInput) Reset()
- func (m *PolicyInput) String() string
- func (m *PolicyInput) XXX_DiscardUnknown()
- func (m *PolicyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PolicyInput) XXX_Merge(src proto.Message)
- func (m *PolicyInput) XXX_Size() int
- func (m *PolicyInput) XXX_Unmarshal(b []byte) error
- type PolicyOutput
- func (*PolicyOutput) Descriptor() ([]byte, []int)
- func (m *PolicyOutput) GetExpectedDecodedPolicy() string
- func (m *PolicyOutput) GetFields() map[string]string
- func (m *PolicyOutput) GetUrl() string
- func (*PolicyOutput) ProtoMessage()
- func (m *PolicyOutput) Reset()
- func (m *PolicyOutput) String() string
- func (m *PolicyOutput) XXX_DiscardUnknown()
- func (m *PolicyOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PolicyOutput) XXX_Merge(src proto.Message)
- func (m *PolicyOutput) XXX_Size() int
- func (m *PolicyOutput) XXX_Unmarshal(b []byte) error
- type PostPolicyV4Test
- func (*PostPolicyV4Test) Descriptor() ([]byte, []int)
- func (m *PostPolicyV4Test) GetDescription() string
- func (m *PostPolicyV4Test) GetPolicyInput() *PolicyInput
- func (m *PostPolicyV4Test) GetPolicyOutput() *PolicyOutput
- func (*PostPolicyV4Test) ProtoMessage()
- func (m *PostPolicyV4Test) Reset()
- func (m *PostPolicyV4Test) String() string
- func (m *PostPolicyV4Test) XXX_DiscardUnknown()
- func (m *PostPolicyV4Test) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PostPolicyV4Test) XXX_Merge(src proto.Message)
- func (m *PostPolicyV4Test) XXX_Size() int
- func (m *PostPolicyV4Test) XXX_Unmarshal(b []byte) error
- type SigningV4Test
- func (*SigningV4Test) Descriptor() ([]byte, []int)
- func (m *SigningV4Test) GetBucket() string
- func (m *SigningV4Test) GetBucketBoundHostname() string
- func (m *SigningV4Test) GetDescription() string
- func (m *SigningV4Test) GetExpectedCanonicalRequest() string
- func (m *SigningV4Test) GetExpectedStringToSign() string
- func (m *SigningV4Test) GetExpectedUrl() string
- func (m *SigningV4Test) GetExpiration() int64
- func (m *SigningV4Test) GetFileName() string
- func (m *SigningV4Test) GetHeaders() map[string]string
- func (m *SigningV4Test) GetMethod() string
- func (m *SigningV4Test) GetObject() string
- func (m *SigningV4Test) GetQueryParameters() map[string]string
- func (m *SigningV4Test) GetScheme() string
- func (m *SigningV4Test) GetTimestamp() *timestamp.Timestamp
- func (m *SigningV4Test) GetUrlStyle() UrlStyle
- func (*SigningV4Test) ProtoMessage()
- func (m *SigningV4Test) Reset()
- func (m *SigningV4Test) String() string
- func (m *SigningV4Test) XXX_DiscardUnknown()
- func (m *SigningV4Test) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SigningV4Test) XXX_Merge(src proto.Message)
- func (m *SigningV4Test) XXX_Size() int
- func (m *SigningV4Test) XXX_Unmarshal(b []byte) error
- type TestFile
- func (*TestFile) Descriptor() ([]byte, []int)
- func (m *TestFile) GetPostPolicyV4Tests() []*PostPolicyV4Test
- func (m *TestFile) GetSigningV4Tests() []*SigningV4Test
- func (*TestFile) ProtoMessage()
- func (m *TestFile) Reset()
- func (m *TestFile) String() string
- func (m *TestFile) XXX_DiscardUnknown()
- func (m *TestFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestFile) XXX_Merge(src proto.Message)
- func (m *TestFile) XXX_Size() int
- func (m *TestFile) XXX_Unmarshal(b []byte) error
- type UrlStyle
Variables ¶
var UrlStyle_name = map[int32]string{ 0: "PATH_STYLE", 1: "VIRTUAL_HOSTED_STYLE", 2: "BUCKET_BOUND_HOSTNAME", }
var UrlStyle_value = map[string]int32{ "PATH_STYLE": 0, "VIRTUAL_HOSTED_STYLE": 1, "BUCKET_BOUND_HOSTNAME": 2, }
Types ¶
type ConditionalMatches ¶
type ConditionalMatches struct { Expression []string `protobuf:"bytes,1,rep,name=expression,proto3" json:"expression,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConditionalMatches) Descriptor ¶
func (*ConditionalMatches) Descriptor() ([]byte, []int)
func (*ConditionalMatches) GetExpression ¶
func (m *ConditionalMatches) GetExpression() []string
func (*ConditionalMatches) ProtoMessage ¶
func (*ConditionalMatches) ProtoMessage()
func (*ConditionalMatches) Reset ¶
func (m *ConditionalMatches) Reset()
func (*ConditionalMatches) String ¶
func (m *ConditionalMatches) String() string
func (*ConditionalMatches) XXX_DiscardUnknown ¶
func (m *ConditionalMatches) XXX_DiscardUnknown()
func (*ConditionalMatches) XXX_Marshal ¶
func (m *ConditionalMatches) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConditionalMatches) XXX_Merge ¶
func (m *ConditionalMatches) XXX_Merge(src proto.Message)
func (*ConditionalMatches) XXX_Size ¶
func (m *ConditionalMatches) XXX_Size() int
func (*ConditionalMatches) XXX_Unmarshal ¶
func (m *ConditionalMatches) XXX_Unmarshal(b []byte) error
type PolicyConditions ¶
type PolicyConditions struct { ContentLengthRange []int32 `protobuf:"varint,1,rep,packed,name=contentLengthRange,proto3" json:"contentLengthRange,omitempty"` StartsWith []string `protobuf:"bytes,2,rep,name=startsWith,proto3" json:"startsWith,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PolicyConditions) Descriptor ¶
func (*PolicyConditions) Descriptor() ([]byte, []int)
func (*PolicyConditions) GetContentLengthRange ¶
func (m *PolicyConditions) GetContentLengthRange() []int32
func (*PolicyConditions) GetStartsWith ¶
func (m *PolicyConditions) GetStartsWith() []string
func (*PolicyConditions) ProtoMessage ¶
func (*PolicyConditions) ProtoMessage()
func (*PolicyConditions) Reset ¶
func (m *PolicyConditions) Reset()
func (*PolicyConditions) String ¶
func (m *PolicyConditions) String() string
func (*PolicyConditions) XXX_DiscardUnknown ¶
func (m *PolicyConditions) XXX_DiscardUnknown()
func (*PolicyConditions) XXX_Marshal ¶
func (m *PolicyConditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PolicyConditions) XXX_Merge ¶
func (m *PolicyConditions) XXX_Merge(src proto.Message)
func (*PolicyConditions) XXX_Size ¶
func (m *PolicyConditions) XXX_Size() int
func (*PolicyConditions) XXX_Unmarshal ¶
func (m *PolicyConditions) XXX_Unmarshal(b []byte) error
type PolicyInput ¶
type PolicyInput struct { Scheme string `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty"` UrlStyle UrlStyle `protobuf:"varint,2,opt,name=urlStyle,proto3,enum=google.cloud.conformance.storage.v1.UrlStyle" json:"urlStyle,omitempty"` BucketBoundHostname string `protobuf:"bytes,3,opt,name=bucketBoundHostname,proto3" json:"bucketBoundHostname,omitempty"` Bucket string `protobuf:"bytes,4,opt,name=bucket,proto3" json:"bucket,omitempty"` Object string `protobuf:"bytes,5,opt,name=object,proto3" json:"object,omitempty"` Expiration int32 `protobuf:"varint,6,opt,name=expiration,proto3" json:"expiration,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Fields map[string]string `protobuf:"bytes,8,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` Conditions *PolicyConditions `protobuf:"bytes,9,opt,name=conditions,proto3" json:"conditions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PolicyInput) Descriptor ¶
func (*PolicyInput) Descriptor() ([]byte, []int)
func (*PolicyInput) GetBucket ¶
func (m *PolicyInput) GetBucket() string
func (*PolicyInput) GetBucketBoundHostname ¶
func (m *PolicyInput) GetBucketBoundHostname() string
func (*PolicyInput) GetConditions ¶
func (m *PolicyInput) GetConditions() *PolicyConditions
func (*PolicyInput) GetExpiration ¶
func (m *PolicyInput) GetExpiration() int32
func (*PolicyInput) GetFields ¶
func (m *PolicyInput) GetFields() map[string]string
func (*PolicyInput) GetObject ¶
func (m *PolicyInput) GetObject() string
func (*PolicyInput) GetScheme ¶
func (m *PolicyInput) GetScheme() string
func (*PolicyInput) GetTimestamp ¶
func (m *PolicyInput) GetTimestamp() *timestamp.Timestamp
func (*PolicyInput) GetUrlStyle ¶
func (m *PolicyInput) GetUrlStyle() UrlStyle
func (*PolicyInput) ProtoMessage ¶
func (*PolicyInput) ProtoMessage()
func (*PolicyInput) Reset ¶
func (m *PolicyInput) Reset()
func (*PolicyInput) String ¶
func (m *PolicyInput) String() string
func (*PolicyInput) XXX_DiscardUnknown ¶
func (m *PolicyInput) XXX_DiscardUnknown()
func (*PolicyInput) XXX_Marshal ¶
func (m *PolicyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PolicyInput) XXX_Merge ¶
func (m *PolicyInput) XXX_Merge(src proto.Message)
func (*PolicyInput) XXX_Size ¶
func (m *PolicyInput) XXX_Size() int
func (*PolicyInput) XXX_Unmarshal ¶
func (m *PolicyInput) XXX_Unmarshal(b []byte) error
type PolicyOutput ¶
type PolicyOutput struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Fields map[string]string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` ExpectedDecodedPolicy string `protobuf:"bytes,3,opt,name=expectedDecodedPolicy,proto3" json:"expectedDecodedPolicy,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PolicyOutput) Descriptor ¶
func (*PolicyOutput) Descriptor() ([]byte, []int)
func (*PolicyOutput) GetExpectedDecodedPolicy ¶
func (m *PolicyOutput) GetExpectedDecodedPolicy() string
func (*PolicyOutput) GetFields ¶
func (m *PolicyOutput) GetFields() map[string]string
func (*PolicyOutput) GetUrl ¶
func (m *PolicyOutput) GetUrl() string
func (*PolicyOutput) ProtoMessage ¶
func (*PolicyOutput) ProtoMessage()
func (*PolicyOutput) Reset ¶
func (m *PolicyOutput) Reset()
func (*PolicyOutput) String ¶
func (m *PolicyOutput) String() string
func (*PolicyOutput) XXX_DiscardUnknown ¶
func (m *PolicyOutput) XXX_DiscardUnknown()
func (*PolicyOutput) XXX_Marshal ¶
func (m *PolicyOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PolicyOutput) XXX_Merge ¶
func (m *PolicyOutput) XXX_Merge(src proto.Message)
func (*PolicyOutput) XXX_Size ¶
func (m *PolicyOutput) XXX_Size() int
func (*PolicyOutput) XXX_Unmarshal ¶
func (m *PolicyOutput) XXX_Unmarshal(b []byte) error
type PostPolicyV4Test ¶
type PostPolicyV4Test struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` PolicyInput *PolicyInput `protobuf:"bytes,2,opt,name=policyInput,proto3" json:"policyInput,omitempty"` PolicyOutput *PolicyOutput `protobuf:"bytes,3,opt,name=policyOutput,proto3" json:"policyOutput,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PostPolicyV4Test) Descriptor ¶
func (*PostPolicyV4Test) Descriptor() ([]byte, []int)
func (*PostPolicyV4Test) GetDescription ¶
func (m *PostPolicyV4Test) GetDescription() string
func (*PostPolicyV4Test) GetPolicyInput ¶
func (m *PostPolicyV4Test) GetPolicyInput() *PolicyInput
func (*PostPolicyV4Test) GetPolicyOutput ¶
func (m *PostPolicyV4Test) GetPolicyOutput() *PolicyOutput
func (*PostPolicyV4Test) ProtoMessage ¶
func (*PostPolicyV4Test) ProtoMessage()
func (*PostPolicyV4Test) Reset ¶
func (m *PostPolicyV4Test) Reset()
func (*PostPolicyV4Test) String ¶
func (m *PostPolicyV4Test) String() string
func (*PostPolicyV4Test) XXX_DiscardUnknown ¶
func (m *PostPolicyV4Test) XXX_DiscardUnknown()
func (*PostPolicyV4Test) XXX_Marshal ¶
func (m *PostPolicyV4Test) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostPolicyV4Test) XXX_Merge ¶
func (m *PostPolicyV4Test) XXX_Merge(src proto.Message)
func (*PostPolicyV4Test) XXX_Size ¶
func (m *PostPolicyV4Test) XXX_Size() int
func (*PostPolicyV4Test) XXX_Unmarshal ¶
func (m *PostPolicyV4Test) XXX_Unmarshal(b []byte) error
type SigningV4Test ¶
type SigningV4Test struct { FileName string `protobuf:"bytes,1,opt,name=fileName,proto3" json:"fileName,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Bucket string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"` Object string `protobuf:"bytes,4,opt,name=object,proto3" json:"object,omitempty"` Method string `protobuf:"bytes,5,opt,name=method,proto3" json:"method,omitempty"` Expiration int64 `protobuf:"varint,6,opt,name=expiration,proto3" json:"expiration,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` ExpectedUrl string `protobuf:"bytes,8,opt,name=expectedUrl,proto3" json:"expectedUrl,omitempty"` Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` QueryParameters map[string]string `protobuf:"bytes,10,rep,name=query_parameters,json=queryParameters,proto3" json:"query_parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` Scheme string `protobuf:"bytes,11,opt,name=scheme,proto3" json:"scheme,omitempty"` UrlStyle UrlStyle `protobuf:"varint,12,opt,name=urlStyle,proto3,enum=google.cloud.conformance.storage.v1.UrlStyle" json:"urlStyle,omitempty"` BucketBoundHostname string `protobuf:"bytes,13,opt,name=bucketBoundHostname,proto3" json:"bucketBoundHostname,omitempty"` ExpectedCanonicalRequest string `protobuf:"bytes,14,opt,name=expectedCanonicalRequest,proto3" json:"expectedCanonicalRequest,omitempty"` ExpectedStringToSign string `protobuf:"bytes,15,opt,name=expectedStringToSign,proto3" json:"expectedStringToSign,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SigningV4Test) Descriptor ¶
func (*SigningV4Test) Descriptor() ([]byte, []int)
func (*SigningV4Test) GetBucket ¶
func (m *SigningV4Test) GetBucket() string
func (*SigningV4Test) GetBucketBoundHostname ¶
func (m *SigningV4Test) GetBucketBoundHostname() string
func (*SigningV4Test) GetDescription ¶
func (m *SigningV4Test) GetDescription() string
func (*SigningV4Test) GetExpectedCanonicalRequest ¶
func (m *SigningV4Test) GetExpectedCanonicalRequest() string
func (*SigningV4Test) GetExpectedStringToSign ¶
func (m *SigningV4Test) GetExpectedStringToSign() string
func (*SigningV4Test) GetExpectedUrl ¶
func (m *SigningV4Test) GetExpectedUrl() string
func (*SigningV4Test) GetExpiration ¶
func (m *SigningV4Test) GetExpiration() int64
func (*SigningV4Test) GetFileName ¶
func (m *SigningV4Test) GetFileName() string
func (*SigningV4Test) GetHeaders ¶
func (m *SigningV4Test) GetHeaders() map[string]string
func (*SigningV4Test) GetMethod ¶
func (m *SigningV4Test) GetMethod() string
func (*SigningV4Test) GetObject ¶
func (m *SigningV4Test) GetObject() string
func (*SigningV4Test) GetQueryParameters ¶
func (m *SigningV4Test) GetQueryParameters() map[string]string
func (*SigningV4Test) GetScheme ¶
func (m *SigningV4Test) GetScheme() string
func (*SigningV4Test) GetTimestamp ¶
func (m *SigningV4Test) GetTimestamp() *timestamp.Timestamp
func (*SigningV4Test) GetUrlStyle ¶
func (m *SigningV4Test) GetUrlStyle() UrlStyle
func (*SigningV4Test) ProtoMessage ¶
func (*SigningV4Test) ProtoMessage()
func (*SigningV4Test) Reset ¶
func (m *SigningV4Test) Reset()
func (*SigningV4Test) String ¶
func (m *SigningV4Test) String() string
func (*SigningV4Test) XXX_DiscardUnknown ¶
func (m *SigningV4Test) XXX_DiscardUnknown()
func (*SigningV4Test) XXX_Marshal ¶
func (m *SigningV4Test) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SigningV4Test) XXX_Merge ¶
func (m *SigningV4Test) XXX_Merge(src proto.Message)
func (*SigningV4Test) XXX_Size ¶
func (m *SigningV4Test) XXX_Size() int
func (*SigningV4Test) XXX_Unmarshal ¶
func (m *SigningV4Test) XXX_Unmarshal(b []byte) error
type TestFile ¶
type TestFile struct { SigningV4Tests []*SigningV4Test `protobuf:"bytes,1,rep,name=signing_v4_tests,json=signingV4Tests,proto3" json:"signing_v4_tests,omitempty"` PostPolicyV4Tests []*PostPolicyV4Test `protobuf:"bytes,2,rep,name=post_policy_v4_tests,json=postPolicyV4Tests,proto3" json:"post_policy_v4_tests,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TestFile) Descriptor ¶
func (*TestFile) GetPostPolicyV4Tests ¶
func (m *TestFile) GetPostPolicyV4Tests() []*PostPolicyV4Test
func (*TestFile) GetSigningV4Tests ¶
func (m *TestFile) GetSigningV4Tests() []*SigningV4Test
func (*TestFile) ProtoMessage ¶
func (*TestFile) ProtoMessage()
func (*TestFile) Reset ¶
func (m *TestFile) Reset()
func (*TestFile) String ¶
func (*TestFile) XXX_DiscardUnknown ¶
func (m *TestFile) XXX_DiscardUnknown()
func (*TestFile) XXX_Marshal ¶
func (*TestFile) XXX_Merge ¶
func (*TestFile) XXX_Size ¶
func (*TestFile) XXX_Unmarshal ¶
type UrlStyle ¶
type UrlStyle int32
const ( UrlStyle_PATH_STYLE UrlStyle = 0 UrlStyle_VIRTUAL_HOSTED_STYLE UrlStyle = 1 UrlStyle_BUCKET_BOUND_HOSTNAME UrlStyle = 2 )
func (UrlStyle) EnumDescriptor ¶
func (UrlStyle) String ¶
Source Files ¶
test.pb.go
- Version
- v1.10.0
- Published
- Jun 18, 2020
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 2 hours ago –
Tools for package owners.