model

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Access

type Access struct {
	DisplayName  string `json:"displayName,omitempty" bson:"displayName,omitempty"`
	EmailAddress string `json:"emailAddress,omitempty" bson:"emailAddress,omitempty"`
	ID           string `json:"id,omitempty" bson:"id,omitempty"`
	Type         string `json:"type,omitempty" bson:"type,omitempty"`
	URI          string `json:"uri,omitempty" bson:"uri,omitempty"`
	Permission   string `json:"permission,omitempty" bson:"permission,omitempty"`
}

func (Access) MarshalEasyJSON

func (v Access) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Access) MarshalJSON

func (v Access) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Access) UnmarshalEasyJSON

func (v *Access) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Access) UnmarshalJSON

func (v *Access) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type ListMetaDataResponse

type ListMetaDataResponse []*MetaBackend

func (ListMetaDataResponse) MarshalEasyJSON

func (v ListMetaDataResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ListMetaDataResponse) MarshalJSON

func (v ListMetaDataResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ListMetaDataResponse) UnmarshalEasyJSON

func (v *ListMetaDataResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ListMetaDataResponse) UnmarshalJSON

func (v *ListMetaDataResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type MetaBackend

type MetaBackend struct {
	Id                      string        `json:"id" bson:"_id"`
	BackendName             string        `json:"backendName" bson:"backendName"`
	Type                    string        `json:"type" bson:"type"`
	Region                  string        `json:"region" bson:"region"`
	Buckets                 []*MetaBucket `json:"buckets" bson:"buckets"`
	NumberOfBuckets         int32         `json:"numberOfBuckets" bson:"numberOfBuckets"`
	NumberOfFilteredBuckets int32         `json:"numberOFilteredBuckets" bson:"numberOFilteredBuckets"`
}

func (MetaBackend) MarshalEasyJSON

func (v MetaBackend) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (MetaBackend) MarshalJSON

func (v MetaBackend) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*MetaBackend) UnmarshalEasyJSON

func (v *MetaBackend) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*MetaBackend) UnmarshalJSON

func (v *MetaBackend) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type MetaBucket

type MetaBucket struct {
	CreationDate            *time.Time        `type:"timestamp" json:"creationDate,omitempty" bson:"creationDate,omitempty"`
	Name                    string            `type:"string" json:"name" bson:"name"`
	Type                    string            `json:"type,omitempty" bson:"type,omitempty"`
	Region                  string            `json:"region,omitempty" bson:"region,omitempty"`
	BucketAcl               []*Access         `json:"bucketAcl,omitempty" bson:"bucketAcl,omitempty"`
	NumberOfObjects         int               `json:"numberOfObjects" bson:"numberOfObjects"`
	NumberOfFilteredObjects int               `json:"numberOfFilteredObjects,omitempty" bson:"numberOfFilteredObjects,omitempty"`
	Objects                 []*MetaObject     `json:"objects" bson:"objects"`
	TotalSize               int64             `json:"totalSize" bson:"totalSize"`
	FilteredBucketSize      int64             `json:"filteredBucketSize,omitempty" bson:"filteredBucketSize"`
	BucketTags              map[string]string `json:"bucketTags,omitempty" bson:"bucketTags,omitempty"`
}

func (MetaBucket) MarshalEasyJSON

func (v MetaBucket) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (MetaBucket) MarshalJSON

func (v MetaBucket) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*MetaBucket) UnmarshalEasyJSON

func (v *MetaBucket) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*MetaBucket) UnmarshalJSON

func (v *MetaBucket) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type MetaObject

type MetaObject struct {
	ObjectName           string            `json:"name" bson:"name"`
	LastModifiedDate     *time.Time        `type:"timestamp" json:"lastModifiedDate" bson:"lastModifiedDate"`
	Size                 int64             `json:"size" bson:"size"`
	ServerSideEncryption string            `json:"serverSideEncryption" bson:"serverSideEncryption"`
	VersionId            string            `json:"versionId,omitempty" bson:"versionId,omitempty"`
	StorageClass         string            `json:"storageClass,omitempty" bson:"storageClass,omitempty"`
	RedirectLocation     string            `json:"redirectLocation,omitempty" bson:"redirectLocation,omitempty"`
	ReplicationStatus    string            `json:"replicationStatus,omitempty" bson:"replicationStatus,omitempty"`
	ExpiresDate          *time.Time        `json:"expiresDate,omitempty" bson:"expiresDate,omitempty"`
	ObjectAcl            []*Access         `json:"objectAcl,omitempty" bson:"objectAcl,omitempty"`
	ObjectTags           map[string]string `json:"objectTags,omitempty" bson:"objectTags,omitempty"`
	Metadata             map[string]string `json:"metadata,omitempty" bson:"metadata,omitempty"`
	ObjectType           string            `json:"objectType,omitempty" bson:"objectType,omitempty"`
}

func (MetaObject) MarshalEasyJSON

func (v MetaObject) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (MetaObject) MarshalJSON

func (v MetaObject) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*MetaObject) UnmarshalEasyJSON

func (v *MetaObject) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*MetaObject) UnmarshalJSON

func (v *MetaObject) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Jump to

Keyboard shortcuts

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