filesystem

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package filesystem implements the Azure ARM Filesystem service API version 2015-10-01-preview.

Creates an Azure Data Lake Store filesystem client.

Index

Constants

View Source
const (
	// DefaultAdlsFileSystemDNSSuffix is the default value for adls file system dns suffix
	DefaultAdlsFileSystemDNSSuffix = "azuredatalakestore.net"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type ACLStatus

type ACLStatus struct {
	// Entries - the list of ACLSpec entries on a file or directory.
	Entries *[]string `json:"entries,omitempty"`
	// Group - the group owner, an AAD Object ID.
	Group *string `json:"group,omitempty"`
	// Owner - the user owner, an AAD Object ID.
	Owner *string `json:"owner,omitempty"`
	// Permission - The octal representation of the unnamed user, mask and other permissions.
	Permission *int32 `json:"permission,omitempty"`
	// StickyBit - READ-ONLY; the indicator of whether the sticky bit is on or off.
	StickyBit *bool `json:"stickyBit,omitempty"`
}

ACLStatus data Lake Store file or directory Access Control List information.

func (ACLStatus) MarshalJSON

func (as ACLStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ACLStatus.

type ACLStatusResult

type ACLStatusResult struct {
	autorest.Response `json:"-"`
	// ACLStatus - the AclStatus object for a given file or directory.
	ACLStatus *ACLStatus `json:"AclStatus,omitempty"`
}

ACLStatusResult data Lake Store file or directory Access Control List information.

type AdlsAccessControlException

type AdlsAccessControlException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsAccessControlException a WebHDFS exception thrown indicating that access is denied due to insufficient permissions. Thrown when a 403 error response code is returned (forbidden).

func (AdlsAccessControlException) AsAdlsAccessControlException

func (aace AdlsAccessControlException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsBadOffsetException

func (aace AdlsAccessControlException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsFileAlreadyExistsException

func (aace AdlsAccessControlException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsFileNotFoundException

func (aace AdlsAccessControlException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsIOException

func (aace AdlsAccessControlException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsIllegalArgumentException

func (aace AdlsAccessControlException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsRemoteException

func (aace AdlsAccessControlException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsRuntimeException

func (aace AdlsAccessControlException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsSecurityException

func (aace AdlsAccessControlException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsUnsupportedOperationException

func (aace AdlsAccessControlException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsBasicAdlsRemoteException

func (aace AdlsAccessControlException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) MarshalJSON

func (aace AdlsAccessControlException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsAccessControlException.

type AdlsBadOffsetException

type AdlsBadOffsetException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsBadOffsetException a WebHDFS exception thrown indicating the append or read is from a bad offset. Thrown when a 400 error response code is returned for append and open operations (Bad request).

func (AdlsBadOffsetException) AsAdlsAccessControlException

func (aboe AdlsBadOffsetException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsBadOffsetException

func (aboe AdlsBadOffsetException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsFileAlreadyExistsException

func (aboe AdlsBadOffsetException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsFileNotFoundException

func (aboe AdlsBadOffsetException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsIOException

func (aboe AdlsBadOffsetException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsIllegalArgumentException

func (aboe AdlsBadOffsetException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsRemoteException

func (aboe AdlsBadOffsetException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsRuntimeException

func (aboe AdlsBadOffsetException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsSecurityException

func (aboe AdlsBadOffsetException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsUnsupportedOperationException

func (aboe AdlsBadOffsetException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsBasicAdlsRemoteException

func (aboe AdlsBadOffsetException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) MarshalJSON

func (aboe AdlsBadOffsetException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsBadOffsetException.

type AdlsError

type AdlsError struct {
	// RemoteException - READ-ONLY; the object representing the actual WebHDFS exception being returned.
	RemoteException BasicAdlsRemoteException `json:"RemoteException,omitempty"`
}

AdlsError data Lake Store filesystem error containing a specific WebHDFS exception.

func (AdlsError) MarshalJSON

func (ae AdlsError) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsError.

func (*AdlsError) UnmarshalJSON

func (ae *AdlsError) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AdlsError struct.

type AdlsFileAlreadyExistsException

type AdlsFileAlreadyExistsException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsFileAlreadyExistsException a WebHDFS exception thrown indicating the file or folder already exists. Thrown when a 403 error response code is returned (forbidden).

func (AdlsFileAlreadyExistsException) AsAdlsAccessControlException

func (afaee AdlsFileAlreadyExistsException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsBadOffsetException

func (afaee AdlsFileAlreadyExistsException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsFileAlreadyExistsException

func (afaee AdlsFileAlreadyExistsException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsFileNotFoundException

func (afaee AdlsFileAlreadyExistsException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsIOException

func (afaee AdlsFileAlreadyExistsException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsIllegalArgumentException

func (afaee AdlsFileAlreadyExistsException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsRemoteException

func (afaee AdlsFileAlreadyExistsException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsRuntimeException

func (afaee AdlsFileAlreadyExistsException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsSecurityException

func (afaee AdlsFileAlreadyExistsException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsUnsupportedOperationException

func (afaee AdlsFileAlreadyExistsException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsBasicAdlsRemoteException

func (afaee AdlsFileAlreadyExistsException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) MarshalJSON

func (afaee AdlsFileAlreadyExistsException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsFileAlreadyExistsException.

type AdlsFileNotFoundException

type AdlsFileNotFoundException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsFileNotFoundException a WebHDFS exception thrown indicating the file or folder could not be found. Thrown when a 404 error response code is returned (not found).

func (AdlsFileNotFoundException) AsAdlsAccessControlException

func (afnfe AdlsFileNotFoundException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsBadOffsetException

func (afnfe AdlsFileNotFoundException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsFileAlreadyExistsException

func (afnfe AdlsFileNotFoundException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsFileNotFoundException

func (afnfe AdlsFileNotFoundException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsIOException

func (afnfe AdlsFileNotFoundException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsIllegalArgumentException

func (afnfe AdlsFileNotFoundException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsRemoteException

func (afnfe AdlsFileNotFoundException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsRuntimeException

func (afnfe AdlsFileNotFoundException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsSecurityException

func (afnfe AdlsFileNotFoundException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsUnsupportedOperationException

func (afnfe AdlsFileNotFoundException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsBasicAdlsRemoteException

func (afnfe AdlsFileNotFoundException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) MarshalJSON

func (afnfe AdlsFileNotFoundException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsFileNotFoundException.

type AdlsIOException

type AdlsIOException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsIOException a WebHDFS exception thrown indicating there was an IO (read or write) error. Thrown when a 403 error response code is returned (forbidden).

func (AdlsIOException) AsAdlsAccessControlException

func (aie AdlsIOException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsBadOffsetException

func (aie AdlsIOException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsFileAlreadyExistsException

func (aie AdlsIOException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsFileNotFoundException

func (aie AdlsIOException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsIOException

func (aie AdlsIOException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsIllegalArgumentException

func (aie AdlsIOException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsRemoteException

func (aie AdlsIOException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsRuntimeException

func (aie AdlsIOException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsSecurityException

func (aie AdlsIOException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsUnsupportedOperationException

func (aie AdlsIOException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsBasicAdlsRemoteException

func (aie AdlsIOException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) MarshalJSON

func (aie AdlsIOException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsIOException.

type AdlsIllegalArgumentException

type AdlsIllegalArgumentException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsIllegalArgumentException a WebHDFS exception thrown indicating that one more arguments is incorrect. Thrown when a 400 error response code is returned (bad request).

func (AdlsIllegalArgumentException) AsAdlsAccessControlException

func (aiae AdlsIllegalArgumentException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsBadOffsetException

func (aiae AdlsIllegalArgumentException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsFileAlreadyExistsException

func (aiae AdlsIllegalArgumentException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsFileNotFoundException

func (aiae AdlsIllegalArgumentException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsIOException

func (aiae AdlsIllegalArgumentException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsIllegalArgumentException

func (aiae AdlsIllegalArgumentException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsRemoteException

func (aiae AdlsIllegalArgumentException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsRuntimeException

func (aiae AdlsIllegalArgumentException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsSecurityException

func (aiae AdlsIllegalArgumentException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsUnsupportedOperationException

func (aiae AdlsIllegalArgumentException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsBasicAdlsRemoteException

func (aiae AdlsIllegalArgumentException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) MarshalJSON

func (aiae AdlsIllegalArgumentException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsIllegalArgumentException.

type AdlsRemoteException

type AdlsRemoteException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsRemoteException data Lake Store filesystem exception based on the WebHDFS definition for RemoteExceptions.

func (AdlsRemoteException) AsAdlsAccessControlException

func (are AdlsRemoteException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsBadOffsetException

func (are AdlsRemoteException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsFileAlreadyExistsException

func (are AdlsRemoteException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsFileNotFoundException

func (are AdlsRemoteException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsIOException

func (are AdlsRemoteException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsIllegalArgumentException

func (are AdlsRemoteException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsRemoteException

func (are AdlsRemoteException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsRuntimeException

func (are AdlsRemoteException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsSecurityException

func (are AdlsRemoteException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsUnsupportedOperationException

func (are AdlsRemoteException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsBasicAdlsRemoteException

func (are AdlsRemoteException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) MarshalJSON

func (are AdlsRemoteException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsRemoteException.

type AdlsRuntimeException

type AdlsRuntimeException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsRuntimeException a WebHDFS exception thrown when an unexpected error occurs during an operation. Thrown when a 500 error response code is returned (Internal server error).

func (AdlsRuntimeException) AsAdlsAccessControlException

func (are AdlsRuntimeException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsBadOffsetException

func (are AdlsRuntimeException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsFileAlreadyExistsException

func (are AdlsRuntimeException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsFileNotFoundException

func (are AdlsRuntimeException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsIOException

func (are AdlsRuntimeException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsIllegalArgumentException

func (are AdlsRuntimeException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsRemoteException

func (are AdlsRuntimeException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsRuntimeException

func (are AdlsRuntimeException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsSecurityException

func (are AdlsRuntimeException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsUnsupportedOperationException

func (are AdlsRuntimeException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsBasicAdlsRemoteException

func (are AdlsRuntimeException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) MarshalJSON

func (are AdlsRuntimeException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsRuntimeException.

type AdlsSecurityException

type AdlsSecurityException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsSecurityException a WebHDFS exception thrown indicating that access is denied. Thrown when a 401 error response code is returned (Unauthorized).

func (AdlsSecurityException) AsAdlsAccessControlException

func (ase AdlsSecurityException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsBadOffsetException

func (ase AdlsSecurityException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsFileAlreadyExistsException

func (ase AdlsSecurityException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsFileNotFoundException

func (ase AdlsSecurityException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsIOException

func (ase AdlsSecurityException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsIllegalArgumentException

func (ase AdlsSecurityException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsRemoteException

func (ase AdlsSecurityException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsRuntimeException

func (ase AdlsSecurityException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsSecurityException

func (ase AdlsSecurityException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsUnsupportedOperationException

func (ase AdlsSecurityException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsBasicAdlsRemoteException

func (ase AdlsSecurityException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) MarshalJSON

func (ase AdlsSecurityException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsSecurityException.

type AdlsUnsupportedOperationException

type AdlsUnsupportedOperationException struct {
	// JavaClassName - READ-ONLY; the full class package name for the exception thrown, such as 'java.lang.IllegalArgumentException'.
	JavaClassName *string `json:"javaClassName,omitempty"`
	// Message - READ-ONLY; the message associated with the exception that was thrown, such as 'Invalid value for webhdfs parameter "permission":...'.
	Message *string `json:"message,omitempty"`
	// Exception - Possible values include: 'ExceptionAdlsRemoteException', 'ExceptionIllegalArgumentException', 'ExceptionUnsupportedOperationException', 'ExceptionSecurityException', 'ExceptionIOException', 'ExceptionFileNotFoundException', 'ExceptionFileAlreadyExistsException', 'ExceptionBadOffsetException', 'ExceptionRuntimeException', 'ExceptionAccessControlException'
	Exception Exception `json:"exception,omitempty"`
}

AdlsUnsupportedOperationException a WebHDFS exception thrown indicating that the requested operation is not supported. Thrown when a 400 error response code is returned (bad request).

func (AdlsUnsupportedOperationException) AsAdlsAccessControlException

func (auoe AdlsUnsupportedOperationException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsBadOffsetException

func (auoe AdlsUnsupportedOperationException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsFileAlreadyExistsException

func (auoe AdlsUnsupportedOperationException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsFileNotFoundException

func (auoe AdlsUnsupportedOperationException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsIOException

func (auoe AdlsUnsupportedOperationException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsIllegalArgumentException

func (auoe AdlsUnsupportedOperationException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsRemoteException

func (auoe AdlsUnsupportedOperationException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsRuntimeException

func (auoe AdlsUnsupportedOperationException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsSecurityException

func (auoe AdlsUnsupportedOperationException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsUnsupportedOperationException

func (auoe AdlsUnsupportedOperationException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsBasicAdlsRemoteException

func (auoe AdlsUnsupportedOperationException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) MarshalJSON

func (auoe AdlsUnsupportedOperationException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsUnsupportedOperationException.

type AppendModeType

type AppendModeType string

AppendModeType enumerates the values for append mode type.

const (
	// Autocreate ...
	Autocreate AppendModeType = "autocreate"
)

func PossibleAppendModeTypeValues

func PossibleAppendModeTypeValues() []AppendModeType

PossibleAppendModeTypeValues returns an array of possible values for the AppendModeType const type.

type BaseClient

type BaseClient struct {
	autorest.Client
	AdlsFileSystemDNSSuffix string
}

BaseClient is the base client for Filesystem.

func New

func New() BaseClient

New creates an instance of the BaseClient client.

func NewWithoutDefaults

func NewWithoutDefaults(adlsFileSystemDNSSuffix string) BaseClient

NewWithoutDefaults creates an instance of the BaseClient client.

type BasicAdlsRemoteException

type BasicAdlsRemoteException interface {
	AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)
	AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)
	AsAdlsSecurityException() (*AdlsSecurityException, bool)
	AsAdlsIOException() (*AdlsIOException, bool)
	AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)
	AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)
	AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)
	AsAdlsRuntimeException() (*AdlsRuntimeException, bool)
	AsAdlsAccessControlException() (*AdlsAccessControlException, bool)
	AsAdlsRemoteException() (*AdlsRemoteException, bool)
}

BasicAdlsRemoteException data Lake Store filesystem exception based on the WebHDFS definition for RemoteExceptions.

type Client

type Client struct {
	BaseClient
}

Client is the creates an Azure Data Lake Store filesystem client.

func NewClient

func NewClient() Client

NewClient creates an instance of the Client client.

func (Client) Append

func (client Client) Append(ctx context.Context, accountName string, directFilePath string, streamContents io.ReadCloser, offset *int64) (result autorest.Response, err error)

Append appends to the specified file. This method does not support multiple concurrent appends to the file. NOTE: Concurrent append and normal (serial) append CANNOT be used interchangeably. Once a file has been appended to using either append option, it can only be appended to using that append option. Use the ConcurrentAppend option if you would like support for concurrent appends. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. directFilePath - the Data Lake Store path (starting with '/') of the file to which to append. streamContents - the file contents to include when appending to the file. The maximum content size is 4MB. For content larger than 4MB you must append the content in 4MB chunks. offset - the optional offset in the stream to begin the append operation. Default is to append at the end of the stream.

func (Client) AppendPreparer

func (client Client) AppendPreparer(ctx context.Context, accountName string, directFilePath string, streamContents io.ReadCloser, offset *int64) (*http.Request, error)

AppendPreparer prepares the Append request.

func (Client) AppendResponder

func (client Client) AppendResponder(resp *http.Response) (result autorest.Response, err error)

AppendResponder handles the response to the Append request. The method always closes the http.Response Body.

func (Client) AppendSender

func (client Client) AppendSender(req *http.Request) (*http.Response, error)

AppendSender sends the Append request. The method will close the http.Response Body if it receives an error.

func (Client) CheckAccess

func (client Client) CheckAccess(ctx context.Context, accountName string, pathParameter string, fsaction string) (result autorest.Response, err error)

CheckAccess checks if the specified access is available at the given path. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the file or directory for which to check access. fsaction - file system operation read/write/execute in string form, matching regex pattern '[rwx-]{3}'

func (Client) CheckAccessPreparer

func (client Client) CheckAccessPreparer(ctx context.Context, accountName string, pathParameter string, fsaction string) (*http.Request, error)

CheckAccessPreparer prepares the CheckAccess request.

func (Client) CheckAccessResponder

func (client Client) CheckAccessResponder(resp *http.Response) (result autorest.Response, err error)

CheckAccessResponder handles the response to the CheckAccess request. The method always closes the http.Response Body.

func (Client) CheckAccessSender

func (client Client) CheckAccessSender(req *http.Request) (*http.Response, error)

CheckAccessSender sends the CheckAccess request. The method will close the http.Response Body if it receives an error.

func (Client) Concat

func (client Client) Concat(ctx context.Context, accountName string, destinationPath string, sources []string) (result autorest.Response, err error)

Concat concatenates the list of source files into the destination file, removing all source files upon success. This operation has been deprecated, please use operation FileSystem_MsConcat instead. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. destinationPath - the Data Lake Store path (starting with '/') of the destination file resulting from the concatenation. sources - a list of comma separated Data Lake Store paths (starting with '/') of the files to concatenate, in the order in which they should be concatenated.

func (Client) ConcatPreparer

func (client Client) ConcatPreparer(ctx context.Context, accountName string, destinationPath string, sources []string) (*http.Request, error)

ConcatPreparer prepares the Concat request.

func (Client) ConcatResponder

func (client Client) ConcatResponder(resp *http.Response) (result autorest.Response, err error)

ConcatResponder handles the response to the Concat request. The method always closes the http.Response Body.

func (Client) ConcatSender

func (client Client) ConcatSender(req *http.Request) (*http.Response, error)

ConcatSender sends the Concat request. The method will close the http.Response Body if it receives an error.

func (Client) ConcurrentAppend

func (client Client) ConcurrentAppend(ctx context.Context, accountName string, filePath string, streamContents io.ReadCloser, appendMode AppendModeType) (result autorest.Response, err error)

ConcurrentAppend appends to the specified file. This method supports multiple concurrent appends to the file. NOTE: ConcurrentAppend and normal (serial) Append CANNOT be used interchangeably; once a file has been appended to using either of these append options, it can only be appended to using that append option. ConcurrentAppend DOES NOT guarantee order and can result in duplicated data landing in the target file. In order to close a file after using ConcurrentAppend, call the Flush method. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. filePath - the Data Lake Store path (starting with '/') of the file to which to append using concurrent append. streamContents - the file contents to include when appending to the file. The maximum content size is 4MB. For content larger than 4MB you must append the content in 4MB chunks. appendMode - indicates the concurrent append call should create the file if it doesn't exist or just open the existing file for append

func (Client) ConcurrentAppendPreparer

func (client Client) ConcurrentAppendPreparer(ctx context.Context, accountName string, filePath string, streamContents io.ReadCloser, appendMode AppendModeType) (*http.Request, error)

ConcurrentAppendPreparer prepares the ConcurrentAppend request.

func (Client) ConcurrentAppendResponder

func (client Client) ConcurrentAppendResponder(resp *http.Response) (result autorest.Response, err error)

ConcurrentAppendResponder handles the response to the ConcurrentAppend request. The method always closes the http.Response Body.

func (Client) ConcurrentAppendSender

func (client Client) ConcurrentAppendSender(req *http.Request) (*http.Response, error)

ConcurrentAppendSender sends the ConcurrentAppend request. The method will close the http.Response Body if it receives an error.

func (Client) Create

func (client Client) Create(ctx context.Context, accountName string, directFilePath string, streamContents io.ReadCloser, overwrite *bool) (result autorest.Response, err error)

Create creates a file with optionally specified content. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. directFilePath - the Data Lake Store path (starting with '/') of the file to create. streamContents - the file contents to include when creating the file. This parameter is optional, resulting in an empty file if not specified. The maximum content size is 4MB. For content larger than 4MB you must append the content in 4MB chunks. overwrite - the indication of if the file should be overwritten.

func (Client) CreatePreparer

func (client Client) CreatePreparer(ctx context.Context, accountName string, directFilePath string, streamContents io.ReadCloser, overwrite *bool) (*http.Request, error)

CreatePreparer prepares the Create request.

func (Client) CreateResponder

func (client Client) CreateResponder(resp *http.Response) (result autorest.Response, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (Client) CreateSender

func (client Client) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (Client) Delete

func (client Client) Delete(ctx context.Context, accountName string, filePath string, recursive *bool) (result FileOperationResult, err error)

Delete deletes the requested file or directory, optionally recursively. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. filePath - the Data Lake Store path (starting with '/') of the file or directory to delete. recursive - the optional switch indicating if the delete should be recursive

func (Client) DeletePreparer

func (client Client) DeletePreparer(ctx context.Context, accountName string, filePath string, recursive *bool) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (Client) DeleteResponder

func (client Client) DeleteResponder(resp *http.Response) (result FileOperationResult, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (Client) DeleteSender

func (client Client) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (Client) Flush

func (client Client) Flush(ctx context.Context, accountName string, flushFilePath string) (result autorest.Response, err error)

Flush flushes the specified file to the store. This forces an update to the metadata of the file (returned from GetFileStatus), and is required by ConcurrentAppend once the file is done to populate finalized metadata. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. flushFilePath - the Data Lake Store path (starting with '/') of the file to which to flush.

func (Client) FlushPreparer

func (client Client) FlushPreparer(ctx context.Context, accountName string, flushFilePath string) (*http.Request, error)

FlushPreparer prepares the Flush request.

func (Client) FlushResponder

func (client Client) FlushResponder(resp *http.Response) (result autorest.Response, err error)

FlushResponder handles the response to the Flush request. The method always closes the http.Response Body.

func (Client) FlushSender

func (client Client) FlushSender(req *http.Request) (*http.Response, error)

FlushSender sends the Flush request. The method will close the http.Response Body if it receives an error.

func (Client) GetACLStatus

func (client Client) GetACLStatus(ctx context.Context, accountName string, ACLFilePath string) (result ACLStatusResult, err error)

GetACLStatus gets Access Control List (ACL) entries for the specified file or directory. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. ACLFilePath - the Data Lake Store path (starting with '/') of the file or directory for which to get the ACL.

func (Client) GetACLStatusPreparer

func (client Client) GetACLStatusPreparer(ctx context.Context, accountName string, ACLFilePath string) (*http.Request, error)

GetACLStatusPreparer prepares the GetACLStatus request.

func (Client) GetACLStatusResponder

func (client Client) GetACLStatusResponder(resp *http.Response) (result ACLStatusResult, err error)

GetACLStatusResponder handles the response to the GetACLStatus request. The method always closes the http.Response Body.

func (Client) GetACLStatusSender

func (client Client) GetACLStatusSender(req *http.Request) (*http.Response, error)

GetACLStatusSender sends the GetACLStatus request. The method will close the http.Response Body if it receives an error.

func (Client) GetContentSummary

func (client Client) GetContentSummary(ctx context.Context, accountName string, getContentSummaryFilePath string) (result ContentSummaryResult, err error)

GetContentSummary gets the file content summary object specified by the file path. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. getContentSummaryFilePath - the Data Lake Store path (starting with '/') of the file for which to retrieve the summary.

func (Client) GetContentSummaryPreparer

func (client Client) GetContentSummaryPreparer(ctx context.Context, accountName string, getContentSummaryFilePath string) (*http.Request, error)

GetContentSummaryPreparer prepares the GetContentSummary request.

func (Client) GetContentSummaryResponder

func (client Client) GetContentSummaryResponder(resp *http.Response) (result ContentSummaryResult, err error)

GetContentSummaryResponder handles the response to the GetContentSummary request. The method always closes the http.Response Body.

func (Client) GetContentSummarySender

func (client Client) GetContentSummarySender(req *http.Request) (*http.Response, error)

GetContentSummarySender sends the GetContentSummary request. The method will close the http.Response Body if it receives an error.

func (Client) GetFileStatus

func (client Client) GetFileStatus(ctx context.Context, accountName string, getFilePath string) (result FileStatusResult, err error)

GetFileStatus get the file status object specified by the file path. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. getFilePath - the Data Lake Store path (starting with '/') of the file or directory for which to retrieve the status.

func (Client) GetFileStatusPreparer

func (client Client) GetFileStatusPreparer(ctx context.Context, accountName string, getFilePath string) (*http.Request, error)

GetFileStatusPreparer prepares the GetFileStatus request.

func (Client) GetFileStatusResponder

func (client Client) GetFileStatusResponder(resp *http.Response) (result FileStatusResult, err error)

GetFileStatusResponder handles the response to the GetFileStatus request. The method always closes the http.Response Body.

func (Client) GetFileStatusSender

func (client Client) GetFileStatusSender(req *http.Request) (*http.Response, error)

GetFileStatusSender sends the GetFileStatus request. The method will close the http.Response Body if it receives an error.

func (Client) ListFileStatus

func (client Client) ListFileStatus(ctx context.Context, accountName string, listFilePath string, listSize *int32, listAfter string, listBefore string) (result FileStatusesResult, err error)

ListFileStatus get the list of file status objects specified by the file path, with optional pagination parameters Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. listFilePath - the Data Lake Store path (starting with '/') of the directory to list. listSize - gets or sets the number of items to return. Optional. listAfter - gets or sets the item or lexicographical index after which to begin returning results. For example, a file list of 'a','b','d' and listAfter='b' will return 'd', and a listAfter='c' will also return 'd'. Optional. listBefore - gets or sets the item or lexicographical index before which to begin returning results. For example, a file list of 'a','b','d' and listBefore='d' will return 'a','b', and a listBefore='c' will also return 'a','b'. Optional.

func (Client) ListFileStatusPreparer

func (client Client) ListFileStatusPreparer(ctx context.Context, accountName string, listFilePath string, listSize *int32, listAfter string, listBefore string) (*http.Request, error)

ListFileStatusPreparer prepares the ListFileStatus request.

func (Client) ListFileStatusResponder

func (client Client) ListFileStatusResponder(resp *http.Response) (result FileStatusesResult, err error)

ListFileStatusResponder handles the response to the ListFileStatus request. The method always closes the http.Response Body.

func (Client) ListFileStatusSender

func (client Client) ListFileStatusSender(req *http.Request) (*http.Response, error)

ListFileStatusSender sends the ListFileStatus request. The method will close the http.Response Body if it receives an error.

func (Client) Mkdirs

func (client Client) Mkdirs(ctx context.Context, accountName string, pathParameter string) (result FileOperationResult, err error)

Mkdirs creates a directory. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - the Data Lake Store path (starting with '/') of the directory to create.

func (Client) MkdirsPreparer

func (client Client) MkdirsPreparer(ctx context.Context, accountName string, pathParameter string) (*http.Request, error)

MkdirsPreparer prepares the Mkdirs request.

func (Client) MkdirsResponder

func (client Client) MkdirsResponder(resp *http.Response) (result FileOperationResult, err error)

MkdirsResponder handles the response to the Mkdirs request. The method always closes the http.Response Body.

func (Client) MkdirsSender

func (client Client) MkdirsSender(req *http.Request) (*http.Response, error)

MkdirsSender sends the Mkdirs request. The method will close the http.Response Body if it receives an error.

func (Client) ModifyACLEntries

func (client Client) ModifyACLEntries(ctx context.Context, accountName string, modifyACLFilePath string, aclspec string) (result autorest.Response, err error)

ModifyACLEntries modifies existing Access Control List (ACL) entries on a file or folder. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. modifyACLFilePath - the Data Lake Store path (starting with '/') of the file or directory with the ACL being modified. aclspec - the ACL specification included in ACL modification operations in the format '[default:]user|group|other::r|-w|-x|-'

func (Client) ModifyACLEntriesPreparer

func (client Client) ModifyACLEntriesPreparer(ctx context.Context, accountName string, modifyACLFilePath string, aclspec string) (*http.Request, error)

ModifyACLEntriesPreparer prepares the ModifyACLEntries request.

func (Client) ModifyACLEntriesResponder

func (client Client) ModifyACLEntriesResponder(resp *http.Response) (result autorest.Response, err error)

ModifyACLEntriesResponder handles the response to the ModifyACLEntries request. The method always closes the http.Response Body.

func (Client) ModifyACLEntriesSender

func (client Client) ModifyACLEntriesSender(req *http.Request) (*http.Response, error)

ModifyACLEntriesSender sends the ModifyACLEntries request. The method will close the http.Response Body if it receives an error.

func (Client) MsConcat

func (client Client) MsConcat(ctx context.Context, accountName string, msConcatDestinationPath string, streamContents io.ReadCloser, deleteSourceDirectory *bool) (result autorest.Response, err error)

MsConcat concatenates the list of source files into the destination file, deleting all source files upon success. This method accepts more source file paths than the Concat method. This method and the parameters it accepts are subject to change for usability in an upcoming version. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. msConcatDestinationPath - the Data Lake Store path (starting with '/') of the destination file resulting from the concatenation. streamContents - a list of Data Lake Store paths (starting with '/') of the source files. Must be in the format: sources=<comma separated list> deleteSourceDirectory - indicates that as an optimization instead of deleting each individual source stream, delete the source stream folder if all streams are in the same folder instead. This results in a substantial performance improvement when the only streams in the folder are part of the concatenation operation. WARNING: This includes the deletion of any other files that are not source files. Only set this to true when source files are the only files in the source directory.

func (Client) MsConcatPreparer

func (client Client) MsConcatPreparer(ctx context.Context, accountName string, msConcatDestinationPath string, streamContents io.ReadCloser, deleteSourceDirectory *bool) (*http.Request, error)

MsConcatPreparer prepares the MsConcat request.

func (Client) MsConcatResponder

func (client Client) MsConcatResponder(resp *http.Response) (result autorest.Response, err error)

MsConcatResponder handles the response to the MsConcat request. The method always closes the http.Response Body.

func (Client) MsConcatSender

func (client Client) MsConcatSender(req *http.Request) (*http.Response, error)

MsConcatSender sends the MsConcat request. The method will close the http.Response Body if it receives an error.

func (Client) Open

func (client Client) Open(ctx context.Context, accountName string, directFilePath string, length *int64, offset *int64) (result ReadCloser, err error)

Open opens and reads from the specified file. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. directFilePath - the Data Lake Store path (starting with '/') of the file to open.

func (Client) OpenPreparer

func (client Client) OpenPreparer(ctx context.Context, accountName string, directFilePath string, length *int64, offset *int64) (*http.Request, error)

OpenPreparer prepares the Open request.

func (Client) OpenResponder

func (client Client) OpenResponder(resp *http.Response) (result ReadCloser, err error)

OpenResponder handles the response to the Open request. The method always closes the http.Response Body.

func (Client) OpenSender

func (client Client) OpenSender(req *http.Request) (*http.Response, error)

OpenSender sends the Open request. The method will close the http.Response Body if it receives an error.

func (Client) RemoveACL

func (client Client) RemoveACL(ctx context.Context, accountName string, ACLFilePath string) (result autorest.Response, err error)

RemoveACL removes the existing Access Control List (ACL) of the specified file or directory. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. ACLFilePath - the Data Lake Store path (starting with '/') of the file or directory with the ACL being removed.

func (Client) RemoveACLEntries

func (client Client) RemoveACLEntries(ctx context.Context, accountName string, removeACLFilePath string, aclspec string) (result autorest.Response, err error)

RemoveACLEntries removes existing Access Control List (ACL) entries for a file or folder. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. removeACLFilePath - the Data Lake Store path (starting with '/') of the file or directory with the ACL being removed. aclspec - the ACL spec included in ACL removal operations in the format '[default:]user|group|other'

func (Client) RemoveACLEntriesPreparer

func (client Client) RemoveACLEntriesPreparer(ctx context.Context, accountName string, removeACLFilePath string, aclspec string) (*http.Request, error)

RemoveACLEntriesPreparer prepares the RemoveACLEntries request.

func (Client) RemoveACLEntriesResponder

func (client Client) RemoveACLEntriesResponder(resp *http.Response) (result autorest.Response, err error)

RemoveACLEntriesResponder handles the response to the RemoveACLEntries request. The method always closes the http.Response Body.

func (Client) RemoveACLEntriesSender

func (client Client) RemoveACLEntriesSender(req *http.Request) (*http.Response, error)

RemoveACLEntriesSender sends the RemoveACLEntries request. The method will close the http.Response Body if it receives an error.

func (Client) RemoveACLPreparer

func (client Client) RemoveACLPreparer(ctx context.Context, accountName string, ACLFilePath string) (*http.Request, error)

RemoveACLPreparer prepares the RemoveACL request.

func (Client) RemoveACLResponder

func (client Client) RemoveACLResponder(resp *http.Response) (result autorest.Response, err error)

RemoveACLResponder handles the response to the RemoveACL request. The method always closes the http.Response Body.

func (Client) RemoveACLSender

func (client Client) RemoveACLSender(req *http.Request) (*http.Response, error)

RemoveACLSender sends the RemoveACL request. The method will close the http.Response Body if it receives an error.

func (Client) RemoveDefaultACL

func (client Client) RemoveDefaultACL(ctx context.Context, accountName string, defaultACLFilePath string) (result autorest.Response, err error)

RemoveDefaultACL removes the existing Default Access Control List (ACL) of the specified directory. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. defaultACLFilePath - the Data Lake Store path (starting with '/') of the directory with the default ACL being removed.

func (Client) RemoveDefaultACLPreparer

func (client Client) RemoveDefaultACLPreparer(ctx context.Context, accountName string, defaultACLFilePath string) (*http.Request, error)

RemoveDefaultACLPreparer prepares the RemoveDefaultACL request.

func (Client) RemoveDefaultACLResponder

func (client Client) RemoveDefaultACLResponder(resp *http.Response) (result autorest.Response, err error)

RemoveDefaultACLResponder handles the response to the RemoveDefaultACL request. The method always closes the http.Response Body.

func (Client) RemoveDefaultACLSender

func (client Client) RemoveDefaultACLSender(req *http.Request) (*http.Response, error)

RemoveDefaultACLSender sends the RemoveDefaultACL request. The method will close the http.Response Body if it receives an error.

func (Client) Rename

func (client Client) Rename(ctx context.Context, accountName string, renameFilePath string, destination string) (result FileOperationResult, err error)

Rename rename a file or directory. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. renameFilePath - the Data Lake Store path (starting with '/') of the file or directory to move/rename. destination - the path to move/rename the file or folder to

func (Client) RenamePreparer

func (client Client) RenamePreparer(ctx context.Context, accountName string, renameFilePath string, destination string) (*http.Request, error)

RenamePreparer prepares the Rename request.

func (Client) RenameResponder

func (client Client) RenameResponder(resp *http.Response) (result FileOperationResult, err error)

RenameResponder handles the response to the Rename request. The method always closes the http.Response Body.

func (Client) RenameSender

func (client Client) RenameSender(req *http.Request) (*http.Response, error)

RenameSender sends the Rename request. The method will close the http.Response Body if it receives an error.

func (Client) SetACL

func (client Client) SetACL(ctx context.Context, accountName string, setACLFilePath string, aclspec string) (result autorest.Response, err error)

SetACL sets the Access Control List (ACL) for a file or folder. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. setACLFilePath - the Data Lake Store path (starting with '/') of the file or directory on which to set the ACL. aclspec - the ACL spec included in ACL creation operations in the format '[default:]user|group|other::r|-w|-x|-'

func (Client) SetACLPreparer

func (client Client) SetACLPreparer(ctx context.Context, accountName string, setACLFilePath string, aclspec string) (*http.Request, error)

SetACLPreparer prepares the SetACL request.

func (Client) SetACLResponder

func (client Client) SetACLResponder(resp *http.Response) (result autorest.Response, err error)

SetACLResponder handles the response to the SetACL request. The method always closes the http.Response Body.

func (Client) SetACLSender

func (client Client) SetACLSender(req *http.Request) (*http.Response, error)

SetACLSender sends the SetACL request. The method will close the http.Response Body if it receives an error.

func (Client) SetFileExpiry

func (client Client) SetFileExpiry(ctx context.Context, accountName string, filePath string, expiryOption ExpiryOptionType, expireTime *int64) (result autorest.Response, err error)

SetFileExpiry sets or removes the expiration time on the specified file. This operation can only be executed against files. Folders are not supported. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. filePath - the Data Lake Store path (starting with '/') of the file on which to set or remove the expiration time. expiryOption - indicates the type of expiration to use for the file: 1. NeverExpire: ExpireTime is ignored. 2. RelativeToNow: ExpireTime is an integer in milliseconds representing the expiration date relative to when file expiration is updated. 3. RelativeToCreationDate: ExpireTime is an integer in milliseconds representing the expiration date relative to file creation. 4. Absolute: ExpireTime is an integer in milliseconds, as a Unix timestamp relative to 1/1/1970 00:00:00. expireTime - the time that the file will expire, corresponding to the ExpiryOption that was set.

func (Client) SetFileExpiryPreparer

func (client Client) SetFileExpiryPreparer(ctx context.Context, accountName string, filePath string, expiryOption ExpiryOptionType, expireTime *int64) (*http.Request, error)

SetFileExpiryPreparer prepares the SetFileExpiry request.

func (Client) SetFileExpiryResponder

func (client Client) SetFileExpiryResponder(resp *http.Response) (result autorest.Response, err error)

SetFileExpiryResponder handles the response to the SetFileExpiry request. The method always closes the http.Response Body.

func (Client) SetFileExpirySender

func (client Client) SetFileExpirySender(req *http.Request) (*http.Response, error)

SetFileExpirySender sends the SetFileExpiry request. The method will close the http.Response Body if it receives an error.

func (Client) SetOwner

func (client Client) SetOwner(ctx context.Context, accountName string, setOwnerFilePath string, owner string, group string) (result autorest.Response, err error)

SetOwner sets the owner of a file or directory. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. setOwnerFilePath - the Data Lake Store path (starting with '/') of the file or directory for which to set the owner. owner - the AAD Object ID of the user owner of the file or directory. If empty, the property will remain unchanged. group - the AAD Object ID of the group owner of the file or directory. If empty, the property will remain unchanged.

func (Client) SetOwnerPreparer

func (client Client) SetOwnerPreparer(ctx context.Context, accountName string, setOwnerFilePath string, owner string, group string) (*http.Request, error)

SetOwnerPreparer prepares the SetOwner request.

func (Client) SetOwnerResponder

func (client Client) SetOwnerResponder(resp *http.Response) (result autorest.Response, err error)

SetOwnerResponder handles the response to the SetOwner request. The method always closes the http.Response Body.

func (Client) SetOwnerSender

func (client Client) SetOwnerSender(req *http.Request) (*http.Response, error)

SetOwnerSender sends the SetOwner request. The method will close the http.Response Body if it receives an error.

func (Client) SetPermission

func (client Client) SetPermission(ctx context.Context, accountName string, setPermissionFilePath string, permission string) (result autorest.Response, err error)

SetPermission sets the permission of the file or folder. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. setPermissionFilePath - the Data Lake Store path (starting with '/') of the file or directory for which to set the permission. permission - a string representation of the permission (i.e 'rwx'). If empty, this property remains unchanged.

func (Client) SetPermissionPreparer

func (client Client) SetPermissionPreparer(ctx context.Context, accountName string, setPermissionFilePath string, permission string) (*http.Request, error)

SetPermissionPreparer prepares the SetPermission request.

func (Client) SetPermissionResponder

func (client Client) SetPermissionResponder(resp *http.Response) (result autorest.Response, err error)

SetPermissionResponder handles the response to the SetPermission request. The method always closes the http.Response Body.

func (Client) SetPermissionSender

func (client Client) SetPermissionSender(req *http.Request) (*http.Response, error)

SetPermissionSender sends the SetPermission request. The method will close the http.Response Body if it receives an error.

type ContentSummary

type ContentSummary struct {
	// DirectoryCount - READ-ONLY; the number of directories.
	DirectoryCount *int64 `json:"directoryCount,omitempty"`
	// FileCount - READ-ONLY; the number of files.
	FileCount *int64 `json:"fileCount,omitempty"`
	// Length - READ-ONLY; the number of bytes used by the content.
	Length *int64 `json:"length,omitempty"`
	// SpaceConsumed - READ-ONLY; the disk space consumed by the content.
	SpaceConsumed *int64 `json:"spaceConsumed,omitempty"`
}

ContentSummary data Lake Store content summary information

func (ContentSummary) MarshalJSON

func (cs ContentSummary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentSummary.

type ContentSummaryResult

type ContentSummaryResult struct {
	autorest.Response `json:"-"`
	// ContentSummary - READ-ONLY; the content summary for the specified path
	ContentSummary *ContentSummary `json:"ContentSummary,omitempty"`
}

ContentSummaryResult data Lake Store filesystem content summary information response.

func (ContentSummaryResult) MarshalJSON

func (csr ContentSummaryResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContentSummaryResult.

type Exception

type Exception string

Exception enumerates the values for exception.

const (
	// ExceptionAccessControlException ...
	ExceptionAccessControlException Exception = "AccessControlException"
	// ExceptionAdlsRemoteException ...
	ExceptionAdlsRemoteException Exception = "AdlsRemoteException"
	// ExceptionBadOffsetException ...
	ExceptionBadOffsetException Exception = "BadOffsetException"
	// ExceptionFileAlreadyExistsException ...
	ExceptionFileAlreadyExistsException Exception = "FileAlreadyExistsException"
	// ExceptionFileNotFoundException ...
	ExceptionFileNotFoundException Exception = "FileNotFoundException"
	// ExceptionIllegalArgumentException ...
	ExceptionIllegalArgumentException Exception = "IllegalArgumentException"
	// ExceptionIOException ...
	ExceptionIOException Exception = "IOException"
	// ExceptionRuntimeException ...
	ExceptionRuntimeException Exception = "RuntimeException"
	// ExceptionSecurityException ...
	ExceptionSecurityException Exception = "SecurityException"
	// ExceptionUnsupportedOperationException ...
	ExceptionUnsupportedOperationException Exception = "UnsupportedOperationException"
)

func PossibleExceptionValues

func PossibleExceptionValues() []Exception

PossibleExceptionValues returns an array of possible values for the Exception const type.

type ExpiryOptionType

type ExpiryOptionType string

ExpiryOptionType enumerates the values for expiry option type.

const (
	// Absolute ...
	Absolute ExpiryOptionType = "Absolute"
	// NeverExpire ...
	NeverExpire ExpiryOptionType = "NeverExpire"
	// RelativeToCreationDate ...
	RelativeToCreationDate ExpiryOptionType = "RelativeToCreationDate"
	// RelativeToNow ...
	RelativeToNow ExpiryOptionType = "RelativeToNow"
)

func PossibleExpiryOptionTypeValues

func PossibleExpiryOptionTypeValues() []ExpiryOptionType

PossibleExpiryOptionTypeValues returns an array of possible values for the ExpiryOptionType const type.

type FileOperationResult

type FileOperationResult struct {
	autorest.Response `json:"-"`
	// OperationResult - READ-ONLY; the result of the operation or request.
	OperationResult *bool `json:"boolean,omitempty"`
}

FileOperationResult the result of the request or operation.

func (FileOperationResult) MarshalJSON

func (forVar FileOperationResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileOperationResult.

type FileStatusProperties

type FileStatusProperties struct {
	// AccessTime - READ-ONLY; the last access time as ticks since the epoch.
	AccessTime *int64 `json:"accessTime,omitempty"`
	// BlockSize - READ-ONLY; the block size for the file.
	BlockSize *int64 `json:"blockSize,omitempty"`
	// ChildrenNum - READ-ONLY; the number of children in the directory.
	ChildrenNum *int64 `json:"childrenNum,omitempty"`
	// ExpirationTime - READ-ONLY; Gets the expiration time, if any, as ticks since the epoch. If this is set to 0 or DateTime.MaxValue there is no expiration.
	ExpirationTime *int64 `json:"expirationTime,omitempty"`
	// Group - READ-ONLY; the group owner.
	Group *string `json:"group,omitempty"`
	// Length - READ-ONLY; the number of bytes in a file.
	Length *int64 `json:"length,omitempty"`
	// ModificationTime - READ-ONLY; the modification time as ticks since the epoch.
	ModificationTime *int64 `json:"modificationTime,omitempty"`
	// Owner - READ-ONLY; the user who is the owner.
	Owner *string `json:"owner,omitempty"`
	// PathSuffix - READ-ONLY; the path suffix.
	PathSuffix *string `json:"pathSuffix,omitempty"`
	// Permission - READ-ONLY; the permission represented as an string.
	Permission *string `json:"permission,omitempty"`
	// Type - READ-ONLY; the type of the path object. Possible values include: 'FILE', 'DIRECTORY'
	Type FileType `json:"type,omitempty"`
}

FileStatusProperties data Lake Store file or directory information.

func (FileStatusProperties) MarshalJSON

func (fsp FileStatusProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileStatusProperties.

type FileStatusResult

type FileStatusResult struct {
	autorest.Response `json:"-"`
	// FileStatus - READ-ONLY; the file status object associated with the specified path.
	FileStatus *FileStatusProperties `json:"FileStatus,omitempty"`
}

FileStatusResult data Lake Store filesystem file status information response.

func (FileStatusResult) MarshalJSON

func (fsr FileStatusResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileStatusResult.

type FileStatuses

type FileStatuses struct {
	// FileStatus - READ-ONLY; the object containing the list of properties of the files.
	FileStatus *[]FileStatusProperties `json:"FileStatus,omitempty"`
}

FileStatuses data Lake Store file status list information.

func (FileStatuses) MarshalJSON

func (fs FileStatuses) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileStatuses.

type FileStatusesResult

type FileStatusesResult struct {
	autorest.Response `json:"-"`
	// FileStatuses - READ-ONLY; the object representing the list of file statuses.
	FileStatuses *FileStatuses `json:"FileStatuses,omitempty"`
}

FileStatusesResult data Lake Store filesystem file status list information response.

func (FileStatusesResult) MarshalJSON

func (fsr FileStatusesResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileStatusesResult.

type FileType

type FileType string

FileType enumerates the values for file type.

const (
	// DIRECTORY ...
	DIRECTORY FileType = "DIRECTORY"
	// FILE ...
	FILE FileType = "FILE"
)

func PossibleFileTypeValues

func PossibleFileTypeValues() []FileType

PossibleFileTypeValues returns an array of possible values for the FileType const type.

type ReadCloser

type ReadCloser struct {
	autorest.Response `json:"-"`
	Value             *io.ReadCloser `json:"value,omitempty"`
}

ReadCloser ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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