Documentation ¶
Overview ¶
Package pydio contains all objects needed by the Pydio system
- Copyright 2007-2016 Abstrium <contact (at) pydio.com>
- This file is part of Pydio. *
- Pydio 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. *
- Pydio 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 Pydio. If not, see <http://www.gnu.org/licenses/>. *
- The latest code can be found at <https://pydio.com/>.
Package pydio contains all objects needed by the Pydio system
- Copyright 2007-2016 Abstrium <contact (at) pydio.com>
- This file is part of Pydio. *
- Pydio 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. *
- Pydio 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 Pydio. If not, see <http://www.gnu.org/licenses/>. *
- The latest code can be found at <https://pydio.com/>.
Package pydio contains all objects needed by the Pydio system
- Copyright 2007-2016 Abstrium <contact (at) pydio.com>
- This file is part of Pydio. *
- Pydio 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. *
- Pydio 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 Pydio. If not, see <http://www.gnu.org/licenses/>. *
- The latest code can be found at <https://pydio.com/>.
Package pydio contains all objects needed by the Pydio system
- Copyright 2007-2016 Abstrium <contact (at) pydio.com>
- This file is part of Pydio. *
- Pydio 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. *
- Pydio 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 Pydio. If not, see <http://www.gnu.org/licenses/>. *
- The latest code can be found at <https://pydio.com/>.
Package pydio contains all objects needed by the Pydio system
- Copyright 2007-2016 Abstrium <contact (at) pydio.com>
- This file is part of Pydio. *
- Pydio 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. *
- Pydio 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 Pydio. If not, see <http://www.gnu.org/licenses/>. *
- The latest code can be found at <https://pydio.com/>.
Package pydio contains all objects needed by the Pydio system
- Copyright 2007-2016 Abstrium <contact (at) pydio.com>
- This file is part of Pydio. *
- Pydio 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. *
- Pydio 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 Pydio. If not, see <http://www.gnu.org/licenses/>. *
- The latest code can be found at <https://pydio.com/>.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder interface {
Decode(v interface{}) error
}
Decoder interface for a node
func NewDecoder ¶
NewDecoder returns a new encoder that reads from r.
type Dir ¶
type Dir struct { ParentDir *Dir `path:",first:last-1"` DirName string `path:",last-1:last" query:"dir,"` }
Dir format definition
func (*Dir) UnmarshalPath ¶
UnmarshalPath implementation
func (*Dir) UnmarshalQuery ¶
UnmarshalQuery implementation
type Encoder ¶
type Encoder interface {
Encode(v interface{}) error
}
Encoder interface for a node
func NewEncoder ¶
NewEncoder returns a new encoder that writes to w.
type File ¶
type File struct { Node *Node *Reader Writer sync.WaitGroup // contains filtered or unexported fields }
File format definition
type FileOptions ¶
FileOptions format definition
type Node ¶
type Node struct { Repo *Repo `path:",0:1" query:"repo"` Dir *Dir `path:",1:last-1" query:"dir"` Basename string `path:",last-1:last" query:"file"` Options Options `json:"-"` }
Node format definition
func (*Node) UnmarshalPath ¶
UnmarshalPath implementation
func (*Node) UnmarshalQuery ¶
UnmarshalQuery implementation
type Options ¶
type Options struct { PartialTargetBytesize int64 `json:"partial_target_bytesize"` PartialUpload bool `json:"partial_upload"` XHRUploader bool `json:"xhr_uploader"` ForcePost bool `json:"force_post"` URLEncodedFilename string `json:"urlencoded_filename"` AppendToURLEncodedPart string `json:"appendto_urlencoded_part"` Path string `json:"PATH"` FileOptions `json:"OPTIONS"` S3Options }
Options format definition
func NewOptionsFromJWT ¶
NewOptionsFromJWT creates a user based on a JWT token string
type Repo ¶
type Repo struct { ID string `xml:"id,attr" json:"id" path:",0:1"` ACL string `xml:"acl,attr" json:"acl"` }
Repo format definition
func (*Repo) UnmarshalPath ¶
UnmarshalPath implementation
func (*Repo) UnmarshalQuery ¶
UnmarshalQuery implementation
type S3Options ¶
type S3Options struct { Type string `json:"TYPE"` APIKey string `json:"API_KEY"` APIVersion string `json:"API_VERSION"` Container string `json:"CONTAINER"` Proxy string `json:"PROXY"` VHostNotSupported bool `json:"VHOST_NOT_SUPPORTED"` Region string `json:"REGION"` SecretKey string `json:"SECRET_KEY"` SignatureVersion string `json:"SIGNATURE_VERSION"` StorageURL string `json:"STORAGE_URL"` }
S3Options from server
type User ¶
type User struct { ID string `xml:"id,attr" json:"id"` GroupPath string `xml:"groupPath,attr" json:"grp"` Repos []Repo `xml:"repositories>repo" json:"rep"` }
User format definition
func NewUserFromJWT ¶
NewUserFromJWT creates a user based on a JWT token string
Directories ¶
Path | Synopsis |
---|---|
Package localio contains logic for dealing with local files * Copyright 2007-2016 Abstrium <contact (at) pydio.com> * This file is part of Pydio.
|
Package localio contains logic for dealing with local files * Copyright 2007-2016 Abstrium <contact (at) pydio.com> * This file is part of Pydio. |
* Copyright 2007-2016 Abstrium <contact (at) pydio.com> * This file is part of Pydio.
|
* Copyright 2007-2016 Abstrium <contact (at) pydio.com> * This file is part of Pydio. |
Package s3io contains all logic for dealing with s3 files * Copyright 2007-2016 Abstrium <contact (at) pydio.com> * This file is part of Pydio.
|
Package s3io contains all logic for dealing with s3 files * Copyright 2007-2016 Abstrium <contact (at) pydio.com> * This file is part of Pydio. |