request

package
v0.0.0-...-06831c0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManageStructureCreateExposed

type ManageStructureCreateExposed struct {
	// NodeID PATH parameter
	//
	// Node ID
	NodeID uint64 `json:",string"`

	// ComposeModuleID POST parameter
	//
	// Compose module id
	ComposeModuleID uint64 `json:",string"`

	// ComposeNamespaceID POST parameter
	//
	// Compose namespace id
	ComposeNamespaceID uint64 `json:",string"`

	// Name POST parameter
	//
	// Module name
	Name string

	// Handle POST parameter
	//
	// Module handle
	Handle string

	// Fields POST parameter
	//
	// Exposed module fields
	Fields types.ModuleFieldSet
}

func NewManageStructureCreateExposed

func NewManageStructureCreateExposed() *ManageStructureCreateExposed

NewManageStructureCreateExposed request

func (ManageStructureCreateExposed) Auditable

func (r ManageStructureCreateExposed) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*ManageStructureCreateExposed) Fill

func (r *ManageStructureCreateExposed) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (ManageStructureCreateExposed) GetComposeModuleID

func (r ManageStructureCreateExposed) GetComposeModuleID() uint64

Auditable returns all auditable/loggable parameters

func (ManageStructureCreateExposed) GetComposeNamespaceID

func (r ManageStructureCreateExposed) GetComposeNamespaceID() uint64

Auditable returns all auditable/loggable parameters

func (ManageStructureCreateExposed) GetFields

Auditable returns all auditable/loggable parameters

func (ManageStructureCreateExposed) GetHandle

func (r ManageStructureCreateExposed) GetHandle() string

Auditable returns all auditable/loggable parameters

func (ManageStructureCreateExposed) GetName

Auditable returns all auditable/loggable parameters

func (ManageStructureCreateExposed) GetNodeID

func (r ManageStructureCreateExposed) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

type ManageStructureCreateMappings

type ManageStructureCreateMappings struct {
	// NodeID PATH parameter
	//
	// Node ID
	NodeID uint64 `json:",string"`

	// ModuleID PATH parameter
	//
	// Module ID
	ModuleID uint64 `json:",string"`

	// ComposeModuleID POST parameter
	//
	// Compose module id
	ComposeModuleID uint64 `json:",string"`

	// ComposeNamespaceID POST parameter
	//
	// Compose namespace id
	ComposeNamespaceID uint64 `json:",string"`

	// Fields POST parameter
	//
	// Exposed module fields
	Fields types.ModuleFieldMappingSet
}

func NewManageStructureCreateMappings

func NewManageStructureCreateMappings() *ManageStructureCreateMappings

NewManageStructureCreateMappings request

func (ManageStructureCreateMappings) Auditable

func (r ManageStructureCreateMappings) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*ManageStructureCreateMappings) Fill

func (r *ManageStructureCreateMappings) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (ManageStructureCreateMappings) GetComposeModuleID

func (r ManageStructureCreateMappings) GetComposeModuleID() uint64

Auditable returns all auditable/loggable parameters

func (ManageStructureCreateMappings) GetComposeNamespaceID

func (r ManageStructureCreateMappings) GetComposeNamespaceID() uint64

Auditable returns all auditable/loggable parameters

func (ManageStructureCreateMappings) GetFields

Auditable returns all auditable/loggable parameters

func (ManageStructureCreateMappings) GetModuleID

func (r ManageStructureCreateMappings) GetModuleID() uint64

Auditable returns all auditable/loggable parameters

func (ManageStructureCreateMappings) GetNodeID

func (r ManageStructureCreateMappings) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

type ManageStructureListAll

type ManageStructureListAll struct {
	// NodeID PATH parameter
	//
	// Node ID
	NodeID uint64 `json:",string"`

	// Shared GET parameter
	//
	// List shared modules
	Shared bool

	// Exposed GET parameter
	//
	// List exposed modules
	Exposed bool

	// Mapped GET parameter
	//
	// List mapped modules
	Mapped bool
}

func NewManageStructureListAll

func NewManageStructureListAll() *ManageStructureListAll

NewManageStructureListAll request

func (ManageStructureListAll) Auditable

func (r ManageStructureListAll) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*ManageStructureListAll) Fill

func (r *ManageStructureListAll) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (ManageStructureListAll) GetExposed

func (r ManageStructureListAll) GetExposed() bool

Auditable returns all auditable/loggable parameters

func (ManageStructureListAll) GetMapped

func (r ManageStructureListAll) GetMapped() bool

Auditable returns all auditable/loggable parameters

func (ManageStructureListAll) GetNodeID

func (r ManageStructureListAll) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

func (ManageStructureListAll) GetShared

func (r ManageStructureListAll) GetShared() bool

Auditable returns all auditable/loggable parameters

type ManageStructureReadExposed

type ManageStructureReadExposed struct {
	// NodeID PATH parameter
	//
	// Node ID
	NodeID uint64 `json:",string"`

	// ModuleID PATH parameter
	//
	// Module ID
	ModuleID uint64 `json:",string"`
}

Internal API interface

func NewManageStructureReadExposed

func NewManageStructureReadExposed() *ManageStructureReadExposed

NewManageStructureReadExposed request

func (ManageStructureReadExposed) Auditable

func (r ManageStructureReadExposed) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*ManageStructureReadExposed) Fill

func (r *ManageStructureReadExposed) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (ManageStructureReadExposed) GetModuleID

func (r ManageStructureReadExposed) GetModuleID() uint64

Auditable returns all auditable/loggable parameters

func (ManageStructureReadExposed) GetNodeID

func (r ManageStructureReadExposed) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

type ManageStructureReadMappings

type ManageStructureReadMappings struct {
	// NodeID PATH parameter
	//
	// Node ID
	NodeID uint64 `json:",string"`

	// ModuleID PATH parameter
	//
	// Module ID
	ModuleID uint64 `json:",string"`

	// ComposeModuleID GET parameter
	//
	// Compose module id
	ComposeModuleID uint64 `json:",string"`
}

func NewManageStructureReadMappings

func NewManageStructureReadMappings() *ManageStructureReadMappings

NewManageStructureReadMappings request

func (ManageStructureReadMappings) Auditable

func (r ManageStructureReadMappings) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*ManageStructureReadMappings) Fill

func (r *ManageStructureReadMappings) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (ManageStructureReadMappings) GetComposeModuleID

func (r ManageStructureReadMappings) GetComposeModuleID() uint64

Auditable returns all auditable/loggable parameters

func (ManageStructureReadMappings) GetModuleID

func (r ManageStructureReadMappings) GetModuleID() uint64

Auditable returns all auditable/loggable parameters

func (ManageStructureReadMappings) GetNodeID

func (r ManageStructureReadMappings) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

type ManageStructureReadShared

type ManageStructureReadShared struct {
	// NodeID PATH parameter
	//
	// Node ID
	NodeID uint64 `json:",string"`

	// ModuleID PATH parameter
	//
	// Module ID
	ModuleID uint64 `json:",string"`
}

func NewManageStructureReadShared

func NewManageStructureReadShared() *ManageStructureReadShared

NewManageStructureReadShared request

func (ManageStructureReadShared) Auditable

func (r ManageStructureReadShared) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*ManageStructureReadShared) Fill

func (r *ManageStructureReadShared) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (ManageStructureReadShared) GetModuleID

func (r ManageStructureReadShared) GetModuleID() uint64

Auditable returns all auditable/loggable parameters

func (ManageStructureReadShared) GetNodeID

func (r ManageStructureReadShared) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

type ManageStructureRemoveExposed

type ManageStructureRemoveExposed struct {
	// NodeID PATH parameter
	//
	// Node ID
	NodeID uint64 `json:",string"`

	// ModuleID PATH parameter
	//
	// Module ID
	ModuleID uint64 `json:",string"`
}

func NewManageStructureRemoveExposed

func NewManageStructureRemoveExposed() *ManageStructureRemoveExposed

NewManageStructureRemoveExposed request

func (ManageStructureRemoveExposed) Auditable

func (r ManageStructureRemoveExposed) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*ManageStructureRemoveExposed) Fill

func (r *ManageStructureRemoveExposed) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (ManageStructureRemoveExposed) GetModuleID

func (r ManageStructureRemoveExposed) GetModuleID() uint64

Auditable returns all auditable/loggable parameters

func (ManageStructureRemoveExposed) GetNodeID

func (r ManageStructureRemoveExposed) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

type ManageStructureUpdateExposed

type ManageStructureUpdateExposed struct {
	// NodeID PATH parameter
	//
	// Node ID
	NodeID uint64 `json:",string"`

	// ModuleID PATH parameter
	//
	// Module ID
	ModuleID uint64 `json:",string"`

	// ComposeModuleID POST parameter
	//
	// Compose module id
	ComposeModuleID uint64 `json:",string"`

	// ComposeNamespaceID POST parameter
	//
	// Compose namespace id
	ComposeNamespaceID uint64 `json:",string"`

	// Name POST parameter
	//
	// Module name
	Name string

	// Handle POST parameter
	//
	// Module handle
	Handle string

	// Fields POST parameter
	//
	// Exposed module fields
	Fields types.ModuleFieldSet
}

func NewManageStructureUpdateExposed

func NewManageStructureUpdateExposed() *ManageStructureUpdateExposed

NewManageStructureUpdateExposed request

func (ManageStructureUpdateExposed) Auditable

func (r ManageStructureUpdateExposed) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*ManageStructureUpdateExposed) Fill

func (r *ManageStructureUpdateExposed) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (ManageStructureUpdateExposed) GetComposeModuleID

func (r ManageStructureUpdateExposed) GetComposeModuleID() uint64

Auditable returns all auditable/loggable parameters

func (ManageStructureUpdateExposed) GetComposeNamespaceID

func (r ManageStructureUpdateExposed) GetComposeNamespaceID() uint64

Auditable returns all auditable/loggable parameters

func (ManageStructureUpdateExposed) GetFields

Auditable returns all auditable/loggable parameters

func (ManageStructureUpdateExposed) GetHandle

func (r ManageStructureUpdateExposed) GetHandle() string

Auditable returns all auditable/loggable parameters

func (ManageStructureUpdateExposed) GetModuleID

func (r ManageStructureUpdateExposed) GetModuleID() uint64

Auditable returns all auditable/loggable parameters

func (ManageStructureUpdateExposed) GetName

Auditable returns all auditable/loggable parameters

func (ManageStructureUpdateExposed) GetNodeID

func (r ManageStructureUpdateExposed) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

type NodeCreate

type NodeCreate struct {
	// BaseURL POST parameter
	//
	// Federation API base URL
	BaseURL string

	// Name POST parameter
	//
	// Name for this node
	Name string

	// Contact POST parameter
	//
	// Contact email
	Contact string

	// PairingURI POST parameter
	//
	// Pairing URI
	PairingURI string
}

func NewNodeCreate

func NewNodeCreate() *NodeCreate

NewNodeCreate request

func (NodeCreate) Auditable

func (r NodeCreate) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*NodeCreate) Fill

func (r *NodeCreate) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (NodeCreate) GetBaseURL

func (r NodeCreate) GetBaseURL() string

Auditable returns all auditable/loggable parameters

func (NodeCreate) GetContact

func (r NodeCreate) GetContact() string

Auditable returns all auditable/loggable parameters

func (NodeCreate) GetName

func (r NodeCreate) GetName() string

Auditable returns all auditable/loggable parameters

func (NodeCreate) GetPairingURI

func (r NodeCreate) GetPairingURI() string

Auditable returns all auditable/loggable parameters

type NodeDelete

type NodeDelete struct {
	// NodeID PATH parameter
	//
	// NodeID
	NodeID uint64 `json:",string"`
}

func NewNodeDelete

func NewNodeDelete() *NodeDelete

NewNodeDelete request

func (NodeDelete) Auditable

func (r NodeDelete) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*NodeDelete) Fill

func (r *NodeDelete) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (NodeDelete) GetNodeID

func (r NodeDelete) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

type NodeGenerateURI

type NodeGenerateURI struct {
	// NodeID PATH parameter
	//
	// NodeID
	NodeID uint64 `json:",string"`
}

func NewNodeGenerateURI

func NewNodeGenerateURI() *NodeGenerateURI

NewNodeGenerateURI request

func (NodeGenerateURI) Auditable

func (r NodeGenerateURI) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*NodeGenerateURI) Fill

func (r *NodeGenerateURI) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (NodeGenerateURI) GetNodeID

func (r NodeGenerateURI) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

type NodeHandshakeComplete

type NodeHandshakeComplete struct {
	// NodeID PATH parameter
	//
	// NodeID
	NodeID uint64 `json:",string"`

	// AuthToken POST parameter
	//
	// Node A token
	AuthToken string
}

func NewNodeHandshakeComplete

func NewNodeHandshakeComplete() *NodeHandshakeComplete

NewNodeHandshakeComplete request

func (NodeHandshakeComplete) Auditable

func (r NodeHandshakeComplete) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*NodeHandshakeComplete) Fill

func (r *NodeHandshakeComplete) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (NodeHandshakeComplete) GetAuthToken

func (r NodeHandshakeComplete) GetAuthToken() string

Auditable returns all auditable/loggable parameters

func (NodeHandshakeComplete) GetNodeID

func (r NodeHandshakeComplete) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

type NodeHandshakeConfirm

type NodeHandshakeConfirm struct {
	// NodeID PATH parameter
	//
	// NodeID
	NodeID uint64 `json:",string"`
}

func NewNodeHandshakeConfirm

func NewNodeHandshakeConfirm() *NodeHandshakeConfirm

NewNodeHandshakeConfirm request

func (NodeHandshakeConfirm) Auditable

func (r NodeHandshakeConfirm) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*NodeHandshakeConfirm) Fill

func (r *NodeHandshakeConfirm) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (NodeHandshakeConfirm) GetNodeID

func (r NodeHandshakeConfirm) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

type NodeHandshakeInitialize

type NodeHandshakeInitialize struct {
	// NodeID PATH parameter
	//
	// NodeID
	NodeID uint64 `json:",string"`

	// PairToken POST parameter
	//
	// Pairing token to authenticate handshake initialization request
	PairToken string

	// SharedNodeID POST parameter
	//
	// Remote (invoker's) node ID
	SharedNodeID uint64 `json:",string"`

	// AuthToken POST parameter
	//
	// Authentication token so that remote
	AuthToken string
}

Internal API interface

func NewNodeHandshakeInitialize

func NewNodeHandshakeInitialize() *NodeHandshakeInitialize

NewNodeHandshakeInitialize request

func (NodeHandshakeInitialize) Auditable

func (r NodeHandshakeInitialize) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*NodeHandshakeInitialize) Fill

func (r *NodeHandshakeInitialize) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (NodeHandshakeInitialize) GetAuthToken

func (r NodeHandshakeInitialize) GetAuthToken() string

Auditable returns all auditable/loggable parameters

func (NodeHandshakeInitialize) GetNodeID

func (r NodeHandshakeInitialize) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

func (NodeHandshakeInitialize) GetPairToken

func (r NodeHandshakeInitialize) GetPairToken() string

Auditable returns all auditable/loggable parameters

func (NodeHandshakeInitialize) GetSharedNodeID

func (r NodeHandshakeInitialize) GetSharedNodeID() uint64

Auditable returns all auditable/loggable parameters

type NodePair

type NodePair struct {
	// NodeID PATH parameter
	//
	// NodeID
	NodeID uint64 `json:",string"`
}

func NewNodePair

func NewNodePair() *NodePair

NewNodePair request

func (NodePair) Auditable

func (r NodePair) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*NodePair) Fill

func (r *NodePair) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (NodePair) GetNodeID

func (r NodePair) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

type NodeRead

type NodeRead struct {
	// NodeID PATH parameter
	//
	// NodeID
	NodeID uint64 `json:",string"`
}

func NewNodeRead

func NewNodeRead() *NodeRead

NewNodeRead request

func (NodeRead) Auditable

func (r NodeRead) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*NodeRead) Fill

func (r *NodeRead) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (NodeRead) GetNodeID

func (r NodeRead) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

type NodeSearch

type NodeSearch struct {
	// Query GET parameter
	//
	// Filter nodes by name and host
	Query string

	// Status GET parameter
	//
	// Filter by status
	Status string

	// Limit GET parameter
	//
	// Limit
	Limit uint

	// IncTotal GET parameter
	//
	// Include total counter
	IncTotal bool

	// PageCursor GET parameter
	//
	// Page cursor
	PageCursor string

	// Sort GET parameter
	//
	// Sort items
	Sort string
}

Internal API interface

func NewNodeSearch

func NewNodeSearch() *NodeSearch

NewNodeSearch request

func (NodeSearch) Auditable

func (r NodeSearch) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*NodeSearch) Fill

func (r *NodeSearch) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (NodeSearch) GetIncTotal

func (r NodeSearch) GetIncTotal() bool

Auditable returns all auditable/loggable parameters

func (NodeSearch) GetLimit

func (r NodeSearch) GetLimit() uint

Auditable returns all auditable/loggable parameters

func (NodeSearch) GetPageCursor

func (r NodeSearch) GetPageCursor() string

Auditable returns all auditable/loggable parameters

func (NodeSearch) GetQuery

func (r NodeSearch) GetQuery() string

Auditable returns all auditable/loggable parameters

func (NodeSearch) GetSort

func (r NodeSearch) GetSort() string

Auditable returns all auditable/loggable parameters

func (NodeSearch) GetStatus

func (r NodeSearch) GetStatus() string

Auditable returns all auditable/loggable parameters

type NodeUndelete

type NodeUndelete struct {
	// NodeID PATH parameter
	//
	// NodeID
	NodeID uint64 `json:",string"`
}

func NewNodeUndelete

func NewNodeUndelete() *NodeUndelete

NewNodeUndelete request

func (NodeUndelete) Auditable

func (r NodeUndelete) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*NodeUndelete) Fill

func (r *NodeUndelete) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (NodeUndelete) GetNodeID

func (r NodeUndelete) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

type NodeUpdate

type NodeUpdate struct {
	// NodeID PATH parameter
	//
	// NodeID
	NodeID uint64 `json:",string"`

	// Name POST parameter
	//
	// Name for this node
	Name string

	// Contact POST parameter
	//
	// Contact email
	Contact string

	// BaseURL POST parameter
	//
	// Federation API base URL
	BaseURL string
}

func NewNodeUpdate

func NewNodeUpdate() *NodeUpdate

NewNodeUpdate request

func (NodeUpdate) Auditable

func (r NodeUpdate) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*NodeUpdate) Fill

func (r *NodeUpdate) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (NodeUpdate) GetBaseURL

func (r NodeUpdate) GetBaseURL() string

Auditable returns all auditable/loggable parameters

func (NodeUpdate) GetContact

func (r NodeUpdate) GetContact() string

Auditable returns all auditable/loggable parameters

func (NodeUpdate) GetName

func (r NodeUpdate) GetName() string

Auditable returns all auditable/loggable parameters

func (NodeUpdate) GetNodeID

func (r NodeUpdate) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

type PermissionsDelete

type PermissionsDelete struct {
	// RoleID PATH parameter
	//
	// Role ID
	RoleID uint64 `json:",string"`
}

func NewPermissionsDelete

func NewPermissionsDelete() *PermissionsDelete

NewPermissionsDelete request

func (PermissionsDelete) Auditable

func (r PermissionsDelete) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*PermissionsDelete) Fill

func (r *PermissionsDelete) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (PermissionsDelete) GetRoleID

func (r PermissionsDelete) GetRoleID() uint64

Auditable returns all auditable/loggable parameters

type PermissionsEffective

type PermissionsEffective struct {
	// Resource GET parameter
	//
	// Show only rules for a specific resource
	Resource string
}

func NewPermissionsEffective

func NewPermissionsEffective() *PermissionsEffective

NewPermissionsEffective request

func (PermissionsEffective) Auditable

func (r PermissionsEffective) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*PermissionsEffective) Fill

func (r *PermissionsEffective) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (PermissionsEffective) GetResource

func (r PermissionsEffective) GetResource() string

Auditable returns all auditable/loggable parameters

type PermissionsList

type PermissionsList struct {
}

Internal API interface

func NewPermissionsList

func NewPermissionsList() *PermissionsList

NewPermissionsList request

func (PermissionsList) Auditable

func (r PermissionsList) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*PermissionsList) Fill

func (r *PermissionsList) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

type PermissionsRead

type PermissionsRead struct {
	// RoleID PATH parameter
	//
	// Role ID
	RoleID uint64 `json:",string"`

	// Resource GET parameter
	//
	// Show only rules for a specific resource
	Resource []string
}

func NewPermissionsRead

func NewPermissionsRead() *PermissionsRead

NewPermissionsRead request

func (PermissionsRead) Auditable

func (r PermissionsRead) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*PermissionsRead) Fill

func (r *PermissionsRead) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (PermissionsRead) GetResource

func (r PermissionsRead) GetResource() []string

Auditable returns all auditable/loggable parameters

func (PermissionsRead) GetRoleID

func (r PermissionsRead) GetRoleID() uint64

Auditable returns all auditable/loggable parameters

type PermissionsTrace

type PermissionsTrace struct {
	// Resource GET parameter
	//
	// Show only rules for a specific resource
	Resource []string

	// UserID GET parameter
	//
	//
	UserID uint64 `json:",string"`

	// RoleID GET parameter
	//
	//
	RoleID []uint64
}

func NewPermissionsTrace

func NewPermissionsTrace() *PermissionsTrace

NewPermissionsTrace request

func (PermissionsTrace) Auditable

func (r PermissionsTrace) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*PermissionsTrace) Fill

func (r *PermissionsTrace) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (PermissionsTrace) GetResource

func (r PermissionsTrace) GetResource() []string

Auditable returns all auditable/loggable parameters

func (PermissionsTrace) GetRoleID

func (r PermissionsTrace) GetRoleID() []uint64

Auditable returns all auditable/loggable parameters

func (PermissionsTrace) GetUserID

func (r PermissionsTrace) GetUserID() uint64

Auditable returns all auditable/loggable parameters

type PermissionsUpdate

type PermissionsUpdate struct {
	// RoleID PATH parameter
	//
	// Role ID
	RoleID uint64 `json:",string"`

	// Rules POST parameter
	//
	// List of permission rules to set
	Rules rbac.RuleSet
}

func NewPermissionsUpdate

func NewPermissionsUpdate() *PermissionsUpdate

NewPermissionsUpdate request

func (PermissionsUpdate) Auditable

func (r PermissionsUpdate) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*PermissionsUpdate) Fill

func (r *PermissionsUpdate) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (PermissionsUpdate) GetRoleID

func (r PermissionsUpdate) GetRoleID() uint64

Auditable returns all auditable/loggable parameters

func (PermissionsUpdate) GetRules

func (r PermissionsUpdate) GetRules() rbac.RuleSet

Auditable returns all auditable/loggable parameters

type SyncDataReadExposedAll

type SyncDataReadExposedAll struct {
	// NodeID PATH parameter
	//
	// Node ID
	NodeID uint64 `json:",string"`

	// LastSync GET parameter
	//
	// Last sync timestamp
	LastSync uint64 `json:",string"`

	// Query GET parameter
	//
	// Search query
	Query string

	// Limit GET parameter
	//
	// Limit
	Limit uint

	// PageCursor GET parameter
	//
	// Page cursor
	PageCursor string

	// Sort GET parameter
	//
	// Sort items
	Sort string
}

Internal API interface

func NewSyncDataReadExposedAll

func NewSyncDataReadExposedAll() *SyncDataReadExposedAll

NewSyncDataReadExposedAll request

func (SyncDataReadExposedAll) Auditable

func (r SyncDataReadExposedAll) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*SyncDataReadExposedAll) Fill

func (r *SyncDataReadExposedAll) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (SyncDataReadExposedAll) GetLastSync

func (r SyncDataReadExposedAll) GetLastSync() uint64

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedAll) GetLimit

func (r SyncDataReadExposedAll) GetLimit() uint

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedAll) GetNodeID

func (r SyncDataReadExposedAll) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedAll) GetPageCursor

func (r SyncDataReadExposedAll) GetPageCursor() string

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedAll) GetQuery

func (r SyncDataReadExposedAll) GetQuery() string

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedAll) GetSort

func (r SyncDataReadExposedAll) GetSort() string

Auditable returns all auditable/loggable parameters

type SyncDataReadExposedInternal

type SyncDataReadExposedInternal struct {
	// NodeID PATH parameter
	//
	// Node ID
	NodeID uint64 `json:",string"`

	// ModuleID PATH parameter
	//
	// Module ID
	ModuleID uint64 `json:",string"`

	// LastSync GET parameter
	//
	// Last sync timestamp
	LastSync uint64 `json:",string"`

	// Query GET parameter
	//
	// Search query
	Query string

	// Limit GET parameter
	//
	// Limit
	Limit uint

	// PageCursor GET parameter
	//
	// Page cursor
	PageCursor string

	// Sort GET parameter
	//
	// Sort items
	Sort string
}

func NewSyncDataReadExposedInternal

func NewSyncDataReadExposedInternal() *SyncDataReadExposedInternal

NewSyncDataReadExposedInternal request

func (SyncDataReadExposedInternal) Auditable

func (r SyncDataReadExposedInternal) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*SyncDataReadExposedInternal) Fill

func (r *SyncDataReadExposedInternal) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (SyncDataReadExposedInternal) GetLastSync

func (r SyncDataReadExposedInternal) GetLastSync() uint64

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedInternal) GetLimit

func (r SyncDataReadExposedInternal) GetLimit() uint

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedInternal) GetModuleID

func (r SyncDataReadExposedInternal) GetModuleID() uint64

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedInternal) GetNodeID

func (r SyncDataReadExposedInternal) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedInternal) GetPageCursor

func (r SyncDataReadExposedInternal) GetPageCursor() string

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedInternal) GetQuery

func (r SyncDataReadExposedInternal) GetQuery() string

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedInternal) GetSort

func (r SyncDataReadExposedInternal) GetSort() string

Auditable returns all auditable/loggable parameters

type SyncDataReadExposedSocial

type SyncDataReadExposedSocial struct {
	// NodeID PATH parameter
	//
	// Node ID
	NodeID uint64 `json:",string"`

	// ModuleID PATH parameter
	//
	// Module ID
	ModuleID uint64 `json:",string"`

	// LastSync GET parameter
	//
	// Last sync timestamp
	LastSync uint64 `json:",string"`

	// Query GET parameter
	//
	// Search query
	Query string

	// Limit GET parameter
	//
	// Limit
	Limit uint

	// PageCursor GET parameter
	//
	// Page cursor
	PageCursor string

	// Sort GET parameter
	//
	// Sort items
	Sort string
}

func NewSyncDataReadExposedSocial

func NewSyncDataReadExposedSocial() *SyncDataReadExposedSocial

NewSyncDataReadExposedSocial request

func (SyncDataReadExposedSocial) Auditable

func (r SyncDataReadExposedSocial) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*SyncDataReadExposedSocial) Fill

func (r *SyncDataReadExposedSocial) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (SyncDataReadExposedSocial) GetLastSync

func (r SyncDataReadExposedSocial) GetLastSync() uint64

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedSocial) GetLimit

func (r SyncDataReadExposedSocial) GetLimit() uint

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedSocial) GetModuleID

func (r SyncDataReadExposedSocial) GetModuleID() uint64

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedSocial) GetNodeID

func (r SyncDataReadExposedSocial) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedSocial) GetPageCursor

func (r SyncDataReadExposedSocial) GetPageCursor() string

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedSocial) GetQuery

func (r SyncDataReadExposedSocial) GetQuery() string

Auditable returns all auditable/loggable parameters

func (SyncDataReadExposedSocial) GetSort

func (r SyncDataReadExposedSocial) GetSort() string

Auditable returns all auditable/loggable parameters

type SyncStructureReadExposedInternal

type SyncStructureReadExposedInternal struct {
	// NodeID PATH parameter
	//
	// Node ID
	NodeID uint64 `json:",string"`

	// LastSync GET parameter
	//
	// Last sync timestamp
	LastSync uint64 `json:",string"`

	// Query GET parameter
	//
	// Search query
	Query string

	// Limit GET parameter
	//
	// Limit
	Limit uint

	// PageCursor GET parameter
	//
	// Page cursor
	PageCursor string

	// Sort GET parameter
	//
	// Sort items
	Sort string
}

Internal API interface

func NewSyncStructureReadExposedInternal

func NewSyncStructureReadExposedInternal() *SyncStructureReadExposedInternal

NewSyncStructureReadExposedInternal request

func (SyncStructureReadExposedInternal) Auditable

func (r SyncStructureReadExposedInternal) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*SyncStructureReadExposedInternal) Fill

func (r *SyncStructureReadExposedInternal) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (SyncStructureReadExposedInternal) GetLastSync

func (r SyncStructureReadExposedInternal) GetLastSync() uint64

Auditable returns all auditable/loggable parameters

func (SyncStructureReadExposedInternal) GetLimit

Auditable returns all auditable/loggable parameters

func (SyncStructureReadExposedInternal) GetNodeID

Auditable returns all auditable/loggable parameters

func (SyncStructureReadExposedInternal) GetPageCursor

func (r SyncStructureReadExposedInternal) GetPageCursor() string

Auditable returns all auditable/loggable parameters

func (SyncStructureReadExposedInternal) GetQuery

Auditable returns all auditable/loggable parameters

func (SyncStructureReadExposedInternal) GetSort

Auditable returns all auditable/loggable parameters

type SyncStructureReadExposedSocial

type SyncStructureReadExposedSocial struct {
	// NodeID PATH parameter
	//
	// Node ID
	NodeID uint64 `json:",string"`

	// LastSync GET parameter
	//
	// Last sync timestamp
	LastSync uint64 `json:",string"`

	// Query GET parameter
	//
	// Search query
	Query string

	// Limit GET parameter
	//
	// Limit
	Limit uint

	// PageCursor GET parameter
	//
	// Page cursor
	PageCursor string

	// Sort GET parameter
	//
	// Sort items
	Sort string
}

func NewSyncStructureReadExposedSocial

func NewSyncStructureReadExposedSocial() *SyncStructureReadExposedSocial

NewSyncStructureReadExposedSocial request

func (SyncStructureReadExposedSocial) Auditable

func (r SyncStructureReadExposedSocial) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*SyncStructureReadExposedSocial) Fill

func (r *SyncStructureReadExposedSocial) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (SyncStructureReadExposedSocial) GetLastSync

func (r SyncStructureReadExposedSocial) GetLastSync() uint64

Auditable returns all auditable/loggable parameters

func (SyncStructureReadExposedSocial) GetLimit

func (r SyncStructureReadExposedSocial) GetLimit() uint

Auditable returns all auditable/loggable parameters

func (SyncStructureReadExposedSocial) GetNodeID

func (r SyncStructureReadExposedSocial) GetNodeID() uint64

Auditable returns all auditable/loggable parameters

func (SyncStructureReadExposedSocial) GetPageCursor

func (r SyncStructureReadExposedSocial) GetPageCursor() string

Auditable returns all auditable/loggable parameters

func (SyncStructureReadExposedSocial) GetQuery

Auditable returns all auditable/loggable parameters

func (SyncStructureReadExposedSocial) GetSort

Auditable returns all auditable/loggable parameters

Jump to

Keyboard shortcuts

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