Documentation ¶
Index ¶
- Variables
- func New(parameters types.Parameters) (driver.StorageDriver, error)
- type Engine
- type JobsResponse
- type LocationsNameResponse
- type NgCloudStorageDriver
- func (driver *NgCloudStorageDriver) Close()
- func (driver *NgCloudStorageDriver) GetGroupJobs(groupid string) []*models.Job
- func (driver *NgCloudStorageDriver) GetJob(jobid string) *models.Job
- func (driver *NgCloudStorageDriver) GetJobs() []*models.Job
- func (driver *NgCloudStorageDriver) GetLocation(location string) *models.WorkLocation
- func (driver *NgCloudStorageDriver) GetLocationJobs(location string) []*models.Job
- func (driver *NgCloudStorageDriver) GetLocationSimpleJobs(location string) []*models.SimpleJob
- func (driver *NgCloudStorageDriver) GetLocationsName() []string
- func (driver *NgCloudStorageDriver) GetSimpleJob(jobid string) *models.SimpleJob
- func (driver *NgCloudStorageDriver) GetStateJobs(state int) []*models.Job
- func (driver *NgCloudStorageDriver) Open() error
- func (driver *NgCloudStorageDriver) SetConfigParameters(parameters types.Parameters)
- func (driver *NgCloudStorageDriver) SetJob(job *models.Job)
- func (driver *NgCloudStorageDriver) SetJobLog(joblog *models.JobLog)
- type PageData
- type SimpleJobsResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNgCloudStorageDriverURLInvalid = errors.New("ngcloud storage driver apiURL invalid.")
)
Functions ¶
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine is exported
func (*Engine) SetConfigParameters ¶
type JobsResponse ¶
JobsResponse is exported
type LocationsNameResponse ¶
LocationsNameResponse is exported
type NgCloudStorageDriver ¶
type NgCloudStorageDriver struct { sync.RWMutex driver.StorageDriver // contains filtered or unexported fields }
NgCloudStorageDriver is exported
func (*NgCloudStorageDriver) GetGroupJobs ¶
func (driver *NgCloudStorageDriver) GetGroupJobs(groupid string) []*models.Job
GetGroupJobs is exported
func (*NgCloudStorageDriver) GetJob ¶
func (driver *NgCloudStorageDriver) GetJob(jobid string) *models.Job
GetJob is exported
func (*NgCloudStorageDriver) GetJobs ¶
func (driver *NgCloudStorageDriver) GetJobs() []*models.Job
GetJobs is exported
func (*NgCloudStorageDriver) GetLocation ¶
func (driver *NgCloudStorageDriver) GetLocation(location string) *models.WorkLocation
GetLocation is exported
func (*NgCloudStorageDriver) GetLocationJobs ¶
func (driver *NgCloudStorageDriver) GetLocationJobs(location string) []*models.Job
GetLocationJobs is exported
func (*NgCloudStorageDriver) GetLocationSimpleJobs ¶
func (driver *NgCloudStorageDriver) GetLocationSimpleJobs(location string) []*models.SimpleJob
GetLocationSimpleJobs is exported
func (*NgCloudStorageDriver) GetLocationsName ¶
func (driver *NgCloudStorageDriver) GetLocationsName() []string
GetLocationsName is exported
func (*NgCloudStorageDriver) GetSimpleJob ¶
func (driver *NgCloudStorageDriver) GetSimpleJob(jobid string) *models.SimpleJob
GetSimpleJob is exported
func (*NgCloudStorageDriver) GetStateJobs ¶
func (driver *NgCloudStorageDriver) GetStateJobs(state int) []*models.Job
GetStateJobs is exported
func (*NgCloudStorageDriver) Open ¶
func (driver *NgCloudStorageDriver) Open() error
Open is exported
func (*NgCloudStorageDriver) SetConfigParameters ¶
func (driver *NgCloudStorageDriver) SetConfigParameters(parameters types.Parameters)
SetConfigParameters is exported
func (*NgCloudStorageDriver) SetJob ¶
func (driver *NgCloudStorageDriver) SetJob(job *models.Job)
SetJob is exported
func (*NgCloudStorageDriver) SetJobLog ¶
func (driver *NgCloudStorageDriver) SetJobLog(joblog *models.JobLog)
SetJobLog is exported
type PageData ¶
type PageData struct { PageSize int `json:"pageSize"` PageIndex int `json:"pageIndex"` TotalRows int `json:"total_rows"` }
PageData is exported
type SimpleJobsResponse ¶
SimpleJobsResponse is exported
Click to show internal directories.
Click to hide internal directories.