Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheOption ¶
type CacheOption func(opt *cacheOptions)
func WithGzip ¶
func WithGzip() CacheOption
type CloudStorageCache ¶
type CloudStorageCache struct {
// contains filtered or unexported fields
}
func NewCloudStorageCache ¶
func NewCloudStorageCache(id model.JobID, bucket string, prefix string, client interfaces.CloudStorageClient, options ...CacheOption) *CloudStorageCache
func (*CloudStorageCache) NewReader ¶
func (x *CloudStorageCache) NewReader(ctx context.Context, ID model.QueryID) (io.ReadCloser, error)
func (*CloudStorageCache) NewWriter ¶
func (x *CloudStorageCache) NewWriter(ctx context.Context, ID model.QueryID) (io.WriteCloser, error)
func (*CloudStorageCache) String ¶
func (x *CloudStorageCache) String() string
type FileCache ¶
type FileCache struct {
// contains filtered or unexported fields
}
func NewFileCache ¶
type NotifyPubSub ¶
type NotifyPubSub struct {
// contains filtered or unexported fields
}
func NewNotifyPubSub ¶
func NewNotifyPubSub(client interfaces.PubSubClient, topic string) *NotifyPubSub
type NotifyWriter ¶
type NotifyWriter struct {
// contains filtered or unexported fields
}
func NewNotifyWriter ¶
func NewNotifyWriter(w io.Writer) *NotifyWriter
type Policy ¶
type Policy struct {
// contains filtered or unexported fields
}
func NewPolicy ¶
func NewPolicy(client interfaces.PolicyClient, selector model.PolicySelector) (*Policy, error)
func (*Policy) Client ¶
func (x *Policy) Client() interfaces.PolicyClient
func (*Policy) MetadataSet ¶
func (x *Policy) MetadataSet() model.PolicyMetadataSet
Click to show internal directories.
Click to hide internal directories.