Documentation ¶
Index ¶
- Constants
- type Config
- type Dataset
- type DatasetConverter
- type DatasetPath
- type DatasetPathsSchema
- type Datastore
- type DatastoreAuth
- type DatastorePath
- type HttpClient
- type HttpClientAPI
- type HttpClientBuilder
- type HttpClientBuilderAPI
- type HttpResponseError
- type InvalidArgumentError
- type MockedHttpClient
- type MockedHttpClientBuilder
- type ResourceNotFoundError
- type SchemaWrapper
- type SystemData
- type Workspace
- func (w *Workspace) CreateOrUpdateDataset(resourceGroup, workspace string, dataset *Dataset) (*Dataset, error)
- func (w *Workspace) CreateOrUpdateDatastore(resourceGroup, workspace string, datastore *Datastore) (*Datastore, error)
- func (w *Workspace) DeleteDataset(resourceGroup, workspace, datasetName string) error
- func (w *Workspace) DeleteDatasetVersion(resourceGroup, workspace, datasetName string, version int) error
- func (w *Workspace) DeleteDatastore(resourceGroup, workspace, datastoreName string) error
- func (w *Workspace) GetDataset(resourceGroup, workspace, name string, version int) (*Dataset, error)
- func (w *Workspace) GetDatasetNextVersion(resourceGroup, workspace, name string) (int, error)
- func (w *Workspace) GetDatasetVersions(resourceGroup, workspace, datasetName string) ([]Dataset, error)
- func (w *Workspace) GetDatasets(resourceGroup, workspace string) ([]Dataset, error)
- func (w *Workspace) GetDatastore(resourceGroup, workspace, datastoreName string) (*Datastore, error)
- func (w *Workspace) GetDatastores(resourceGroup, workspace string) ([]Datastore, error)
- type WriteDatasetSchema
- type WriteDatastoreCredentialsSchema
- type WriteDatastoreSchema
- type WriteDatastoreSchemaProperties
- type WriteDatastoreSecretsSchema
Constants ¶
View Source
const ( DefaultAmlOauthScope string = "https://management.azure.com/.default" NConcurrentWorkers = 8 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dataset ¶
type Dataset struct { Id string Name string Description string DatastoreId string Version int FilePaths []DatasetPath DirectoryPaths []DatasetPath SystemData *SystemData }
type DatasetConverter ¶
type DatasetConverter struct {
// contains filtered or unexported fields
}
type DatasetPath ¶
type DatasetPathsSchema ¶
type Datastore ¶
type Datastore struct { Id string Name string IsDefault bool Description string StorageType string StorageAccountName string StorageContainerName string SystemData *SystemData Auth *DatastoreAuth }
type DatastoreAuth ¶
type DatastorePath ¶
func NewDatastorePath ¶
func NewDatastorePath(path string) (*DatastorePath, error)
func (DatastorePath) String ¶
func (d DatastorePath) String() string
type HttpClient ¶
type HttpClient struct {
// contains filtered or unexported fields
}
type HttpClientAPI ¶
type HttpClientAPI interface {
// contains filtered or unexported methods
}
type HttpClientBuilder ¶
type HttpClientBuilder struct {
// contains filtered or unexported fields
}
type HttpClientBuilderAPI ¶
type HttpClientBuilderAPI interface {
// contains filtered or unexported methods
}
type HttpResponseError ¶
type HttpResponseError struct {
// contains filtered or unexported fields
}
func (HttpResponseError) Error ¶
func (e HttpResponseError) Error() string
type InvalidArgumentError ¶
type InvalidArgumentError struct {
// contains filtered or unexported fields
}
func (InvalidArgumentError) Error ¶
func (e InvalidArgumentError) Error() string
type MockedHttpClient ¶
type MockedHttpClientBuilder ¶
type MockedHttpClientBuilder struct {
// contains filtered or unexported fields
}
type ResourceNotFoundError ¶
type ResourceNotFoundError struct {
// contains filtered or unexported fields
}
func (ResourceNotFoundError) Error ¶
func (e ResourceNotFoundError) Error() string
type SchemaWrapper ¶
type SchemaWrapper struct {
Properties interface{} `json:"properties"`
}
type SystemData ¶
type Workspace ¶
type Workspace struct {
// contains filtered or unexported fields
}
func (*Workspace) CreateOrUpdateDataset ¶
func (*Workspace) CreateOrUpdateDatastore ¶
func (*Workspace) DeleteDataset ¶
func (*Workspace) DeleteDatasetVersion ¶
func (*Workspace) DeleteDatastore ¶
func (*Workspace) GetDataset ¶
func (*Workspace) GetDatasetNextVersion ¶
func (*Workspace) GetDatasetVersions ¶
func (*Workspace) GetDatasets ¶
func (*Workspace) GetDatastore ¶
type WriteDatasetSchema ¶
type WriteDatasetSchema struct { Description string `json:"description,omitempty"` Paths []DatasetPathsSchema `json:"paths"` }
type WriteDatastoreCredentialsSchema ¶
type WriteDatastoreCredentialsSchema struct { CredentialsType string `json:"credentialsType"` Secrets *WriteDatastoreSecretsSchema `json:"secrets"` ClientId string `json:"clientId,omitempty"` TenantId string `json:"tenantId,omitempty"` SqlUserName string `json:"userId,omitempty"` }
type WriteDatastoreSchema ¶
type WriteDatastoreSchema struct { ContentsType string `json:"contentsType"` StorageAccountName string `json:"accountName,omitempty"` StorageContainerName string `json:"containerName,omitempty"` Credentials *WriteDatastoreCredentialsSchema `json:"credentials,omitempty"` Endpoint string `json:"endpoint"` Protocol string `json:"protocol"` }
type WriteDatastoreSchemaProperties ¶
type WriteDatastoreSchemaProperties struct { Contents WriteDatastoreSchema `json:"contents"` IsDefault bool `json:"isDefault"` Description string `json:"description"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.