Documentation
¶
Index ¶
- type ActivityObject
- type ActivityObjectType
- type ActivityOwnerType
- type ActivitySearchSubscriptionsRequest
- type ActivityStreamActivitiesRequest
- type ActivityStreamContext
- type ActivitySubscription
- type ActivitySummaryPointOfView
- type AuthToken
- type CtlPeer
- type CtlService
- type CtlServiceCommand
- type CtlServiceStatus
- type EncryptionAdminCreateKeyRequest
- type EncryptionAdminCreateKeyResponse
- type EncryptionAdminDeleteKeyRequest
- type EncryptionAdminDeleteKeyResponse
- type EncryptionAdminExportKeyRequest
- type EncryptionAdminExportKeyResponse
- type EncryptionAdminImportKeyRequest
- type EncryptionAdminImportKeyResponse
- type EncryptionAdminListKeysRequest
- type EncryptionAdminListKeysResponse
- type EncryptionExport
- type EncryptionImport
- type EncryptionKey
- type EncryptionKeyInfo
- type IdmACL
- type IdmACLAction
- type IdmACLSingleQuery
- type IdmListPolicyGroupsRequest
- type IdmListPolicyGroupsResponse
- type IdmNodeType
- type IdmPolicy
- type IdmPolicyCondition
- type IdmPolicyEffect
- type IdmPolicyGroup
- type IdmPolicyResourceGroup
- type IdmRole
- type IdmRoleSingleQuery
- type IdmSearchUserMetaRequest
- type IdmUpdateUserMetaNamespaceRequest
- type IdmUpdateUserMetaNamespaceResponse
- type IdmUpdateUserMetaRequest
- type IdmUpdateUserMetaResponse
- type IdmUser
- type IdmUserMeta
- type IdmUserMetaNamespace
- type IdmUserSingleQuery
- type IdmWorkspace
- type IdmWorkspaceScope
- type IdmWorkspaceSingleQuery
- type InstallCheckResult
- type InstallGetAgreementResponse
- type InstallGetDefaultsResponse
- type InstallInstallConfig
- type InstallInstallRequest
- type InstallInstallResponse
- type InstallPerformCheckRequest
- type InstallPerformCheckResponse
- type InstallProxyConfig
- type InstallTLSCertificate
- type InstallTLSLetsEncrypt
- type InstallTLSSelfSigned
- type JobsAction
- type JobsActionLog
- type JobsActionMessage
- type JobsActionOutput
- type JobsActionOutputFilter
- type JobsCommand
- type JobsContextMetaFilter
- type JobsContextMetaFilterType
- type JobsCtrlCommand
- type JobsCtrlCommandResponse
- type JobsDeleteTasksRequest
- type JobsDeleteTasksResponse
- type JobsIdmSelector
- type JobsIdmSelectorType
- type JobsJob
- type JobsJobParameter
- type JobsListJobsRequest
- type JobsNodesSelector
- type JobsSchedule
- type JobsTask
- type JobsTaskStatus
- type JobsUsersSelector
- type ListLogRequestLogFormat
- type ListSharedResourcesRequestListShareType
- type ListSharedResourcesResponseSharedResource
- type LogListLogRequest
- type LogLogMessage
- type MailerMail
- type MailerSendMailResponse
- type MailerUser
- type NodeChangeEventEventType
- type ObjectDataSource
- type ObjectEncryptionMode
- type ObjectStorageType
- type PackagePackageStatus
- type ProtobufAny
- type ResourcePolicyQueryQueryType
- type RestACLCollection
- type RestActionDescription
- type RestBackgroundJobResult
- type RestBulkMetaResponse
- type RestCell
- type RestCellACL
- type RestConfiguration
- type RestControlServiceRequest
- type RestCreateNodesRequest
- type RestCreatePeerFolderRequest
- type RestCreatePeerFolderResponse
- type RestCreateSelectionRequest
- type RestCreateSelectionResponse
- type RestDataSourceCollection
- type RestDeleteCellResponse
- type RestDeleteDataSourceResponse
- type RestDeleteNodesRequest
- type RestDeleteNodesResponse
- type RestDeleteResponse
- type RestDeleteShareLinkResponse
- type RestDeleteUserMetaTagsResponse
- type RestDiscoveryResponse
- type RestError
- type RestFrontBinaryRequest
- type RestFrontBinaryResponse
- type RestFrontBootConfResponse
- type RestFrontEnrollAuthRequest
- type RestFrontEnrollAuthResponse
- type RestFrontMessagesResponse
- type RestFrontPluginsResponse
- type RestFrontSessionRequest
- type RestFrontSessionResponse
- type RestFrontStateResponse
- type RestGetBulkMetaRequest
- type RestHeadNodeResponse
- type RestListPeerFoldersRequest
- type RestListPeersAddressesResponse
- type RestListProcessesRequest
- type RestListProcessesResponse
- type RestListSharedResourcesRequest
- type RestListSharedResourcesResponse
- type RestListStorageBucketsRequest
- type RestListTemplatesResponse
- type RestListUserMetaTagsResponse
- type RestLogMessageCollection
- type RestMetaCollection
- type RestMetaNamespaceRequest
- type RestMetadata
- type RestNodesCollection
- type RestOpenAPIResponse
- type RestPagination
- type RestProcess
- type RestPutCellRequest
- type RestPutShareLinkRequest
- type RestPutUserMetaTagRequest
- type RestPutUserMetaTagResponse
- type RestRelationResponse
- type RestResetPasswordRequest
- type RestResetPasswordResponse
- type RestResetPasswordTokenResponse
- type RestResourcePolicyQuery
- type RestRestoreNodesRequest
- type RestRestoreNodesResponse
- type RestRevokeRequest
- type RestRevokeResponse
- type RestRolesCollection
- type RestSchedulerActionFormResponse
- type RestSchedulerActionsResponse
- type RestSearchACLRequest
- type RestSearchResults
- type RestSearchRoleRequest
- type RestSearchUserRequest
- type RestSearchWorkspaceRequest
- type RestServiceCollection
- type RestSettingsAccess
- type RestSettingsAccessRestPolicy
- type RestSettingsEntry
- type RestSettingsEntryMeta
- type RestSettingsMenuResponse
- type RestSettingsSection
- type RestShareLink
- type RestShareLinkAccessType
- type RestShareLinkTargetUser
- type RestSubscriptionsCollection
- type RestTemplate
- type RestTemplateNode
- type RestUpdateSharePoliciesRequest
- type RestUpdateSharePoliciesResponse
- type RestUserBookmarksRequest
- type RestUserJobRequest
- type RestUserJobResponse
- type RestUserJobsCollection
- type RestUserMetaCollection
- type RestUserMetaNamespaceCollection
- type RestUserStateResponse
- type RestUsersCollection
- type RestVersioningPolicyCollection
- type RestWorkspaceCollection
- type ServiceOperationType
- type ServiceQuery
- type ServiceResourcePolicy
- type ServiceResourcePolicyAction
- type ServiceResourcePolicyPolicyEffect
- type ServiceResourcePolicyQuery
- type TreeChangeLog
- type TreeGeoPoint
- type TreeGeoQuery
- type TreeListNodesRequest
- type TreeNode
- type TreeNodeChangeEvent
- type TreeNodeType
- type TreeQuery
- type TreeReadNodeRequest
- type TreeReadNodeResponse
- type TreeSearchRequest
- type TreeVersioningKeepPeriod
- type TreeVersioningPolicy
- type TreeWorkspaceRelativePath
- type UpdateApplyUpdateRequest
- type UpdateApplyUpdateResponse
- type UpdatePackage
- type UpdateUpdateRequest
- type UpdateUpdateResponse
- type UpdateUserMetaNamespaceRequestUserMetaNsOp
- type UpdateUserMetaRequestUserMetaOp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityObject ¶
type ActivityObject struct {
// Place Properties
Accuracy float32 `json:"accuracy,omitempty"`
// Activity Properties
Actor *ActivityObject `json:"actor,omitempty"`
// altitude
Altitude float32 `json:"altitude,omitempty"`
// any of
AnyOf *ActivityObject `json:"anyOf,omitempty"`
// attachment
Attachment *ActivityObject `json:"attachment,omitempty"`
// attributed to
AttributedTo *ActivityObject `json:"attributedTo,omitempty"`
// audience
Audience *ActivityObject `json:"audience,omitempty"`
// bcc
Bcc *ActivityObject `json:"bcc,omitempty"`
// bto
Bto *ActivityObject `json:"bto,omitempty"`
// cc
Cc *ActivityObject `json:"cc,omitempty"`
// closed
// Format: date-time
Closed strfmt.DateTime `json:"closed,omitempty"`
// content
Content *ActivityObject `json:"content,omitempty"`
// context
Context *ActivityObject `json:"context,omitempty"`
// current
Current *ActivityObject `json:"current,omitempty"`
// deleted
// Format: date-time
Deleted strfmt.DateTime `json:"deleted,omitempty"`
// duration
// Format: date-time
Duration strfmt.DateTime `json:"duration,omitempty"`
// end time
// Format: date-time
EndTime strfmt.DateTime `json:"endTime,omitempty"`
// first
First *ActivityObject `json:"first,omitempty"`
// Tombstone Properties
FormerType ActivityObjectType `json:"formerType,omitempty"`
// generator
Generator *ActivityObject `json:"generator,omitempty"`
// height
Height int32 `json:"height,omitempty"`
// Link Properties
Href string `json:"href,omitempty"`
// hreflang
Hreflang string `json:"hreflang,omitempty"`
// icon
Icon *ActivityObject `json:"icon,omitempty"`
// id
ID string `json:"id,omitempty"`
// image
Image *ActivityObject `json:"image,omitempty"`
// in reply to
InReplyTo *ActivityObject `json:"inReplyTo,omitempty"`
// instrument
Instrument *ActivityObject `json:"instrument,omitempty"`
// Collection Properties
Items []*ActivityObject `json:"items"`
// json ld context
JSONLdContext string `json:"jsonLdContext,omitempty"`
// last
Last *ActivityObject `json:"last,omitempty"`
// latitude
Latitude float32 `json:"latitude,omitempty"`
// location
Location *ActivityObject `json:"location,omitempty"`
// longitude
Longitude float32 `json:"longitude,omitempty"`
// media type
MediaType string `json:"mediaType,omitempty"`
// name
Name string `json:"name,omitempty"`
// next
Next *ActivityObject `json:"next,omitempty"`
// object
Object *ActivityObject `json:"object,omitempty"`
// Question Properties
OneOf *ActivityObject `json:"oneOf,omitempty"`
// origin
Origin *ActivityObject `json:"origin,omitempty"`
// part of
PartOf *ActivityObject `json:"partOf,omitempty"`
// prev
Prev *ActivityObject `json:"prev,omitempty"`
// preview
Preview *ActivityObject `json:"preview,omitempty"`
// published
// Format: date-time
Published strfmt.DateTime `json:"published,omitempty"`
// radius
Radius float32 `json:"radius,omitempty"`
// rel
Rel string `json:"rel,omitempty"`
// relationship
Relationship *ActivityObject `json:"relationship,omitempty"`
// replies
Replies *ActivityObject `json:"replies,omitempty"`
// result
Result *ActivityObject `json:"result,omitempty"`
// start time
// Format: date-time
StartTime strfmt.DateTime `json:"startTime,omitempty"`
// Relationship Properties
Subject *ActivityObject `json:"subject,omitempty"`
// summary
Summary string `json:"summary,omitempty"`
// tag
Tag *ActivityObject `json:"tag,omitempty"`
// target
Target *ActivityObject `json:"target,omitempty"`
// to
To *ActivityObject `json:"to,omitempty"`
// total items
TotalItems int32 `json:"totalItems,omitempty"`
// type
Type ActivityObjectType `json:"type,omitempty"`
// units
Units string `json:"units,omitempty"`
// updated
// Format: date-time
Updated strfmt.DateTime `json:"updated,omitempty"`
// url
URL *ActivityObject `json:"url,omitempty"`
// width
Width int32 `json:"width,omitempty"`
}
ActivityObject activity object swagger:model activityObject
func (*ActivityObject) MarshalBinary ¶
func (m *ActivityObject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ActivityObject) UnmarshalBinary ¶
func (m *ActivityObject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ActivityObjectType ¶
type ActivityObjectType string
ActivityObjectType - Collection: CollectionTypes
- Application: Actor Types
- Article: Objects Types
- Accept: Activity Types
- Workspace: Pydio Types
swagger:model activityObjectType
const ( // ActivityObjectTypeBaseObject captures enum value "BaseObject" ActivityObjectTypeBaseObject ActivityObjectType = "BaseObject" // ActivityObjectTypeActivity captures enum value "Activity" ActivityObjectTypeActivity ActivityObjectType = "Activity" // ActivityObjectTypeLink captures enum value "Link" ActivityObjectTypeLink ActivityObjectType = "Link" // ActivityObjectTypeMention captures enum value "Mention" ActivityObjectTypeMention ActivityObjectType = "Mention" // ActivityObjectTypeCollection captures enum value "Collection" ActivityObjectTypeCollection ActivityObjectType = "Collection" // ActivityObjectTypeOrderedCollection captures enum value "OrderedCollection" ActivityObjectTypeOrderedCollection ActivityObjectType = "OrderedCollection" // ActivityObjectTypeCollectionPage captures enum value "CollectionPage" ActivityObjectTypeCollectionPage ActivityObjectType = "CollectionPage" // ActivityObjectTypeOrderedCollectionPage captures enum value "OrderedCollectionPage" ActivityObjectTypeOrderedCollectionPage ActivityObjectType = "OrderedCollectionPage" // ActivityObjectTypeApplication captures enum value "Application" ActivityObjectTypeApplication ActivityObjectType = "Application" // ActivityObjectTypeGroup captures enum value "Group" ActivityObjectTypeGroup ActivityObjectType = "Group" // ActivityObjectTypeOrganization captures enum value "Organization" ActivityObjectTypeOrganization ActivityObjectType = "Organization" // ActivityObjectTypePerson captures enum value "Person" ActivityObjectTypePerson ActivityObjectType = "Person" // ActivityObjectTypeService captures enum value "Service" ActivityObjectTypeService ActivityObjectType = "Service" // ActivityObjectTypeArticle captures enum value "Article" ActivityObjectTypeArticle ActivityObjectType = "Article" // ActivityObjectTypeAudio captures enum value "Audio" ActivityObjectTypeAudio ActivityObjectType = "Audio" // ActivityObjectTypeDocument captures enum value "Document" ActivityObjectTypeDocument ActivityObjectType = "Document" // ActivityObjectTypeEvent captures enum value "Event" ActivityObjectTypeEvent ActivityObjectType = "Event" // ActivityObjectTypeImage captures enum value "Image" ActivityObjectTypeImage ActivityObjectType = "Image" // ActivityObjectTypeNote captures enum value "Note" ActivityObjectTypeNote ActivityObjectType = "Note" // ActivityObjectTypePage captures enum value "Page" ActivityObjectTypePage ActivityObjectType = "Page" // ActivityObjectTypePlace captures enum value "Place" ActivityObjectTypePlace ActivityObjectType = "Place" // ActivityObjectTypeProfile captures enum value "Profile" ActivityObjectTypeProfile ActivityObjectType = "Profile" // ActivityObjectTypeRelationship captures enum value "Relationship" ActivityObjectTypeRelationship ActivityObjectType = "Relationship" // ActivityObjectTypeTombstone captures enum value "Tombstone" ActivityObjectTypeTombstone ActivityObjectType = "Tombstone" // ActivityObjectTypeVideo captures enum value "Video" ActivityObjectTypeVideo ActivityObjectType = "Video" // ActivityObjectTypeAccept captures enum value "Accept" ActivityObjectTypeAccept ActivityObjectType = "Accept" // ActivityObjectTypeAdd captures enum value "Add" ActivityObjectTypeAdd ActivityObjectType = "Add" // ActivityObjectTypeAnnounce captures enum value "Announce" ActivityObjectTypeAnnounce ActivityObjectType = "Announce" // ActivityObjectTypeArrive captures enum value "Arrive" ActivityObjectTypeArrive ActivityObjectType = "Arrive" // ActivityObjectTypeBlock captures enum value "Block" ActivityObjectTypeBlock ActivityObjectType = "Block" // ActivityObjectTypeCreate captures enum value "Create" ActivityObjectTypeCreate ActivityObjectType = "Create" // ActivityObjectTypeDelete captures enum value "Delete" ActivityObjectTypeDelete ActivityObjectType = "Delete" // ActivityObjectTypeDislike captures enum value "Dislike" ActivityObjectTypeDislike ActivityObjectType = "Dislike" // ActivityObjectTypeFlag captures enum value "Flag" ActivityObjectTypeFlag ActivityObjectType = "Flag" // ActivityObjectTypeFollow captures enum value "Follow" ActivityObjectTypeFollow ActivityObjectType = "Follow" // ActivityObjectTypeIgnore captures enum value "Ignore" ActivityObjectTypeIgnore ActivityObjectType = "Ignore" // ActivityObjectTypeInvite captures enum value "Invite" ActivityObjectTypeInvite ActivityObjectType = "Invite" // ActivityObjectTypeJoin captures enum value "Join" ActivityObjectTypeJoin ActivityObjectType = "Join" // ActivityObjectTypeLeave captures enum value "Leave" ActivityObjectTypeLeave ActivityObjectType = "Leave" // ActivityObjectTypeLike captures enum value "Like" ActivityObjectTypeLike ActivityObjectType = "Like" // ActivityObjectTypeListen captures enum value "Listen" ActivityObjectTypeListen ActivityObjectType = "Listen" // ActivityObjectTypeMove captures enum value "Move" ActivityObjectTypeMove ActivityObjectType = "Move" // ActivityObjectTypeOffer captures enum value "Offer" ActivityObjectTypeOffer ActivityObjectType = "Offer" // ActivityObjectTypeQuestion captures enum value "Question" ActivityObjectTypeQuestion ActivityObjectType = "Question" // ActivityObjectTypeReject captures enum value "Reject" ActivityObjectTypeReject ActivityObjectType = "Reject" // ActivityObjectTypeRead captures enum value "Read" ActivityObjectTypeRead ActivityObjectType = "Read" // ActivityObjectTypeRemove captures enum value "Remove" ActivityObjectTypeRemove ActivityObjectType = "Remove" // ActivityObjectTypeTentativeReject captures enum value "TentativeReject" ActivityObjectTypeTentativeReject ActivityObjectType = "TentativeReject" // ActivityObjectTypeTentativeAccept captures enum value "TentativeAccept" ActivityObjectTypeTentativeAccept ActivityObjectType = "TentativeAccept" // ActivityObjectTypeTravel captures enum value "Travel" ActivityObjectTypeTravel ActivityObjectType = "Travel" // ActivityObjectTypeUndo captures enum value "Undo" ActivityObjectTypeUndo ActivityObjectType = "Undo" // ActivityObjectTypeUpdate captures enum value "Update" ActivityObjectTypeUpdate ActivityObjectType = "Update" // ActivityObjectTypeUpdateComment captures enum value "UpdateComment" ActivityObjectTypeUpdateComment ActivityObjectType = "UpdateComment" // ActivityObjectTypeUpdateMeta captures enum value "UpdateMeta" ActivityObjectTypeUpdateMeta ActivityObjectType = "UpdateMeta" // ActivityObjectTypeView captures enum value "View" ActivityObjectTypeView ActivityObjectType = "View" // ActivityObjectTypeWorkspace captures enum value "Workspace" ActivityObjectTypeWorkspace ActivityObjectType = "Workspace" // ActivityObjectTypeDigest captures enum value "Digest" ActivityObjectTypeDigest ActivityObjectType = "Digest" // ActivityObjectTypeFolder captures enum value "Folder" ActivityObjectTypeFolder ActivityObjectType = "Folder" // ActivityObjectTypeCell captures enum value "Cell" ActivityObjectTypeCell ActivityObjectType = "Cell" ActivityObjectTypeShare ActivityObjectType = "Share" )
type ActivityOwnerType ¶
type ActivityOwnerType string
ActivityOwnerType activity owner type swagger:model activityOwnerType
const ( // ActivityOwnerTypeNODE captures enum value "NODE" ActivityOwnerTypeNODE ActivityOwnerType = "NODE" // ActivityOwnerTypeUSER captures enum value "USER" ActivityOwnerTypeUSER ActivityOwnerType = "USER" )
type ActivitySearchSubscriptionsRequest ¶
type ActivitySearchSubscriptionsRequest struct {
// Filter by object Ids
ObjectIds []string `json:"ObjectIds"`
// Filter by type of objects
ObjectTypes []ActivityOwnerType `json:"ObjectTypes"`
// List of UserIds for which we want to list
UserIds []string `json:"UserIds"`
}
ActivitySearchSubscriptionsRequest activity search subscriptions request swagger:model activitySearchSubscriptionsRequest
func (*ActivitySearchSubscriptionsRequest) MarshalBinary ¶
func (m *ActivitySearchSubscriptionsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ActivitySearchSubscriptionsRequest) UnmarshalBinary ¶
func (m *ActivitySearchSubscriptionsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ActivityStreamActivitiesRequest ¶
type ActivityStreamActivitiesRequest struct {
// Compute a digest of all unread activities
AsDigest bool `json:"AsDigest,omitempty"`
// Target inbox or outbox for the given object
BoxName string `json:"BoxName,omitempty"`
// Define the context of the stream
Context ActivityStreamContext `json:"Context,omitempty"`
// Value for the context (e.g. User Id, Node Id)
ContextData string `json:"ContextData,omitempty"`
// Provide language information for building the human-readable strings.
Language string `json:"Language,omitempty"`
// Limit the number of results
Limit string `json:"Limit,omitempty"`
// Start listing at a given position
Offset string `json:"Offset,omitempty"`
// Provide context for building the human-readable strings of each activity
PointOfView ActivitySummaryPointOfView `json:"PointOfView,omitempty"`
// Json-encoded filter
StreamFilter string `json:"StreamFilter,omitempty"`
// Count last activities that were not loaded yet
UnreadCountOnly bool `json:"UnreadCountOnly,omitempty"`
}
ActivityStreamActivitiesRequest activity stream activities request swagger:model activityStreamActivitiesRequest
func (*ActivityStreamActivitiesRequest) MarshalBinary ¶
func (m *ActivityStreamActivitiesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ActivityStreamActivitiesRequest) UnmarshalBinary ¶
func (m *ActivityStreamActivitiesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ActivityStreamContext ¶
type ActivityStreamContext string
ActivityStreamContext activity stream context swagger:model activityStreamContext
const ( // ActivityStreamContextMYFEED captures enum value "MYFEED" ActivityStreamContextMYFEED ActivityStreamContext = "MYFEED" // ActivityStreamContextUSERID captures enum value "USER_ID" ActivityStreamContextUSERID ActivityStreamContext = "USER_ID" // ActivityStreamContextNODEID captures enum value "NODE_ID" ActivityStreamContextNODEID ActivityStreamContext = "NODE_ID" )
type ActivitySubscription ¶
type ActivitySubscription struct {
// List of events to listen to
Events []string `json:"Events"`
// If of the owner
ObjectID string `json:"ObjectId,omitempty"`
// Type of owner
ObjectType ActivityOwnerType `json:"ObjectType,omitempty"`
// Id of the user for this subscription
UserID string `json:"UserId,omitempty"`
}
ActivitySubscription activity subscription swagger:model activitySubscription
func (*ActivitySubscription) MarshalBinary ¶
func (m *ActivitySubscription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ActivitySubscription) UnmarshalBinary ¶
func (m *ActivitySubscription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ActivitySummaryPointOfView ¶
type ActivitySummaryPointOfView string
ActivitySummaryPointOfView activity summary point of view swagger:model activitySummaryPointOfView
const ( // ActivitySummaryPointOfViewGENERIC captures enum value "GENERIC" ActivitySummaryPointOfViewGENERIC ActivitySummaryPointOfView = "GENERIC" // ActivitySummaryPointOfViewACTOR captures enum value "ACTOR" ActivitySummaryPointOfViewACTOR ActivitySummaryPointOfView = "ACTOR" // ActivitySummaryPointOfViewSUBJECT captures enum value "SUBJECT" ActivitySummaryPointOfViewSUBJECT ActivitySummaryPointOfView = "SUBJECT" )
type AuthToken ¶
type AuthToken struct {
// access token
AccessToken string `json:"AccessToken,omitempty"`
// expires at
ExpiresAt string `json:"ExpiresAt,omitempty"`
// ID token
IDToken string `json:"IDToken,omitempty"`
// refresh token
RefreshToken string `json:"RefreshToken,omitempty"`
}
AuthToken auth token swagger:model authToken
func (*AuthToken) MarshalBinary ¶
MarshalBinary interface implementation
func (*AuthToken) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CtlPeer ¶
type CtlPeer struct {
// address
Address string `json:"Address,omitempty"`
// Id
ID string `json:"Id,omitempty"`
// metadata
Metadata map[string]string `json:"Metadata,omitempty"`
// port
Port int32 `json:"Port,omitempty"`
}
CtlPeer ctl peer swagger:model ctlPeer
func (*CtlPeer) MarshalBinary ¶
MarshalBinary interface implementation
func (*CtlPeer) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CtlService ¶
type CtlService struct {
// controllable
Controllable bool `json:"Controllable,omitempty"`
// description
Description string `json:"Description,omitempty"`
// name
Name string `json:"Name,omitempty"`
// running peers
RunningPeers []*CtlPeer `json:"RunningPeers"`
// status
Status CtlServiceStatus `json:"Status,omitempty"`
// tag
Tag string `json:"Tag,omitempty"`
// version
Version string `json:"Version,omitempty"`
}
CtlService ctl service swagger:model ctlService
func (*CtlService) MarshalBinary ¶
func (m *CtlService) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CtlService) UnmarshalBinary ¶
func (m *CtlService) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CtlServiceCommand ¶
type CtlServiceCommand string
CtlServiceCommand ctl service command swagger:model ctlServiceCommand
const ( // CtlServiceCommandSTART captures enum value "START" CtlServiceCommandSTART CtlServiceCommand = "START" // CtlServiceCommandSTOP captures enum value "STOP" CtlServiceCommandSTOP CtlServiceCommand = "STOP" )
type CtlServiceStatus ¶
type CtlServiceStatus string
CtlServiceStatus ctl service status swagger:model ctlServiceStatus
const ( // CtlServiceStatusANY captures enum value "ANY" CtlServiceStatusANY CtlServiceStatus = "ANY" // CtlServiceStatusSTOPPED captures enum value "STOPPED" CtlServiceStatusSTOPPED CtlServiceStatus = "STOPPED" // CtlServiceStatusSTARTING captures enum value "STARTING" CtlServiceStatusSTARTING CtlServiceStatus = "STARTING" // CtlServiceStatusSTOPPING captures enum value "STOPPING" CtlServiceStatusSTOPPING CtlServiceStatus = "STOPPING" // CtlServiceStatusSTARTED captures enum value "STARTED" CtlServiceStatusSTARTED CtlServiceStatus = "STARTED" )
type EncryptionAdminCreateKeyRequest ¶
type EncryptionAdminCreateKeyRequest struct {
// Create a key with this ID
KeyID string `json:"KeyID,omitempty"`
// Provide label for the newly created key
Label string `json:"Label,omitempty"`
}
EncryptionAdminCreateKeyRequest encryption admin create key request swagger:model encryptionAdminCreateKeyRequest
func (*EncryptionAdminCreateKeyRequest) MarshalBinary ¶
func (m *EncryptionAdminCreateKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionAdminCreateKeyRequest) UnmarshalBinary ¶
func (m *EncryptionAdminCreateKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EncryptionAdminCreateKeyResponse ¶
type EncryptionAdminCreateKeyResponse struct {
// success
Success bool `json:"Success,omitempty"`
}
EncryptionAdminCreateKeyResponse encryption admin create key response swagger:model encryptionAdminCreateKeyResponse
func (*EncryptionAdminCreateKeyResponse) MarshalBinary ¶
func (m *EncryptionAdminCreateKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionAdminCreateKeyResponse) UnmarshalBinary ¶
func (m *EncryptionAdminCreateKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EncryptionAdminDeleteKeyRequest ¶
type EncryptionAdminDeleteKeyRequest struct {
// Id of the key to delete
KeyID string `json:"KeyID,omitempty"`
}
EncryptionAdminDeleteKeyRequest encryption admin delete key request swagger:model encryptionAdminDeleteKeyRequest
func (*EncryptionAdminDeleteKeyRequest) MarshalBinary ¶
func (m *EncryptionAdminDeleteKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionAdminDeleteKeyRequest) UnmarshalBinary ¶
func (m *EncryptionAdminDeleteKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EncryptionAdminDeleteKeyResponse ¶
type EncryptionAdminDeleteKeyResponse struct {
// success
Success bool `json:"Success,omitempty"`
}
EncryptionAdminDeleteKeyResponse encryption admin delete key response swagger:model encryptionAdminDeleteKeyResponse
func (*EncryptionAdminDeleteKeyResponse) MarshalBinary ¶
func (m *EncryptionAdminDeleteKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionAdminDeleteKeyResponse) UnmarshalBinary ¶
func (m *EncryptionAdminDeleteKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EncryptionAdminExportKeyRequest ¶
type EncryptionAdminExportKeyRequest struct {
// Id of the key to export
KeyID string `json:"KeyID,omitempty"`
// Associated password as string
StrPassword string `json:"StrPassword,omitempty"`
}
EncryptionAdminExportKeyRequest encryption admin export key request swagger:model encryptionAdminExportKeyRequest
func (*EncryptionAdminExportKeyRequest) MarshalBinary ¶
func (m *EncryptionAdminExportKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionAdminExportKeyRequest) UnmarshalBinary ¶
func (m *EncryptionAdminExportKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EncryptionAdminExportKeyResponse ¶
type EncryptionAdminExportKeyResponse struct {
// key
Key *EncryptionKey `json:"Key,omitempty"`
}
EncryptionAdminExportKeyResponse encryption admin export key response swagger:model encryptionAdminExportKeyResponse
func (*EncryptionAdminExportKeyResponse) MarshalBinary ¶
func (m *EncryptionAdminExportKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionAdminExportKeyResponse) UnmarshalBinary ¶
func (m *EncryptionAdminExportKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EncryptionAdminImportKeyRequest ¶
type EncryptionAdminImportKeyRequest struct {
// Imported key data
Key *EncryptionKey `json:"Key,omitempty"`
// Whether to override if a key with same ID already exists
Override bool `json:"Override,omitempty"`
// Key password
StrPassword string `json:"StrPassword,omitempty"`
}
EncryptionAdminImportKeyRequest encryption admin import key request swagger:model encryptionAdminImportKeyRequest
func (*EncryptionAdminImportKeyRequest) MarshalBinary ¶
func (m *EncryptionAdminImportKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionAdminImportKeyRequest) UnmarshalBinary ¶
func (m *EncryptionAdminImportKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EncryptionAdminImportKeyResponse ¶
type EncryptionAdminImportKeyResponse struct {
// success
Success bool `json:"Success,omitempty"`
}
EncryptionAdminImportKeyResponse encryption admin import key response swagger:model encryptionAdminImportKeyResponse
func (*EncryptionAdminImportKeyResponse) MarshalBinary ¶
func (m *EncryptionAdminImportKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionAdminImportKeyResponse) UnmarshalBinary ¶
func (m *EncryptionAdminImportKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EncryptionAdminListKeysRequest ¶
type EncryptionAdminListKeysRequest interface{}
EncryptionAdminListKeysRequest encryption admin list keys request swagger:model encryptionAdminListKeysRequest
type EncryptionAdminListKeysResponse ¶
type EncryptionAdminListKeysResponse struct {
// keys
Keys []*EncryptionKey `json:"Keys"`
}
EncryptionAdminListKeysResponse encryption admin list keys response swagger:model encryptionAdminListKeysResponse
func (*EncryptionAdminListKeysResponse) MarshalBinary ¶
func (m *EncryptionAdminListKeysResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionAdminListKeysResponse) UnmarshalBinary ¶
func (m *EncryptionAdminListKeysResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EncryptionExport ¶
type EncryptionExport struct {
// Name of exporter
By string `json:"By,omitempty"`
// Date of export
Date int32 `json:"Date,omitempty"`
}
EncryptionExport encryption export swagger:model encryptionExport
func (*EncryptionExport) MarshalBinary ¶
func (m *EncryptionExport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionExport) UnmarshalBinary ¶
func (m *EncryptionExport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EncryptionImport ¶
type EncryptionImport struct {
// Name of importer
By string `json:"By,omitempty"`
// Date of import
Date int32 `json:"Date,omitempty"`
}
EncryptionImport encryption import swagger:model encryptionImport
func (*EncryptionImport) MarshalBinary ¶
func (m *EncryptionImport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionImport) UnmarshalBinary ¶
func (m *EncryptionImport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EncryptionKey ¶
type EncryptionKey struct {
// Key content
Content string `json:"Content,omitempty"`
// Key creation date
CreationDate int32 `json:"CreationDate,omitempty"`
// Key ID
ID string `json:"ID,omitempty"`
// Additional key info
Info *EncryptionKeyInfo `json:"Info,omitempty"`
// Key label
Label string `json:"Label,omitempty"`
// Key owner
Owner string `json:"Owner,omitempty"`
}
EncryptionKey encryption key swagger:model encryptionKey
func (*EncryptionKey) MarshalBinary ¶
func (m *EncryptionKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionKey) UnmarshalBinary ¶
func (m *EncryptionKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EncryptionKeyInfo ¶
type EncryptionKeyInfo struct {
// exports
Exports []*EncryptionExport `json:"Exports"`
// imports
Imports []*EncryptionImport `json:"Imports"`
}
EncryptionKeyInfo encryption key info swagger:model encryptionKeyInfo
func (*EncryptionKeyInfo) MarshalBinary ¶
func (m *EncryptionKeyInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionKeyInfo) UnmarshalBinary ¶
func (m *EncryptionKeyInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdmACL ¶
type IdmACL struct {
// Action on which this ACL provides control
Action *IdmACLAction `json:"Action,omitempty"`
// Unique ID of this ACL
ID string `json:"ID,omitempty"`
// Associated Node
NodeID string `json:"NodeID,omitempty"`
// Associated Role
RoleID string `json:"RoleID,omitempty"`
// Associated Workspace
WorkspaceID string `json:"WorkspaceID,omitempty"`
}
IdmACL ACL are the basic flags that can be put anywhere in the tree to provide some specific rights to a given role. The context of how they apply can be fine-tuned by workspace. swagger:model idmACL
func (*IdmACL) MarshalBinary ¶
MarshalBinary interface implementation
func (*IdmACL) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type IdmACLAction ¶
type IdmACLAction struct {
// name
Name string `json:"Name,omitempty"`
// value
Value string `json:"Value,omitempty"`
}
IdmACLAction idm ACL action swagger:model idmACLAction
func (*IdmACLAction) MarshalBinary ¶
func (m *IdmACLAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdmACLAction) UnmarshalBinary ¶
func (m *IdmACLAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdmACLSingleQuery ¶
type IdmACLSingleQuery struct {
// actions
Actions []*IdmACLAction `json:"Actions"`
// node ids
NodeIds []string `json:"NodeIDs"`
// role ids
RoleIds []string `json:"RoleIDs"`
// workspace ids
WorkspaceIds []string `json:"WorkspaceIDs"`
// not
Not bool `json:"not,omitempty"`
}
IdmACLSingleQuery idm ACL single query swagger:model idmACLSingleQuery
func (*IdmACLSingleQuery) MarshalBinary ¶
func (m *IdmACLSingleQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdmACLSingleQuery) UnmarshalBinary ¶
func (m *IdmACLSingleQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdmListPolicyGroupsRequest ¶
type IdmListPolicyGroupsRequest interface{}
IdmListPolicyGroupsRequest idm list policy groups request swagger:model idmListPolicyGroupsRequest
type IdmListPolicyGroupsResponse ¶
type IdmListPolicyGroupsResponse struct {
// policy groups
PolicyGroups []*IdmPolicyGroup `json:"PolicyGroups"`
// total
Total int32 `json:"Total,omitempty"`
}
IdmListPolicyGroupsResponse idm list policy groups response swagger:model idmListPolicyGroupsResponse
func (*IdmListPolicyGroupsResponse) MarshalBinary ¶
func (m *IdmListPolicyGroupsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdmListPolicyGroupsResponse) UnmarshalBinary ¶
func (m *IdmListPolicyGroupsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdmNodeType ¶
type IdmNodeType string
IdmNodeType idm node type swagger:model idmNodeType
const ( // IdmNodeTypeUNKNOWN captures enum value "UNKNOWN" IdmNodeTypeUNKNOWN IdmNodeType = "UNKNOWN" // IdmNodeTypeUSER captures enum value "USER" IdmNodeTypeUSER IdmNodeType = "USER" // IdmNodeTypeGROUP captures enum value "GROUP" IdmNodeTypeGROUP IdmNodeType = "GROUP" )
type IdmPolicy ¶
type IdmPolicy struct {
// actions
Actions []string `json:"actions"`
// conditions
Conditions map[string]IdmPolicyCondition `json:"conditions,omitempty"`
// description
Description string `json:"description,omitempty"`
// effect
Effect IdmPolicyEffect `json:"effect,omitempty"`
// id
ID string `json:"id,omitempty"`
// resources
Resources []string `json:"resources"`
// subjects
Subjects []string `json:"subjects"`
}
IdmPolicy idm policy swagger:model idmPolicy
func (*IdmPolicy) MarshalBinary ¶
MarshalBinary interface implementation
func (*IdmPolicy) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type IdmPolicyCondition ¶
type IdmPolicyCondition struct {
// json options
JSONOptions string `json:"jsonOptions,omitempty"`
// type
Type string `json:"type,omitempty"`
}
IdmPolicyCondition idm policy condition swagger:model idmPolicyCondition
func (*IdmPolicyCondition) MarshalBinary ¶
func (m *IdmPolicyCondition) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdmPolicyCondition) UnmarshalBinary ¶
func (m *IdmPolicyCondition) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdmPolicyEffect ¶
type IdmPolicyEffect string
IdmPolicyEffect idm policy effect swagger:model idmPolicyEffect
const ( // IdmPolicyEffectUnknown captures enum value "unknown" IdmPolicyEffectUnknown IdmPolicyEffect = "unknown" // IdmPolicyEffectDeny captures enum value "deny" IdmPolicyEffectDeny IdmPolicyEffect = "deny" // IdmPolicyEffectAllow captures enum value "allow" IdmPolicyEffectAllow IdmPolicyEffect = "allow" )
type IdmPolicyGroup ¶
type IdmPolicyGroup struct {
// description
Description string `json:"Description,omitempty"`
// last updated
LastUpdated int32 `json:"LastUpdated,omitempty"`
// name
Name string `json:"Name,omitempty"`
// owner Uuid
OwnerUUID string `json:"OwnerUuid,omitempty"`
// policies
Policies []*IdmPolicy `json:"Policies"`
// resource group
ResourceGroup IdmPolicyResourceGroup `json:"ResourceGroup,omitempty"`
// Uuid
UUID string `json:"Uuid,omitempty"`
}
IdmPolicyGroup idm policy group swagger:model idmPolicyGroup
func (*IdmPolicyGroup) MarshalBinary ¶
func (m *IdmPolicyGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdmPolicyGroup) UnmarshalBinary ¶
func (m *IdmPolicyGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdmPolicyResourceGroup ¶
type IdmPolicyResourceGroup string
IdmPolicyResourceGroup idm policy resource group swagger:model idmPolicyResourceGroup
const ( // IdmPolicyResourceGroupRest captures enum value "rest" IdmPolicyResourceGroupRest IdmPolicyResourceGroup = "rest" // IdmPolicyResourceGroupACL captures enum value "acl" IdmPolicyResourceGroupACL IdmPolicyResourceGroup = "acl" // IdmPolicyResourceGroupOidc captures enum value "oidc" IdmPolicyResourceGroupOidc IdmPolicyResourceGroup = "oidc" )
type IdmRole ¶
type IdmRole struct {
// List of profiles (standard, shared, admin) on which the role will be automatically applied
AutoApplies []string `json:"AutoApplies"`
// Is used in a stack of roles, this one will always be applied last.
ForceOverride bool `json:"ForceOverride,omitempty"`
// Whether this role is attached to a Group object
GroupRole bool `json:"GroupRole,omitempty"`
// Whether this role represents a user team or not
IsTeam bool `json:"IsTeam,omitempty"`
// Label of this role
Label string `json:"Label,omitempty"`
// Last modification date of the role
LastUpdated int32 `json:"LastUpdated,omitempty"`
// List of policies for securing this role access
Policies []*ServiceResourcePolicy `json:"Policies"`
// Whether the policies resolve into an editable state
PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"`
// Whether this role is attached to a User object
UserRole bool `json:"UserRole,omitempty"`
// Unique identifier of this role
UUID string `json:"Uuid,omitempty"`
}
IdmRole Role represents a generic set of permissions that can be applied to any users or groups. swagger:model idmRole
func (*IdmRole) MarshalBinary ¶
MarshalBinary interface implementation
func (*IdmRole) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type IdmRoleSingleQuery ¶
type IdmRoleSingleQuery struct {
// Look for roles that have any value in the autoApplies field
HasAutoApply bool `json:"HasAutoApply,omitempty"`
// Look for group roles only
IsGroupRole bool `json:"IsGroupRole,omitempty"`
// Look for team roles only
IsTeam bool `json:"IsTeam,omitempty"`
// Look for user roles only
IsUserRole bool `json:"IsUserRole,omitempty"`
// Look for roles by label, eventually using wildchar
Label string `json:"Label,omitempty"`
// Look for roles by Uuid
UUID []string `json:"Uuid"`
// Negate the query
Not bool `json:"not,omitempty"`
}
IdmRoleSingleQuery RoleSingleQuery is the basic unit for building queries to Roles. swagger:model idmRoleSingleQuery
func (*IdmRoleSingleQuery) MarshalBinary ¶
func (m *IdmRoleSingleQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdmRoleSingleQuery) UnmarshalBinary ¶
func (m *IdmRoleSingleQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdmSearchUserMetaRequest ¶
type IdmSearchUserMetaRequest struct {
// Look for meta by their unique identifier
MetaUuids []string `json:"MetaUuids"`
// Filter meta by their namespace
Namespace string `json:"Namespace,omitempty"`
// Look for all meta for a list of nodes
NodeUuids []string `json:"NodeUuids"`
// Filter meta by policies query
ResourceQuery *ServiceResourcePolicyQuery `json:"ResourceQuery,omitempty"`
// Filter meta by owner (in the sense of the policies)
ResourceSubjectOwner string `json:"ResourceSubjectOwner,omitempty"`
}
IdmSearchUserMetaRequest Request for searching UserMeta by NodeUuid or by Namespace swagger:model idmSearchUserMetaRequest
func (*IdmSearchUserMetaRequest) MarshalBinary ¶
func (m *IdmSearchUserMetaRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdmSearchUserMetaRequest) UnmarshalBinary ¶
func (m *IdmSearchUserMetaRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdmUpdateUserMetaNamespaceRequest ¶
type IdmUpdateUserMetaNamespaceRequest struct {
// namespaces
Namespaces []*IdmUserMetaNamespace `json:"Namespaces"`
// operation
Operation UpdateUserMetaNamespaceRequestUserMetaNsOp `json:"Operation,omitempty"`
}
IdmUpdateUserMetaNamespaceRequest Modify UserMetaNamespaces swagger:model idmUpdateUserMetaNamespaceRequest
func (*IdmUpdateUserMetaNamespaceRequest) MarshalBinary ¶
func (m *IdmUpdateUserMetaNamespaceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdmUpdateUserMetaNamespaceRequest) UnmarshalBinary ¶
func (m *IdmUpdateUserMetaNamespaceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdmUpdateUserMetaNamespaceResponse ¶
type IdmUpdateUserMetaNamespaceResponse struct {
// namespaces
Namespaces []*IdmUserMetaNamespace `json:"Namespaces"`
}
IdmUpdateUserMetaNamespaceResponse Response of the swagger:model idmUpdateUserMetaNamespaceResponse
func (*IdmUpdateUserMetaNamespaceResponse) MarshalBinary ¶
func (m *IdmUpdateUserMetaNamespaceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdmUpdateUserMetaNamespaceResponse) UnmarshalBinary ¶
func (m *IdmUpdateUserMetaNamespaceResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdmUpdateUserMetaRequest ¶
type IdmUpdateUserMetaRequest struct {
// List of metadatas to update or delete
MetaDatas []*IdmUserMeta `json:"MetaDatas"`
// Type of operation to apply (PUT / DELETE)
Operation UpdateUserMetaRequestUserMetaOp `json:"Operation,omitempty"`
}
IdmUpdateUserMetaRequest Request for modifying UserMeta swagger:model idmUpdateUserMetaRequest
func (*IdmUpdateUserMetaRequest) MarshalBinary ¶
func (m *IdmUpdateUserMetaRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdmUpdateUserMetaRequest) UnmarshalBinary ¶
func (m *IdmUpdateUserMetaRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdmUpdateUserMetaResponse ¶
type IdmUpdateUserMetaResponse struct {
// List of metadatas
MetaDatas []*IdmUserMeta `json:"MetaDatas"`
}
IdmUpdateUserMetaResponse Response of UpdateUserMeta service swagger:model idmUpdateUserMetaResponse
func (*IdmUpdateUserMetaResponse) MarshalBinary ¶
func (m *IdmUpdateUserMetaResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdmUpdateUserMetaResponse) UnmarshalBinary ¶
func (m *IdmUpdateUserMetaResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdmUser ¶
type IdmUser struct {
// A free list of attributes
Attributes map[string]string `json:"Attributes,omitempty"`
// Label of the group, field is empty for users
GroupLabel string `json:"GroupLabel,omitempty"`
// Path to the parent group
GroupPath string `json:"GroupPath,omitempty"`
// Whether this object is a group or a user
IsGroup bool `json:"IsGroup,omitempty"`
// User login is used to connect, field is empty for groups
Login string `json:"Login,omitempty"`
// OldPassword must be set when a user updates her own password
OldPassword string `json:"OldPassword,omitempty"`
// Password can be passed to be updated (but never read back), field is empty for groups
Password string `json:"Password,omitempty"`
// Policies securing access to this user
Policies []*ServiceResourcePolicy `json:"Policies"`
// Context-resolved to quickly check if user is editable or not.
PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"`
// List of roles applied to this user or group
Roles []*IdmRole `json:"Roles"`
// User unique identifier
UUID string `json:"Uuid,omitempty"`
}
IdmUser User can represent either a User or a Group swagger:model idmUser
func (*IdmUser) MarshalBinary ¶
MarshalBinary interface implementation
func (*IdmUser) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type IdmUserMeta ¶
type IdmUserMeta struct {
// Json encoded value used to pass any type of values
JSONValue string `json:"JsonValue,omitempty"`
// Namespace for the metadata
Namespace string `json:"Namespace,omitempty"`
// Unique identifier of the node to which meta is attached
NodeUUID string `json:"NodeUuid,omitempty"`
// Policies for securing access
Policies []*ServiceResourcePolicy `json:"Policies"`
// Context-resolved to quickly check if this meta is editable or not
PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"`
// Unique identifier of the metadata
UUID string `json:"Uuid,omitempty"`
}
IdmUserMeta Piece of metadata attached to a node swagger:model idmUserMeta
func (*IdmUserMeta) MarshalBinary ¶
func (m *IdmUserMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdmUserMeta) UnmarshalBinary ¶
func (m *IdmUserMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdmUserMetaNamespace ¶
type IdmUserMetaNamespace struct {
// Whether a modification of a metadata value for this namespace should trigger an indexation by the search engine
Indexable bool `json:"Indexable,omitempty"`
// Json-encoded type to provide accurate interface for edition
JSONDefinition string `json:"JsonDefinition,omitempty"`
// Human-readable Label
Label string `json:"Label,omitempty"`
// Namespace identifier, must be unique
Namespace string `json:"Namespace,omitempty"`
// Order is used for sorting lists of namesapces
Order int32 `json:"Order,omitempty"`
// Policies securing this namespace
Policies []*ServiceResourcePolicy `json:"Policies"`
}
IdmUserMetaNamespace Globally declared Namespace with associated policies swagger:model idmUserMetaNamespace
func (*IdmUserMetaNamespace) MarshalBinary ¶
func (m *IdmUserMetaNamespace) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdmUserMetaNamespace) UnmarshalBinary ¶
func (m *IdmUserMetaNamespace) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdmUserSingleQuery ¶
type IdmUserSingleQuery struct {
// attribute any value
AttributeAnyValue bool `json:"AttributeAnyValue,omitempty"`
// Search on attribute
AttributeName string `json:"AttributeName,omitempty"`
// attribute value
AttributeValue string `json:"AttributeValue,omitempty"`
// Search a specific group by path
FullPath string `json:"FullPath,omitempty"`
// Search on group path, and if so, search recursively
GroupPath string `json:"GroupPath,omitempty"`
// Shortcut for pydio:profile attribute
HasProfile string `json:"HasProfile,omitempty"`
// Search on roles
HasRole string `json:"HasRole,omitempty"`
// login
Login string `json:"Login,omitempty"`
// node type
NodeType IdmNodeType `json:"NodeType,omitempty"`
// password
Password string `json:"Password,omitempty"`
// recursive
Recursive bool `json:"Recursive,omitempty"`
// Uuid
UUID string `json:"Uuid,omitempty"`
// not
Not bool `json:"not,omitempty"`
}
IdmUserSingleQuery idm user single query swagger:model idmUserSingleQuery
func (*IdmUserSingleQuery) MarshalBinary ¶
func (m *IdmUserSingleQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdmUserSingleQuery) UnmarshalBinary ¶
func (m *IdmUserSingleQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdmWorkspace ¶
type IdmWorkspace struct {
// JSON-encoded list of attributes
Attributes string `json:"Attributes,omitempty"`
// Description of the workspace (max length 1000)
Description string `json:"Description,omitempty"`
// Label of the workspace (max length 500)
Label string `json:"Label,omitempty"`
// Last modification time
LastUpdated int32 `json:"LastUpdated,omitempty"`
// Policies for securing access
Policies []*ServiceResourcePolicy `json:"Policies"`
// Context-resolved to quickly check if workspace is editable or not
PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"`
// List of the Root Nodes in the tree that compose this workspace
RootNodes map[string]TreeNode `json:"RootNodes,omitempty"`
// Quick list of the RootNodes uuids
RootUuids []string `json:"RootUUIDs"`
// Scope can be ADMIN, ROOM (=CELL) or LINK
Scope IdmWorkspaceScope `json:"Scope,omitempty"`
// Slug is an url-compatible form of the workspace label, or can be freely modified (max length 500)
Slug string `json:"Slug,omitempty"`
// Unique identifier of the workspace
UUID string `json:"UUID,omitempty"`
}
IdmWorkspace A Workspace is composed of a set of nodes UUIDs and is used to provide accesses to the tree via ACLs. swagger:model idmWorkspace
func (*IdmWorkspace) MarshalBinary ¶
func (m *IdmWorkspace) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdmWorkspace) UnmarshalBinary ¶
func (m *IdmWorkspace) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdmWorkspaceScope ¶
type IdmWorkspaceScope string
IdmWorkspaceScope idm workspace scope swagger:model idmWorkspaceScope
const ( // IdmWorkspaceScopeANY captures enum value "ANY" IdmWorkspaceScopeANY IdmWorkspaceScope = "ANY" // IdmWorkspaceScopeADMIN captures enum value "ADMIN" IdmWorkspaceScopeADMIN IdmWorkspaceScope = "ADMIN" // IdmWorkspaceScopeROOM captures enum value "ROOM" IdmWorkspaceScopeROOM IdmWorkspaceScope = "ROOM" // IdmWorkspaceScopeLINK captures enum value "LINK" IdmWorkspaceScopeLINK IdmWorkspaceScope = "LINK" )
type IdmWorkspaceSingleQuery ¶
type IdmWorkspaceSingleQuery struct {
// attribute name
AttributeName string `json:"AttributeName,omitempty"`
// attribute value
AttributeValue string `json:"AttributeValue,omitempty"`
// has attribute
HasAttribute string `json:"HasAttribute,omitempty"`
// last updated
LastUpdated string `json:"LastUpdated,omitempty"`
// description
Description string `json:"description,omitempty"`
// label
Label string `json:"label,omitempty"`
// not
Not bool `json:"not,omitempty"`
// scope
Scope IdmWorkspaceScope `json:"scope,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
// uuid
UUID string `json:"uuid,omitempty"`
}
IdmWorkspaceSingleQuery idm workspace single query swagger:model idmWorkspaceSingleQuery
func (*IdmWorkspaceSingleQuery) MarshalBinary ¶
func (m *IdmWorkspaceSingleQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdmWorkspaceSingleQuery) UnmarshalBinary ¶
func (m *IdmWorkspaceSingleQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstallCheckResult ¶
type InstallCheckResult struct {
// Json result
JSONResult string `json:"JsonResult,omitempty"`
// name
Name string `json:"Name,omitempty"`
// success
Success bool `json:"Success,omitempty"`
}
InstallCheckResult install check result swagger:model installCheckResult
func (*InstallCheckResult) MarshalBinary ¶
func (m *InstallCheckResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstallCheckResult) UnmarshalBinary ¶
func (m *InstallCheckResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstallGetAgreementResponse ¶
type InstallGetAgreementResponse struct {
// text
Text string `json:"Text,omitempty"`
}
InstallGetAgreementResponse install get agreement response swagger:model installGetAgreementResponse
func (*InstallGetAgreementResponse) MarshalBinary ¶
func (m *InstallGetAgreementResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstallGetAgreementResponse) UnmarshalBinary ¶
func (m *InstallGetAgreementResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstallGetDefaultsResponse ¶
type InstallGetDefaultsResponse struct {
// config
Config *InstallInstallConfig `json:"config,omitempty"`
}
InstallGetDefaultsResponse install get defaults response swagger:model installGetDefaultsResponse
func (*InstallGetDefaultsResponse) MarshalBinary ¶
func (m *InstallGetDefaultsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstallGetDefaultsResponse) UnmarshalBinary ¶
func (m *InstallGetDefaultsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstallInstallConfig ¶
type InstallInstallConfig struct {
// check results
CheckResults []*InstallCheckResult `json:"CheckResults"`
// Additional proxy config (optional)
ProxyConfig *InstallProxyConfig `json:"ProxyConfig,omitempty"`
// db connection type
DbConnectionType string `json:"dbConnectionType,omitempty"`
// db manual d s n
DbManualDSN string `json:"dbManualDSN,omitempty"`
// db socket file
DbSocketFile string `json:"dbSocketFile,omitempty"`
// db socket name
DbSocketName string `json:"dbSocketName,omitempty"`
// db socket password
DbSocketPassword string `json:"dbSocketPassword,omitempty"`
// db socket user
DbSocketUser string `json:"dbSocketUser,omitempty"`
// db TCP hostname
DbTCPHostname string `json:"dbTCPHostname,omitempty"`
// db TCP name
DbTCPName string `json:"dbTCPName,omitempty"`
// db TCP password
DbTCPPassword string `json:"dbTCPPassword,omitempty"`
// db TCP port
DbTCPPort string `json:"dbTCPPort,omitempty"`
// db TCP user
DbTCPUser string `json:"dbTCPUser,omitempty"`
// ds folder
DsFolder string `json:"dsFolder,omitempty"`
// ds name
DsName string `json:"dsName,omitempty"`
// ds port
DsPort string `json:"dsPort,omitempty"`
// ds s3 Api key
DsS3APIKey string `json:"dsS3ApiKey,omitempty"`
// ds s3 Api secret
DsS3APISecret string `json:"dsS3ApiSecret,omitempty"`
// ds s3 bucket binaries
DsS3BucketBinaries string `json:"dsS3BucketBinaries,omitempty"`
// ds s3 bucket cells
DsS3BucketCells string `json:"dsS3BucketCells,omitempty"`
// ds s3 bucket default
DsS3BucketDefault string `json:"dsS3BucketDefault,omitempty"`
// ds s3 bucket personal
DsS3BucketPersonal string `json:"dsS3BucketPersonal,omitempty"`
// ds s3 bucket thumbs
DsS3BucketThumbs string `json:"dsS3BucketThumbs,omitempty"`
// ds s3 bucket versions
DsS3BucketVersions string `json:"dsS3BucketVersions,omitempty"`
// ds s3 custom
DsS3Custom string `json:"dsS3Custom,omitempty"`
// ds s3 custom region
DsS3CustomRegion string `json:"dsS3CustomRegion,omitempty"`
// ds type
DsType string `json:"dsType,omitempty"`
// frontend application title
FrontendApplicationTitle string `json:"frontendApplicationTitle,omitempty"`
// frontend default language
FrontendDefaultLanguage string `json:"frontendDefaultLanguage,omitempty"`
// frontend hosts
FrontendHosts string `json:"frontendHosts,omitempty"`
// frontend login
FrontendLogin string `json:"frontendLogin,omitempty"`
// frontend password
FrontendPassword string `json:"frontendPassword,omitempty"`
// frontend repeat password
FrontendRepeatPassword string `json:"frontendRepeatPassword,omitempty"`
// internal Url
InternalURL string `json:"internalUrl,omitempty"`
// license required
LicenseRequired bool `json:"licenseRequired,omitempty"`
// license string
LicenseString string `json:"licenseString,omitempty"`
}
InstallInstallConfig install install config swagger:model installInstallConfig
func (*InstallInstallConfig) MarshalBinary ¶
func (m *InstallInstallConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstallInstallConfig) UnmarshalBinary ¶
func (m *InstallInstallConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstallInstallRequest ¶
type InstallInstallRequest struct {
// config
Config *InstallInstallConfig `json:"config,omitempty"`
}
InstallInstallRequest install install request swagger:model installInstallRequest
func (*InstallInstallRequest) MarshalBinary ¶
func (m *InstallInstallRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstallInstallRequest) UnmarshalBinary ¶
func (m *InstallInstallRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstallInstallResponse ¶
type InstallInstallResponse struct {
// success
Success bool `json:"success,omitempty"`
}
InstallInstallResponse install install response swagger:model installInstallResponse
func (*InstallInstallResponse) MarshalBinary ¶
func (m *InstallInstallResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstallInstallResponse) UnmarshalBinary ¶
func (m *InstallInstallResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstallPerformCheckRequest ¶
type InstallPerformCheckRequest struct {
// config
Config *InstallInstallConfig `json:"Config,omitempty"`
// name
Name string `json:"Name,omitempty"`
}
InstallPerformCheckRequest install perform check request swagger:model installPerformCheckRequest
func (*InstallPerformCheckRequest) MarshalBinary ¶
func (m *InstallPerformCheckRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstallPerformCheckRequest) UnmarshalBinary ¶
func (m *InstallPerformCheckRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstallPerformCheckResponse ¶
type InstallPerformCheckResponse struct {
// result
Result *InstallCheckResult `json:"Result,omitempty"`
}
InstallPerformCheckResponse install perform check response swagger:model installPerformCheckResponse
func (*InstallPerformCheckResponse) MarshalBinary ¶
func (m *InstallPerformCheckResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstallPerformCheckResponse) UnmarshalBinary ¶
func (m *InstallPerformCheckResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstallProxyConfig ¶
type InstallProxyConfig struct {
// bind URL
BindURL string `json:"BindURL,omitempty"`
// certificate
Certificate *InstallTLSCertificate `json:"Certificate,omitempty"`
// external URL
ExternalURL string `json:"ExternalURL,omitempty"`
// lets encrypt
LetsEncrypt *InstallTLSLetsEncrypt `json:"LetsEncrypt,omitempty"`
// redirect urls
RedirectUrls []string `json:"RedirectURLs"`
// self signed
SelfSigned *InstallTLSSelfSigned `json:"SelfSigned,omitempty"`
}
InstallProxyConfig ProxyConfig gives necessary URL and TLS configurations to start proxy swagger:model installProxyConfig
func (*InstallProxyConfig) MarshalBinary ¶
func (m *InstallProxyConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstallProxyConfig) UnmarshalBinary ¶
func (m *InstallProxyConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstallTLSCertificate ¶
type InstallTLSCertificate struct {
// cert file
CertFile string `json:"CertFile,omitempty"`
// key file
KeyFile string `json:"KeyFile,omitempty"`
}
InstallTLSCertificate TLSCertificate is a TLSConfig where user passes swagger:model installTLSCertificate
func (*InstallTLSCertificate) MarshalBinary ¶
func (m *InstallTLSCertificate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstallTLSCertificate) UnmarshalBinary ¶
func (m *InstallTLSCertificate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstallTLSLetsEncrypt ¶
type InstallTLSLetsEncrypt struct {
// accept e u l a
AcceptEULA bool `json:"AcceptEULA,omitempty"`
// email
Email string `json:"Email,omitempty"`
// staging c a
StagingCA bool `json:"StagingCA,omitempty"`
}
InstallTLSLetsEncrypt TLSLetsEncrypt set up proxy to automatically get a valid certificate from let's encrypt servers swagger:model installTLSLetsEncrypt
func (*InstallTLSLetsEncrypt) MarshalBinary ¶
func (m *InstallTLSLetsEncrypt) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstallTLSLetsEncrypt) UnmarshalBinary ¶
func (m *InstallTLSLetsEncrypt) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstallTLSSelfSigned ¶
type InstallTLSSelfSigned struct {
// hostnames
Hostnames []string `json:"Hostnames"`
}
InstallTLSSelfSigned TLSSelfSigned generates a selfsigned certificate swagger:model installTLSSelfSigned
func (*InstallTLSSelfSigned) MarshalBinary ¶
func (m *InstallTLSSelfSigned) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstallTLSSelfSigned) UnmarshalBinary ¶
func (m *InstallTLSSelfSigned) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsAction ¶
type JobsAction struct {
// Previous action output filter
ActionOutputFilter *JobsActionOutputFilter `json:"ActionOutputFilter,omitempty"`
// Other actions to perform after this one is finished,
// using the Output of this action as Input for the next.
// If there are many, it is considered they can be triggered
// in parallel
ChainedActions []*JobsAction `json:"ChainedActions"`
// Metadata policy-based filter
ContextMetaFilter *JobsContextMetaFilter `json:"ContextMetaFilter,omitempty"`
// User-defined comment for this action
Description string `json:"Description,omitempty"`
// If any Filter is used, next actions can be triggered on Failure
// This adds ability to create conditional Yes/No branches
FailedFilterActions []*JobsAction `json:"FailedFilterActions"`
// String Identifier for specific action
ID string `json:"ID,omitempty"`
// Idm objects filter
IdmFilter *JobsIdmSelector `json:"IdmFilter,omitempty"`
// Idm objects collector
IdmSelector *JobsIdmSelector `json:"IdmSelector,omitempty"`
// User-defined label for this action
Label string `json:"Label,omitempty"`
// Node Filter
NodesFilter *JobsNodesSelector `json:"NodesFilter,omitempty"`
// Nodes Selector
NodesSelector *JobsNodesSelector `json:"NodesSelector,omitempty"`
// Defined parameters for this action
Parameters map[string]string `json:"Parameters,omitempty"`
// User Filter (deprecated in favor of IdmSelector)
UsersFilter *JobsUsersSelector `json:"UsersFilter,omitempty"`
// Users Selector (deprecated in favor of IdmSelector)
UsersSelector *JobsUsersSelector `json:"UsersSelector,omitempty"`
}
JobsAction jobs action swagger:model jobsAction
func (*JobsAction) MarshalBinary ¶
func (m *JobsAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsAction) UnmarshalBinary ¶
func (m *JobsAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsActionLog ¶
type JobsActionLog struct {
// action
Action *JobsAction `json:"Action,omitempty"`
// input message
InputMessage *JobsActionMessage `json:"InputMessage,omitempty"`
// output message
OutputMessage *JobsActionMessage `json:"OutputMessage,omitempty"`
}
JobsActionLog jobs action log swagger:model jobsActionLog
func (*JobsActionLog) MarshalBinary ¶
func (m *JobsActionLog) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsActionLog) UnmarshalBinary ¶
func (m *JobsActionLog) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsActionMessage ¶
type JobsActionMessage struct {
// One or more ACL
Acls []*IdmACL `json:"Acls"`
// One or more Activity
Activities []*ActivityObject `json:"Activities"`
// Initial event that triggered the Job
Event *ProtobufAny `json:"Event,omitempty"`
// One or more Node
Nodes []*TreeNode `json:"Nodes"`
// Stack of ActionOutput messages appended by all previous actions
OutputChain []*JobsActionOutput `json:"OutputChain"`
// One or more Role
Roles []*IdmRole `json:"Roles"`
// One or more User
Users []*IdmUser `json:"Users"`
// One or more Workspace
Workspaces []*IdmWorkspace `json:"Workspaces"`
}
JobsActionMessage Message passed along from one action to another, main properties are modified by the various actions. OutputChain is being stacked up when passing through actions swagger:model jobsActionMessage
func (*JobsActionMessage) MarshalBinary ¶
func (m *JobsActionMessage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsActionMessage) UnmarshalBinary ¶
func (m *JobsActionMessage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsActionOutput ¶
type JobsActionOutput struct {
// Error
ErrorString string `json:"ErrorString,omitempty"`
// If action was returned WithIgnore()
Ignored bool `json:"Ignored,omitempty"`
// Arbitrary JSON-encoded bytes
// Format: byte
JSONBody strfmt.Base64 `json:"JsonBody,omitempty"`
// Arbitrary bytes sequence
// Format: byte
RawBody strfmt.Base64 `json:"RawBody,omitempty"`
// Arbitrary string
StringBody string `json:"StringBody,omitempty"`
// True if action succeeded
Success bool `json:"Success,omitempty"`
// Time taken to run the action
Time int32 `json:"Time,omitempty"`
}
JobsActionOutput Standard output of an action. Success value is required other are optional swagger:model jobsActionOutput
func (*JobsActionOutput) MarshalBinary ¶
func (m *JobsActionOutput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsActionOutput) UnmarshalBinary ¶
func (m *JobsActionOutput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsActionOutputFilter ¶
type JobsActionOutputFilter struct {
// Query built from ActionOutputSingleQuery
Query *ServiceQuery `json:"Query,omitempty"`
}
JobsActionOutputFilter ActionOutputFilter can be used to filter last message output swagger:model jobsActionOutputFilter
func (*JobsActionOutputFilter) MarshalBinary ¶
func (m *JobsActionOutputFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsActionOutputFilter) UnmarshalBinary ¶
func (m *JobsActionOutputFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsCommand ¶
type JobsCommand string
JobsCommand jobs command swagger:model jobsCommand
const ( // JobsCommandNone captures enum value "None" JobsCommandNone JobsCommand = "None" // JobsCommandPause captures enum value "Pause" JobsCommandPause JobsCommand = "Pause" // JobsCommandResume captures enum value "Resume" JobsCommandResume JobsCommand = "Resume" // JobsCommandStop captures enum value "Stop" JobsCommandStop JobsCommand = "Stop" // JobsCommandDelete captures enum value "Delete" JobsCommandDelete JobsCommand = "Delete" // JobsCommandRunOnce captures enum value "RunOnce" JobsCommandRunOnce JobsCommand = "RunOnce" // JobsCommandInactive captures enum value "Inactive" JobsCommandInactive JobsCommand = "Inactive" // JobsCommandActive captures enum value "Active" JobsCommandActive JobsCommand = "Active" )
type JobsContextMetaFilter ¶
type JobsContextMetaFilter struct {
// Can be built with ContextMetaSingleQuery
Query *ServiceQuery `json:"Query,omitempty"`
// Type of context filter
Type JobsContextMetaFilterType `json:"Type,omitempty"`
}
JobsContextMetaFilter PolicyContextFilter can be used to filter request metadata swagger:model jobsContextMetaFilter
func (*JobsContextMetaFilter) MarshalBinary ¶
func (m *JobsContextMetaFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsContextMetaFilter) UnmarshalBinary ¶
func (m *JobsContextMetaFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsContextMetaFilterType ¶
type JobsContextMetaFilterType string
JobsContextMetaFilterType jobs context meta filter type swagger:model jobsContextMetaFilterType
const ( // JobsContextMetaFilterTypeRequestMeta captures enum value "RequestMeta" JobsContextMetaFilterTypeRequestMeta JobsContextMetaFilterType = "RequestMeta" // JobsContextMetaFilterTypeContextUser captures enum value "ContextUser" JobsContextMetaFilterTypeContextUser JobsContextMetaFilterType = "ContextUser" )
type JobsCtrlCommand ¶
type JobsCtrlCommand struct {
// Type of command to send (None, Pause, Resume, Stop, Delete, RunOnce, Inactive, Active)
Cmd JobsCommand `json:"Cmd,omitempty"`
// Id of the job
JobID string `json:"JobId,omitempty"`
// Owner of the job
OwnerID string `json:"OwnerId,omitempty"`
// Id of the associated task
TaskID string `json:"TaskId,omitempty"`
}
JobsCtrlCommand jobs ctrl command swagger:model jobsCtrlCommand
func (*JobsCtrlCommand) MarshalBinary ¶
func (m *JobsCtrlCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsCtrlCommand) UnmarshalBinary ¶
func (m *JobsCtrlCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsCtrlCommandResponse ¶
type JobsCtrlCommandResponse struct {
// msg
Msg string `json:"Msg,omitempty"`
}
JobsCtrlCommandResponse jobs ctrl command response swagger:model jobsCtrlCommandResponse
func (*JobsCtrlCommandResponse) MarshalBinary ¶
func (m *JobsCtrlCommandResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsCtrlCommandResponse) UnmarshalBinary ¶
func (m *JobsCtrlCommandResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsDeleteTasksRequest ¶
type JobsDeleteTasksRequest struct {
// Id of the job
JobID string `json:"JobId,omitempty"`
// If deleting by status, optionally keep only a number of tasks
PruneLimit int32 `json:"PruneLimit,omitempty"`
// If no TaskID and/or no JobID are passed, delete tasks by status
Status []JobsTaskStatus `json:"Status"`
// Ids of tasks to delete
TaskID []string `json:"TaskID"`
}
JobsDeleteTasksRequest jobs delete tasks request swagger:model jobsDeleteTasksRequest
func (*JobsDeleteTasksRequest) MarshalBinary ¶
func (m *JobsDeleteTasksRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsDeleteTasksRequest) UnmarshalBinary ¶
func (m *JobsDeleteTasksRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsDeleteTasksResponse ¶
type JobsDeleteTasksResponse struct {
// deleted
Deleted []string `json:"Deleted"`
}
JobsDeleteTasksResponse jobs delete tasks response swagger:model jobsDeleteTasksResponse
func (*JobsDeleteTasksResponse) MarshalBinary ¶
func (m *JobsDeleteTasksResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsDeleteTasksResponse) UnmarshalBinary ¶
func (m *JobsDeleteTasksResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsIdmSelector ¶
type JobsIdmSelector struct {
// Load all objects
All bool `json:"All,omitempty"`
// Pass a slice of objects to one action, or trigger all actions in parallel
Collect bool `json:"Collect,omitempty"`
// Serialized search query
Query *ServiceQuery `json:"Query,omitempty"`
// Type of objects to look for
Type JobsIdmSelectorType `json:"Type,omitempty"`
}
JobsIdmSelector Generic container for select/filter idm objects swagger:model jobsIdmSelector
func (*JobsIdmSelector) MarshalBinary ¶
func (m *JobsIdmSelector) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsIdmSelector) UnmarshalBinary ¶
func (m *JobsIdmSelector) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsIdmSelectorType ¶
type JobsIdmSelectorType string
JobsIdmSelectorType Possible values for IdmSelector.Type swagger:model jobsIdmSelectorType
const ( // JobsIdmSelectorTypeUser captures enum value "User" JobsIdmSelectorTypeUser JobsIdmSelectorType = "User" // JobsIdmSelectorTypeRole captures enum value "Role" JobsIdmSelectorTypeRole JobsIdmSelectorType = "Role" // JobsIdmSelectorTypeWorkspace captures enum value "Workspace" JobsIdmSelectorTypeWorkspace JobsIdmSelectorType = "Workspace" // JobsIdmSelectorTypeACL captures enum value "Acl" JobsIdmSelectorTypeACL JobsIdmSelectorType = "Acl" )
type JobsJob ¶
type JobsJob struct {
// Chain of actions to perform
Actions []*JobsAction `json:"Actions"`
// Remove job automatically once it is finished (success only)
AutoClean bool `json:"AutoClean,omitempty"`
// Start task as soon as job is inserted
AutoStart bool `json:"AutoStart,omitempty"`
// Event Context Filter
ContextMetaFilter *JobsContextMetaFilter `json:"ContextMetaFilter,omitempty"`
// How the job will be triggered.
// One of these must be set (not exclusive)
// Listen to a given set of events
EventNames []string `json:"EventNames"`
// Unique ID for this Job
ID string `json:"ID,omitempty"`
// Idm objects filter
IdmFilter *JobsIdmSelector `json:"IdmFilter,omitempty"`
// Admin can temporarily disable this job
Inactive bool `json:"Inactive,omitempty"`
// Human-readable Label
Label string `json:"Label,omitempty"`
// Optional list of languages detected in the context at launch time
Languages []string `json:"Languages"`
// Task properties
MaxConcurrency int32 `json:"MaxConcurrency,omitempty"`
// Filter out specific events
NodeEventFilter *JobsNodesSelector `json:"NodeEventFilter,omitempty"`
// Who created this Job
Owner string `json:"Owner,omitempty"`
// Job-level parameters that can be passed to underlying actions
Parameters []*JobsJobParameter `json:"Parameters"`
// Schedule a periodic repetition
Schedule *JobsSchedule `json:"Schedule,omitempty"`
// Filled with currently running tasks
Tasks []*JobsTask `json:"Tasks"`
// Do not send notification on task update
TasksSilentUpdate bool `json:"TasksSilentUpdate,omitempty"`
// Deprecated in favor of more generic IdmSelector
UserEventFilter *JobsUsersSelector `json:"UserEventFilter,omitempty"`
}
JobsJob jobs job swagger:model jobsJob
func (*JobsJob) MarshalBinary ¶
MarshalBinary interface implementation
func (*JobsJob) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type JobsJobParameter ¶
type JobsJobParameter struct {
// Additional description
Description string `json:"Description,omitempty"`
// Additional data used by GUI elements
JSONChoices string `json:"JsonChoices,omitempty"`
// If mandatory, job cannot start without a value
Mandatory bool `json:"Mandatory,omitempty"`
// Parameter name
Name string `json:"Name,omitempty"`
// Parameter type used in GUI forms
Type string `json:"Type,omitempty"`
// Value saved for this parameter
Value string `json:"Value,omitempty"`
}
JobsJobParameter jobs job parameter swagger:model jobsJobParameter
func (*JobsJobParameter) MarshalBinary ¶
func (m *JobsJobParameter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsJobParameter) UnmarshalBinary ¶
func (m *JobsJobParameter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsListJobsRequest ¶
type JobsListJobsRequest struct {
// Filter with only event-based jobs
EventsOnly bool `json:"EventsOnly,omitempty"`
// Load jobs by their ID
JobIds []string `json:"JobIDs"`
// Load tasks that correspond to the given TaskStatus
LoadTasks JobsTaskStatus `json:"LoadTasks,omitempty"`
// Restrict to a specific owner (current user by default)
Owner string `json:"Owner,omitempty"`
// Lmit the number of results
TasksLimit int32 `json:"TasksLimit,omitempty"`
// Start listing at a given position
TasksOffset int32 `json:"TasksOffset,omitempty"`
// Filter with only timer-based jobs
TimersOnly bool `json:"TimersOnly,omitempty"`
}
JobsListJobsRequest jobs list jobs request swagger:model jobsListJobsRequest
func (*JobsListJobsRequest) MarshalBinary ¶
func (m *JobsListJobsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsListJobsRequest) UnmarshalBinary ¶
func (m *JobsListJobsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsNodesSelector ¶
type JobsNodesSelector struct {
// Select all files - ignore any other condition
All bool `json:"All,omitempty"`
// Wether to trigger one action per node or one action
// with all nodes as selection
Collect bool `json:"Collect,omitempty"`
// Preset list of node pathes
Pathes []string `json:"Pathes"`
// Query to apply to select users (or filter a given node passed by event)
Query *ServiceQuery `json:"Query,omitempty"`
}
JobsNodesSelector ///////////////// JOB SERVICE // ///////////////// swagger:model jobsNodesSelector
func (*JobsNodesSelector) MarshalBinary ¶
func (m *JobsNodesSelector) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsNodesSelector) UnmarshalBinary ¶
func (m *JobsNodesSelector) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsSchedule ¶
type JobsSchedule struct {
// Minimum time between two runs
Iso8601MinDelta string `json:"Iso8601MinDelta,omitempty"`
// ISO 8601 Description of the scheduling for instance "R2/2015-06-04T19:25:16.828696-07:00/PT4S"
// where first part is the number of repetitions (if 0, infinite repetition),
// second part the starting date and last part, the duration between 2 occurrences.
Iso8601Schedule string `json:"Iso8601Schedule,omitempty"`
}
JobsSchedule jobs schedule swagger:model jobsSchedule
func (*JobsSchedule) MarshalBinary ¶
func (m *JobsSchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsSchedule) UnmarshalBinary ¶
func (m *JobsSchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsTask ¶
type JobsTask struct {
// Logs of all the actions performed
ActionsLogs []*JobsActionLog `json:"ActionsLogs"`
// Can be paused/resumed
CanPause bool `json:"CanPause,omitempty"`
// Can be interrupted
CanStop bool `json:"CanStop,omitempty"`
// end time
EndTime int32 `json:"EndTime,omitempty"`
// Tasks publish a progress
HasProgress bool `json:"HasProgress,omitempty"`
// ID
ID string `json:"ID,omitempty"`
// job ID
JobID string `json:"JobID,omitempty"`
// Float value of the progress between 0 and 1
Progress float32 `json:"Progress,omitempty"`
// start time
StartTime int32 `json:"StartTime,omitempty"`
// status
Status JobsTaskStatus `json:"Status,omitempty"`
// status message
StatusMessage string `json:"StatusMessage,omitempty"`
// trigger owner
TriggerOwner string `json:"TriggerOwner,omitempty"`
}
JobsTask jobs task swagger:model jobsTask
func (*JobsTask) MarshalBinary ¶
MarshalBinary interface implementation
func (*JobsTask) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type JobsTaskStatus ¶
type JobsTaskStatus string
JobsTaskStatus ///////////////// TASK SERVICE // ///////////////// swagger:model jobsTaskStatus
const ( // JobsTaskStatusUnknown captures enum value "Unknown" JobsTaskStatusUnknown JobsTaskStatus = "Unknown" // JobsTaskStatusIDLE captures enum value "Idle" JobsTaskStatusIDLE JobsTaskStatus = "Idle" // JobsTaskStatusRunning captures enum value "Running" JobsTaskStatusRunning JobsTaskStatus = "Running" // JobsTaskStatusFinished captures enum value "Finished" JobsTaskStatusFinished JobsTaskStatus = "Finished" // JobsTaskStatusInterrupted captures enum value "Interrupted" JobsTaskStatusInterrupted JobsTaskStatus = "Interrupted" // JobsTaskStatusPaused captures enum value "Paused" JobsTaskStatusPaused JobsTaskStatus = "Paused" // JobsTaskStatusAny captures enum value "Any" JobsTaskStatusAny JobsTaskStatus = "Any" // JobsTaskStatusError captures enum value "Error" JobsTaskStatusError JobsTaskStatus = "Error" // JobsTaskStatusQueued captures enum value "Queued" JobsTaskStatusQueued JobsTaskStatus = "Queued" )
type JobsUsersSelector ¶
type JobsUsersSelector struct {
// Select all users
All bool `json:"All,omitempty"`
// Wether to trigger one action per user or one action
// with all user as a selection
Collect bool `json:"Collect,omitempty"`
// Filter users using this query
Query *ServiceQuery `json:"Query,omitempty"`
// Preset set of Users
Users []*IdmUser `json:"Users"`
}
JobsUsersSelector Select or filter users - should be replaced by more generic IdmSelector swagger:model jobsUsersSelector
func (*JobsUsersSelector) MarshalBinary ¶
func (m *JobsUsersSelector) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsUsersSelector) UnmarshalBinary ¶
func (m *JobsUsersSelector) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListLogRequestLogFormat ¶
type ListLogRequestLogFormat string
ListLogRequestLogFormat Output Format swagger:model ListLogRequestLogFormat
const ( // ListLogRequestLogFormatJSON captures enum value "JSON" ListLogRequestLogFormatJSON ListLogRequestLogFormat = "JSON" // ListLogRequestLogFormatCSV captures enum value "CSV" ListLogRequestLogFormatCSV ListLogRequestLogFormat = "CSV" // ListLogRequestLogFormatXLSX captures enum value "XLSX" ListLogRequestLogFormatXLSX ListLogRequestLogFormat = "XLSX" )
type ListSharedResourcesRequestListShareType ¶
type ListSharedResourcesRequestListShareType string
ListSharedResourcesRequestListShareType list shared resources request list share type swagger:model ListSharedResourcesRequestListShareType
const ( ListSharedResourcesRequestListShareTypeANY ListSharedResourcesRequestListShareType = "ANY" ListSharedResourcesRequestListShareTypeLINKS ListSharedResourcesRequestListShareType = "LINKS" ListSharedResourcesRequestListShareTypeCELLS ListSharedResourcesRequestListShareType = "CELLS" )
type ListSharedResourcesResponseSharedResource ¶
type ListSharedResourcesResponseSharedResource struct {
Cells []*RestCell `json:"Cells"`
Link *RestShareLink `json:"Link,omitempty"`
Node *TreeNode `json:"Node,omitempty"`
}
ListSharedResourcesResponseSharedResource Container for ShareLink or Cell swagger:model ListSharedResourcesResponseSharedResource
func (*ListSharedResourcesResponseSharedResource) MarshalBinary ¶
func (m *ListSharedResourcesResponseSharedResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListSharedResourcesResponseSharedResource) UnmarshalBinary ¶
func (m *ListSharedResourcesResponseSharedResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LogListLogRequest ¶
type LogListLogRequest struct {
// format
Format ListLogRequestLogFormat `json:"Format,omitempty"`
// Start at page
Page int32 `json:"Page,omitempty"`
// Bleve-type Query stsring
Query string `json:"Query,omitempty"`
// Number of results
Size int32 `json:"Size,omitempty"`
}
LogListLogRequest ListLogRequest launches a parameterised query in the log repository and streams the results. swagger:model logListLogRequest
func (*LogListLogRequest) MarshalBinary ¶
func (m *LogListLogRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LogListLogRequest) UnmarshalBinary ¶
func (m *LogListLogRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LogLogMessage ¶
type LogLogMessage struct {
// group path
GroupPath string `json:"GroupPath,omitempty"`
// Http protocol
HTTPProtocol string `json:"HttpProtocol,omitempty"`
// level
Level string `json:"Level,omitempty"`
// logger
Logger string `json:"Logger,omitempty"`
// msg
Msg string `json:"Msg,omitempty"`
// Pydio specific
MsgID string `json:"MsgId,omitempty"`
// node path
NodePath string `json:"NodePath,omitempty"`
// Tree Info
NodeUUID string `json:"NodeUuid,omitempty"`
// operation label
OperationLabel string `json:"OperationLabel,omitempty"`
// High Level Operation Info
OperationUUID string `json:"OperationUuid,omitempty"`
// profile
Profile string `json:"Profile,omitempty"`
// Client info
RemoteAddress string `json:"RemoteAddress,omitempty"`
// role uuids
RoleUuids []string `json:"RoleUuids"`
// scheduler job Uuid
SchedulerJobUUID string `json:"SchedulerJobUuid,omitempty"`
// scheduler task action path
SchedulerTaskActionPath string `json:"SchedulerTaskActionPath,omitempty"`
// scheduler task Uuid
SchedulerTaskUUID string `json:"SchedulerTaskUuid,omitempty"`
// span parent Uuid
SpanParentUUID string `json:"SpanParentUuid,omitempty"`
// span root Uuid
SpanRootUUID string `json:"SpanRootUuid,omitempty"`
// Span Info
SpanUUID string `json:"SpanUuid,omitempty"`
// Generic zap fields
Ts int32 `json:"Ts,omitempty"`
// user agent
UserAgent string `json:"UserAgent,omitempty"`
// User Info
UserName string `json:"UserName,omitempty"`
// user Uuid
UserUUID string `json:"UserUuid,omitempty"`
// ws scope
WsScope string `json:"WsScope,omitempty"`
// ws Uuid
WsUUID string `json:"WsUuid,omitempty"`
}
LogLogMessage LogMessage is the format used to transmit log messages to clients via the REST API. swagger:model logLogMessage
func (*LogLogMessage) MarshalBinary ¶
func (m *LogLogMessage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LogLogMessage) UnmarshalBinary ¶
func (m *LogLogMessage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MailerMail ¶
type MailerMail struct {
// List of attachments
Attachments []string `json:"Attachments"`
// List of target users to put in CC
Cc []*MailerUser `json:"Cc"`
// HTML content used for the body
ContentHTML string `json:"ContentHtml,omitempty"`
// Markdown content used for the body
ContentMarkdown string `json:"ContentMarkdown,omitempty"`
// Plain-text content used for the body, if not set will be generated from the ContentHtml
ContentPlain string `json:"ContentPlain,omitempty"`
// Date of sending
DateSent string `json:"DateSent,omitempty"`
// User object used to compute the From header
From *MailerUser `json:"From,omitempty"`
// Number of retries after failed attempts (used internally)
Retries int32 `json:"Retries,omitempty"`
// User object used to compute the Sender header
Sender *MailerUser `json:"Sender,omitempty"`
// String used as subject for the email
Subject string `json:"Subject,omitempty"`
// Key/values to pass to the template
TemplateData map[string]string `json:"TemplateData,omitempty"`
// Mail Template Id refers to predefined templates
TemplateID string `json:"TemplateId,omitempty"`
// Not used, could be used to create conversations
ThreadIndex string `json:"ThreadIndex,omitempty"`
// Not used, could be used to create conversations
ThreadUUID string `json:"ThreadUuid,omitempty"`
// List of target users to send the mail to
To []*MailerUser `json:"To"`
// Errors stacked on failed attempts
SendErrors []string `json:"sendErrors"`
}
MailerMail mailer mail swagger:model mailerMail
func (*MailerMail) MarshalBinary ¶
func (m *MailerMail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MailerMail) UnmarshalBinary ¶
func (m *MailerMail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MailerSendMailResponse ¶
type MailerSendMailResponse struct {
// success
Success bool `json:"Success,omitempty"`
}
MailerSendMailResponse mailer send mail response swagger:model mailerSendMailResponse
func (*MailerSendMailResponse) MarshalBinary ¶
func (m *MailerSendMailResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MailerSendMailResponse) UnmarshalBinary ¶
func (m *MailerSendMailResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MailerUser ¶
type MailerUser struct {
// address
Address string `json:"Address,omitempty"`
// language
Language string `json:"Language,omitempty"`
// name
Name string `json:"Name,omitempty"`
// Uuid
UUID string `json:"Uuid,omitempty"`
}
MailerUser mailer user swagger:model mailerUser
func (*MailerUser) MarshalBinary ¶
func (m *MailerUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MailerUser) UnmarshalBinary ¶
func (m *MailerUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeChangeEventEventType ¶
type NodeChangeEventEventType string
NodeChangeEventEventType node change event event type swagger:model NodeChangeEventEventType
const ( // NodeChangeEventEventTypeCREATE captures enum value "CREATE" NodeChangeEventEventTypeCREATE NodeChangeEventEventType = "CREATE" // NodeChangeEventEventTypeREAD captures enum value "READ" NodeChangeEventEventTypeREAD NodeChangeEventEventType = "READ" // NodeChangeEventEventTypeUPDATEPATH captures enum value "UPDATE_PATH" NodeChangeEventEventTypeUPDATEPATH NodeChangeEventEventType = "UPDATE_PATH" // NodeChangeEventEventTypeUPDATECONTENT captures enum value "UPDATE_CONTENT" NodeChangeEventEventTypeUPDATECONTENT NodeChangeEventEventType = "UPDATE_CONTENT" // NodeChangeEventEventTypeUPDATEMETA captures enum value "UPDATE_META" NodeChangeEventEventTypeUPDATEMETA NodeChangeEventEventType = "UPDATE_META" // NodeChangeEventEventTypeUPDATEUSERMETA captures enum value "UPDATE_USER_META" NodeChangeEventEventTypeUPDATEUSERMETA NodeChangeEventEventType = "UPDATE_USER_META" // NodeChangeEventEventTypeDELETE captures enum value "DELETE" NodeChangeEventEventTypeDELETE NodeChangeEventEventType = "DELETE" )
type ObjectDataSource ¶
type ObjectDataSource struct {
// Corresponding objects service api key
APIKey string `json:"ApiKey,omitempty"`
// Corresponding objects service api secret
APISecret string `json:"ApiSecret,omitempty"`
// Data Source creation date
CreationDate int32 `json:"CreationDate,omitempty"`
// Whether this data source is disabled or running
Disabled bool `json:"Disabled,omitempty"`
// Encryption key used for encrypting data
EncryptionKey string `json:"EncryptionKey,omitempty"`
// Type of encryption applied before sending data to storage
EncryptionMode ObjectEncryptionMode `json:"EncryptionMode,omitempty"`
// Data Source last synchronization date
LastSynchronizationDate int32 `json:"LastSynchronizationDate,omitempty"`
// Name of the data source (max length 34)
Name string `json:"Name,omitempty"`
// Corresponding objects service base folder inside the bucket
ObjectsBaseFolder string `json:"ObjectsBaseFolder,omitempty"`
// Corresponding objects service bucket
ObjectsBucket string `json:"ObjectsBucket,omitempty"`
// Corresponding objects service host
ObjectsHost string `json:"ObjectsHost,omitempty"`
// Corresponding objects service port
ObjectsPort int32 `json:"ObjectsPort,omitempty"`
// Corresponding objects service connection type
ObjectsSecure bool `json:"ObjectsSecure,omitempty"`
// Corresponding objects service name (underlying s3 service)
ObjectsServiceName string `json:"ObjectsServiceName,omitempty"`
// Peer address of the data source
PeerAddress string `json:"PeerAddress,omitempty"`
// List of key values describing storage configuration
StorageConfiguration map[string]string `json:"StorageConfiguration,omitempty"`
// Type of underlying storage (LOCAL, S3, AZURE, GCS)
StorageType ObjectStorageType `json:"StorageType,omitempty"`
// Versioning policy describes how files are kept in the versioning queue
VersioningPolicyName string `json:"VersioningPolicyName,omitempty"`
// Not implemented, whether to watch for underlying changes on the FS
Watch bool `json:"Watch,omitempty"`
}
ObjectDataSource DataSource Object description swagger:model objectDataSource
func (*ObjectDataSource) MarshalBinary ¶
func (m *ObjectDataSource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ObjectDataSource) UnmarshalBinary ¶
func (m *ObjectDataSource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ObjectEncryptionMode ¶
type ObjectEncryptionMode string
ObjectEncryptionMode Type of Encryption swagger:model objectEncryptionMode
const ( // ObjectEncryptionModeCLEAR captures enum value "CLEAR" ObjectEncryptionModeCLEAR ObjectEncryptionMode = "CLEAR" // ObjectEncryptionModeMASTER captures enum value "MASTER" ObjectEncryptionModeMASTER ObjectEncryptionMode = "MASTER" // ObjectEncryptionModeUSER captures enum value "USER" ObjectEncryptionModeUSER ObjectEncryptionMode = "USER" // ObjectEncryptionModeUSERPWD captures enum value "USER_PWD" ObjectEncryptionModeUSERPWD ObjectEncryptionMode = "USER_PWD" )
type ObjectStorageType ¶
type ObjectStorageType string
ObjectStorageType Type of Gateway swagger:model objectStorageType
const ( // ObjectStorageTypeLOCAL captures enum value "LOCAL" ObjectStorageTypeLOCAL ObjectStorageType = "LOCAL" // ObjectStorageTypeS3 captures enum value "S3" ObjectStorageTypeS3 ObjectStorageType = "S3" // ObjectStorageTypeSMB captures enum value "SMB" ObjectStorageTypeSMB ObjectStorageType = "SMB" // ObjectStorageTypeCELLS captures enum value "CELLS" ObjectStorageTypeCELLS ObjectStorageType = "CELLS" // ObjectStorageTypeAZURE captures enum value "AZURE" ObjectStorageTypeAZURE ObjectStorageType = "AZURE" // ObjectStorageTypeGCS captures enum value "GCS" ObjectStorageTypeGCS ObjectStorageType = "GCS" // ObjectStorageTypeB2 captures enum value "B2" ObjectStorageTypeB2 ObjectStorageType = "B2" // ObjectStorageTypeMANTA captures enum value "MANTA" ObjectStorageTypeMANTA ObjectStorageType = "MANTA" // ObjectStorageTypeSIA captures enum value "SIA" ObjectStorageTypeSIA ObjectStorageType = "SIA" )
type PackagePackageStatus ¶
type PackagePackageStatus string
PackagePackageStatus package package status swagger:model PackagePackageStatus
const ( // PackagePackageStatusDraft captures enum value "Draft" PackagePackageStatusDraft PackagePackageStatus = "Draft" // PackagePackageStatusPending captures enum value "Pending" PackagePackageStatusPending PackagePackageStatus = "Pending" // PackagePackageStatusReleased captures enum value "Released" PackagePackageStatusReleased PackagePackageStatus = "Released" )
type ProtobufAny ¶
type ProtobufAny struct {
// A URL/resource name whose content describes the type of the
// serialized protocol buffer message.
//
// For URLs which use the scheme `http`, `https`, or no scheme, the
// following restrictions and interpretations apply:
//
// * If no scheme is provided, `https` is assumed.
// * The last segment of the URL's path must represent the fully
// qualified name of the type (as in `path/google.protobuf.Duration`).
// The name should be in a canonical form (e.g., leading "." is
// not accepted).
// * An HTTP GET on the URL must yield a [google.protobuf.Type][]
// value in binary format, or produce an error.
// * Applications are allowed to cache lookup results based on the
// URL, or have them precompiled into a binary to avoid any
// lookup. Therefore, binary compatibility needs to be preserved
// on changes to types. (Use versioned type names to manage
// breaking changes.)
//
// Schemes other than `http`, `https` (or the empty scheme) might be
// used with implementation specific semantics.
TypeURL string `json:"type_url,omitempty"`
// Must be a valid serialized protocol buffer of the above specified type.
// Format: byte
Value strfmt.Base64 `json:"value,omitempty"`
}
ProtobufAny `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...;
Any any;
any.PackFrom(foo);
...
if (any.UnpackTo(&foo)) {
...
}
Example 2: Pack and unpack a message in Java.
Foo foo = ...;
Any any = Any.pack(foo);
...
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
any.Pack(foo)
...
if any.Is(Foo.DESCRIPTOR):
any.Unpack(foo)
...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := ptypes.MarshalAny(foo)
...
foo := &pb.Foo{}
if err := ptypes.UnmarshalAny(any, foo); err != nil {
...
}
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example:
package google.profile;
message Person {
string first_name = 1;
string last_name = 2;
}
{
"@type": "type.googleapis.com/google.profile.Person",
"firstName": <string>,
"lastName": <string>
}
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]):
{
"@type": "type.googleapis.com/google.protobuf.Duration",
"value": "1.212s"
}
swagger:model protobufAny
func (*ProtobufAny) MarshalBinary ¶
func (m *ProtobufAny) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtobufAny) UnmarshalBinary ¶
func (m *ProtobufAny) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcePolicyQueryQueryType ¶
type ResourcePolicyQueryQueryType string
ResourcePolicyQueryQueryType resource policy query query type swagger:model ResourcePolicyQueryQueryType
const ( // ResourcePolicyQueryQueryTypeCONTEXT captures enum value "CONTEXT" ResourcePolicyQueryQueryTypeCONTEXT ResourcePolicyQueryQueryType = "CONTEXT" // ResourcePolicyQueryQueryTypeANY captures enum value "ANY" ResourcePolicyQueryQueryTypeANY ResourcePolicyQueryQueryType = "ANY" // ResourcePolicyQueryQueryTypeNONE captures enum value "NONE" ResourcePolicyQueryQueryTypeNONE ResourcePolicyQueryQueryType = "NONE" // ResourcePolicyQueryQueryTypeUSER captures enum value "USER" ResourcePolicyQueryQueryTypeUSER ResourcePolicyQueryQueryType = "USER" )
type RestACLCollection ¶
type RestACLCollection struct {
// List of ACLs
Acls []*IdmACL `json:"ACLs"`
// Total number of results
Total int32 `json:"Total,omitempty"`
}
RestACLCollection Response for search request swagger:model restACLCollection
func (*RestACLCollection) MarshalBinary ¶
func (m *RestACLCollection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestACLCollection) UnmarshalBinary ¶
func (m *RestACLCollection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestActionDescription ¶
type RestActionDescription struct {
// User-defined category to organize actions list
Category string `json:"Category,omitempty"`
// Long description and help text
Description string `json:"Description,omitempty"`
// Whether this action has a form or not
HasForm bool `json:"HasForm,omitempty"`
// Mdi reference name for displaying icon
Icon string `json:"Icon,omitempty"`
// Additional description for expected inputs
InputDescription string `json:"InputDescription,omitempty"`
// Human-readable label
Label string `json:"Label,omitempty"`
// Unique name of the action
Name string `json:"Name,omitempty"`
// Additional description describing the action output
OutputDescription string `json:"OutputDescription,omitempty"`
// Template for building a short summary of the action configuration
SummaryTemplate string `json:"SummaryTemplate,omitempty"`
// User-defined hexa or rgb color
Tint string `json:"Tint,omitempty"`
}
RestActionDescription rest action description swagger:model restActionDescription
func (*RestActionDescription) MarshalBinary ¶
func (m *RestActionDescription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestActionDescription) UnmarshalBinary ¶
func (m *RestActionDescription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestBackgroundJobResult ¶
type RestBackgroundJobResult struct {
// label
Label string `json:"Label,omitempty"`
// node Uuid
NodeUUID string `json:"NodeUuid,omitempty"`
// Uuid
UUID string `json:"Uuid,omitempty"`
}
RestBackgroundJobResult rest background job result swagger:model restBackgroundJobResult
func (*RestBackgroundJobResult) MarshalBinary ¶
func (m *RestBackgroundJobResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestBackgroundJobResult) UnmarshalBinary ¶
func (m *RestBackgroundJobResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestBulkMetaResponse ¶
type RestBulkMetaResponse struct {
// nodes
Nodes []*TreeNode `json:"Nodes"`
// pagination
Pagination *RestPagination `json:"Pagination,omitempty"`
}
RestBulkMetaResponse rest bulk meta response swagger:model restBulkMetaResponse
func (*RestBulkMetaResponse) MarshalBinary ¶
func (m *RestBulkMetaResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestBulkMetaResponse) UnmarshalBinary ¶
func (m *RestBulkMetaResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestCell ¶
type RestCell struct {
// Access control for this Cell
Acls map[string]RestCellACL `json:"ACLs,omitempty"`
// Long description of the Cell (max 1000 chars)
Description string `json:"Description,omitempty"`
// Label of the Cell (max 500 chars)
Label string `json:"Label,omitempty"`
// Associated access policies
Policies []*ServiceResourcePolicy `json:"Policies"`
// Whether these policies are currently editable
PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"`
// Nodes attached as roots to this Cell
RootNodes []*TreeNode `json:"RootNodes"`
// Unique Id of the Cell
UUID string `json:"Uuid,omitempty"`
}
RestCell Model for representing a Cell swagger:model restCell
func (*RestCell) MarshalBinary ¶
MarshalBinary interface implementation
func (*RestCell) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RestCellACL ¶
type RestCellACL struct {
// List of Acl Actions and their effect
Actions []*IdmACLAction `json:"Actions"`
// Associated Group
Group *IdmUser `json:"Group,omitempty"`
// Flag for detecting if it's a user role or not
IsUserRole bool `json:"IsUserRole,omitempty"`
// Associated Role
Role *IdmRole `json:"Role,omitempty"`
// Associated Role ID
RoleID string `json:"RoleId,omitempty"`
// Associated User
User *IdmUser `json:"User,omitempty"`
}
RestCellACL Group collected acls by subjects swagger:model restCellAcl
func (*RestCellACL) MarshalBinary ¶
func (m *RestCellACL) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestCellACL) UnmarshalBinary ¶
func (m *RestCellACL) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestConfiguration ¶
type RestConfiguration struct {
// JSON-encoded data to store
Data string `json:"Data,omitempty"`
// Full slash-separated path to the config key
FullPath string `json:"FullPath,omitempty"`
}
RestConfiguration Configuration message. Data is an Json representation of any value swagger:model restConfiguration
func (*RestConfiguration) MarshalBinary ¶
func (m *RestConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestConfiguration) UnmarshalBinary ¶
func (m *RestConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestControlServiceRequest ¶
type RestControlServiceRequest struct {
// Command to apply (START or STOP)
Command CtlServiceCommand `json:"Command,omitempty"`
// Name of the node
NodeName string `json:"NodeName,omitempty"`
// Name of the service to stop
ServiceName string `json:"ServiceName,omitempty"`
}
RestControlServiceRequest rest control service request swagger:model restControlServiceRequest
func (*RestControlServiceRequest) MarshalBinary ¶
func (m *RestControlServiceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestControlServiceRequest) UnmarshalBinary ¶
func (m *RestControlServiceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestCreateNodesRequest ¶
type RestCreateNodesRequest struct {
// A list of nodes that must be created
Nodes []*TreeNode `json:"Nodes"`
// If nodes are created inside non-existing folders, whether the parents should be created automatically or not
Recursive bool `json:"Recursive,omitempty"`
// Use a template to create this node
TemplateUUID string `json:"TemplateUUID,omitempty"`
}
RestCreateNodesRequest rest create nodes request swagger:model restCreateNodesRequest
func (*RestCreateNodesRequest) MarshalBinary ¶
func (m *RestCreateNodesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestCreateNodesRequest) UnmarshalBinary ¶
func (m *RestCreateNodesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestCreatePeerFolderRequest ¶
type RestCreatePeerFolderRequest struct {
// Path to the folder to be created
Path string `json:"Path,omitempty"`
// Restrict listing to a given peer
PeerAddress string `json:"PeerAddress,omitempty"`
}
RestCreatePeerFolderRequest rest create peer folder request swagger:model restCreatePeerFolderRequest
func (*RestCreatePeerFolderRequest) MarshalBinary ¶
func (m *RestCreatePeerFolderRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestCreatePeerFolderRequest) UnmarshalBinary ¶
func (m *RestCreatePeerFolderRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestCreatePeerFolderResponse ¶
type RestCreatePeerFolderResponse struct {
// node
Node *TreeNode `json:"Node,omitempty"`
// success
Success bool `json:"Success,omitempty"`
}
RestCreatePeerFolderResponse rest create peer folder response swagger:model restCreatePeerFolderResponse
func (*RestCreatePeerFolderResponse) MarshalBinary ¶
func (m *RestCreatePeerFolderResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestCreatePeerFolderResponse) UnmarshalBinary ¶
func (m *RestCreatePeerFolderResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestCreateSelectionRequest ¶
type RestCreateSelectionRequest struct {
// Create a temporary selection out of this list of nodes
Nodes []*TreeNode `json:"Nodes"`
// Whether to save the selection or just get a temporary Uuid in return
Persist bool `json:"Persist,omitempty"`
// Associated target action for this selection
TargetAction string `json:"TargetAction,omitempty"`
}
RestCreateSelectionRequest rest create selection request swagger:model restCreateSelectionRequest
func (*RestCreateSelectionRequest) MarshalBinary ¶
func (m *RestCreateSelectionRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestCreateSelectionRequest) UnmarshalBinary ¶
func (m *RestCreateSelectionRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestCreateSelectionResponse ¶
type RestCreateSelectionResponse struct {
// nodes
Nodes []*TreeNode `json:"Nodes"`
// selection UUID
SelectionUUID string `json:"SelectionUUID,omitempty"`
}
RestCreateSelectionResponse rest create selection response swagger:model restCreateSelectionResponse
func (*RestCreateSelectionResponse) MarshalBinary ¶
func (m *RestCreateSelectionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestCreateSelectionResponse) UnmarshalBinary ¶
func (m *RestCreateSelectionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestDataSourceCollection ¶
type RestDataSourceCollection struct {
// data sources
DataSources []*ObjectDataSource `json:"DataSources"`
// total
Total int32 `json:"Total,omitempty"`
}
RestDataSourceCollection Collection of datasources swagger:model restDataSourceCollection
func (*RestDataSourceCollection) MarshalBinary ¶
func (m *RestDataSourceCollection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestDataSourceCollection) UnmarshalBinary ¶
func (m *RestDataSourceCollection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestDeleteCellResponse ¶
type RestDeleteCellResponse struct {
// Delete result
Success bool `json:"Success,omitempty"`
}
RestDeleteCellResponse rest delete cell response swagger:model restDeleteCellResponse
func (*RestDeleteCellResponse) MarshalBinary ¶
func (m *RestDeleteCellResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestDeleteCellResponse) UnmarshalBinary ¶
func (m *RestDeleteCellResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestDeleteDataSourceResponse ¶
type RestDeleteDataSourceResponse struct {
// success
Success bool `json:"Success,omitempty"`
}
RestDeleteDataSourceResponse rest delete data source response swagger:model restDeleteDataSourceResponse
func (*RestDeleteDataSourceResponse) MarshalBinary ¶
func (m *RestDeleteDataSourceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestDeleteDataSourceResponse) UnmarshalBinary ¶
func (m *RestDeleteDataSourceResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestDeleteNodesRequest ¶
type RestDeleteNodesRequest struct {
// List of nodes to delete
Nodes []*TreeNode `json:"Nodes"`
// Whether to delete all the children if node is a folder
Recursive bool `json:"Recursive,omitempty"`
}
RestDeleteNodesRequest rest delete nodes request swagger:model restDeleteNodesRequest
func (*RestDeleteNodesRequest) MarshalBinary ¶
func (m *RestDeleteNodesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestDeleteNodesRequest) UnmarshalBinary ¶
func (m *RestDeleteNodesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestDeleteNodesResponse ¶
type RestDeleteNodesResponse struct {
// delete jobs
DeleteJobs []*RestBackgroundJobResult `json:"DeleteJobs"`
}
RestDeleteNodesResponse rest delete nodes response swagger:model restDeleteNodesResponse
func (*RestDeleteNodesResponse) MarshalBinary ¶
func (m *RestDeleteNodesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestDeleteNodesResponse) UnmarshalBinary ¶
func (m *RestDeleteNodesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestDeleteResponse ¶
type RestDeleteResponse struct {
// Number of records deleted during operation
NumRows string `json:"NumRows,omitempty"`
// If delete was successfull
Success bool `json:"Success,omitempty"`
}
RestDeleteResponse Generic Message swagger:model restDeleteResponse
func (*RestDeleteResponse) MarshalBinary ¶
func (m *RestDeleteResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestDeleteResponse) UnmarshalBinary ¶
func (m *RestDeleteResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestDeleteShareLinkResponse ¶
type RestDeleteShareLinkResponse struct {
Success bool `json:"Success,omitempty"`
}
RestDeleteShareLinkResponse Response for deleting a share link swagger:model restDeleteShareLinkResponse
func (*RestDeleteShareLinkResponse) MarshalBinary ¶
func (m *RestDeleteShareLinkResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestDeleteShareLinkResponse) UnmarshalBinary ¶
func (m *RestDeleteShareLinkResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestDeleteUserMetaTagsResponse ¶
type RestDeleteUserMetaTagsResponse struct {
// success
Success bool `json:"Success,omitempty"`
}
RestDeleteUserMetaTagsResponse rest delete user meta tags response swagger:model restDeleteUserMetaTagsResponse
func (*RestDeleteUserMetaTagsResponse) MarshalBinary ¶
func (m *RestDeleteUserMetaTagsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestDeleteUserMetaTagsResponse) UnmarshalBinary ¶
func (m *RestDeleteUserMetaTagsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestDiscoveryResponse ¶
type RestDiscoveryResponse struct {
// Revision of the current binary build, empty if user is not authenticated
BuildRevision string `json:"BuildRevision,omitempty"`
// Build stamp of the binary build, empty if user is not authenticated
BuildStamp int32 `json:"BuildStamp,omitempty"`
// List of endpoints and their corresponding URL access. Special case for grpc that just send back its port
Endpoints map[string]string `json:"Endpoints,omitempty"`
// Current Package Label, empty if user is not authenticated
PackageLabel string `json:"PackageLabel,omitempty"`
// Current Package Type, empty if user is not authenticated
PackageType string `json:"PackageType,omitempty"`
// Current Package Version, empty if user is not authenticated
Version string `json:"Version,omitempty"`
}
RestDiscoveryResponse rest discovery response swagger:model restDiscoveryResponse
func (*RestDiscoveryResponse) MarshalBinary ¶
func (m *RestDiscoveryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestDiscoveryResponse) UnmarshalBinary ¶
func (m *RestDiscoveryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestError ¶
type RestError struct {
// Unique ID of the error
Code string `json:"Code,omitempty"`
// Human-readable, longer description
Detail string `json:"Detail,omitempty"`
// Additional Metadata
Meta map[string]string `json:"Meta,omitempty"`
// Cells service name or other quickly useful info
Source string `json:"Source,omitempty"`
// Human-readable, short label
Title string `json:"Title,omitempty"`
}
RestError Generic error message swagger:model restError
func (*RestError) MarshalBinary ¶
MarshalBinary interface implementation
func (*RestError) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RestFrontBinaryRequest ¶
type RestFrontBinaryRequest struct {
// Currently supported values are USER and GLOBAL
BinaryType string `json:"BinaryType,omitempty"`
// Id of the binary
UUID string `json:"Uuid,omitempty"`
}
RestFrontBinaryRequest Donwload binary swagger:model restFrontBinaryRequest
func (*RestFrontBinaryRequest) MarshalBinary ¶
func (m *RestFrontBinaryRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestFrontBinaryRequest) UnmarshalBinary ¶
func (m *RestFrontBinaryRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestFrontBinaryResponse ¶
type RestFrontBinaryResponse interface{}
RestFrontBinaryResponse Not used, endpoint returns octet-stream swagger:model restFrontBinaryResponse
type RestFrontBootConfResponse ¶
type RestFrontBootConfResponse struct {
// Json data
JSONData map[string]string `json:"JsonData,omitempty"`
}
RestFrontBootConfResponse rest front boot conf response swagger:model restFrontBootConfResponse
func (*RestFrontBootConfResponse) MarshalBinary ¶
func (m *RestFrontBootConfResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestFrontBootConfResponse) UnmarshalBinary ¶
func (m *RestFrontBootConfResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestFrontEnrollAuthRequest ¶
type RestFrontEnrollAuthRequest struct {
// enroll info
EnrollInfo map[string]string `json:"EnrollInfo,omitempty"`
// enroll type
EnrollType string `json:"EnrollType,omitempty"`
}
RestFrontEnrollAuthRequest rest front enroll auth request swagger:model restFrontEnrollAuthRequest
func (*RestFrontEnrollAuthRequest) MarshalBinary ¶
func (m *RestFrontEnrollAuthRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestFrontEnrollAuthRequest) UnmarshalBinary ¶
func (m *RestFrontEnrollAuthRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestFrontEnrollAuthResponse ¶
type RestFrontEnrollAuthResponse struct {
// Any parameters can be returned
Info map[string]string `json:"Info,omitempty"`
}
RestFrontEnrollAuthResponse rest front enroll auth response swagger:model restFrontEnrollAuthResponse
func (*RestFrontEnrollAuthResponse) MarshalBinary ¶
func (m *RestFrontEnrollAuthResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestFrontEnrollAuthResponse) UnmarshalBinary ¶
func (m *RestFrontEnrollAuthResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestFrontMessagesResponse ¶
type RestFrontMessagesResponse struct {
// messages
Messages map[string]string `json:"Messages,omitempty"`
}
RestFrontMessagesResponse rest front messages response swagger:model restFrontMessagesResponse
func (*RestFrontMessagesResponse) MarshalBinary ¶
func (m *RestFrontMessagesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestFrontMessagesResponse) UnmarshalBinary ¶
func (m *RestFrontMessagesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestFrontPluginsResponse ¶
type RestFrontPluginsResponse interface{}
RestFrontPluginsResponse rest front plugins response swagger:model restFrontPluginsResponse
type RestFrontSessionRequest ¶
type RestFrontSessionRequest struct {
// Data sent back by specific auth steps
AuthInfo map[string]string `json:"AuthInfo,omitempty"`
// Time reference for computing jwt expiry
ClientTime int32 `json:"ClientTime,omitempty"`
// Kill session now
Logout bool `json:"Logout,omitempty"`
}
RestFrontSessionRequest rest front session request swagger:model restFrontSessionRequest
func (*RestFrontSessionRequest) MarshalBinary ¶
func (m *RestFrontSessionRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestFrontSessionRequest) UnmarshalBinary ¶
func (m *RestFrontSessionRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestFrontSessionResponse ¶
type RestFrontSessionResponse struct {
// error
Error string `json:"Error,omitempty"`
// expire time
ExpireTime int32 `json:"ExpireTime,omitempty"`
// Legacy information (now in token)
JWT string `json:"JWT,omitempty"`
// redirect to
RedirectTo string `json:"RedirectTo,omitempty"`
// token
Token *AuthToken `json:"Token,omitempty"`
// Trigger a specific Auth step
Trigger string `json:"Trigger,omitempty"`
// Additional data for the trigger
TriggerInfo map[string]string `json:"TriggerInfo,omitempty"`
}
RestFrontSessionResponse rest front session response swagger:model restFrontSessionResponse
func (*RestFrontSessionResponse) MarshalBinary ¶
func (m *RestFrontSessionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestFrontSessionResponse) UnmarshalBinary ¶
func (m *RestFrontSessionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestFrontStateResponse ¶
type RestFrontStateResponse interface{}
RestFrontStateResponse rest front state response swagger:model restFrontStateResponse
type RestGetBulkMetaRequest ¶
type RestGetBulkMetaRequest struct {
// Whether to query all services for the metadata they can contribute to enrich the node
AllMetaProviders bool `json:"AllMetaProviders,omitempty"`
// Limit number of results
Limit int32 `json:"Limit,omitempty"`
// List of node paths to query (use paths ending with /* to load the children)
NodePaths []string `json:"NodePaths"`
// List of nodes based on their Uuids
NodeUuids []string `json:"NodeUuids"`
// Start listing at a given position
Offset int32 `json:"Offset,omitempty"`
// Load Versions of the given node
Versions bool `json:"Versions,omitempty"`
}
RestGetBulkMetaRequest rest get bulk meta request swagger:model restGetBulkMetaRequest
func (*RestGetBulkMetaRequest) MarshalBinary ¶
func (m *RestGetBulkMetaRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestGetBulkMetaRequest) UnmarshalBinary ¶
func (m *RestGetBulkMetaRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestHeadNodeResponse ¶
type RestHeadNodeResponse struct {
// node
Node *TreeNode `json:"Node,omitempty"`
}
RestHeadNodeResponse rest head node response swagger:model restHeadNodeResponse
func (*RestHeadNodeResponse) MarshalBinary ¶
func (m *RestHeadNodeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestHeadNodeResponse) UnmarshalBinary ¶
func (m *RestHeadNodeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestListPeerFoldersRequest ¶
type RestListPeerFoldersRequest struct {
// Path to the parent folder for listing
Path string `json:"Path,omitempty"`
// Restrict listing to a given peer
PeerAddress string `json:"PeerAddress,omitempty"`
}
RestListPeerFoldersRequest rest list peer folders request swagger:model restListPeerFoldersRequest
func (*RestListPeerFoldersRequest) MarshalBinary ¶
func (m *RestListPeerFoldersRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestListPeerFoldersRequest) UnmarshalBinary ¶
func (m *RestListPeerFoldersRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestListPeersAddressesResponse ¶
type RestListPeersAddressesResponse struct {
// List of peer addresses
PeerAddresses []string `json:"PeerAddresses"`
}
RestListPeersAddressesResponse rest list peers addresses response swagger:model restListPeersAddressesResponse
func (*RestListPeersAddressesResponse) MarshalBinary ¶
func (m *RestListPeersAddressesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestListPeersAddressesResponse) UnmarshalBinary ¶
func (m *RestListPeersAddressesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestListProcessesRequest ¶
type RestListProcessesRequest struct {
// Id of the peer node
PeerID string `json:"PeerId,omitempty"`
// Look for a service name
ServiceName string `json:"ServiceName,omitempty"`
}
RestListProcessesRequest rest list processes request swagger:model restListProcessesRequest
func (*RestListProcessesRequest) MarshalBinary ¶
func (m *RestListProcessesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestListProcessesRequest) UnmarshalBinary ¶
func (m *RestListProcessesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestListProcessesResponse ¶
type RestListProcessesResponse struct {
// processes
Processes []*RestProcess `json:"Processes"`
}
RestListProcessesResponse rest list processes response swagger:model restListProcessesResponse
func (*RestListProcessesResponse) MarshalBinary ¶
func (m *RestListProcessesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestListProcessesResponse) UnmarshalBinary ¶
func (m *RestListProcessesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestListSharedResourcesRequest ¶
type RestListSharedResourcesRequest struct {
Limit int32 `json:"Limit,omitempty"`
Offset int32 `json:"Offset,omitempty"`
OwnedBySubject bool `json:"OwnedBySubject,omitempty"`
ShareType ListSharedResourcesRequestListShareType `json:"ShareType,omitempty"`
// In user-context, current user is used by default. In admin-context, this can
// be any resource policy subject
Subject string `json:"Subject,omitempty"`
}
RestListSharedResourcesRequest rest list shared resources request swagger:model restListSharedResourcesRequest
func (*RestListSharedResourcesRequest) MarshalBinary ¶
func (m *RestListSharedResourcesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestListSharedResourcesRequest) UnmarshalBinary ¶
func (m *RestListSharedResourcesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestListSharedResourcesResponse ¶
type RestListSharedResourcesResponse struct {
Limit int32 `json:"Limit,omitempty"`
Offset int32 `json:"Offset,omitempty"`
Resources []*ListSharedResourcesResponseSharedResource `json:"Resources"`
Total int32 `json:"Total,omitempty"`
}
RestListSharedResourcesResponse rest list shared resources response swagger:model restListSharedResourcesResponse
func (*RestListSharedResourcesResponse) MarshalBinary ¶
func (m *RestListSharedResourcesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestListSharedResourcesResponse) UnmarshalBinary ¶
func (m *RestListSharedResourcesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestListStorageBucketsRequest ¶
type RestListStorageBucketsRequest struct {
// buckets regexp
BucketsRegexp string `json:"BucketsRegexp,omitempty"`
// data source
DataSource *ObjectDataSource `json:"DataSource,omitempty"`
}
RestListStorageBucketsRequest rest list storage buckets request swagger:model restListStorageBucketsRequest
func (*RestListStorageBucketsRequest) MarshalBinary ¶
func (m *RestListStorageBucketsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestListStorageBucketsRequest) UnmarshalBinary ¶
func (m *RestListStorageBucketsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestListTemplatesResponse ¶
type RestListTemplatesResponse struct {
// templates
Templates []*RestTemplate `json:"Templates"`
}
RestListTemplatesResponse rest list templates response swagger:model restListTemplatesResponse
func (*RestListTemplatesResponse) MarshalBinary ¶
func (m *RestListTemplatesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestListTemplatesResponse) UnmarshalBinary ¶
func (m *RestListTemplatesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestListUserMetaTagsResponse ¶
type RestListUserMetaTagsResponse struct {
// List of existing tags values
Tags []string `json:"Tags"`
}
RestListUserMetaTagsResponse rest list user meta tags response swagger:model restListUserMetaTagsResponse
func (*RestListUserMetaTagsResponse) MarshalBinary ¶
func (m *RestListUserMetaTagsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestListUserMetaTagsResponse) UnmarshalBinary ¶
func (m *RestListUserMetaTagsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestLogMessageCollection ¶
type RestLogMessageCollection struct {
// logs
Logs []*LogLogMessage `json:"Logs"`
}
RestLogMessageCollection Collection of serialized log messages swagger:model restLogMessageCollection
func (*RestLogMessageCollection) MarshalBinary ¶
func (m *RestLogMessageCollection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestLogMessageCollection) UnmarshalBinary ¶
func (m *RestLogMessageCollection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestMetaCollection ¶
type RestMetaCollection struct {
// metadatas
Metadatas []*RestMetadata `json:"Metadatas"`
// node path
NodePath string `json:"NodePath,omitempty"`
}
RestMetaCollection rest meta collection swagger:model restMetaCollection
func (*RestMetaCollection) MarshalBinary ¶
func (m *RestMetaCollection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestMetaCollection) UnmarshalBinary ¶
func (m *RestMetaCollection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestMetaNamespaceRequest ¶
type RestMetaNamespaceRequest struct {
// List of namespaces to load
Namespace []string `json:"Namespace"`
// Path to the requested node
NodePath string `json:"NodePath,omitempty"`
}
RestMetaNamespaceRequest rest meta namespace request swagger:model restMetaNamespaceRequest
func (*RestMetaNamespaceRequest) MarshalBinary ¶
func (m *RestMetaNamespaceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestMetaNamespaceRequest) UnmarshalBinary ¶
func (m *RestMetaNamespaceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestMetadata ¶
type RestMetadata struct {
// Json meta
JSONMeta string `json:"JsonMeta,omitempty"`
// namespace
Namespace string `json:"Namespace,omitempty"`
}
RestMetadata rest metadata swagger:model restMetadata
func (*RestMetadata) MarshalBinary ¶
func (m *RestMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestMetadata) UnmarshalBinary ¶
func (m *RestMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestNodesCollection ¶
type RestNodesCollection struct {
// children
Children []*TreeNode `json:"Children"`
// parent
Parent *TreeNode `json:"Parent,omitempty"`
}
RestNodesCollection rest nodes collection swagger:model restNodesCollection
func (*RestNodesCollection) MarshalBinary ¶
func (m *RestNodesCollection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestNodesCollection) UnmarshalBinary ¶
func (m *RestNodesCollection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestOpenAPIResponse ¶
type RestOpenAPIResponse interface{}
RestOpenAPIResponse rest open Api response swagger:model restOpenApiResponse
type RestPagination ¶
type RestPagination struct {
// Current Offset value
CurrentOffset int32 `json:"CurrentOffset,omitempty"`
// Current number of Page
CurrentPage int32 `json:"CurrentPage,omitempty"`
// Current Limit parameter, either passed by request or default value
Limit int32 `json:"Limit,omitempty"`
// Offset value for next page if there is one
NextOffset int32 `json:"NextOffset,omitempty"`
// Offset value for previous page, if there is one
PrevOffset int32 `json:"PrevOffset,omitempty"`
// Total number of records
Total int32 `json:"Total,omitempty"`
// Number of detected pages
TotalPages int32 `json:"TotalPages,omitempty"`
}
RestPagination Generic container for responses sending pagination information swagger:model restPagination
func (*RestPagination) MarshalBinary ¶
func (m *RestPagination) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestPagination) UnmarshalBinary ¶
func (m *RestPagination) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestProcess ¶
type RestProcess struct {
// Process ID
ID string `json:"ID,omitempty"`
// Port to access the metrics api
MetricsPort int32 `json:"MetricsPort,omitempty"`
// Parent Process ID
ParentID string `json:"ParentID,omitempty"`
// Address of peer node
PeerAddress string `json:"PeerAddress,omitempty"`
// Id of peer node
PeerID string `json:"PeerId,omitempty"`
// List of services running inside this process
Services []string `json:"Services"`
// Parameters used to start this process
StartTag string `json:"StartTag,omitempty"`
}
RestProcess rest process swagger:model restProcess
func (*RestProcess) MarshalBinary ¶
func (m *RestProcess) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestProcess) UnmarshalBinary ¶
func (m *RestProcess) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestPutCellRequest ¶
type RestPutCellRequest struct {
// Whether to create a dedicated folder for this cell at creation
CreateEmptyRoot bool `json:"CreateEmptyRoot,omitempty"`
// Content of the Cell (Room is legacy name)
Room *RestCell `json:"Room,omitempty"`
}
RestPutCellRequest Request for creating a Cell swagger:model restPutCellRequest
func (*RestPutCellRequest) MarshalBinary ¶
func (m *RestPutCellRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestPutCellRequest) UnmarshalBinary ¶
func (m *RestPutCellRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestPutShareLinkRequest ¶
type RestPutShareLinkRequest struct {
CreatePassword string `json:"CreatePassword,omitempty"`
PasswordEnabled bool `json:"PasswordEnabled,omitempty"`
ShareLink *RestShareLink `json:"ShareLink,omitempty"`
UpdateCustomHash string `json:"UpdateCustomHash,omitempty"`
UpdatePassword string `json:"UpdatePassword,omitempty"`
}
RestPutShareLinkRequest Request for create/update a link swagger:model restPutShareLinkRequest
func (*RestPutShareLinkRequest) MarshalBinary ¶
func (m *RestPutShareLinkRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestPutShareLinkRequest) UnmarshalBinary ¶
func (m *RestPutShareLinkRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestPutUserMetaTagRequest ¶
type RestPutUserMetaTagRequest struct {
// Add a tag value for this namespace
Namespace string `json:"Namespace,omitempty"`
// New tag value
Tag string `json:"Tag,omitempty"`
}
RestPutUserMetaTagRequest rest put user meta tag request swagger:model restPutUserMetaTagRequest
func (*RestPutUserMetaTagRequest) MarshalBinary ¶
func (m *RestPutUserMetaTagRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestPutUserMetaTagRequest) UnmarshalBinary ¶
func (m *RestPutUserMetaTagRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestPutUserMetaTagResponse ¶
type RestPutUserMetaTagResponse struct {
// Operation success
Success bool `json:"Success,omitempty"`
}
RestPutUserMetaTagResponse rest put user meta tag response swagger:model restPutUserMetaTagResponse
func (*RestPutUserMetaTagResponse) MarshalBinary ¶
func (m *RestPutUserMetaTagResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestPutUserMetaTagResponse) UnmarshalBinary ¶
func (m *RestPutUserMetaTagResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestRelationResponse ¶
type RestRelationResponse struct {
// belongs to teams
BelongsToTeams []*IdmRole `json:"BelongsToTeams"`
SharedCells []*IdmWorkspace `json:"SharedCells"`
}
RestRelationResponse rest relation response swagger:model restRelationResponse
func (*RestRelationResponse) MarshalBinary ¶
func (m *RestRelationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestRelationResponse) UnmarshalBinary ¶
func (m *RestRelationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestResetPasswordRequest ¶
type RestResetPasswordRequest struct {
// New password to be stored for this user
NewPassword string `json:"NewPassword,omitempty"`
// Token generated by the previous step of the reset password workflow
ResetPasswordToken string `json:"ResetPasswordToken,omitempty"`
// User Login
UserLogin string `json:"UserLogin,omitempty"`
}
RestResetPasswordRequest rest reset password request swagger:model restResetPasswordRequest
func (*RestResetPasswordRequest) MarshalBinary ¶
func (m *RestResetPasswordRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestResetPasswordRequest) UnmarshalBinary ¶
func (m *RestResetPasswordRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestResetPasswordResponse ¶
type RestResetPasswordResponse struct {
// message
Message string `json:"Message,omitempty"`
// success
Success bool `json:"Success,omitempty"`
}
RestResetPasswordResponse rest reset password response swagger:model restResetPasswordResponse
func (*RestResetPasswordResponse) MarshalBinary ¶
func (m *RestResetPasswordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestResetPasswordResponse) UnmarshalBinary ¶
func (m *RestResetPasswordResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestResetPasswordTokenResponse ¶
type RestResetPasswordTokenResponse struct {
// message
Message string `json:"Message,omitempty"`
// success
Success bool `json:"Success,omitempty"`
}
RestResetPasswordTokenResponse rest reset password token response swagger:model restResetPasswordTokenResponse
func (*RestResetPasswordTokenResponse) MarshalBinary ¶
func (m *RestResetPasswordTokenResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestResetPasswordTokenResponse) UnmarshalBinary ¶
func (m *RestResetPasswordTokenResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestResourcePolicyQuery ¶
type RestResourcePolicyQuery struct {
// The type can be CONTEXT, ANY, NODE or USER. This restricts the may filter out the result set based on their policies
Type ResourcePolicyQueryQueryType `json:"Type,omitempty"`
// Limit to one given user ID
UserID string `json:"UserId,omitempty"`
}
RestResourcePolicyQuery Generic Query for limiting results based on resource permissions swagger:model restResourcePolicyQuery
func (*RestResourcePolicyQuery) MarshalBinary ¶
func (m *RestResourcePolicyQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestResourcePolicyQuery) UnmarshalBinary ¶
func (m *RestResourcePolicyQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestRestoreNodesRequest ¶
type RestRestoreNodesRequest struct {
// Restore this node from the recycle bin to its original location
Nodes []*TreeNode `json:"Nodes"`
}
RestRestoreNodesRequest rest restore nodes request swagger:model restRestoreNodesRequest
func (*RestRestoreNodesRequest) MarshalBinary ¶
func (m *RestRestoreNodesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestRestoreNodesRequest) UnmarshalBinary ¶
func (m *RestRestoreNodesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestRestoreNodesResponse ¶
type RestRestoreNodesResponse struct {
// restore jobs
RestoreJobs []*RestBackgroundJobResult `json:"RestoreJobs"`
}
RestRestoreNodesResponse rest restore nodes response swagger:model restRestoreNodesResponse
func (*RestRestoreNodesResponse) MarshalBinary ¶
func (m *RestRestoreNodesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestRestoreNodesResponse) UnmarshalBinary ¶
func (m *RestRestoreNodesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestRevokeRequest ¶
type RestRevokeRequest struct {
// Pass a specific Token ID to be revoked. If empty, request will use current JWT
TokenID string `json:"TokenId,omitempty"`
}
RestRevokeRequest Rest request for revocation. Token is not mandatory, if not set request will use current JWT token swagger:model restRevokeRequest
func (*RestRevokeRequest) MarshalBinary ¶
func (m *RestRevokeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestRevokeRequest) UnmarshalBinary ¶
func (m *RestRevokeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestRevokeResponse ¶
type RestRevokeResponse struct {
// message
Message string `json:"Message,omitempty"`
// success
Success bool `json:"Success,omitempty"`
}
RestRevokeResponse Rest response swagger:model restRevokeResponse
func (*RestRevokeResponse) MarshalBinary ¶
func (m *RestRevokeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestRevokeResponse) UnmarshalBinary ¶
func (m *RestRevokeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestRolesCollection ¶
type RestRolesCollection struct {
// List of Roles
Roles []*IdmRole `json:"Roles"`
}
RestRolesCollection Roles Collection swagger:model restRolesCollection
func (*RestRolesCollection) MarshalBinary ¶
func (m *RestRolesCollection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestRolesCollection) UnmarshalBinary ¶
func (m *RestRolesCollection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestSchedulerActionFormResponse ¶
type RestSchedulerActionFormResponse interface{}
RestSchedulerActionFormResponse rest scheduler action form response swagger:model restSchedulerActionFormResponse
type RestSchedulerActionsResponse ¶
type RestSchedulerActionsResponse struct {
// List of all registered actions
Actions map[string]RestActionDescription `json:"Actions,omitempty"`
}
RestSchedulerActionsResponse rest scheduler actions response swagger:model restSchedulerActionsResponse
func (*RestSchedulerActionsResponse) MarshalBinary ¶
func (m *RestSchedulerActionsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestSchedulerActionsResponse) UnmarshalBinary ¶
func (m *RestSchedulerActionsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestSearchACLRequest ¶
type RestSearchACLRequest struct {
// Return counts only, no actual results
CountOnly bool `json:"CountOnly,omitempty"`
// Group results
GroupBy int32 `json:"GroupBy,omitempty"`
// Limit the number of results
Limit string `json:"Limit,omitempty"`
// Start listing at a given position
Offset string `json:"Offset,omitempty"`
// Single queries will be combined using this operation AND or OR logic
Operation ServiceOperationType `json:"Operation,omitempty"`
// Atomic queries that will be combined using the OperationType (AND or OR)
Queries []*IdmACLSingleQuery `json:"Queries"`
}
RestSearchACLRequest Rest request for ACL's swagger:model restSearchACLRequest
func (*RestSearchACLRequest) MarshalBinary ¶
func (m *RestSearchACLRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestSearchACLRequest) UnmarshalBinary ¶
func (m *RestSearchACLRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestSearchResults ¶
type RestSearchResults struct {
// results
Results []*TreeNode `json:"Results"`
// total
Total int32 `json:"Total,omitempty"`
}
RestSearchResults rest search results swagger:model restSearchResults
func (*RestSearchResults) MarshalBinary ¶
func (m *RestSearchResults) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestSearchResults) UnmarshalBinary ¶
func (m *RestSearchResults) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestSearchRoleRequest ¶
type RestSearchRoleRequest struct {
// Return counts only, no actual results
CountOnly bool `json:"CountOnly,omitempty"`
// Group results by
GroupBy int32 `json:"GroupBy,omitempty"`
// Limit number of results
Limit string `json:"Limit,omitempty"`
// Start listing at a given position
Offset string `json:"Offset,omitempty"`
// Combine Single Queries with AND or OR
Operation ServiceOperationType `json:"Operation,omitempty"`
// List of atomic queries that will be combined using the Operation type (AND / OR)
Queries []*IdmRoleSingleQuery `json:"Queries"`
// Policies query for specifying the search context
ResourcePolicyQuery *RestResourcePolicyQuery `json:"ResourcePolicyQuery,omitempty"`
}
RestSearchRoleRequest Roles Search swagger:model restSearchRoleRequest
func (*RestSearchRoleRequest) MarshalBinary ¶
func (m *RestSearchRoleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestSearchRoleRequest) UnmarshalBinary ¶
func (m *RestSearchRoleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestSearchUserRequest ¶
type RestSearchUserRequest struct {
// Return counts only, no actual results
CountOnly bool `json:"CountOnly,omitempty"`
// Group by ...
GroupBy int32 `json:"GroupBy,omitempty"`
// Limit number of results
Limit string `json:"Limit,omitempty"`
// Start listing at a given position
Offset string `json:"Offset,omitempty"`
// Combine single queries with AND or OR logic
Operation ServiceOperationType `json:"Operation,omitempty"`
// Atomic queries that will be combined using the Operation Type (AND or OR)
Queries []*IdmUserSingleQuery `json:"Queries"`
// Policies queries to filter the search context
ResourcePolicyQuery *RestResourcePolicyQuery `json:"ResourcePolicyQuery,omitempty"`
}
RestSearchUserRequest Users Search swagger:model restSearchUserRequest
func (*RestSearchUserRequest) MarshalBinary ¶
func (m *RestSearchUserRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestSearchUserRequest) UnmarshalBinary ¶
func (m *RestSearchUserRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestSearchWorkspaceRequest ¶
type RestSearchWorkspaceRequest struct {
// Return counts only, no actual results
CountOnly bool `json:"CountOnly,omitempty"`
// Group results
GroupBy int32 `json:"GroupBy,omitempty"`
// Limit the number of results
Limit string `json:"Limit,omitempty"`
// Start listing at a given position
Offset string `json:"Offset,omitempty"`
// Single queries will be combined using this operation AND or OR logic
Operation ServiceOperationType `json:"Operation,omitempty"`
// Atomic queries that will be combined using the OperationType (AND or OR)
Queries []*IdmWorkspaceSingleQuery `json:"Queries"`
// Policies queries to filter the search context
ResourcePolicyQuery *RestResourcePolicyQuery `json:"ResourcePolicyQuery,omitempty"`
}
RestSearchWorkspaceRequest Rest request for searching workspaces swagger:model restSearchWorkspaceRequest
func (*RestSearchWorkspaceRequest) MarshalBinary ¶
func (m *RestSearchWorkspaceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestSearchWorkspaceRequest) UnmarshalBinary ¶
func (m *RestSearchWorkspaceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestServiceCollection ¶
type RestServiceCollection struct {
// services
Services []*CtlService `json:"Services"`
// total
Total int32 `json:"Total,omitempty"`
}
RestServiceCollection rest service collection swagger:model restServiceCollection
func (*RestServiceCollection) MarshalBinary ¶
func (m *RestServiceCollection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestServiceCollection) UnmarshalBinary ¶
func (m *RestServiceCollection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestSettingsAccess ¶
type RestSettingsAccess struct {
// description
Description string `json:"Description,omitempty"`
// label
Label string `json:"Label,omitempty"`
// policies
Policies []*RestSettingsAccessRestPolicy `json:"Policies"`
}
RestSettingsAccess rest settings access swagger:model restSettingsAccess
func (*RestSettingsAccess) MarshalBinary ¶
func (m *RestSettingsAccess) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestSettingsAccess) UnmarshalBinary ¶
func (m *RestSettingsAccess) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestSettingsAccessRestPolicy ¶
type RestSettingsAccessRestPolicy struct {
// action
Action string `json:"Action,omitempty"`
// resource
Resource string `json:"Resource,omitempty"`
}
RestSettingsAccessRestPolicy rest settings access rest policy swagger:model restSettingsAccessRestPolicy
func (*RestSettingsAccessRestPolicy) MarshalBinary ¶
func (m *RestSettingsAccessRestPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestSettingsAccessRestPolicy) UnmarshalBinary ¶
func (m *RestSettingsAccessRestPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestSettingsEntry ¶
type RestSettingsEntry struct {
// accesses
Accesses map[string]RestSettingsAccess `json:"Accesses,omitempty"`
// alias
Alias string `json:"Alias,omitempty"`
// description
Description string `json:"Description,omitempty"`
// feature
Feature string `json:"Feature,omitempty"`
// key
Key string `json:"Key,omitempty"`
// label
Label string `json:"Label,omitempty"`
// manager
Manager string `json:"Manager,omitempty"`
// metadata
Metadata *RestSettingsEntryMeta `json:"Metadata,omitempty"`
}
RestSettingsEntry rest settings entry swagger:model restSettingsEntry
func (*RestSettingsEntry) MarshalBinary ¶
func (m *RestSettingsEntry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestSettingsEntry) UnmarshalBinary ¶
func (m *RestSettingsEntry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestSettingsEntryMeta ¶
type RestSettingsEntryMeta struct {
// advanced
Advanced bool `json:"Advanced,omitempty"`
// component
Component string `json:"Component,omitempty"`
// icon class
IconClass string `json:"IconClass,omitempty"`
// indexed
Indexed []string `json:"Indexed"`
// props
Props string `json:"Props,omitempty"`
}
RestSettingsEntryMeta rest settings entry meta swagger:model restSettingsEntryMeta
func (*RestSettingsEntryMeta) MarshalBinary ¶
func (m *RestSettingsEntryMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestSettingsEntryMeta) UnmarshalBinary ¶
func (m *RestSettingsEntryMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestSettingsMenuResponse ¶
type RestSettingsMenuResponse struct {
// root metadata
RootMetadata *RestSettingsEntryMeta `json:"RootMetadata,omitempty"`
// sections
Sections []*RestSettingsSection `json:"Sections"`
}
RestSettingsMenuResponse rest settings menu response swagger:model restSettingsMenuResponse
func (*RestSettingsMenuResponse) MarshalBinary ¶
func (m *RestSettingsMenuResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestSettingsMenuResponse) UnmarshalBinary ¶
func (m *RestSettingsMenuResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestSettingsSection ¶
type RestSettingsSection struct {
// children
Children []*RestSettingsEntry `json:"Children"`
// description
Description string `json:"Description,omitempty"`
// key
Key string `json:"Key,omitempty"`
// label
Label string `json:"Label,omitempty"`
}
RestSettingsSection rest settings section swagger:model restSettingsSection
func (*RestSettingsSection) MarshalBinary ¶
func (m *RestSettingsSection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestSettingsSection) UnmarshalBinary ¶
func (m *RestSettingsSection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestShareLink ¶
type RestShareLink struct {
AccessEnd string `json:"AccessEnd,omitempty"`
AccessStart string `json:"AccessStart,omitempty"`
CurrentDownloads string `json:"CurrentDownloads,omitempty"`
Description string `json:"Description,omitempty"`
Label string `json:"Label,omitempty"`
LinkHash string `json:"LinkHash,omitempty"`
LinkURL string `json:"LinkUrl,omitempty"`
MaxDownloads string `json:"MaxDownloads,omitempty"`
PasswordRequired bool `json:"PasswordRequired,omitempty"`
Permissions []RestShareLinkAccessType `json:"Permissions"`
Policies []*ServiceResourcePolicy `json:"Policies"`
PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"`
RestrictToTargetUsers bool `json:"RestrictToTargetUsers,omitempty"`
RootNodes []*TreeNode `json:"RootNodes"`
TargetUsers map[string]RestShareLinkTargetUser `json:"TargetUsers,omitempty"`
UserLogin string `json:"UserLogin,omitempty"`
UserUUID string `json:"UserUuid,omitempty"`
UUID string `json:"Uuid,omitempty"`
ViewTemplateName string `json:"ViewTemplateName,omitempty"`
}
RestShareLink Model for representing a public link swagger:model restShareLink
func (*RestShareLink) MarshalBinary ¶
func (m *RestShareLink) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestShareLink) UnmarshalBinary ¶
func (m *RestShareLink) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestShareLinkAccessType ¶
type RestShareLinkAccessType string
RestShareLinkAccessType Known values for link permissions swagger:model restShareLinkAccessType
const ( RestShareLinkAccessTypeNoAccess RestShareLinkAccessType = "NoAccess" RestShareLinkAccessTypePreview RestShareLinkAccessType = "Preview" RestShareLinkAccessTypeDownload RestShareLinkAccessType = "Download" RestShareLinkAccessTypeUpload RestShareLinkAccessType = "Upload" )
type RestShareLinkTargetUser ¶
type RestShareLinkTargetUser struct {
Display string `json:"Display,omitempty"`
DownloadCount int32 `json:"DownloadCount,omitempty"`
}
RestShareLinkTargetUser rest share link target user swagger:model restShareLinkTargetUser
func (*RestShareLinkTargetUser) MarshalBinary ¶
func (m *RestShareLinkTargetUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestShareLinkTargetUser) UnmarshalBinary ¶
func (m *RestShareLinkTargetUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestSubscriptionsCollection ¶
type RestSubscriptionsCollection struct {
// subscriptions
Subscriptions []*ActivitySubscription `json:"subscriptions"`
}
RestSubscriptionsCollection rest subscriptions collection swagger:model restSubscriptionsCollection
func (*RestSubscriptionsCollection) MarshalBinary ¶
func (m *RestSubscriptionsCollection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestSubscriptionsCollection) UnmarshalBinary ¶
func (m *RestSubscriptionsCollection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestTemplate ¶
type RestTemplate struct {
// Human friendly label
Label string `json:"Label,omitempty"`
// Template node, can be a file or a tree of folders
Node *RestTemplateNode `json:"Node,omitempty"`
// Associated policies
Policies []*ServiceResourcePolicy `json:"Policies"`
// Unique identifier for this template
UUID string `json:"UUID,omitempty"`
}
RestTemplate A template can be used to create files or tree from scratch swagger:model restTemplate
func (*RestTemplate) MarshalBinary ¶
func (m *RestTemplate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestTemplate) UnmarshalBinary ¶
func (m *RestTemplate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestTemplateNode ¶
type RestTemplateNode struct {
// If stored in binary store, the binary Uuid
BinaryUUUID string `json:"BinaryUUUID,omitempty"`
// One or more children
Children []*RestTemplateNode `json:"Children"`
// If it's embedded in binary
EmbedPath string `json:"EmbedPath,omitempty"`
// Whether it's a file or a folder
IsFile bool `json:"IsFile,omitempty"`
}
RestTemplateNode A template node is representing a file or a folder swagger:model restTemplateNode
func (*RestTemplateNode) MarshalBinary ¶
func (m *RestTemplateNode) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestTemplateNode) UnmarshalBinary ¶
func (m *RestTemplateNode) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestUpdateSharePoliciesRequest ¶
type RestUpdateSharePoliciesRequest struct {
Policies []*ServiceResourcePolicy `json:"Policies"`
UUID string `json:"Uuid,omitempty"`
}
RestUpdateSharePoliciesRequest rest update share policies request swagger:model restUpdateSharePoliciesRequest
func (*RestUpdateSharePoliciesRequest) MarshalBinary ¶
func (m *RestUpdateSharePoliciesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestUpdateSharePoliciesRequest) UnmarshalBinary ¶
func (m *RestUpdateSharePoliciesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestUpdateSharePoliciesResponse ¶
type RestUpdateSharePoliciesResponse struct {
Policies []*ServiceResourcePolicy `json:"Policies"`
PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"`
Success bool `json:"Success,omitempty"`
}
RestUpdateSharePoliciesResponse rest update share policies response swagger:model restUpdateSharePoliciesResponse
func (*RestUpdateSharePoliciesResponse) MarshalBinary ¶
func (m *RestUpdateSharePoliciesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestUpdateSharePoliciesResponse) UnmarshalBinary ¶
func (m *RestUpdateSharePoliciesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestUserBookmarksRequest ¶
type RestUserBookmarksRequest interface{}
RestUserBookmarksRequest rest user bookmarks request swagger:model restUserBookmarksRequest
type RestUserJobRequest ¶
type RestUserJobRequest struct {
// Name of the job to create in the user space
JobName string `json:"JobName,omitempty"`
// Json-encoded parameters for this job
JSONParameters string `json:"JsonParameters,omitempty"`
}
RestUserJobRequest rest user job request swagger:model restUserJobRequest
func (*RestUserJobRequest) MarshalBinary ¶
func (m *RestUserJobRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestUserJobRequest) UnmarshalBinary ¶
func (m *RestUserJobRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestUserJobResponse ¶
type RestUserJobResponse struct {
// job Uuid
JobUUID string `json:"JobUuid,omitempty"`
}
RestUserJobResponse rest user job response swagger:model restUserJobResponse
func (*RestUserJobResponse) MarshalBinary ¶
func (m *RestUserJobResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestUserJobResponse) UnmarshalBinary ¶
func (m *RestUserJobResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestUserJobsCollection ¶
type RestUserJobsCollection struct {
// jobs
Jobs []*JobsJob `json:"Jobs"`
}
RestUserJobsCollection rest user jobs collection swagger:model restUserJobsCollection
func (*RestUserJobsCollection) MarshalBinary ¶
func (m *RestUserJobsCollection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestUserJobsCollection) UnmarshalBinary ¶
func (m *RestUserJobsCollection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestUserMetaCollection ¶
type RestUserMetaCollection struct {
// metadatas
Metadatas []*IdmUserMeta `json:"Metadatas"`
}
RestUserMetaCollection Collection of UserMeta swagger:model restUserMetaCollection
func (*RestUserMetaCollection) MarshalBinary ¶
func (m *RestUserMetaCollection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestUserMetaCollection) UnmarshalBinary ¶
func (m *RestUserMetaCollection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestUserMetaNamespaceCollection ¶
type RestUserMetaNamespaceCollection struct {
// List of user meta Namespaces
Namespaces []*IdmUserMetaNamespace `json:"Namespaces"`
}
RestUserMetaNamespaceCollection Collection of Meta Namespaces swagger:model restUserMetaNamespaceCollection
func (*RestUserMetaNamespaceCollection) MarshalBinary ¶
func (m *RestUserMetaNamespaceCollection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestUserMetaNamespaceCollection) UnmarshalBinary ¶
func (m *RestUserMetaNamespaceCollection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestUserStateResponse ¶
type RestUserStateResponse struct {
// workspaces
Workspaces []*IdmWorkspace `json:"Workspaces"`
// workspaces accesses
WorkspacesAccesses map[string]string `json:"WorkspacesAccesses,omitempty"`
}
RestUserStateResponse rest user state response swagger:model restUserStateResponse
func (*RestUserStateResponse) MarshalBinary ¶
func (m *RestUserStateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestUserStateResponse) UnmarshalBinary ¶
func (m *RestUserStateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestUsersCollection ¶
type RestUsersCollection struct {
// List of Groups
Groups []*IdmUser `json:"Groups"`
// Total number of results
Total int32 `json:"Total,omitempty"`
// List of Users
Users []*IdmUser `json:"Users"`
}
RestUsersCollection Users Collection swagger:model restUsersCollection
func (*RestUsersCollection) MarshalBinary ¶
func (m *RestUsersCollection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestUsersCollection) UnmarshalBinary ¶
func (m *RestUsersCollection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestVersioningPolicyCollection ¶
type RestVersioningPolicyCollection struct {
// policies
Policies []*TreeVersioningPolicy `json:"Policies"`
}
RestVersioningPolicyCollection rest versioning policy collection swagger:model restVersioningPolicyCollection
func (*RestVersioningPolicyCollection) MarshalBinary ¶
func (m *RestVersioningPolicyCollection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestVersioningPolicyCollection) UnmarshalBinary ¶
func (m *RestVersioningPolicyCollection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestWorkspaceCollection ¶
type RestWorkspaceCollection struct {
// Total number of results
Total int32 `json:"Total,omitempty"`
// List of workspaces
Workspaces []*IdmWorkspace `json:"Workspaces"`
}
RestWorkspaceCollection Rest response for workspace search swagger:model restWorkspaceCollection
func (*RestWorkspaceCollection) MarshalBinary ¶
func (m *RestWorkspaceCollection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestWorkspaceCollection) UnmarshalBinary ¶
func (m *RestWorkspaceCollection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceOperationType ¶
type ServiceOperationType string
ServiceOperationType service operation type swagger:model serviceOperationType
const ( // ServiceOperationTypeOR captures enum value "OR" ServiceOperationTypeOR ServiceOperationType = "OR" // ServiceOperationTypeAND captures enum value "AND" ServiceOperationTypeAND ServiceOperationType = "AND" )
type ServiceQuery ¶
type ServiceQuery struct {
// limit
Limit string `json:"Limit,omitempty"`
// offset
Offset string `json:"Offset,omitempty"`
// operation
Operation ServiceOperationType `json:"Operation,omitempty"`
// resource policy query
ResourcePolicyQuery *ServiceResourcePolicyQuery `json:"ResourcePolicyQuery,omitempty"`
// sub queries
SubQueries []*ProtobufAny `json:"SubQueries"`
// group by
GroupBy int32 `json:"groupBy,omitempty"`
}
ServiceQuery service query swagger:model serviceQuery
func (*ServiceQuery) MarshalBinary ¶
func (m *ServiceQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceQuery) UnmarshalBinary ¶
func (m *ServiceQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceResourcePolicy ¶
type ServiceResourcePolicy struct {
// action
Action ServiceResourcePolicyAction `json:"Action,omitempty"`
// effect
Effect ServiceResourcePolicyPolicyEffect `json:"Effect,omitempty"`
// Json conditions
JSONConditions string `json:"JsonConditions,omitempty"`
// resource
Resource string `json:"Resource,omitempty"`
// subject
Subject string `json:"Subject,omitempty"`
// id
ID string `json:"id,omitempty"`
}
ServiceResourcePolicy service resource policy swagger:model serviceResourcePolicy
func (*ServiceResourcePolicy) MarshalBinary ¶
func (m *ServiceResourcePolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceResourcePolicy) UnmarshalBinary ¶
func (m *ServiceResourcePolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceResourcePolicyAction ¶
type ServiceResourcePolicyAction string
ServiceResourcePolicyAction service resource policy action swagger:model serviceResourcePolicyAction
const ( // ServiceResourcePolicyActionANY captures enum value "ANY" ServiceResourcePolicyActionANY ServiceResourcePolicyAction = "ANY" // ServiceResourcePolicyActionOWNER captures enum value "OWNER" ServiceResourcePolicyActionOWNER ServiceResourcePolicyAction = "OWNER" // ServiceResourcePolicyActionREAD captures enum value "READ" ServiceResourcePolicyActionREAD ServiceResourcePolicyAction = "READ" // ServiceResourcePolicyActionWRITE captures enum value "WRITE" ServiceResourcePolicyActionWRITE ServiceResourcePolicyAction = "WRITE" // ServiceResourcePolicyActionEDITRULES captures enum value "EDIT_RULES" ServiceResourcePolicyActionEDITRULES ServiceResourcePolicyAction = "EDIT_RULES" )
type ServiceResourcePolicyPolicyEffect ¶
type ServiceResourcePolicyPolicyEffect string
ServiceResourcePolicyPolicyEffect service resource policy policy effect swagger:model serviceResourcePolicyPolicyEffect
const ( // ServiceResourcePolicyPolicyEffectDeny captures enum value "deny" ServiceResourcePolicyPolicyEffectDeny ServiceResourcePolicyPolicyEffect = "deny" // ServiceResourcePolicyPolicyEffectAllow captures enum value "allow" ServiceResourcePolicyPolicyEffectAllow ServiceResourcePolicyPolicyEffect = "allow" )
type ServiceResourcePolicyQuery ¶
type ServiceResourcePolicyQuery struct {
// any
Any bool `json:"Any,omitempty"`
// empty
Empty bool `json:"Empty,omitempty"`
// subjects
Subjects []string `json:"Subjects"`
}
ServiceResourcePolicyQuery service resource policy query swagger:model serviceResourcePolicyQuery
func (*ServiceResourcePolicyQuery) MarshalBinary ¶
func (m *ServiceResourcePolicyQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceResourcePolicyQuery) UnmarshalBinary ¶
func (m *ServiceResourcePolicyQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TreeChangeLog ¶
type TreeChangeLog struct {
// Arbitrary additional data
// Format: byte
Data strfmt.Base64 `json:"Data,omitempty"`
// Human-readable description of what happened
Description string `json:"Description,omitempty"`
// Event that triggered this change
Event *TreeNodeChangeEvent `json:"Event,omitempty"`
// Unix Timestamp
MTime string `json:"MTime,omitempty"`
// Who performed this action
OwnerUUID string `json:"OwnerUuid,omitempty"`
// Content Size at that moment
Size string `json:"Size,omitempty"`
// Unique commit ID
UUID string `json:"Uuid,omitempty"`
}
TreeChangeLog tree change log swagger:model treeChangeLog
func (*TreeChangeLog) MarshalBinary ¶
func (m *TreeChangeLog) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TreeChangeLog) UnmarshalBinary ¶
func (m *TreeChangeLog) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TreeGeoPoint ¶
type TreeGeoPoint struct {
// lat
Lat float64 `json:"Lat,omitempty"`
// lon
Lon float64 `json:"Lon,omitempty"`
}
TreeGeoPoint tree geo point swagger:model treeGeoPoint
func (*TreeGeoPoint) MarshalBinary ¶
func (m *TreeGeoPoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TreeGeoPoint) UnmarshalBinary ¶
func (m *TreeGeoPoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TreeGeoQuery ¶
type TreeGeoQuery struct {
// bottom right
BottomRight *TreeGeoPoint `json:"BottomRight,omitempty"`
// Either use a center point and a distance
Center *TreeGeoPoint `json:"Center,omitempty"`
// Example formats supported:
// "5in" "5inch" "7yd" "7yards" "9ft" "9feet" "11km" "11kilometers"
// "3nm" "3nauticalmiles" "13mm" "13millimeters" "15cm" "15centimeters"
// "17mi" "17miles" "19m" "19meters"
// If the unit cannot be determined, the entire string is parsed and the
// unit of meters is assumed.
Distance string `json:"Distance,omitempty"`
// Or use a bounding box with TopLeft and BottomRight points
TopLeft *TreeGeoPoint `json:"TopLeft,omitempty"`
}
TreeGeoQuery tree geo query swagger:model treeGeoQuery
func (*TreeGeoQuery) MarshalBinary ¶
func (m *TreeGeoQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TreeGeoQuery) UnmarshalBinary ¶
func (m *TreeGeoQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TreeListNodesRequest ¶
type TreeListNodesRequest struct {
// Send back a list of parent nodes, until the root, including the original node
Ancestors bool `json:"Ancestors,omitempty"`
// Filter by node type (LEAF / COLLECTION)
FilterType TreeNodeType `json:"FilterType,omitempty"`
// Limit the number of results
Limit string `json:"Limit,omitempty"`
// Main node used as a parent
Node *TreeNode `json:"Node,omitempty"`
// Start listing at a given position
Offset string `json:"Offset,omitempty"`
// Send back all children of the node
Recursive bool `json:"Recursive,omitempty"`
// Sends the list of commits for a given node (not used)
WithCommits bool `json:"WithCommits,omitempty"`
// Sends the list of versions for a given node
WithVersions bool `json:"WithVersions,omitempty"`
}
TreeListNodesRequest tree list nodes request swagger:model treeListNodesRequest
func (*TreeListNodesRequest) MarshalBinary ¶
func (m *TreeListNodesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TreeListNodesRequest) UnmarshalBinary ¶
func (m *TreeListNodesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TreeNode ¶
type TreeNode struct {
// Can be used for output when node is appearing in multiple workspaces
AppearsIn []*TreeWorkspaceRelativePath `json:"AppearsIn"`
// List of successive commits
Commits []*TreeChangeLog `json:"Commits"`
// Hash of the content if node is a LEAF, Uuid or
Etag string `json:"Etag,omitempty"`
// Last modification Timestamp
MTime string `json:"MTime,omitempty"`
// ------------------------------------
// Then a free K => V representation of any kind of metadata
// ------------------------------------
MetaStore map[string]string `json:"MetaStore,omitempty"`
// Permission mode, like 0777
Mode int32 `json:"Mode,omitempty"`
// path
Path string `json:"Path,omitempty"`
// Size of the file, or cumulated size of folder
Size string `json:"Size,omitempty"`
// type
Type TreeNodeType `json:"Type,omitempty"`
// ------------------------------------
// Core identification of the node
// ------------------------------------
UUID string `json:"Uuid,omitempty"`
}
TreeNode tree node swagger:model treeNode
func (*TreeNode) MarshalBinary ¶
MarshalBinary interface implementation
func (*TreeNode) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TreeNodeChangeEvent ¶
type TreeNodeChangeEvent struct {
// metadata
Metadata map[string]string `json:"Metadata,omitempty"`
// optimistic
Optimistic bool `json:"Optimistic,omitempty"`
// silent
Silent bool `json:"Silent,omitempty"`
// source
Source *TreeNode `json:"Source,omitempty"`
// target
Target *TreeNode `json:"Target,omitempty"`
// type
Type NodeChangeEventEventType `json:"Type,omitempty"`
}
TreeNodeChangeEvent tree node change event swagger:model treeNodeChangeEvent
func (*TreeNodeChangeEvent) MarshalBinary ¶
func (m *TreeNodeChangeEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TreeNodeChangeEvent) UnmarshalBinary ¶
func (m *TreeNodeChangeEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TreeNodeType ¶
type TreeNodeType string
TreeNodeType ========================================================== * Standard Messages ========================================================== swagger:model treeNodeType
const ( // TreeNodeTypeUNKNOWN captures enum value "UNKNOWN" TreeNodeTypeUNKNOWN TreeNodeType = "UNKNOWN" // TreeNodeTypeLEAF captures enum value "LEAF" TreeNodeTypeLEAF TreeNodeType = "LEAF" // TreeNodeTypeCOLLECTION captures enum value "COLLECTION" TreeNodeTypeCOLLECTION TreeNodeType = "COLLECTION" )
type TreeQuery ¶
type TreeQuery struct {
// Search in content
Content string `json:"Content,omitempty"`
// Search files by extension
Extension string `json:"Extension,omitempty"`
// Search in filename
FileName string `json:"FileName,omitempty"`
// Free Query String (for metadata)
FreeString string `json:"FreeString,omitempty"`
// Search geographically
GeoQuery *TreeGeoQuery `json:"GeoQuery,omitempty"`
// max date
MaxDate string `json:"MaxDate,omitempty"`
// max size
MaxSize string `json:"MaxSize,omitempty"`
// Range for date
MinDate string `json:"MinDate,omitempty"`
// Range for size
MinSize string `json:"MinSize,omitempty"`
// Negate this query
Not bool `json:"Not,omitempty"`
// Limit to a given level of the tree - can be used in filters
PathDepth int32 `json:"PathDepth,omitempty"`
// Limit to a given subtree
PathPrefix []string `json:"PathPrefix"`
// Preset list of nodes by Path
Paths []string `json:"Paths"`
// Limit to a given node type
Type TreeNodeType `json:"Type,omitempty"`
// Preset list of Node by UUIDs
Uuids []string `json:"UUIDs"`
}
TreeQuery Search Queries swagger:model treeQuery
func (*TreeQuery) MarshalBinary ¶
MarshalBinary interface implementation
func (*TreeQuery) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TreeReadNodeRequest ¶
type TreeReadNodeRequest struct {
// Input node
Node *TreeNode `json:"Node,omitempty"`
// Used internally for the router ReadNode request, stat the datasource instead of index
ObjectStats bool `json:"ObjectStats,omitempty"`
// Gather commit information
WithCommits bool `json:"WithCommits,omitempty"`
// Get extended stats - For folders, computes ChildrenCount
WithExtendedStats bool `json:"WithExtendedStats,omitempty"`
}
TreeReadNodeRequest Request / Responses Messages swagger:model treeReadNodeRequest
func (*TreeReadNodeRequest) MarshalBinary ¶
func (m *TreeReadNodeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TreeReadNodeRequest) UnmarshalBinary ¶
func (m *TreeReadNodeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TreeReadNodeResponse ¶
type TreeReadNodeResponse struct {
// node
Node *TreeNode `json:"Node,omitempty"`
// success
Success bool `json:"Success,omitempty"`
}
TreeReadNodeResponse tree read node response swagger:model treeReadNodeResponse
func (*TreeReadNodeResponse) MarshalBinary ¶
func (m *TreeReadNodeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TreeReadNodeResponse) UnmarshalBinary ¶
func (m *TreeReadNodeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TreeSearchRequest ¶
type TreeSearchRequest struct {
// Load node details
Details bool `json:"Details,omitempty"`
// Facet search
Facet string `json:"Facet,omitempty"`
// Start at given position
From int32 `json:"From,omitempty"`
// The query object
Query *TreeQuery `json:"Query,omitempty"`
// Limit the number of results
Size int32 `json:"Size,omitempty"`
}
TreeSearchRequest tree search request swagger:model treeSearchRequest
func (*TreeSearchRequest) MarshalBinary ¶
func (m *TreeSearchRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TreeSearchRequest) UnmarshalBinary ¶
func (m *TreeSearchRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TreeVersioningKeepPeriod ¶
type TreeVersioningKeepPeriod struct {
// interval start
IntervalStart string `json:"IntervalStart,omitempty"`
// max number
MaxNumber int32 `json:"MaxNumber,omitempty"`
}
TreeVersioningKeepPeriod tree versioning keep period swagger:model treeVersioningKeepPeriod
func (*TreeVersioningKeepPeriod) MarshalBinary ¶
func (m *TreeVersioningKeepPeriod) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TreeVersioningKeepPeriod) UnmarshalBinary ¶
func (m *TreeVersioningKeepPeriod) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TreeVersioningPolicy ¶
type TreeVersioningPolicy struct {
// description
Description string `json:"Description,omitempty"`
// ignore files greater than
IgnoreFilesGreaterThan string `json:"IgnoreFilesGreaterThan,omitempty"`
// keep periods
KeepPeriods []*TreeVersioningKeepPeriod `json:"KeepPeriods"`
// max size per file
MaxSizePerFile string `json:"MaxSizePerFile,omitempty"`
// max total size
MaxTotalSize string `json:"MaxTotalSize,omitempty"`
// name
Name string `json:"Name,omitempty"`
// Uuid
UUID string `json:"Uuid,omitempty"`
// versions data source bucket
VersionsDataSourceBucket string `json:"VersionsDataSourceBucket,omitempty"`
// versions data source name
VersionsDataSourceName string `json:"VersionsDataSourceName,omitempty"`
}
TreeVersioningPolicy tree versioning policy swagger:model treeVersioningPolicy
func (*TreeVersioningPolicy) MarshalBinary ¶
func (m *TreeVersioningPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TreeVersioningPolicy) UnmarshalBinary ¶
func (m *TreeVersioningPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TreeWorkspaceRelativePath ¶
type TreeWorkspaceRelativePath struct {
// Relative Path inside workspace
Path string `json:"Path,omitempty"`
// Workspace Label
WsLabel string `json:"WsLabel,omitempty"`
// Workspace slug
WsSlug string `json:"WsSlug,omitempty"`
// Workspace Id
WsUUID string `json:"WsUuid,omitempty"`
}
TreeWorkspaceRelativePath Used in AppearsIn to signal a node is appearing in multiple workspaces in the current context swagger:model treeWorkspaceRelativePath
func (*TreeWorkspaceRelativePath) MarshalBinary ¶
func (m *TreeWorkspaceRelativePath) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TreeWorkspaceRelativePath) UnmarshalBinary ¶
func (m *TreeWorkspaceRelativePath) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateApplyUpdateRequest ¶
type UpdateApplyUpdateRequest struct {
// Name of the package if it's not the same as the current binary
PackageName string `json:"PackageName,omitempty"`
// Version of the target binary
TargetVersion string `json:"TargetVersion,omitempty"`
}
UpdateApplyUpdateRequest update apply update request swagger:model updateApplyUpdateRequest
func (*UpdateApplyUpdateRequest) MarshalBinary ¶
func (m *UpdateApplyUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateApplyUpdateRequest) UnmarshalBinary ¶
func (m *UpdateApplyUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateApplyUpdateResponse ¶
type UpdateApplyUpdateResponse struct {
// message
Message string `json:"Message,omitempty"`
// success
Success bool `json:"Success,omitempty"`
}
UpdateApplyUpdateResponse update apply update response swagger:model updateApplyUpdateResponse
func (*UpdateApplyUpdateResponse) MarshalBinary ¶
func (m *UpdateApplyUpdateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateApplyUpdateResponse) UnmarshalBinary ¶
func (m *UpdateApplyUpdateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdatePackage ¶
type UpdatePackage struct {
// GOARCH value used at build time
BinaryArch string `json:"BinaryArch,omitempty"`
// Checksum of the binary to verify its integrity
BinaryChecksum string `json:"BinaryChecksum,omitempty"`
// Hash type used for the signature
BinaryHashType string `json:"BinaryHashType,omitempty"`
// GOOS value used at build time
BinaryOS string `json:"BinaryOS,omitempty"`
// Signature of the binary
BinarySignature string `json:"BinarySignature,omitempty"`
// Size of the binary to download
BinarySize string `json:"BinarySize,omitempty"`
// Https URL where to download the binary
BinaryURL string `json:"BinaryURL,omitempty"`
// List or public URL of change logs
ChangeLog string `json:"ChangeLog,omitempty"`
// Long human-readable description (markdown)
Description string `json:"Description,omitempty"`
// Not used : if binary is a patch
IsPatch bool `json:"IsPatch,omitempty"`
// Short human-readable description
Label string `json:"Label,omitempty"`
// License of this package
License string `json:"License,omitempty"`
// Name of the application
PackageName string `json:"PackageName,omitempty"`
// Not used : if a patch, how to patch (bsdiff support)
PatchAlgorithm string `json:"PatchAlgorithm,omitempty"`
// Release date of the binary
ReleaseDate int32 `json:"ReleaseDate,omitempty"`
// Not used : at a point we may deliver services only updates
ServiceName string `json:"ServiceName,omitempty"`
// status
Status PackagePackageStatus `json:"Status,omitempty"`
// Version of this new binary
Version string `json:"Version,omitempty"`
}
UpdatePackage update package swagger:model updatePackage
func (*UpdatePackage) MarshalBinary ¶
func (m *UpdatePackage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdatePackage) UnmarshalBinary ¶
func (m *UpdatePackage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateUpdateRequest ¶
type UpdateUpdateRequest struct {
// Channel name
Channel string `json:"Channel,omitempty"`
// Current version of the application
CurrentVersion string `json:"CurrentVersion,omitempty"`
// Current GOARCH
GOARCH string `json:"GOARCH,omitempty"`
// Current GOOS
GOOS string `json:"GOOS,omitempty"`
// For enterprise version, info about the current license
LicenseInfo map[string]string `json:"LicenseInfo,omitempty"`
// Name of the currently running application
PackageName string `json:"PackageName,omitempty"`
// Not Used : specific service to get updates for
ServiceName string `json:"ServiceName,omitempty"`
}
UpdateUpdateRequest update update request swagger:model updateUpdateRequest
func (*UpdateUpdateRequest) MarshalBinary ¶
func (m *UpdateUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUpdateRequest) UnmarshalBinary ¶
func (m *UpdateUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateUpdateResponse ¶
type UpdateUpdateResponse struct {
// List of available binaries
AvailableBinaries []*UpdatePackage `json:"AvailableBinaries"`
// channel
Channel string `json:"Channel,omitempty"`
}
UpdateUpdateResponse update update response swagger:model updateUpdateResponse
func (*UpdateUpdateResponse) MarshalBinary ¶
func (m *UpdateUpdateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUpdateResponse) UnmarshalBinary ¶
func (m *UpdateUpdateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateUserMetaNamespaceRequestUserMetaNsOp ¶
type UpdateUserMetaNamespaceRequestUserMetaNsOp string
UpdateUserMetaNamespaceRequestUserMetaNsOp update user meta namespace request user meta ns op swagger:model UpdateUserMetaNamespaceRequestUserMetaNsOp
const ( // UpdateUserMetaNamespaceRequestUserMetaNsOpPUT captures enum value "PUT" UpdateUserMetaNamespaceRequestUserMetaNsOpPUT UpdateUserMetaNamespaceRequestUserMetaNsOp = "PUT" // UpdateUserMetaNamespaceRequestUserMetaNsOpDELETE captures enum value "DELETE" UpdateUserMetaNamespaceRequestUserMetaNsOpDELETE UpdateUserMetaNamespaceRequestUserMetaNsOp = "DELETE" )
type UpdateUserMetaRequestUserMetaOp ¶
type UpdateUserMetaRequestUserMetaOp string
UpdateUserMetaRequestUserMetaOp update user meta request user meta op swagger:model UpdateUserMetaRequestUserMetaOp
const ( // UpdateUserMetaRequestUserMetaOpPUT captures enum value "PUT" UpdateUserMetaRequestUserMetaOpPUT UpdateUserMetaRequestUserMetaOp = "PUT" // UpdateUserMetaRequestUserMetaOpDELETE captures enum value "DELETE" UpdateUserMetaRequestUserMetaOpDELETE UpdateUserMetaRequestUserMetaOp = "DELETE" )
Source Files
¶
- activity_object.go
- activity_object_type.go
- activity_owner_type.go
- activity_search_subscriptions_request.go
- activity_stream_activities_request.go
- activity_stream_context.go
- activity_subscription.go
- activity_summary_point_of_view.go
- auth_token.go
- ctl_peer.go
- ctl_service.go
- ctl_service_command.go
- ctl_service_status.go
- encryption_admin_create_key_request.go
- encryption_admin_create_key_response.go
- encryption_admin_delete_key_request.go
- encryption_admin_delete_key_response.go
- encryption_admin_export_key_request.go
- encryption_admin_export_key_response.go
- encryption_admin_import_key_request.go
- encryption_admin_import_key_response.go
- encryption_admin_list_keys_request.go
- encryption_admin_list_keys_response.go
- encryption_export.go
- encryption_import.go
- encryption_key.go
- encryption_key_info.go
- idm_acl.go
- idm_acl_action.go
- idm_acl_single_query.go
- idm_list_policy_groups_request.go
- idm_list_policy_groups_response.go
- idm_node_type.go
- idm_policy.go
- idm_policy_condition.go
- idm_policy_effect.go
- idm_policy_group.go
- idm_policy_resource_group.go
- idm_role.go
- idm_role_single_query.go
- idm_search_user_meta_request.go
- idm_update_user_meta_namespace_request.go
- idm_update_user_meta_namespace_response.go
- idm_update_user_meta_request.go
- idm_update_user_meta_response.go
- idm_user.go
- idm_user_meta.go
- idm_user_meta_namespace.go
- idm_user_single_query.go
- idm_workspace.go
- idm_workspace_scope.go
- idm_workspace_single_query.go
- install_check_result.go
- install_get_agreement_response.go
- install_get_defaults_response.go
- install_install_config.go
- install_install_request.go
- install_install_response.go
- install_perform_check_request.go
- install_perform_check_response.go
- install_proxy_config.go
- install_tls_certificate.go
- install_tls_lets_encrypt.go
- install_tls_self_signed.go
- jobs_action.go
- jobs_action_log.go
- jobs_action_message.go
- jobs_action_output.go
- jobs_action_output_filter.go
- jobs_command.go
- jobs_context_meta_filter.go
- jobs_context_meta_filter_type.go
- jobs_ctrl_command.go
- jobs_ctrl_command_response.go
- jobs_delete_tasks_request.go
- jobs_delete_tasks_response.go
- jobs_idm_selector.go
- jobs_idm_selector_type.go
- jobs_job.go
- jobs_job_parameter.go
- jobs_list_jobs_request.go
- jobs_nodes_selector.go
- jobs_schedule.go
- jobs_task.go
- jobs_task_status.go
- jobs_users_selector.go
- list_log_request_log_format.go
- list_shared_resources_request_list_share_type.go
- list_shared_resources_response_shared_resource.go
- log_list_log_request.go
- log_log_message.go
- mailer_mail.go
- mailer_send_mail_response.go
- mailer_user.go
- node_change_event_event_type.go
- object_data_source.go
- object_encryption_mode.go
- object_storage_type.go
- package_package_status.go
- protobuf_any.go
- resource_policy_query_query_type.go
- rest_acl_collection.go
- rest_action_description.go
- rest_background_job_result.go
- rest_bulk_meta_response.go
- rest_cell.go
- rest_cell_acl.go
- rest_configuration.go
- rest_control_service_request.go
- rest_create_nodes_request.go
- rest_create_peer_folder_request.go
- rest_create_peer_folder_response.go
- rest_create_selection_request.go
- rest_create_selection_response.go
- rest_data_source_collection.go
- rest_delete_cell_response.go
- rest_delete_data_source_response.go
- rest_delete_nodes_request.go
- rest_delete_nodes_response.go
- rest_delete_response.go
- rest_delete_share_link_response.go
- rest_delete_user_meta_tags_response.go
- rest_discovery_response.go
- rest_error.go
- rest_front_binary_request.go
- rest_front_binary_response.go
- rest_front_boot_conf_response.go
- rest_front_enroll_auth_request.go
- rest_front_enroll_auth_response.go
- rest_front_messages_response.go
- rest_front_plugins_response.go
- rest_front_session_request.go
- rest_front_session_response.go
- rest_front_state_response.go
- rest_get_bulk_meta_request.go
- rest_head_node_response.go
- rest_list_peer_folders_request.go
- rest_list_peers_addresses_response.go
- rest_list_processes_request.go
- rest_list_processes_response.go
- rest_list_shared_resources_request.go
- rest_list_shared_resources_response.go
- rest_list_storage_buckets_request.go
- rest_list_templates_response.go
- rest_list_user_meta_tags_response.go
- rest_log_message_collection.go
- rest_meta_collection.go
- rest_meta_namespace_request.go
- rest_metadata.go
- rest_nodes_collection.go
- rest_open_api_response.go
- rest_pagination.go
- rest_process.go
- rest_put_cell_request.go
- rest_put_share_link_request.go
- rest_put_user_meta_tag_request.go
- rest_put_user_meta_tag_response.go
- rest_relation_response.go
- rest_reset_password_request.go
- rest_reset_password_response.go
- rest_reset_password_token_response.go
- rest_resource_policy_query.go
- rest_restore_nodes_request.go
- rest_restore_nodes_response.go
- rest_revoke_request.go
- rest_revoke_response.go
- rest_roles_collection.go
- rest_scheduler_action_form_response.go
- rest_scheduler_actions_response.go
- rest_search_acl_request.go
- rest_search_results.go
- rest_search_role_request.go
- rest_search_user_request.go
- rest_search_workspace_request.go
- rest_service_collection.go
- rest_settings_access.go
- rest_settings_access_rest_policy.go
- rest_settings_entry.go
- rest_settings_entry_meta.go
- rest_settings_menu_response.go
- rest_settings_section.go
- rest_share_link.go
- rest_share_link_access_type.go
- rest_share_link_target_user.go
- rest_subscriptions_collection.go
- rest_template.go
- rest_template_node.go
- rest_update_share_policies_request.go
- rest_update_share_policies_response.go
- rest_user_bookmarks_request.go
- rest_user_job_request.go
- rest_user_job_response.go
- rest_user_jobs_collection.go
- rest_user_meta_collection.go
- rest_user_meta_namespace_collection.go
- rest_user_state_response.go
- rest_users_collection.go
- rest_versioning_policy_collection.go
- rest_workspace_collection.go
- service_operation_type.go
- service_query.go
- service_resource_policy.go
- service_resource_policy_action.go
- service_resource_policy_policy_effect.go
- service_resource_policy_query.go
- tree_change_log.go
- tree_geo_point.go
- tree_geo_query.go
- tree_list_nodes_request.go
- tree_node.go
- tree_node_change_event.go
- tree_node_type.go
- tree_query.go
- tree_read_node_request.go
- tree_read_node_response.go
- tree_search_request.go
- tree_versioning_keep_period.go
- tree_versioning_policy.go
- tree_workspace_relative_path.go
- update_apply_update_request.go
- update_apply_update_response.go
- update_package.go
- update_update_request.go
- update_update_response.go
- update_user_meta_namespace_request_user_meta_ns_op.go
- update_user_meta_request_user_meta_op.go