goisilon

package
v0.0.0-...-931270c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2015 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Acl

type Acl struct {
	Trustee      Ownership `json:"trustee"`
	Accesstype   string    `json:"accesstype"`
	Accessrights string    `json:"accessrights"`
	InheritFlags string    `json:"inherit_flags"`
	Op           string    `json:"op"`
}

type AclUpdateReq

type AclUpdateReq struct {
	Authoritative string    `json:"authoritative"` // Mandatory
	Action        string    `json:"action"`
	Owner         Ownership `json:"owner"`
	Group         Ownership `json:"group"`
	Mode          string    `json:"mode"`
	Acl           []Acl     `json:"acl"`
}

type DirChildren

type DirChildren struct {
	Name string `json:"name"`
}

type Directory

type Directory struct {
	Children []DirChildren `json:"children"`
}

type ErrObjects

type ErrObjects struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

type Errors

type Errors struct {
	Errors []ErrObjects `json:"errors"`
}

type Ownership

type Ownership struct {
	Id   string `json:"id"`
	Name string `json:"name"`
	Type string `json:"type"`
}

type Snapshot

type Snapshot struct {
	Id              int       `json:"id"`
	Name            string    `json:"name"`
	Schedule        string    `json:"schedule"`
	Created         Timestamp `json:"created"`
	Expires         Timestamp `json:"expires"`
	Path            string    `json:"path"`
	Size            int       `json:"size"`
	ShadowBlocks    int       `json:"shadow_blocks"`
	PctFilesystem   float32   `json:"pct_filesystem"`
	PctReserve      float32   `json:"pct_reserve"`
	AliasTarget     int       `json:"alias_target"`
	AliasTargetName string    `json:"alias_target_name"`
	HasLocks        bool      `json:"has_locks"`
	State           string    `json:"state"`
}

type SnapshotCreateReq

type SnapshotCreateReq struct {
	Name    string    `json:"name"`
	Path    string    `json:"path"`
	Alias   string    `json:"alias"`
	Expires Timestamp `json:"expires"`
}

type SnapshotList

type SnapshotList struct {
	Snapshots []Snapshot `json:"snapshots"`
	Total     int        `json:"total"`
	// contains filtered or unexported fields
}

type Timestamp

type Timestamp int32

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL