Documentation ¶
Index ¶
- func NewReceiptHandle() string
- func NewSQSMessageFromFile(path string) (*sqs.Message, error)
- type AccessLog
- type StubBigQuery
- type StubBigQueryResponseDestinationTable
- type StubBigQueryResponseErrorProto
- type StubBigQueryResponseJob
- type StubBigQueryResponseJobConfiguration
- type StubBigQueryResponseJobConfigurationLoad
- type StubBigQueryResponseJobReference
- type StubBigQueryResponseJobStatus
- type StubGCS
- type StubGCSGetBucketResponse
- type StubS3
- type StubSQS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReceiptHandle ¶ added in v0.3.0
func NewReceiptHandle() string
Types ¶
type AccessLog ¶
type StubBigQuery ¶
type StubBigQuery struct {
// contains filtered or unexported fields
}
func NewStubBigQuery ¶
func NewStubBigQuery() *StubBigQuery
func (*StubBigQuery) LoadedData ¶ added in v0.1.2
func (s *StubBigQuery) LoadedData() map[string][]string
type StubBigQueryResponseDestinationTable ¶ added in v0.1.2
type StubBigQueryResponseDestinationTable struct { ProjectID string `json:"projectId"` DatasetID string `json:"datasetId"` TableID string `json:"tableId"` }
as https://cloud.google.com/bigquery/docs/reference/rest/v2/TableReference?hl=ja
func (*StubBigQueryResponseDestinationTable) String ¶ added in v0.1.2
func (t *StubBigQueryResponseDestinationTable) String() string
type StubBigQueryResponseErrorProto ¶
type StubBigQueryResponseErrorProto struct { Reason string `json:"reason"` Location string `json:"location"` DebugInfo string `json:"debugInfo"` Message string `json:"message"` }
as https://cloud.google.com/bigquery/docs/reference/rest/v2/ErrorProto?hl=ja
type StubBigQueryResponseJob ¶
type StubBigQueryResponseJob struct { Kind string `json:"kind"` Etag string `json:"etag"` ID string `json:"id"` SelfLink string `json:"selfLink"` UserEmail string `json:"user_email"` Configuration StubBigQueryResponseJobConfiguration `json:"configuration"` JobReference *StubBigQueryResponseJobReference `json:"jobReference"` Statistics interface{} `json:"statistics"` Status *StubBigQueryResponseJobStatus `json:"status"` }
as https://cloud.google.com/bigquery/docs/reference/rest/v2/Job?hl=ja
type StubBigQueryResponseJobConfiguration ¶
type StubBigQueryResponseJobConfiguration struct { JobType string `json:"jobType"` Query interface{} `json:"query,omitempty"` Load *StubBigQueryResponseJobConfigurationLoad `json:"load,omitempty"` Copy interface{} `json:"copy,omitempty"` Extract interface{} `json:"extract,omitempty"` DryRun bool `json:"dryRun"` JobTimeoutMs string `json:"jobTimeoutMs,omitempty"` Labels map[string]string `json:"labels,omitempty"` }
as https://cloud.google.com/bigquery/docs/reference/rest/v2/Job?hl=ja#JobConfiguration
type StubBigQueryResponseJobConfigurationLoad ¶
type StubBigQueryResponseJobConfigurationLoad struct { SourceUris []string `json:"sourceUris"` Schema interface{} `json:"schema"` DestinationTable *StubBigQueryResponseDestinationTable `json:"destinationTable"` DestinationTableProperties interface{} `json:"destinationTableProperties"` CreateDisposition string `json:"createDisposition"` WriteDisposition string `json:"writeDisposition"` NullMarker string `json:"nullMarker"` FieldDelimiter string `json:"fieldDelimiter"` SkipLeadingRows int `json:"skipLeadingRows"` Encoding string `json:"encoding"` Quote string `json:"quote"` MaxBadRecords int `json:"maxBadRecords"` SchemaInlineFormat string `json:"schemaInlineFormat"` SchemaInline string `json:"schemaInline"` AllowQuotedNewlines bool `json:"allowQuotedNewlines"` SourceFormat string `json:"sourceFormat"` AllowJaggedRows bool `json:"allowJaggedRows"` IgnoreUnknownValues bool `json:"ignoreUnknownValues"` ProjectionFields []string `json:"projectionFields"` Autodetect bool `json:"autodetect"` SchemaUpdateOptions []string `json:"schemaUpdateOptions"` TimePartitioning interface{} `json:"timePartitioning"` RangePartitioning interface{} `json:"rangePartitioning"` Clustering interface{} `json:"clustering"` DestinationEncryptionConfiguration interface{} `json:"destinationEncryptionConfiguration"` UseAvroLogicalTypes bool `json:"useAvroLogicalTypes"` HivePartitioningOptions interface{} `json:"hivePartitioningOptions"` }
as https://cloud.google.com/bigquery/docs/reference/rest/v2/Job?hl=ja#JobConfigurationLoad
type StubBigQueryResponseJobReference ¶
type StubBigQueryResponseJobReference struct { ProjectID string `json:"projectId"` JobID string `json:"jobId"` Location *string `json:"location"` }
as https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference?hl=ja
type StubBigQueryResponseJobStatus ¶
type StubBigQueryResponseJobStatus struct { ErrorResult *StubBigQueryResponseErrorProto `json:"errorResult"` Errors []StubBigQueryResponseErrorProto `json:"errors"` //Output only. Running state of the job. Valid states include 'PENDING', 'RUNNING', and 'DONE'. State string `json:"state"` }
as https://cloud.google.com/bigquery/docs/reference/rest/v2/Job?hl=ja#JobStatus
type StubGCS ¶
type StubGCS struct {
// contains filtered or unexported fields
}
func NewStubGCS ¶
func NewStubGCS() *StubGCS
type StubSQS ¶
type StubSQS struct { NumberOfMessagesReceived int NumberOfMessagesDeleted int // contains filtered or unexported fields }
func NewStubSQS ¶
func NewStubSQS() *StubSQS
func (*StubSQS) ClearMetrix ¶ added in v0.3.1
func (s *StubSQS) ClearMetrix()
func (*StubSQS) SendMessagesFromFile ¶ added in v0.3.0
func (*StubSQS) SetRecivedMessages ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.