azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/datalake/store/2016-11-01/filesystem Index | Files | Directories

package filesystem

import "github.com/Azure/azure-sdk-for-go/services/datalake/store/2016-11-01/filesystem"

Package filesystem implements the Azure ARM Filesystem service API version 2016-11-01.

Creates an Azure Data Lake Store filesystem client.

Index

Package Files

client.go filesystem.go models.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type ACLStatus Uses

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 *string `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.

type ACLStatusResult Uses

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 Uses

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', 'ExceptionThrottledException'
    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 Uses

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

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsBadOffsetException Uses

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

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsFileAlreadyExistsException Uses

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

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsFileNotFoundException Uses

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

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsIOException Uses

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

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsIllegalArgumentException Uses

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

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsRemoteException Uses

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

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsRuntimeException Uses

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

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsSecurityException Uses

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

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsThrottledException Uses

func (aace AdlsAccessControlException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsAdlsUnsupportedOperationException Uses

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

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) AsBasicAdlsRemoteException Uses

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

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsAccessControlException.

func (AdlsAccessControlException) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AdlsAccessControlException.

type AdlsBadOffsetException Uses

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', 'ExceptionThrottledException'
    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 Uses

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

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsBadOffsetException Uses

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

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsFileAlreadyExistsException Uses

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

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsFileNotFoundException Uses

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

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsIOException Uses

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

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsIllegalArgumentException Uses

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

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsRemoteException Uses

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

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsRuntimeException Uses

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

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsSecurityException Uses

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

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsThrottledException Uses

func (aboe AdlsBadOffsetException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsAdlsUnsupportedOperationException Uses

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

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) AsBasicAdlsRemoteException Uses

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

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsBadOffsetException.

func (AdlsBadOffsetException) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AdlsBadOffsetException.

type AdlsError Uses

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) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for AdlsError struct.

type AdlsFileAlreadyExistsException Uses

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', 'ExceptionThrottledException'
    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 Uses

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

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsBadOffsetException Uses

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

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsFileAlreadyExistsException Uses

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

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsFileNotFoundException Uses

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

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsIOException Uses

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

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsIllegalArgumentException Uses

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

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsRemoteException Uses

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

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsRuntimeException Uses

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

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsSecurityException Uses

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

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsThrottledException Uses

func (afaee AdlsFileAlreadyExistsException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsAdlsUnsupportedOperationException Uses

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

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) AsBasicAdlsRemoteException Uses

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

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsFileAlreadyExistsException.

func (AdlsFileAlreadyExistsException) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AdlsFileAlreadyExistsException.

type AdlsFileNotFoundException Uses

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', 'ExceptionThrottledException'
    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 Uses

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

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsBadOffsetException Uses

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

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsFileAlreadyExistsException Uses

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

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsFileNotFoundException Uses

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

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsIOException Uses

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

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsIllegalArgumentException Uses

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

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsRemoteException Uses

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

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsRuntimeException Uses

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

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsSecurityException Uses

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

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsThrottledException Uses

func (afnfe AdlsFileNotFoundException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsAdlsUnsupportedOperationException Uses

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

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) AsBasicAdlsRemoteException Uses

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

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsFileNotFoundException.

func (AdlsFileNotFoundException) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AdlsFileNotFoundException.

type AdlsIOException Uses

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', 'ExceptionThrottledException'
    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 Uses

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

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsBadOffsetException Uses

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

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsFileAlreadyExistsException Uses

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

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsFileNotFoundException Uses

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

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsIOException Uses

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

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsIllegalArgumentException Uses

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

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsRemoteException Uses

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

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsRuntimeException Uses

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

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsSecurityException Uses

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

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsThrottledException Uses

func (aie AdlsIOException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsAdlsUnsupportedOperationException Uses

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

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) AsBasicAdlsRemoteException Uses

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

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsIOException.

func (AdlsIOException) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AdlsIOException.

type AdlsIllegalArgumentException Uses

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', 'ExceptionThrottledException'
    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 Uses

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

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsBadOffsetException Uses

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

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsFileAlreadyExistsException Uses

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

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsFileNotFoundException Uses

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

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsIOException Uses

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

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsIllegalArgumentException Uses

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

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsRemoteException Uses

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

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsRuntimeException Uses

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

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsSecurityException Uses

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

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsThrottledException Uses

func (aiae AdlsIllegalArgumentException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsAdlsUnsupportedOperationException Uses

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

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) AsBasicAdlsRemoteException Uses

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

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsIllegalArgumentException.

func (AdlsIllegalArgumentException) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AdlsIllegalArgumentException.

type AdlsRemoteException Uses

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', 'ExceptionThrottledException'
    Exception Exception `json:"exception,omitempty"`
}

AdlsRemoteException data Lake Store filesystem exception based on the WebHDFS definition for RemoteExceptions. This is a WebHDFS 'catch all' exception

func (AdlsRemoteException) AsAdlsAccessControlException Uses

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

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsBadOffsetException Uses

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

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsFileAlreadyExistsException Uses

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

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsFileNotFoundException Uses

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

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsIOException Uses

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

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsIllegalArgumentException Uses

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

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsRemoteException Uses

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

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsRuntimeException Uses

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

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsSecurityException Uses

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

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsThrottledException Uses

func (are AdlsRemoteException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsAdlsUnsupportedOperationException Uses

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

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) AsBasicAdlsRemoteException Uses

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

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsRemoteException.

func (AdlsRemoteException) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AdlsRemoteException.

type AdlsRuntimeException Uses

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', 'ExceptionThrottledException'
    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 Uses

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

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsBadOffsetException Uses

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

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsFileAlreadyExistsException Uses

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

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsFileNotFoundException Uses

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

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsIOException Uses

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

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsIllegalArgumentException Uses

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

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsRemoteException Uses

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

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsRuntimeException Uses

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

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsSecurityException Uses

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

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsThrottledException Uses

func (are AdlsRuntimeException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsAdlsUnsupportedOperationException Uses

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

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) AsBasicAdlsRemoteException Uses

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

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsRuntimeException.

func (AdlsRuntimeException) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AdlsRuntimeException.

type AdlsSecurityException Uses

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', 'ExceptionThrottledException'
    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 Uses

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

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsBadOffsetException Uses

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

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsFileAlreadyExistsException Uses

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

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsFileNotFoundException Uses

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

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsIOException Uses

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

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsIllegalArgumentException Uses

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

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsRemoteException Uses

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

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsRuntimeException Uses

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

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsSecurityException Uses

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

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsThrottledException Uses

func (ase AdlsSecurityException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsAdlsUnsupportedOperationException Uses

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

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) AsBasicAdlsRemoteException Uses

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

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsSecurityException.

func (AdlsSecurityException) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AdlsSecurityException.

type AdlsThrottledException Uses

type AdlsThrottledException 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', 'ExceptionThrottledException'
    Exception Exception `json:"exception,omitempty"`
}

AdlsThrottledException a WebHDFS exception thrown indicating that the request is being throttled. Reducing the number of requests or request size helps to mitigate this error.

func (AdlsThrottledException) AsAdlsAccessControlException Uses

func (ate AdlsThrottledException) AsAdlsAccessControlException() (*AdlsAccessControlException, bool)

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsBadOffsetException Uses

func (ate AdlsThrottledException) AsAdlsBadOffsetException() (*AdlsBadOffsetException, bool)

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsFileAlreadyExistsException Uses

func (ate AdlsThrottledException) AsAdlsFileAlreadyExistsException() (*AdlsFileAlreadyExistsException, bool)

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsFileNotFoundException Uses

func (ate AdlsThrottledException) AsAdlsFileNotFoundException() (*AdlsFileNotFoundException, bool)

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsIOException Uses

func (ate AdlsThrottledException) AsAdlsIOException() (*AdlsIOException, bool)

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsIllegalArgumentException Uses

func (ate AdlsThrottledException) AsAdlsIllegalArgumentException() (*AdlsIllegalArgumentException, bool)

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsRemoteException Uses

func (ate AdlsThrottledException) AsAdlsRemoteException() (*AdlsRemoteException, bool)

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsRuntimeException Uses

func (ate AdlsThrottledException) AsAdlsRuntimeException() (*AdlsRuntimeException, bool)

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsSecurityException Uses

func (ate AdlsThrottledException) AsAdlsSecurityException() (*AdlsSecurityException, bool)

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsThrottledException Uses

func (ate AdlsThrottledException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsAdlsUnsupportedOperationException Uses

func (ate AdlsThrottledException) AsAdlsUnsupportedOperationException() (*AdlsUnsupportedOperationException, bool)

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) AsBasicAdlsRemoteException Uses

func (ate AdlsThrottledException) AsBasicAdlsRemoteException() (BasicAdlsRemoteException, bool)

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsThrottledException.

func (AdlsThrottledException) MarshalJSON Uses

func (ate AdlsThrottledException) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdlsThrottledException.

type AdlsUnsupportedOperationException Uses

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', 'ExceptionThrottledException'
    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 Uses

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

AsAdlsAccessControlException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsBadOffsetException Uses

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

AsAdlsBadOffsetException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsFileAlreadyExistsException Uses

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

AsAdlsFileAlreadyExistsException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsFileNotFoundException Uses

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

AsAdlsFileNotFoundException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsIOException Uses

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

AsAdlsIOException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsIllegalArgumentException Uses

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

AsAdlsIllegalArgumentException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsRemoteException Uses

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

AsAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsRuntimeException Uses

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

AsAdlsRuntimeException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsSecurityException Uses

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

AsAdlsSecurityException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsThrottledException Uses

func (auoe AdlsUnsupportedOperationException) AsAdlsThrottledException() (*AdlsThrottledException, bool)

AsAdlsThrottledException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsAdlsUnsupportedOperationException Uses

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

AsAdlsUnsupportedOperationException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) AsBasicAdlsRemoteException Uses

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

AsBasicAdlsRemoteException is the BasicAdlsRemoteException implementation for AdlsUnsupportedOperationException.

func (AdlsUnsupportedOperationException) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AdlsUnsupportedOperationException.

type AppendModeType Uses

type AppendModeType string

AppendModeType enumerates the values for append mode type.

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

func PossibleAppendModeTypeValues Uses

func PossibleAppendModeTypeValues() []AppendModeType

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

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    AdlsFileSystemDNSSuffix string
}

BaseClient is the base client for Filesystem.

func New Uses

func New() BaseClient

New creates an instance of the BaseClient client.

func NewWithoutDefaults Uses

func NewWithoutDefaults(adlsFileSystemDNSSuffix string) BaseClient

NewWithoutDefaults creates an instance of the BaseClient client.

type BasicAdlsRemoteException Uses

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)
    AsAdlsThrottledException() (*AdlsThrottledException, bool)
    AsAdlsRemoteException() (*AdlsRemoteException, bool)
}

BasicAdlsRemoteException data Lake Store filesystem exception based on the WebHDFS definition for RemoteExceptions. This is a WebHDFS 'catch all' exception

type Client Uses

type Client struct {
    BaseClient
}

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

func NewClient Uses

func NewClient() Client

NewClient creates an instance of the Client client.

func (Client) Append Uses

func (client Client) Append(ctx context.Context, accountName string, pathParameter string, streamContents io.ReadCloser, offset *int64, syncFlag SyncFlag, leaseID *uuid.UUID, fileSessionID *uuid.UUID) (result autorest.Response, err error)

Append used for serial appends to the specified file. NOTE: The target must not contain data added by ConcurrentAppend. ConcurrentAppend and Append cannot be used interchangeably; once a target file has been modified using either of these append options, the other append option cannot be used on the target file. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - 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. syncFlag - optionally indicates what to do after completion of the concurrent append. DATA indicates that more data will be sent immediately by the client, the file handle should remain open/locked, and file metadata (including file length, last modified time) should NOT get updated. METADATA indicates that more data will be sent immediately by the client, the file handle should remain open/locked, and file metadata should get updated. CLOSE indicates that the client is done sending data, the file handle should be closed/unlocked, and file metadata should get updated. leaseID - optional unique GUID per file to ensure single writer semantics, meaning that only clients that append to the file with the same leaseId will be allowed to do so. fileSessionID - optional unique GUID per file indicating all the appends with the same fileSessionId are from the same client and same session. This will give a performance benefit when syncFlag is DATA or METADATA.

func (Client) AppendPreparer Uses

func (client Client) AppendPreparer(ctx context.Context, accountName string, pathParameter string, streamContents io.ReadCloser, offset *int64, syncFlag SyncFlag, leaseID *uuid.UUID, fileSessionID *uuid.UUID) (*http.Request, error)

AppendPreparer prepares the Append request.

func (Client) AppendResponder Uses

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 Uses

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 Uses

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 Uses

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

CheckAccessPreparer prepares the CheckAccess request.

func (Client) CheckAccessResponder Uses

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 Uses

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 Uses

func (client Client) Concat(ctx context.Context, accountName string, pathParameter 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. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - 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 Uses

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

ConcatPreparer prepares the Concat request.

func (Client) ConcatResponder Uses

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 Uses

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 Uses

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

ConcurrentAppend appends to the specified file, optionally first creating the file if it does not yet exist. This method supports multiple concurrent appends to the file. NOTE: The target must not contain data added by Create or normal (serial) Append. ConcurrentAppend and Append cannot be used interchangeably; once a target file has been modified using either of these append options, the other append option cannot be used on the target file. ConcurrentAppend does not guarantee order and can result in duplicated data landing in the target file. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - 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 syncFlag - optionally indicates what to do after completion of the concurrent append. DATA indicates that more data will be sent immediately by the client, the file handle should remain open/locked, and file metadata (including file length, last modified time) should NOT get updated. METADATA indicates that more data will be sent immediately by the client, the file handle should remain open/locked, and file metadata should get updated. CLOSE indicates that the client is done sending data, the file handle should be closed/unlocked, and file metadata should get updated.

func (Client) ConcurrentAppendPreparer Uses

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

ConcurrentAppendPreparer prepares the ConcurrentAppend request.

func (Client) ConcurrentAppendResponder Uses

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 Uses

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 Uses

func (client Client) Create(ctx context.Context, accountName string, pathParameter string, streamContents io.ReadCloser, overwrite *bool, syncFlag SyncFlag, leaseID *uuid.UUID, permission *int32) (result autorest.Response, err error)

Create creates a file with optionally specified content. NOTE: If content is provided, the resulting file cannot be modified using ConcurrentAppend. Parameters: accountName - the Azure Data Lake Store account to execute filesystem operations on. pathParameter - 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. syncFlag - optionally indicates what to do after completion of the create. DATA indicates that more data will be sent immediately by the client, the file handle should remain open/locked, and file metadata (including file length, last modified time) should NOT get updated. METADATA indicates that more data will be sent immediately by the client, the file handle should remain open/locked, and file metadata should get updated. CLOSE indicates that the client is done sending data, the file handle should be closed/unlocked, and file metadata should get updated. leaseID - optional unique GUID per file to ensure single writer semantics, meaning that only clients that append to the file with the same leaseId will be allowed to do so. permission - the octal representation of the unnamed user, mask and other permissions that should be set for the file when created. If not specified, it inherits these from the container.

func (Client) CreatePreparer Uses

func (client Client) CreatePreparer(ctx context.Context, accountName string, pathParameter string, streamContents io.ReadCloser, overwrite *bool, syncFlag SyncFlag, leaseID *uuid.UUID, permission *int32) (*http.Request, error)

CreatePreparer prepares the Create request.

func (Client) CreateResponder Uses

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 Uses

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 Uses

func (client Client) Delete(ctx context.Context, accountName string, pathParameter 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. pathParameter - 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 Uses

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

DeletePreparer prepares the Delete request.

func (Client) DeleteResponder Uses

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 Uses

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) GetACLStatus Uses

func (client Client) GetACLStatus(ctx context.Context, accountName string, pathParameter string, tooID *bool) (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. pathParameter - the Data Lake Store path (starting with '/') of the file or directory for which to get the ACL. tooID - an optional switch to return friendly names in place of object ID for ACL entries. tooId=false returns friendly names instead of the AAD Object ID. Default value is true, returning AAD object IDs.

func (Client) GetACLStatusPreparer Uses

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

GetACLStatusPreparer prepares the GetACLStatus request.

func (Client) GetACLStatusResponder Uses

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 Uses

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 Uses

func (client Client) GetContentSummary(ctx context.Context, accountName string, pathParameter 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. pathParameter - the Data Lake Store path (starting with '/') of the file for which to retrieve the summary.

func (Client) GetContentSummaryPreparer Uses

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

GetContentSummaryPreparer prepares the GetContentSummary request.

func (Client) GetContentSummaryResponder Uses

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 Uses

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 Uses

func (client Client) GetFileStatus(ctx context.Context, accountName string, pathParameter string, tooID *bool) (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. pathParameter - the Data Lake Store path (starting with '/') of the file or directory for which to retrieve the status. tooID - an optional switch to return friendly names in place of owner and group. tooId=false returns friendly names instead of the AAD Object ID. Default value is true, returning AAD object IDs.

func (Client) GetFileStatusPreparer Uses

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

GetFileStatusPreparer prepares the GetFileStatus request.

func (Client) GetFileStatusResponder Uses

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 Uses

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 Uses

func (client Client) ListFileStatus(ctx context.Context, accountName string, pathParameter string, listSize *int32, listAfter string, listBefore string, tooID *bool) (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. pathParameter - 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. tooID - an optional switch to return friendly names in place of owner and group. tooId=false returns friendly names instead of the AAD Object ID. Default value is true, returning AAD object IDs.

func (Client) ListFileStatusPreparer Uses

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

ListFileStatusPreparer prepares the ListFileStatus request.

func (Client) ListFileStatusResponder Uses

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 Uses

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 Uses

func (client Client) Mkdirs(ctx context.Context, accountName string, pathParameter string, permission *int32) (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. permission - optional octal permission with which the directory should be created.

func (Client) MkdirsPreparer Uses

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

MkdirsPreparer prepares the Mkdirs request.

func (Client) MkdirsResponder Uses

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 Uses

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 Uses

func (client Client) ModifyACLEntries(ctx context.Context, accountName string, pathParameter 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. pathParameter - 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 Uses

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

ModifyACLEntriesPreparer prepares the ModifyACLEntries request.

func (Client) ModifyACLEntriesResponder Uses

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 Uses

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 Uses

func (client Client) MsConcat(ctx context.Context, accountName string, pathParameter 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. pathParameter - 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 a comma-separated path list in the format: sources=/file/path/1.txt,/file/path/2.txt,/file/path/lastfile.csv 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 Uses

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

MsConcatPreparer prepares the MsConcat request.

func (Client) MsConcatResponder Uses

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 Uses

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 Uses

func (client Client) Open(ctx context.Context, accountName string, pathParameter string, length *int64, offset *int64, fileSessionID *uuid.UUID) (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. pathParameter - the Data Lake Store path (starting with '/') of the file to open. length - the number of bytes that the server will attempt to retrieve. It will retrieve <= length bytes. offset - the byte offset to start reading data from. fileSessionID - optional unique GUID per file indicating all the reads with the same fileSessionId are from the same client and same session. This will give a performance benefit.

func (Client) OpenPreparer Uses

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

OpenPreparer prepares the Open request.

func (Client) OpenResponder Uses

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 Uses

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 Uses

func (client Client) RemoveACL(ctx context.Context, accountName string, pathParameter 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. pathParameter - the Data Lake Store path (starting with '/') of the file or directory with the ACL being removed.

func (Client) RemoveACLEntries Uses

func (client Client) RemoveACLEntries(ctx context.Context, accountName string, pathParameter 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. pathParameter - 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 Uses

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

RemoveACLEntriesPreparer prepares the RemoveACLEntries request.

func (Client) RemoveACLEntriesResponder Uses

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 Uses

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 Uses

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

RemoveACLPreparer prepares the RemoveACL request.

func (Client) RemoveACLResponder Uses

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 Uses

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 Uses

func (client Client) RemoveDefaultACL(ctx context.Context, accountName string, pathParameter 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. pathParameter - the Data Lake Store path (starting with '/') of the directory with the default ACL being removed.

func (Client) RemoveDefaultACLPreparer Uses

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

RemoveDefaultACLPreparer prepares the RemoveDefaultACL request.

func (Client) RemoveDefaultACLResponder Uses

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 Uses

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 Uses

func (client Client) Rename(ctx context.Context, accountName string, pathParameter 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. pathParameter - 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 Uses

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

RenamePreparer prepares the Rename request.

func (Client) RenameResponder Uses

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 Uses

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 Uses

func (client Client) SetACL(ctx context.Context, accountName string, pathParameter 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. pathParameter - 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 Uses

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

SetACLPreparer prepares the SetACL request.

func (Client) SetACLResponder Uses

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 Uses

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 Uses

func (client Client) SetFileExpiry(ctx context.Context, accountName string, pathParameter 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. pathParameter - 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 Uses

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

SetFileExpiryPreparer prepares the SetFileExpiry request.

func (Client) SetFileExpiryResponder Uses

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 Uses

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 Uses

func (client Client) SetOwner(ctx context.Context, accountName string, pathParameter 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. pathParameter - 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 Uses

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

SetOwnerPreparer prepares the SetOwner request.

func (Client) SetOwnerResponder Uses

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 Uses

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 Uses

func (client Client) SetPermission(ctx context.Context, accountName string, pathParameter 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. pathParameter - 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 Uses

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

SetPermissionPreparer prepares the SetPermission request.

func (Client) SetPermissionResponder Uses

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 Uses

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 Uses

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

type ContentSummaryResult Uses

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.

type Exception Uses

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"
    // ExceptionThrottledException ...
    ExceptionThrottledException Exception = "ThrottledException"
    // ExceptionUnsupportedOperationException ...
    ExceptionUnsupportedOperationException Exception = "UnsupportedOperationException"
)

func PossibleExceptionValues Uses

func PossibleExceptionValues() []Exception

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

type ExpiryOptionType Uses

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 Uses

func PossibleExpiryOptionTypeValues() []ExpiryOptionType

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

type FileOperationResult Uses

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.

type FileStatusProperties Uses

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"`
    // ExpirationTime - READ-ONLY; Gets the expiration time, if any, as ticks since the epoch. If the value is 0 or DateTime.MaxValue there is no expiration.
    ExpirationTime *int64 `json:"msExpirationTime,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"`
    // ACLBit - READ-ONLY; flag to indicate if extended acls are enabled
    ACLBit *bool `json:"aclBit,omitempty"`
}

FileStatusProperties data Lake Store file or directory information.

type FileStatusResult Uses

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.

type FileStatuses Uses

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.

type FileStatusesResult Uses

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.

type FileType Uses

type FileType string

FileType enumerates the values for file type.

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

func PossibleFileTypeValues Uses

func PossibleFileTypeValues() []FileType

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

type ReadCloser Uses

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

ReadCloser ...

type SyncFlag Uses

type SyncFlag string

SyncFlag enumerates the values for sync flag.

const (
    // CLOSE ...
    CLOSE SyncFlag = "CLOSE"
    // DATA ...
    DATA SyncFlag = "DATA"
    // METADATA ...
    METADATA SyncFlag = "METADATA"
)

func PossibleSyncFlagValues Uses

func PossibleSyncFlagValues() []SyncFlag

PossibleSyncFlagValues returns an array of possible values for the SyncFlag const type.

Directories

PathSynopsis
filesystemapi

Package filesystem imports 10 packages (graph) and is imported by 7 packages. Updated 2019-07-30. Refresh now. Tools for package owners.