Documentation ¶
Index ¶
- Constants
- func CallAPI(cliConnection plugin.CliConnection, url string) (string, error)
- func CallPagableAPI(cliConnection plugin.CliConnection, url string, ...) error
- func GetStringValueByFieldName(n interface{}, field_name string) (string, bool)
- type EntityCommon
- type IEntity
- type IMetadata
- type IResource
- type IResourceMetadata
- type IResponse
- type MdCommonManager
- func (mdMgr *MdCommonManager) All() []IMetadata
- func (mdMgr *MdCommonManager) Find(guid string) IMetadata
- func (mdMgr *MdCommonManager) FlushCache()
- func (mdMgr *MdCommonManager) GetMetadataFromUrl(cliConnection plugin.CliConnection, url string) ([]IMetadata, error)
- func (mdMgr *MdCommonManager) LoadCache(cliConnection plugin.CliConnection)
- func (mdMgr *MdCommonManager) LoadCacheAysnc()
- func (mdMgr *MdCommonManager) RequestLoadCacheIfOld()
- type Meta
- type Metadata
Constants ¶
View Source
const AUTH_ERROR = "Authentication has expired"
Variables ¶
This section is empty.
Functions ¶
func CallPagableAPI ¶
func CallPagableAPI(cliConnection plugin.CliConnection, url string, handleResponse handleResponseFunc) error
Types ¶
type EntityCommon ¶ added in v0.8.0
func (*EntityCommon) GetGuid ¶ added in v0.8.0
func (entity *EntityCommon) GetGuid() string
func (*EntityCommon) SetGuid ¶ added in v0.8.0
func (entity *EntityCommon) SetGuid(guid string)
type IResourceMetadata ¶ added in v0.8.0
type IResourceMetadata interface { }
type MdCommonManager ¶ added in v0.8.0
type MdCommonManager struct {
// contains filtered or unexported fields
}
func NewMdCommonManager ¶ added in v0.8.0
func NewMdCommonManager( mdGlobalManager mdGlobalManagerInterface.MdGlobalManagerInterface, url string, createResponseObject createResponseObject, createMetadataEntityObject createMetadataEntityObject, processResponse processResponse) *MdCommonManager
func (*MdCommonManager) All ¶ added in v0.8.0
func (mdMgr *MdCommonManager) All() []IMetadata
func (*MdCommonManager) Find ¶ added in v0.8.0
func (mdMgr *MdCommonManager) Find(guid string) IMetadata
func (*MdCommonManager) FlushCache ¶ added in v0.8.0
func (mdMgr *MdCommonManager) FlushCache()
Flush cache. This will not force a reload - must call LoadCache if immedently reload is desired
func (*MdCommonManager) GetMetadataFromUrl ¶ added in v0.8.0
func (mdMgr *MdCommonManager) GetMetadataFromUrl(cliConnection plugin.CliConnection, url string) ([]IMetadata, error)
func (*MdCommonManager) LoadCache ¶ added in v0.8.0
func (mdMgr *MdCommonManager) LoadCache(cliConnection plugin.CliConnection)
func (*MdCommonManager) LoadCacheAysnc ¶ added in v0.8.0
func (mdMgr *MdCommonManager) LoadCacheAysnc()
func (*MdCommonManager) RequestLoadCacheIfOld ¶ added in v0.8.0
func (mdMgr *MdCommonManager) RequestLoadCacheIfOld()
Click to show internal directories.
Click to hide internal directories.