go: cloud.google.com/go/storage/internal/test/conformance Index | Files

package google_cloud_conformance_storage_v1

import "cloud.google.com/go/storage/internal/test/conformance"

Index

Package Files

test.pb.go

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,
}

type ConditionalMatches Uses

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 Uses

func (*ConditionalMatches) Descriptor() ([]byte, []int)

func (*ConditionalMatches) GetExpression Uses

func (m *ConditionalMatches) GetExpression() []string

func (*ConditionalMatches) ProtoMessage Uses

func (*ConditionalMatches) ProtoMessage()

func (*ConditionalMatches) Reset Uses

func (m *ConditionalMatches) Reset()

func (*ConditionalMatches) String Uses

func (m *ConditionalMatches) String() string

func (*ConditionalMatches) XXX_DiscardUnknown Uses

func (m *ConditionalMatches) XXX_DiscardUnknown()

func (*ConditionalMatches) XXX_Marshal Uses

func (m *ConditionalMatches) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConditionalMatches) XXX_Merge Uses

func (m *ConditionalMatches) XXX_Merge(src proto.Message)

func (*ConditionalMatches) XXX_Size Uses

func (m *ConditionalMatches) XXX_Size() int

func (*ConditionalMatches) XXX_Unmarshal Uses

func (m *ConditionalMatches) XXX_Unmarshal(b []byte) error

type PolicyConditions Uses

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 Uses

func (*PolicyConditions) Descriptor() ([]byte, []int)

func (*PolicyConditions) GetContentLengthRange Uses

func (m *PolicyConditions) GetContentLengthRange() []int32

func (*PolicyConditions) GetStartsWith Uses

func (m *PolicyConditions) GetStartsWith() []string

func (*PolicyConditions) ProtoMessage Uses

func (*PolicyConditions) ProtoMessage()

func (*PolicyConditions) Reset Uses

func (m *PolicyConditions) Reset()

func (*PolicyConditions) String Uses

func (m *PolicyConditions) String() string

func (*PolicyConditions) XXX_DiscardUnknown Uses

func (m *PolicyConditions) XXX_DiscardUnknown()

func (*PolicyConditions) XXX_Marshal Uses

func (m *PolicyConditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PolicyConditions) XXX_Merge Uses

func (m *PolicyConditions) XXX_Merge(src proto.Message)

func (*PolicyConditions) XXX_Size Uses

func (m *PolicyConditions) XXX_Size() int

func (*PolicyConditions) XXX_Unmarshal Uses

func (m *PolicyConditions) XXX_Unmarshal(b []byte) error

type PolicyInput Uses

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 Uses

func (*PolicyInput) Descriptor() ([]byte, []int)

func (*PolicyInput) GetBucket Uses

func (m *PolicyInput) GetBucket() string

func (*PolicyInput) GetBucketBoundHostname Uses

func (m *PolicyInput) GetBucketBoundHostname() string

func (*PolicyInput) GetConditions Uses

func (m *PolicyInput) GetConditions() *PolicyConditions

func (*PolicyInput) GetExpiration Uses

func (m *PolicyInput) GetExpiration() int32

func (*PolicyInput) GetFields Uses

func (m *PolicyInput) GetFields() map[string]string

func (*PolicyInput) GetObject Uses

func (m *PolicyInput) GetObject() string

func (*PolicyInput) GetScheme Uses

func (m *PolicyInput) GetScheme() string

func (*PolicyInput) GetTimestamp Uses

func (m *PolicyInput) GetTimestamp() *timestamp.Timestamp

func (*PolicyInput) GetUrlStyle Uses

func (m *PolicyInput) GetUrlStyle() UrlStyle

func (*PolicyInput) ProtoMessage Uses

func (*PolicyInput) ProtoMessage()

func (*PolicyInput) Reset Uses

func (m *PolicyInput) Reset()

func (*PolicyInput) String Uses

func (m *PolicyInput) String() string

func (*PolicyInput) XXX_DiscardUnknown Uses

func (m *PolicyInput) XXX_DiscardUnknown()

func (*PolicyInput) XXX_Marshal Uses

func (m *PolicyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PolicyInput) XXX_Merge Uses

func (m *PolicyInput) XXX_Merge(src proto.Message)

func (*PolicyInput) XXX_Size Uses

func (m *PolicyInput) XXX_Size() int

func (*PolicyInput) XXX_Unmarshal Uses

func (m *PolicyInput) XXX_Unmarshal(b []byte) error

type PolicyOutput Uses

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 Uses

func (*PolicyOutput) Descriptor() ([]byte, []int)

func (*PolicyOutput) GetExpectedDecodedPolicy Uses

func (m *PolicyOutput) GetExpectedDecodedPolicy() string

func (*PolicyOutput) GetFields Uses

func (m *PolicyOutput) GetFields() map[string]string

func (*PolicyOutput) GetUrl Uses

func (m *PolicyOutput) GetUrl() string

func (*PolicyOutput) ProtoMessage Uses

func (*PolicyOutput) ProtoMessage()

func (*PolicyOutput) Reset Uses

func (m *PolicyOutput) Reset()

func (*PolicyOutput) String Uses

func (m *PolicyOutput) String() string

func (*PolicyOutput) XXX_DiscardUnknown Uses

func (m *PolicyOutput) XXX_DiscardUnknown()

func (*PolicyOutput) XXX_Marshal Uses

func (m *PolicyOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PolicyOutput) XXX_Merge Uses

func (m *PolicyOutput) XXX_Merge(src proto.Message)

func (*PolicyOutput) XXX_Size Uses

func (m *PolicyOutput) XXX_Size() int

func (*PolicyOutput) XXX_Unmarshal Uses

func (m *PolicyOutput) XXX_Unmarshal(b []byte) error

type PostPolicyV4Test Uses

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 Uses

func (*PostPolicyV4Test) Descriptor() ([]byte, []int)

func (*PostPolicyV4Test) GetDescription Uses

func (m *PostPolicyV4Test) GetDescription() string

func (*PostPolicyV4Test) GetPolicyInput Uses

func (m *PostPolicyV4Test) GetPolicyInput() *PolicyInput

func (*PostPolicyV4Test) GetPolicyOutput Uses

func (m *PostPolicyV4Test) GetPolicyOutput() *PolicyOutput

func (*PostPolicyV4Test) ProtoMessage Uses

func (*PostPolicyV4Test) ProtoMessage()

func (*PostPolicyV4Test) Reset Uses

func (m *PostPolicyV4Test) Reset()

func (*PostPolicyV4Test) String Uses

func (m *PostPolicyV4Test) String() string

func (*PostPolicyV4Test) XXX_DiscardUnknown Uses

func (m *PostPolicyV4Test) XXX_DiscardUnknown()

func (*PostPolicyV4Test) XXX_Marshal Uses

func (m *PostPolicyV4Test) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PostPolicyV4Test) XXX_Merge Uses

func (m *PostPolicyV4Test) XXX_Merge(src proto.Message)

func (*PostPolicyV4Test) XXX_Size Uses

func (m *PostPolicyV4Test) XXX_Size() int

func (*PostPolicyV4Test) XXX_Unmarshal Uses

func (m *PostPolicyV4Test) XXX_Unmarshal(b []byte) error

type SigningV4Test Uses

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 Uses

func (*SigningV4Test) Descriptor() ([]byte, []int)

func (*SigningV4Test) GetBucket Uses

func (m *SigningV4Test) GetBucket() string

func (*SigningV4Test) GetBucketBoundHostname Uses

func (m *SigningV4Test) GetBucketBoundHostname() string

func (*SigningV4Test) GetDescription Uses

func (m *SigningV4Test) GetDescription() string

func (*SigningV4Test) GetExpectedCanonicalRequest Uses

func (m *SigningV4Test) GetExpectedCanonicalRequest() string

func (*SigningV4Test) GetExpectedStringToSign Uses

func (m *SigningV4Test) GetExpectedStringToSign() string

func (*SigningV4Test) GetExpectedUrl Uses

func (m *SigningV4Test) GetExpectedUrl() string

func (*SigningV4Test) GetExpiration Uses

func (m *SigningV4Test) GetExpiration() int64

func (*SigningV4Test) GetFileName Uses

func (m *SigningV4Test) GetFileName() string

func (*SigningV4Test) GetHeaders Uses

func (m *SigningV4Test) GetHeaders() map[string]string

func (*SigningV4Test) GetMethod Uses

func (m *SigningV4Test) GetMethod() string

func (*SigningV4Test) GetObject Uses

func (m *SigningV4Test) GetObject() string

func (*SigningV4Test) GetQueryParameters Uses

func (m *SigningV4Test) GetQueryParameters() map[string]string

func (*SigningV4Test) GetScheme Uses

func (m *SigningV4Test) GetScheme() string

func (*SigningV4Test) GetTimestamp Uses

func (m *SigningV4Test) GetTimestamp() *timestamp.Timestamp

func (*SigningV4Test) GetUrlStyle Uses

func (m *SigningV4Test) GetUrlStyle() UrlStyle

func (*SigningV4Test) ProtoMessage Uses

func (*SigningV4Test) ProtoMessage()

func (*SigningV4Test) Reset Uses

func (m *SigningV4Test) Reset()

func (*SigningV4Test) String Uses

func (m *SigningV4Test) String() string

func (*SigningV4Test) XXX_DiscardUnknown Uses

func (m *SigningV4Test) XXX_DiscardUnknown()

func (*SigningV4Test) XXX_Marshal Uses

func (m *SigningV4Test) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SigningV4Test) XXX_Merge Uses

func (m *SigningV4Test) XXX_Merge(src proto.Message)

func (*SigningV4Test) XXX_Size Uses

func (m *SigningV4Test) XXX_Size() int

func (*SigningV4Test) XXX_Unmarshal Uses

func (m *SigningV4Test) XXX_Unmarshal(b []byte) error

type TestFile Uses

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 Uses

func (*TestFile) Descriptor() ([]byte, []int)

func (*TestFile) GetPostPolicyV4Tests Uses

func (m *TestFile) GetPostPolicyV4Tests() []*PostPolicyV4Test

func (*TestFile) GetSigningV4Tests Uses

func (m *TestFile) GetSigningV4Tests() []*SigningV4Test

func (*TestFile) ProtoMessage Uses

func (*TestFile) ProtoMessage()

func (*TestFile) Reset Uses

func (m *TestFile) Reset()

func (*TestFile) String Uses

func (m *TestFile) String() string

func (*TestFile) XXX_DiscardUnknown Uses

func (m *TestFile) XXX_DiscardUnknown()

func (*TestFile) XXX_Marshal Uses

func (m *TestFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestFile) XXX_Merge Uses

func (m *TestFile) XXX_Merge(src proto.Message)

func (*TestFile) XXX_Size Uses

func (m *TestFile) XXX_Size() int

func (*TestFile) XXX_Unmarshal Uses

func (m *TestFile) XXX_Unmarshal(b []byte) error

type UrlStyle Uses

type UrlStyle int32
const (
    UrlStyle_PATH_STYLE            UrlStyle = 0
    UrlStyle_VIRTUAL_HOSTED_STYLE  UrlStyle = 1
    UrlStyle_BUCKET_BOUND_HOSTNAME UrlStyle = 2
)

func (UrlStyle) EnumDescriptor Uses

func (UrlStyle) EnumDescriptor() ([]byte, []int)

func (UrlStyle) String Uses

func (x UrlStyle) String() string

Package google_cloud_conformance_storage_v1 imports 4 packages (graph). Updated 2020-09-17. Refresh now. Tools for package owners.