Documentation ¶
Overview ¶
Copyright © 2021 Yale University
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2021 Yale University ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2021 Yale University ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2021 Yale University ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2021 Yale University ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Index ¶
- func NewServer(config common.Config) error
- func TokenMiddleware(psk []byte, public map[string]string, h http.Handler) http.Handler
- type DatamoverCreateRequest
- type DatamoverLocationEFSInput
- type DatamoverLocationInput
- type DatamoverLocationOutput
- type DatamoverLocationS3Input
- type DatamoverResponse
- type DatamoverRun
- type LocationType
- type LogWriter
- type MoverUpdateAction
- type Tag
- type Tags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DatamoverCreateRequest ¶
type DatamoverCreateRequest struct { Name *string Source *DatamoverLocationInput Destination *DatamoverLocationInput Tags Tags }
DatamoverCreateRequest is data used to create a DataSync mover
type DatamoverLocationEFSInput ¶ added in v0.2.0
type DatamoverLocationInput ¶
type DatamoverLocationInput struct { Type LocationType S3 *DatamoverLocationS3Input EFS *DatamoverLocationEFSInput }
DatamoverLocationInput is an abstraction for the different location type inputs currently only S3 and EFS are supported
type DatamoverLocationOutput ¶
type DatamoverLocationOutput struct { Type LocationType S3 *datasync.DescribeLocationS3Output `json:",omitempty"` EFS *datasync.DescribeLocationEfsOutput `json:",omitempty"` SMB *datasync.DescribeLocationSmbOutput `json:",omitempty"` NFS *datasync.DescribeLocationNfsOutput `json:",omitempty"` }
DatamoverLocationOutput is an abstraction for the different location type outputs
type DatamoverResponse ¶
type DatamoverResponse struct { // https://docs.aws.amazon.com/sdk-for-go/api/service/datasync/#DescribeTaskOutput Task *datasync.DescribeTaskOutput Source *DatamoverLocationOutput Destination *DatamoverLocationOutput Tags Tags `json:",omitempty"` }
DatamoverResponse is the output from DataSync mover operations
type DatamoverRun ¶ added in v0.3.0
type LocationType ¶
type LocationType string
const ( S3 LocationType = "S3" EFS LocationType = "EFS" SMB LocationType = "SMB" NFS LocationType = "NFS" )
func (LocationType) String ¶
func (lt LocationType) String() string
type MoverUpdateAction ¶ added in v0.3.0
type MoverUpdateAction struct {
State *string
}