utils

package
v1.0.0-preview-5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package resources contains objects that are used to gather information about Kusto resources that are used during various ingestion methods.

Index

Constants

View Source
const EstimatedCompressionFactor = 11

Variables

This section is empty.

Functions

func CompressionDiscovery

func CompressionDiscovery(fName string) ingestoptions.CompressionType

CompressionDiscovery looks at the file extension. If it is one we support, we return that CompressionType that represents that value. Otherwise we return CTNone to indicate that the file should not be compressed.

func EstimateRawDataSize

func EstimateRawDataSize(compression ingestoptions.CompressionType, fileSize int64) int64

func FetchBlobSize

func FetchBlobSize(fPath string, ctx context.Context, client *http.Client) (size int64, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL