Documentation ¶
Index ¶
- type AccountService
- type AccountServiceSL
- func (as *AccountServiceSL) Filter(filter string) AccountService
- func (as *AccountServiceSL) GetBlockDeviceTemplateGroups() ([]datatypes.Virtual_Guest_Block_Device_Template_Group, error)
- func (as *AccountServiceSL) GetCurrentUser() (datatypes.User_Customer, error)
- func (as *AccountServiceSL) GetHardware() ([]datatypes.Hardware, error)
- func (as *AccountServiceSL) GetNetworkStorage() (resp []datatypes.Network_Storage, err error)
- func (as *AccountServiceSL) GetObject() (datatypes.Account, error)
- func (as *AccountServiceSL) GetOrders() ([]datatypes.Billing_Order, error)
- func (as *AccountServiceSL) GetSubnets() ([]datatypes.Network_Subnet, error)
- func (as *AccountServiceSL) ID(id int) AccountService
- func (as *AccountServiceSL) Limit(limit int) AccountService
- func (as *AccountServiceSL) Mask(mask string) AccountService
- func (as *AccountServiceSL) Offset(offset int) AccountService
- type BillingItemService
- type BillingItemServiceSL
- func (bis *BillingItemServiceSL) CancelItem(cancelImmediately *bool, cancelAssociatedBillingItems *bool, reason *string, ...) (bool, error)
- func (bis *BillingItemServiceSL) CancelService() (resp bool, err error)
- func (bis *BillingItemServiceSL) Filter(filter string) BillingItemService
- func (bis *BillingItemServiceSL) ID(id int) BillingItemService
- func (bis *BillingItemServiceSL) Mask(mask string) BillingItemService
- type BillingOrderService
- type BillingOrderServiceSL
- func (bos *BillingOrderServiceSL) Filter(filter string) BillingOrderService
- func (bos *BillingOrderServiceSL) GetAllObjects() ([]datatypes.Billing_Order, error)
- func (bos *BillingOrderServiceSL) GetObject() (datatypes.Billing_Order, error)
- func (bos *BillingOrderServiceSL) ID(id int) BillingOrderService
- func (bos *BillingOrderServiceSL) Mask(mask string) BillingOrderService
- type LocationService
- type LocationServiceSL
- type NetworkStorageIscsiService
- type NetworkStorageIscsiServiceSL
- func (ns *NetworkStorageIscsiServiceSL) CreateSnapshot(notes *string) (datatypes.Network_Storage, error)
- func (ns *NetworkStorageIscsiServiceSL) Filter(filter string) NetworkStorageIscsiService
- func (ns *NetworkStorageIscsiServiceSL) GetObject() (datatypes.Network_Storage_Iscsi, error)
- func (ns *NetworkStorageIscsiServiceSL) GetSnapshots() (resp []datatypes.Network_Storage, err error)
- func (ns *NetworkStorageIscsiServiceSL) GetSnapshotsForVolume() (resp []datatypes.Network_Storage, err error)
- func (ns *NetworkStorageIscsiServiceSL) ID(id int) NetworkStorageIscsiService
- func (ns *NetworkStorageIscsiServiceSL) Mask(mask string) NetworkStorageIscsiService
- type NetworkStorageService
- type NetworkStorageServiceSL
- func (ns *NetworkStorageServiceSL) AllowAccessFromIPAddressList(ipAddressObjectTemplates []datatypes.Network_Subnet_IpAddress) (bool, error)
- func (ns *NetworkStorageServiceSL) AllowAccessFromSubnetList(subnetObjectTemplates []datatypes.Network_Subnet) (bool, error)
- func (ns *NetworkStorageServiceSL) CreateSnapshot(notes *string) (resp datatypes.Network_Storage, err error)
- func (ns *NetworkStorageServiceSL) DeleteObject() (resp bool, err error)
- func (ns *NetworkStorageServiceSL) EditObject(templateObject *datatypes.Network_Storage) (resp bool, err error)
- func (ns *NetworkStorageServiceSL) Filter(filter string) NetworkStorageService
- func (ns *NetworkStorageServiceSL) GetObject() (datatypes.Network_Storage, error)
- func (ns *NetworkStorageServiceSL) GetSnapshots() (resp []datatypes.Network_Storage, err error)
- func (ns *NetworkStorageServiceSL) ID(id int) NetworkStorageService
- func (ns *NetworkStorageServiceSL) Mask(mask string) NetworkStorageService
- type NetworkSubnetIpAddressService
- type NetworkSubnetIpAddressServiceSL
- func (ns *NetworkSubnetIpAddressServiceSL) Filter(filter string) NetworkSubnetIpAddressService
- func (ns *NetworkSubnetIpAddressServiceSL) GetByIPAddress(ipAddress *string) (datatypes.Network_Subnet_IpAddress, error)
- func (ns *NetworkSubnetIpAddressServiceSL) GetObject() (datatypes.Network_Subnet_IpAddress, error)
- func (ns *NetworkSubnetIpAddressServiceSL) ID(id int) NetworkSubnetIpAddressService
- func (ns *NetworkSubnetIpAddressServiceSL) Mask(mask string) NetworkSubnetIpAddressService
- type NetworkSubnetService
- type NetworkSubnetServiceSL
- type ProductOrderService
- type ProductOrderServiceSL
- func (ps *ProductOrderServiceSL) Filter(filter string) ProductOrderService
- func (ps *ProductOrderServiceSL) ID(id int) ProductOrderService
- func (ps *ProductOrderServiceSL) Mask(mask string) ProductOrderService
- func (ps *ProductOrderServiceSL) PlaceOrder(orderData interface{}, saveAsQuote *bool) (resp datatypes.Container_Product_Order_Receipt, err error)
- type ProductPackageService
- type ProductPackageServiceSL
- func (ps *ProductPackageServiceSL) Filter(filter string) ProductPackageService
- func (ps *ProductPackageServiceSL) GetAllObjects() (resp []datatypes.Product_Package, err error)
- func (ps *ProductPackageServiceSL) GetItemPrices() (resp []datatypes.Product_Item_Price, err error)
- func (ps *ProductPackageServiceSL) ID(id int) ProductPackageService
- func (ps *ProductPackageServiceSL) Mask(mask string) ProductPackageService
- type ResourceMetadataService
- type ResourceMetadataServiceSL
- func (rs *ResourceMetadataServiceSL) Filter(filter string) ResourceMetadataService
- func (rs *ResourceMetadataServiceSL) GetDatacenterId() (int, error)
- func (rs *ResourceMetadataServiceSL) ID(id int) ResourceMetadataService
- func (rs *ResourceMetadataServiceSL) Mask(mask string) ResourceMetadataService
- type Service
- type Session
- type SessionSL
- func (theSession *SessionSL) GetAccountService() AccountService
- func (theSession *SessionSL) GetBillingItemService() BillingItemService
- func (theSession *SessionSL) GetBillingOrderService() BillingOrderService
- func (theSession *SessionSL) GetLocationService() LocationService
- func (theSession *SessionSL) GetNetworkStorageIscsiService() NetworkStorageIscsiService
- func (theSession *SessionSL) GetNetworkStorageService() NetworkStorageService
- func (theSession *SessionSL) GetNetworkSubnetIpAddressService() NetworkSubnetIpAddressService
- func (theSession *SessionSL) GetNetworkSubnetService() NetworkSubnetService
- func (theSession *SessionSL) GetProductOrderService() ProductOrderService
- func (theSession *SessionSL) GetProductPackageService() ProductPackageService
- func (theSession *SessionSL) GetResourceMetadataService() ResourceMetadataService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountService ¶
type AccountService interface { Filter(string) AccountService Mask(string) AccountService ID(int) AccountService Limit(int) AccountService Offset(int) AccountService GetBlockDeviceTemplateGroups() ([]datatypes.Virtual_Guest_Block_Device_Template_Group, error) GetCurrentUser() (datatypes.User_Customer, error) GetHardware() ([]datatypes.Hardware, error) GetObject() (datatypes.Account, error) GetOrders() ([]datatypes.Billing_Order, error) GetSubnets() ([]datatypes.Network_Subnet, error) GetNetworkStorage() (resp []datatypes.Network_Storage, err error) }
AccountService is a wrapping interface for the softlayer-go API's AccountService
type AccountServiceSL ¶
type AccountServiceSL struct {
// contains filtered or unexported fields
}
AccountServiceSL is a softlayer implementation of the AccountService interface. All functions pass directly to the equivalent SL function
func (*AccountServiceSL) Filter ¶
func (as *AccountServiceSL) Filter(filter string) AccountService
Filter pass-through for AccountService.Filter
func (*AccountServiceSL) GetBlockDeviceTemplateGroups ¶
func (as *AccountServiceSL) GetBlockDeviceTemplateGroups() ([]datatypes.Virtual_Guest_Block_Device_Template_Group, error)
GetBlockDeviceTemplateGroups pass-through for AccountService.GetBlockDeviceTemplateGroups
func (*AccountServiceSL) GetCurrentUser ¶
func (as *AccountServiceSL) GetCurrentUser() (datatypes.User_Customer, error)
GetCurrentUser pass-through for AccountService.GetCurrentUser
func (*AccountServiceSL) GetHardware ¶
func (as *AccountServiceSL) GetHardware() ([]datatypes.Hardware, error)
GetHardware pass-through for AccountService.GetHardware
func (*AccountServiceSL) GetNetworkStorage ¶
func (as *AccountServiceSL) GetNetworkStorage() (resp []datatypes.Network_Storage, err error)
func (*AccountServiceSL) GetObject ¶
func (as *AccountServiceSL) GetObject() (datatypes.Account, error)
GetObject pass-through for AccountService.GetObject
func (*AccountServiceSL) GetOrders ¶
func (as *AccountServiceSL) GetOrders() ([]datatypes.Billing_Order, error)
GetOrders pass-through for AccountService.GetOrders
func (*AccountServiceSL) GetSubnets ¶
func (as *AccountServiceSL) GetSubnets() ([]datatypes.Network_Subnet, error)
GetSubnets pass-through for AccountService.GetSubnets
func (*AccountServiceSL) ID ¶
func (as *AccountServiceSL) ID(id int) AccountService
ID pass-through for AccountService.Id
func (*AccountServiceSL) Limit ¶
func (as *AccountServiceSL) Limit(limit int) AccountService
Limit pass-through for AccountService.Limit
func (*AccountServiceSL) Mask ¶
func (as *AccountServiceSL) Mask(mask string) AccountService
Mask pass-through for AccountService.Mask
func (*AccountServiceSL) Offset ¶
func (as *AccountServiceSL) Offset(offset int) AccountService
Offset pass-through for AccountService.Offset
type BillingItemService ¶
type BillingItemService interface { Filter(filter string) BillingItemService Mask(string) BillingItemService ID(int) BillingItemService CancelItem(cancelImmediately *bool, cancelAssociatedBillingItems *bool, reason *string, customerNote *string) (resp bool, err error) CancelService() (resp bool, err error) }
BillingItemService is a wrapping interface for the softlayer-go API's BillingItemService
type BillingItemServiceSL ¶
type BillingItemServiceSL struct {
// contains filtered or unexported fields
}
BillingItemServiceSL is a softlayer implementation of the BillingItemService interface. All functions pass directly to the equivalent SL function
func (*BillingItemServiceSL) CancelItem ¶
func (bis *BillingItemServiceSL) CancelItem(cancelImmediately *bool, cancelAssociatedBillingItems *bool, reason *string, customerNote *string) (bool, error)
CancelItem cancels the billing item
func (*BillingItemServiceSL) CancelService ¶
func (bis *BillingItemServiceSL) CancelService() (resp bool, err error)
func (*BillingItemServiceSL) Filter ¶
func (bis *BillingItemServiceSL) Filter(filter string) BillingItemService
Filter pass-through for BillingItemService.Filter
func (*BillingItemServiceSL) ID ¶
func (bis *BillingItemServiceSL) ID(id int) BillingItemService
ID pass-through for BillingItemService.ID
func (*BillingItemServiceSL) Mask ¶
func (bis *BillingItemServiceSL) Mask(mask string) BillingItemService
Mask pass-through for BillingItemService.Mask
type BillingOrderService ¶
type BillingOrderService interface { Filter(filter string) BillingOrderService Mask(string) BillingOrderService ID(int) BillingOrderService GetObject() (datatypes.Billing_Order, error) GetAllObjects() ([]datatypes.Billing_Order, error) }
BillingOrderService is a wrapping interface for the softlayer-go API's BillingOrderService
type BillingOrderServiceSL ¶
type BillingOrderServiceSL struct {
// contains filtered or unexported fields
}
BillingOrderServiceSL is a softlayer implementation of the BillingOrderService interface. All functions pass directly to the equivalent SL function
func (*BillingOrderServiceSL) Filter ¶
func (bos *BillingOrderServiceSL) Filter(filter string) BillingOrderService
Filter pass-through for BillingOrderService.Filter
func (*BillingOrderServiceSL) GetAllObjects ¶
func (bos *BillingOrderServiceSL) GetAllObjects() ([]datatypes.Billing_Order, error)
GetAllObjects returns all billing orders
func (*BillingOrderServiceSL) GetObject ¶
func (bos *BillingOrderServiceSL) GetObject() (datatypes.Billing_Order, error)
GetObject returns the billing order
func (*BillingOrderServiceSL) ID ¶
func (bos *BillingOrderServiceSL) ID(id int) BillingOrderService
ID pass-through for BillingOrderService.ID
func (*BillingOrderServiceSL) Mask ¶
func (bos *BillingOrderServiceSL) Mask(mask string) BillingOrderService
Mask pass-through for BillingOrderService.Mask
type LocationService ¶
type LocationService interface { Filter(string) LocationService Mask(string) LocationService ID(int) LocationService //func (r Location) GetDatacenters() (resp []datatypes.Location, err error) { GetDatacenters() (resp []datatypes.Location, err error) }
LocationService is a wrapping interface for the softlayer-go API's LocationService
type LocationServiceSL ¶
type LocationServiceSL struct {
// contains filtered or unexported fields
}
LocationServiceSL is a softlayer implementation of the LocationService interface. All functions pass directly to the equivalent SL function
func (*LocationServiceSL) Filter ¶
func (ls *LocationServiceSL) Filter(filter string) LocationService
Filter pass-through for NetworkStorageIscsiService.Filter
func (*LocationServiceSL) GetDatacenters ¶
func (ls *LocationServiceSL) GetDatacenters() (resp []datatypes.Location, err error)
func (*LocationServiceSL) ID ¶
func (ls *LocationServiceSL) ID(id int) LocationService
ID pass-through for NetworkStorageService.Id
func (*LocationServiceSL) Mask ¶
func (ls *LocationServiceSL) Mask(mask string) LocationService
Mask pass-through for NetworkStorageIscsiService.Mask
type NetworkStorageIscsiService ¶
type NetworkStorageIscsiService interface { Filter(string) NetworkStorageIscsiService Mask(string) NetworkStorageIscsiService ID(int) NetworkStorageIscsiService //func (r Network_Storage_Iscsi) CreateSnapshot(notes *string) (resp datatypes.Network_Storage, err error) CreateSnapshot(notes *string) (resp datatypes.Network_Storage, err error) //func (r Network_Storage_Iscsi) GetObject() (resp datatypes.Network_Storage_Iscsi, err error) GetObject() (resp datatypes.Network_Storage_Iscsi, err error) //func (r Network_Storage_Iscsi) GetSnapshots() (resp []datatypes.Network_Storage, err error) { GetSnapshots() (resp []datatypes.Network_Storage, err error) //func (r Network_Storage_Iscsi) GetSnapshotsForVolume() (resp []datatypes.Network_Storage, err error) { GetSnapshotsForVolume() (resp []datatypes.Network_Storage, err error) }
NetworkStorageIscsiService is a wrapping interface for the softlayer-go API's NetworkStorageIscsiService
type NetworkStorageIscsiServiceSL ¶
type NetworkStorageIscsiServiceSL struct {
// contains filtered or unexported fields
}
NetworkStorageServiceSL is a softlayer implementation of the NetworkStorageService interface. All functions pass directly to the equivalent SL function
func (*NetworkStorageIscsiServiceSL) CreateSnapshot ¶
func (ns *NetworkStorageIscsiServiceSL) CreateSnapshot(notes *string) (datatypes.Network_Storage, error)
GetOrders pass-through for NetworkStorageIscsiService.CreateSnapshot
func (*NetworkStorageIscsiServiceSL) Filter ¶
func (ns *NetworkStorageIscsiServiceSL) Filter(filter string) NetworkStorageIscsiService
Filter pass-through for NetworkStorageIscsiService.Filter
func (*NetworkStorageIscsiServiceSL) GetObject ¶
func (ns *NetworkStorageIscsiServiceSL) GetObject() (datatypes.Network_Storage_Iscsi, error)
GetObject pass-through for NetworkStorageIscsiService.GetObject
func (*NetworkStorageIscsiServiceSL) GetSnapshots ¶
func (ns *NetworkStorageIscsiServiceSL) GetSnapshots() (resp []datatypes.Network_Storage, err error)
func (*NetworkStorageIscsiServiceSL) GetSnapshotsForVolume ¶
func (ns *NetworkStorageIscsiServiceSL) GetSnapshotsForVolume() (resp []datatypes.Network_Storage, err error)
func (*NetworkStorageIscsiServiceSL) ID ¶
func (ns *NetworkStorageIscsiServiceSL) ID(id int) NetworkStorageIscsiService
ID pass-through for NetworkStorageService.Id
func (*NetworkStorageIscsiServiceSL) Mask ¶
func (ns *NetworkStorageIscsiServiceSL) Mask(mask string) NetworkStorageIscsiService
Mask pass-through for NetworkStorageIscsiService.Mask
type NetworkStorageService ¶
type NetworkStorageService interface { Filter(string) NetworkStorageService Mask(string) NetworkStorageService ID(int) NetworkStorageService GetObject() (resp datatypes.Network_Storage, err error) CreateSnapshot(notes *string) (resp datatypes.Network_Storage, err error) GetSnapshots() (resp []datatypes.Network_Storage, err error) DeleteObject() (resp bool, err error) EditObject(templateObject *datatypes.Network_Storage) (resp bool, err error) AllowAccessFromSubnetList(subnetObjectTemplates []datatypes.Network_Subnet) (bool, error) AllowAccessFromIPAddressList(ipAddressObjectTemplates []datatypes.Network_Subnet_IpAddress) (bool, error) }
NetworkStorageService is a wrapping interface for the softlayer-go API's NetworkStorageService
type NetworkStorageServiceSL ¶
type NetworkStorageServiceSL struct {
// contains filtered or unexported fields
}
NetworkStorageServiceSL is a softlayer implementation of the NetworkStorageService interface. All functions pass directly to the equivalent SL function
func (*NetworkStorageServiceSL) AllowAccessFromIPAddressList ¶
func (ns *NetworkStorageServiceSL) AllowAccessFromIPAddressList(ipAddressObjectTemplates []datatypes.Network_Subnet_IpAddress) (bool, error)
AllowAccessFromIpAddressList allows access from Host IP address
func (*NetworkStorageServiceSL) AllowAccessFromSubnetList ¶
func (ns *NetworkStorageServiceSL) AllowAccessFromSubnetList(subnetObjectTemplates []datatypes.Network_Subnet) (bool, error)
AllowAccessFromSubnetList allows access from subnet List
func (*NetworkStorageServiceSL) CreateSnapshot ¶
func (ns *NetworkStorageServiceSL) CreateSnapshot(notes *string) (resp datatypes.Network_Storage, err error)
func (*NetworkStorageServiceSL) DeleteObject ¶
func (ns *NetworkStorageServiceSL) DeleteObject() (resp bool, err error)
func (*NetworkStorageServiceSL) EditObject ¶
func (ns *NetworkStorageServiceSL) EditObject(templateObject *datatypes.Network_Storage) (resp bool, err error)
func (*NetworkStorageServiceSL) Filter ¶
func (ns *NetworkStorageServiceSL) Filter(filter string) NetworkStorageService
Filter pass-through for NetworkStorageIscsiService.Filter
func (*NetworkStorageServiceSL) GetObject ¶
func (ns *NetworkStorageServiceSL) GetObject() (datatypes.Network_Storage, error)
GetObject pass-through for NetworkStorageIscsiService.GetObject
func (*NetworkStorageServiceSL) GetSnapshots ¶
func (ns *NetworkStorageServiceSL) GetSnapshots() (resp []datatypes.Network_Storage, err error)
func (*NetworkStorageServiceSL) ID ¶
func (ns *NetworkStorageServiceSL) ID(id int) NetworkStorageService
ID pass-through for NetworkStorageService.Id
func (*NetworkStorageServiceSL) Mask ¶
func (ns *NetworkStorageServiceSL) Mask(mask string) NetworkStorageService
Mask pass-through for NetworkStorageIscsiService.Mask
type NetworkSubnetIpAddressService ¶
type NetworkSubnetIpAddressService interface { Filter(string) NetworkSubnetIpAddressService Mask(string) NetworkSubnetIpAddressService ID(int) NetworkSubnetIpAddressService GetObject() (resp datatypes.Network_Subnet_IpAddress, err error) GetByIPAddress(ipAddress *string) (datatypes.Network_Subnet_IpAddress, error) }
NetworkSubnetIpAddressService is a wrapping interface for the softlayer-go API's NetworkSubnetIpAddressService
type NetworkSubnetIpAddressServiceSL ¶
type NetworkSubnetIpAddressServiceSL struct {
// contains filtered or unexported fields
}
NetworkSubnetIpAddressServiceSL is a softlayer implementation of the networkSubnetIpAddressService interface. All functions pass directly to the equivalent SL function
func (*NetworkSubnetIpAddressServiceSL) Filter ¶
func (ns *NetworkSubnetIpAddressServiceSL) Filter(filter string) NetworkSubnetIpAddressService
Filter pass-through for NetworkSubnetIpAddressService.Filter
func (*NetworkSubnetIpAddressServiceSL) GetByIPAddress ¶
func (ns *NetworkSubnetIpAddressServiceSL) GetByIPAddress(ipAddress *string) (datatypes.Network_Subnet_IpAddress, error)
GetByIPAddress returns Network_Subnet_IpAddress from IP address string
func (*NetworkSubnetIpAddressServiceSL) GetObject ¶
func (ns *NetworkSubnetIpAddressServiceSL) GetObject() (datatypes.Network_Subnet_IpAddress, error)
GetObject pass-through for NetworkSubnetIpAddressService.GetObject
func (*NetworkSubnetIpAddressServiceSL) ID ¶
func (ns *NetworkSubnetIpAddressServiceSL) ID(id int) NetworkSubnetIpAddressService
ID pass-through for networkSubnetIpAddressService.Id
func (*NetworkSubnetIpAddressServiceSL) Mask ¶
func (ns *NetworkSubnetIpAddressServiceSL) Mask(mask string) NetworkSubnetIpAddressService
Mask pass-through for NetworkSubnetIpAddressService.Mask
type NetworkSubnetService ¶
type NetworkSubnetService interface { Filter(string) NetworkSubnetService Mask(string) NetworkSubnetService ID(int) NetworkSubnetService GetObject() (resp datatypes.Network_Subnet, err error) }
NetworkSubnetService is a wrapping interface for the softlayer-go API's NetworkSubnetService
type NetworkSubnetServiceSL ¶
type NetworkSubnetServiceSL struct {
// contains filtered or unexported fields
}
NetworkSubnetServiceSL is a softlayer implementation of the networkSubnetService interface. All functions pass directly to the equivalent SL function
func (*NetworkSubnetServiceSL) Filter ¶
func (ns *NetworkSubnetServiceSL) Filter(filter string) NetworkSubnetService
Filter pass-through for NetworkSubnetService.Filter
func (*NetworkSubnetServiceSL) GetObject ¶
func (ns *NetworkSubnetServiceSL) GetObject() (datatypes.Network_Subnet, error)
GetObject pass-through for NetworkSubnetService.GetObject
func (*NetworkSubnetServiceSL) ID ¶
func (ns *NetworkSubnetServiceSL) ID(id int) NetworkSubnetService
ID pass-through for networkSubnetService.Id
func (*NetworkSubnetServiceSL) Mask ¶
func (ns *NetworkSubnetServiceSL) Mask(mask string) NetworkSubnetService
Mask pass-through for NetworkSubnetService.Mask
type ProductOrderService ¶
type ProductOrderService interface { Filter(string) ProductOrderService Mask(string) ProductOrderService ID(int) ProductOrderService //func (r Product_Order) PlaceOrder(orderData interface{}, saveAsQuote *bool) (resp datatypes.Container_Product_Order_Receipt, err error) { PlaceOrder(orderData interface{}, saveAsQuote *bool) (resp datatypes.Container_Product_Order_Receipt, err error) }
ProductOrderService is a wrapping interface for the softlayer-go API's ProductOrderService
type ProductOrderServiceSL ¶
type ProductOrderServiceSL struct {
// contains filtered or unexported fields
}
ProductOrderServiceSL is a softlayer implementation of the ProductOrderService interface. All functions pass directly to the equivalent SL function
func (*ProductOrderServiceSL) Filter ¶
func (ps *ProductOrderServiceSL) Filter(filter string) ProductOrderService
Filter pass-through for NetworkStorageIscsiService.Filter
func (*ProductOrderServiceSL) ID ¶
func (ps *ProductOrderServiceSL) ID(id int) ProductOrderService
ID pass-through for NetworkStorageService.Id
func (*ProductOrderServiceSL) Mask ¶
func (ps *ProductOrderServiceSL) Mask(mask string) ProductOrderService
Mask pass-through for NetworkStorageIscsiService.Mask
func (*ProductOrderServiceSL) PlaceOrder ¶
func (ps *ProductOrderServiceSL) PlaceOrder(orderData interface{}, saveAsQuote *bool) (resp datatypes.Container_Product_Order_Receipt, err error)
type ProductPackageService ¶
type ProductPackageService interface { Filter(string) ProductPackageService Mask(string) ProductPackageService ID(int) ProductPackageService //func (r Product_Package) GetAllObjects() (resp []datatypes.Product_Package, err error) { GetAllObjects() (resp []datatypes.Product_Package, err error) //func (r Product_Package) GetItemPrices() (resp []datatypes.Product_Item_Price, err error) { GetItemPrices() (resp []datatypes.Product_Item_Price, err error) }
ProductPackageService is a wrapping interface for the softlayer-go API's AccountService
type ProductPackageServiceSL ¶
type ProductPackageServiceSL struct {
// contains filtered or unexported fields
}
ProductOrderServiceSL is a softlayer implementation of the ProductOrderService interface. All functions pass directly to the equivalent SL function
func (*ProductPackageServiceSL) Filter ¶
func (ps *ProductPackageServiceSL) Filter(filter string) ProductPackageService
Filter pass-through for NetworkStorageIscsiService.Filter
func (*ProductPackageServiceSL) GetAllObjects ¶
func (ps *ProductPackageServiceSL) GetAllObjects() (resp []datatypes.Product_Package, err error)
func (*ProductPackageServiceSL) GetItemPrices ¶
func (ps *ProductPackageServiceSL) GetItemPrices() (resp []datatypes.Product_Item_Price, err error)
func (*ProductPackageServiceSL) ID ¶
func (ps *ProductPackageServiceSL) ID(id int) ProductPackageService
ID pass-through for NetworkStorageService.Id
func (*ProductPackageServiceSL) Mask ¶
func (ps *ProductPackageServiceSL) Mask(mask string) ProductPackageService
Mask pass-through for NetworkStorageIscsiService.Mask
type ResourceMetadataService ¶
type ResourceMetadataService interface { Filter(string) ResourceMetadataService Mask(string) ResourceMetadataService ID(int) ResourceMetadataService //func (r Resource_Metadata) GetDatacenterId() (resp int, err error) { GetDatacenterId() (resp int, err error) }
ResourceMetadataService is a wrapping interface for the softlayer-go API's AccountService
type ResourceMetadataServiceSL ¶
type ResourceMetadataServiceSL struct {
// contains filtered or unexported fields
}
ResourceMetadataServiceSL is a softlayer implementation of the NetworkStorageService interface. All functiors pass directly to the equivalent SL function
func (*ResourceMetadataServiceSL) Filter ¶
func (rs *ResourceMetadataServiceSL) Filter(filter string) ResourceMetadataService
Filter pass-through for ResourceMetadataService.Filter
func (*ResourceMetadataServiceSL) GetDatacenterId ¶
func (rs *ResourceMetadataServiceSL) GetDatacenterId() (int, error)
func (*ResourceMetadataServiceSL) ID ¶
func (rs *ResourceMetadataServiceSL) ID(id int) ResourceMetadataService
ID pass-through for NetworkStorageService.Id
func (*ResourceMetadataServiceSL) Mask ¶
func (rs *ResourceMetadataServiceSL) Mask(mask string) ResourceMetadataService
Mask pass-through for ResourceMetadataService.Mask
type Service ¶
Service is the parent of all services, providing common methods such as Mask, Id, Filter etc
type Session ¶
type Session interface { GetAccountService() AccountService GetBillingItemService() BillingItemService GetBillingOrderService() BillingOrderService GetNetworkStorageIscsiService() NetworkStorageIscsiService GetProductOrderService() ProductOrderService GetProductPackageService() ProductPackageService GetNetworkStorageService() NetworkStorageService GetNetworkSubnetService() NetworkSubnetService GetNetworkSubnetIpAddressService() NetworkSubnetIpAddressService GetResourceMetadataService() ResourceMetadataService GetLocationService() LocationService }
Session interface describes methods requiring implementation
type SessionSL ¶
type SessionSL struct {
// contains filtered or unexported fields
}
SessionSL implements the backend.Session interface using a real softlayer-go Session
func (*SessionSL) GetAccountService ¶
func (theSession *SessionSL) GetAccountService() AccountService
GetAccountService returns the AccountService from the session
func (*SessionSL) GetBillingItemService ¶
func (theSession *SessionSL) GetBillingItemService() BillingItemService
GetBillingItemService returns the BillingItemService from the session
func (*SessionSL) GetBillingOrderService ¶
func (theSession *SessionSL) GetBillingOrderService() BillingOrderService
GetBillingOrderService returns the BillingOrderService from the session
func (*SessionSL) GetLocationService ¶
func (theSession *SessionSL) GetLocationService() LocationService
func (*SessionSL) GetNetworkStorageIscsiService ¶
func (theSession *SessionSL) GetNetworkStorageIscsiService() NetworkStorageIscsiService
func (*SessionSL) GetNetworkStorageService ¶
func (theSession *SessionSL) GetNetworkStorageService() NetworkStorageService
func (*SessionSL) GetNetworkSubnetIpAddressService ¶
func (theSession *SessionSL) GetNetworkSubnetIpAddressService() NetworkSubnetIpAddressService
func (*SessionSL) GetNetworkSubnetService ¶
func (theSession *SessionSL) GetNetworkSubnetService() NetworkSubnetService
func (*SessionSL) GetProductOrderService ¶
func (theSession *SessionSL) GetProductOrderService() ProductOrderService
func (*SessionSL) GetProductPackageService ¶
func (theSession *SessionSL) GetProductPackageService() ProductPackageService
func (*SessionSL) GetResourceMetadataService ¶
func (theSession *SessionSL) GetResourceMetadataService() ResourceMetadataService
Source Files ¶
- account_service.go
- billing_item_service.go
- billing_order_service.go
- location_service.go
- network_storage_iscsi_service.go
- network_storage_service.go
- network_subnet_ipaddress_service.go
- network_subnet_service.go
- product_order_service.go
- product_package_service.go
- resource_metadata_service.go
- service.go
- session.go
- sl_backend.go
- utils.go