Documentation ¶
Index ¶
- Variables
- type PoX
- func (pox *PoX) ChangeBinding()
- func (pox PoX) DetailedError() string
- func (pox PoX) DetailedString() string
- func (pox *PoX) Download() bool
- func (pox *PoX) RefreshStatus(showErrors bool)
- func (pox *PoX) Register()
- func (pox PoX) String() string
- func (pox *PoX) WaitForBindingChange()
- func (pox *PoX) WaitForLicenseFileGeneration()
- type PoXList
- func (poxList PoXList) ChangeBinding()
- func (poxList PoXList) CountByStatus(state statutes.LicenseStatus) (res int)
- func (poxList PoXList) Display()
- func (poxList PoXList) Download()
- func (poxList PoXList) GetAllPoL() (res PoXList)
- func (poxList PoXList) GetAllPoS() (res PoXList)
- func (poxList PoXList) GetByNotStatus(state statutes.LicenseStatus) (res PoXList)
- func (poxList PoXList) GetByStatus(state statutes.LicenseStatus) (res PoXList)
- func (poxList PoXList) RefreshStatus()
- func (poxList PoXList) Register()
- type PoXType
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Logger *logo.Logger
)
Functions ¶
This section is empty.
Types ¶
type PoX ¶
type PoX struct { PoL string `json:"pol,omitempty"` PoS string `json:"pos,omitempty"` Status statutes.LicenseStatus `json:"licence_status" pagser:"div[id=MSC_Content] h2+h3+table tbody tr td->toUpper(0)"` LicenseID string `json:"license_id" pagser:"div[id=MSC_Content] h2+h3->extractLicenseID()"` ProductName string `json:"product_name" pagser:"div[id=MSC_Content] h2"` Binding string `json:"binding" pagser:"div[id=MSC_Content] h2+h3+table tbody tr td->eq(1)"` Platform string `json:"platform" pagser:"div[id=MSC_Content] h2+h3+table tbody tr td->eq(3)"` LicensePeriod string `json:"license_period,omitempty" pagser:"div[id=MSC_Content] h2+h3+table tbody tr td->eq(4)"` LicenseFile string `json:"license_file" pagser:"div[id=MSC_Content] caption:contains('License File')+thead+tbody tr td->eq(0)"` MaintenanceStatus statutes.SupportStatus `json:"support_status" pagser:"div[id=MSC_Content] caption:contains('Support & Maintenance')+thead+tbody tr td->eq(0)"` MaintenanceEndDate string `json:"support_end_date" pagser:"div[id=MSC_Content] caption:contains('Support & Maintenance')+thead+tbody tr td->eq(1)"` SerialNumber string `json:"serial_number,omitempty" pagser:"div[id=MSC_Content] caption:contains('Appliance Hardware')+thead+tbody tr td->eq(0)"` Company string `json:"company" pagser:"div[id=MSC_Content] caption:contains('License Company')+thead+tbody"` IsSpare bool `` /* 142-byte string literal not displayed */ Error string `json:"error,omitempty"` // contains filtered or unexported fields }
func (*PoX) ChangeBinding ¶ added in v0.7.0
func (pox *PoX) ChangeBinding()
func (PoX) DetailedError ¶
func (PoX) DetailedString ¶
func (*PoX) RefreshStatus ¶
RefreshStatus is in charge of transitionning from state New to [Valid|Invalid]
func (*PoX) Register ¶
func (pox *PoX) Register()
Register is in charge to register the PoS using contactInfo and resseller
func (*PoX) WaitForBindingChange ¶ added in v0.7.0
func (pox *PoX) WaitForBindingChange()
func (*PoX) WaitForLicenseFileGeneration ¶
func (pox *PoX) WaitForLicenseFileGeneration()
type PoXList ¶
type PoXList []*PoX
func ReadPoXFormArgs ¶
ReadPoXFormArgs
func (PoXList) CountByStatus ¶
func (poxList PoXList) CountByStatus(state statutes.LicenseStatus) (res int)
func (PoXList) GetByNotStatus ¶
func (poxList PoXList) GetByNotStatus(state statutes.LicenseStatus) (res PoXList)
func (PoXList) GetByStatus ¶
func (poxList PoXList) GetByStatus(state statutes.LicenseStatus) (res PoXList)
Click to show internal directories.
Click to hide internal directories.