Documentation ¶
Index ¶
- Constants
- Variables
- func InitDataStore()
- func NewArchiveOp() iaas.ArchiveAPI
- func NewAuthStatusOp() iaas.AuthStatusAPI
- func NewAutoBackupOp() iaas.AutoBackupAPI
- func NewAutoScaleOp() iaas.AutoScaleAPI
- func NewBillOp() iaas.BillAPI
- func NewBridgeOp() iaas.BridgeAPI
- func NewCDROMOp() iaas.CDROMAPI
- func NewCertificateAuthorityOp() iaas.CertificateAuthorityAPI
- func NewContainerRegistryOp() iaas.ContainerRegistryAPI
- func NewCouponOp() iaas.CouponAPI
- func NewDNSOp() iaas.DNSAPI
- func NewDatabaseOp() iaas.DatabaseAPI
- func NewDiskOp() iaas.DiskAPI
- func NewDiskPlanOp() iaas.DiskPlanAPI
- func NewESMEOp() iaas.ESMEAPI
- func NewEnhancedDBOp() iaas.EnhancedDBAPI
- func NewGSLBOp() iaas.GSLBAPI
- func NewIPAddressOp() iaas.IPAddressAPI
- func NewIPv6AddrOp() iaas.IPv6AddrAPI
- func NewIPv6NetOp() iaas.IPv6NetAPI
- func NewIconOp() iaas.IconAPI
- func NewInterfaceOp() iaas.InterfaceAPI
- func NewInternetOp() iaas.InternetAPI
- func NewInternetPlanOp() iaas.InternetPlanAPI
- func NewLicenseInfoOp() iaas.LicenseInfoAPI
- func NewLicenseOp() iaas.LicenseAPI
- func NewLoadBalancerOp() iaas.LoadBalancerAPI
- func NewLocalRouterOp() iaas.LocalRouterAPI
- func NewMobileGatewayOp() iaas.MobileGatewayAPI
- func NewNFSOp() iaas.NFSAPI
- func NewNoteOp() iaas.NoteAPI
- func NewPacketFilterOp() iaas.PacketFilterAPI
- func NewPrivateHostOp() iaas.PrivateHostAPI
- func NewPrivateHostPlanOp() iaas.PrivateHostPlanAPI
- func NewProxyLBOp() iaas.ProxyLBAPI
- func NewRegionOp() iaas.RegionAPI
- func NewSIMOp() iaas.SIMAPI
- func NewSSHKeyOp() iaas.SSHKeyAPI
- func NewServerOp() iaas.ServerAPI
- func NewServerPlanOp() iaas.ServerPlanAPI
- func NewServiceClassOp() iaas.ServiceClassAPI
- func NewSimpleMonitorOp() iaas.SimpleMonitorAPI
- func NewSubnetOp() iaas.SubnetAPI
- func NewSwitchOp() iaas.SwitchAPI
- func NewVPCRouterOp() iaas.VPCRouterAPI
- func NewZoneOp() iaas.ZoneAPI
- func SwitchFactoryFuncToFake()
- type ArchiveOp
- func (o *ArchiveOp) CloseFTP(ctx context.Context, zone string, id types.ID) error
- func (o *ArchiveOp) Create(ctx context.Context, zone string, param *iaas.ArchiveCreateRequest) (*iaas.Archive, error)
- func (o *ArchiveOp) CreateBlank(ctx context.Context, zone string, param *iaas.ArchiveCreateBlankRequest) (*iaas.Archive, *iaas.FTPServer, error)
- func (o *ArchiveOp) CreateFromShared(ctx context.Context, zone string, sourceArchiveID types.ID, zoneID types.ID, ...) (*iaas.Archive, error)
- func (o *ArchiveOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *ArchiveOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.ArchiveFindResult, error)
- func (o *ArchiveOp) OpenFTP(ctx context.Context, zone string, id types.ID, openOption *iaas.OpenFTPRequest) (*iaas.FTPServer, error)
- func (o *ArchiveOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.Archive, error)
- func (o *ArchiveOp) Share(ctx context.Context, zone string, id types.ID) (*iaas.ArchiveShareInfo, error)
- func (o *ArchiveOp) Transfer(ctx context.Context, zone string, sourceArchiveID types.ID, ...) (*iaas.Archive, error)
- func (o *ArchiveOp) Update(ctx context.Context, zone string, id types.ID, ...) (*iaas.Archive, error)
- type AuthStatusOp
- type AutoBackupOp
- func (o *AutoBackupOp) Create(ctx context.Context, zone string, param *iaas.AutoBackupCreateRequest) (*iaas.AutoBackup, error)
- func (o *AutoBackupOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *AutoBackupOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.AutoBackupFindResult, error)
- func (o *AutoBackupOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.AutoBackup, error)
- func (o *AutoBackupOp) Update(ctx context.Context, zone string, id types.ID, ...) (*iaas.AutoBackup, error)
- func (o *AutoBackupOp) UpdateSettings(ctx context.Context, zone string, id types.ID, ...) (*iaas.AutoBackup, error)
- type AutoScaleOp
- func (o *AutoScaleOp) Create(ctx context.Context, param *iaas.AutoScaleCreateRequest) (*iaas.AutoScale, error)
- func (o *AutoScaleOp) Delete(ctx context.Context, id types.ID) error
- func (o *AutoScaleOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.AutoScaleFindResult, error)
- func (o *AutoScaleOp) Read(ctx context.Context, id types.ID) (*iaas.AutoScale, error)
- func (o *AutoScaleOp) ScaleDown(ctx context.Context, id types.ID) error
- func (o *AutoScaleOp) ScaleUp(ctx context.Context, id types.ID) error
- func (o *AutoScaleOp) Status(ctx context.Context, id types.ID) (*iaas.AutoScaleStatus, error)
- func (o *AutoScaleOp) Update(ctx context.Context, id types.ID, param *iaas.AutoScaleUpdateRequest) (*iaas.AutoScale, error)
- func (o *AutoScaleOp) UpdateSettings(ctx context.Context, id types.ID, param *iaas.AutoScaleUpdateSettingsRequest) (*iaas.AutoScale, error)
- type BillOp
- func (o *BillOp) ByContract(ctx context.Context, accountID types.ID) (*iaas.BillByContractResult, error)
- func (o *BillOp) ByContractYear(ctx context.Context, accountID types.ID, year int) (*iaas.BillByContractYearResult, error)
- func (o *BillOp) ByContractYearMonth(ctx context.Context, accountID types.ID, year int, month int) (*iaas.BillByContractYearMonthResult, error)
- func (o *BillOp) Details(ctx context.Context, memberCode string, id types.ID) (*iaas.BillDetailsResult, error)
- func (o *BillOp) DetailsCSV(ctx context.Context, memberCode string, id types.ID) (*iaas.BillDetailCSV, error)
- func (o *BillOp) Read(ctx context.Context, id types.ID) (*iaas.BillReadResult, error)
- type BridgeOp
- func (o *BridgeOp) Create(ctx context.Context, zone string, param *iaas.BridgeCreateRequest) (*iaas.Bridge, error)
- func (o *BridgeOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *BridgeOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.BridgeFindResult, error)
- func (o *BridgeOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.Bridge, error)
- func (o *BridgeOp) Update(ctx context.Context, zone string, id types.ID, param *iaas.BridgeUpdateRequest) (*iaas.Bridge, error)
- type CDROMOp
- func (o *CDROMOp) CloseFTP(ctx context.Context, zone string, id types.ID) error
- func (o *CDROMOp) Create(ctx context.Context, zone string, param *iaas.CDROMCreateRequest) (*iaas.CDROM, *iaas.FTPServer, error)
- func (o *CDROMOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *CDROMOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.CDROMFindResult, error)
- func (o *CDROMOp) OpenFTP(ctx context.Context, zone string, id types.ID, openOption *iaas.OpenFTPRequest) (*iaas.FTPServer, error)
- func (o *CDROMOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.CDROM, error)
- func (o *CDROMOp) Update(ctx context.Context, zone string, id types.ID, param *iaas.CDROMUpdateRequest) (*iaas.CDROM, error)
- type CertificateAuthorityOp
- func (o *CertificateAuthorityOp) AddClient(ctx context.Context, id types.ID, ...) (*iaas.CertificateAuthorityAddClientOrServerResult, error)
- func (o *CertificateAuthorityOp) AddServer(ctx context.Context, id types.ID, ...) (*iaas.CertificateAuthorityAddClientOrServerResult, error)
- func (o *CertificateAuthorityOp) Create(ctx context.Context, param *iaas.CertificateAuthorityCreateRequest) (*iaas.CertificateAuthority, error)
- func (o *CertificateAuthorityOp) Delete(ctx context.Context, id types.ID) error
- func (o *CertificateAuthorityOp) DenyClient(ctx context.Context, id types.ID, clientID string) error
- func (o *CertificateAuthorityOp) Detail(ctx context.Context, id types.ID) (*iaas.CertificateAuthorityDetail, error)
- func (o *CertificateAuthorityOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.CertificateAuthorityFindResult, error)
- func (o *CertificateAuthorityOp) HoldClient(ctx context.Context, id types.ID, clientID string) error
- func (o *CertificateAuthorityOp) HoldServer(ctx context.Context, id types.ID, serverID string) error
- func (o *CertificateAuthorityOp) ListClients(ctx context.Context, id types.ID) (*iaas.CertificateAuthorityListClientsResult, error)
- func (o *CertificateAuthorityOp) ListServers(ctx context.Context, id types.ID) (*iaas.CertificateAuthorityListServersResult, error)
- func (o *CertificateAuthorityOp) Read(ctx context.Context, id types.ID) (*iaas.CertificateAuthority, error)
- func (o *CertificateAuthorityOp) ReadClient(ctx context.Context, id types.ID, clientID string) (*iaas.CertificateAuthorityClient, error)
- func (o *CertificateAuthorityOp) ReadServer(ctx context.Context, id types.ID, serverID string) (*iaas.CertificateAuthorityServer, error)
- func (o *CertificateAuthorityOp) ResumeClient(ctx context.Context, id types.ID, clientID string) error
- func (o *CertificateAuthorityOp) ResumeServer(ctx context.Context, id types.ID, serverID string) error
- func (o *CertificateAuthorityOp) RevokeClient(ctx context.Context, id types.ID, clientID string) error
- func (o *CertificateAuthorityOp) RevokeServer(ctx context.Context, id types.ID, serverID string) error
- func (o *CertificateAuthorityOp) Update(ctx context.Context, id types.ID, ...) (*iaas.CertificateAuthority, error)
- type ContainerRegistryOp
- func (o *ContainerRegistryOp) AddUser(ctx context.Context, id types.ID, ...) error
- func (o *ContainerRegistryOp) Create(ctx context.Context, param *iaas.ContainerRegistryCreateRequest) (*iaas.ContainerRegistry, error)
- func (o *ContainerRegistryOp) Delete(ctx context.Context, id types.ID) error
- func (o *ContainerRegistryOp) DeleteUser(ctx context.Context, id types.ID, username string) error
- func (o *ContainerRegistryOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.ContainerRegistryFindResult, error)
- func (o *ContainerRegistryOp) ListUsers(ctx context.Context, id types.ID) (*iaas.ContainerRegistryUsers, error)
- func (o *ContainerRegistryOp) Read(ctx context.Context, id types.ID) (*iaas.ContainerRegistry, error)
- func (o *ContainerRegistryOp) Update(ctx context.Context, id types.ID, param *iaas.ContainerRegistryUpdateRequest) (*iaas.ContainerRegistry, error)
- func (o *ContainerRegistryOp) UpdateSettings(ctx context.Context, id types.ID, ...) (*iaas.ContainerRegistry, error)
- func (o *ContainerRegistryOp) UpdateUser(ctx context.Context, id types.ID, username string, ...) error
- type CouponOp
- type DNSOp
- func (o *DNSOp) Create(ctx context.Context, param *iaas.DNSCreateRequest) (*iaas.DNS, error)
- func (o *DNSOp) Delete(ctx context.Context, id types.ID) error
- func (o *DNSOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.DNSFindResult, error)
- func (o *DNSOp) Read(ctx context.Context, id types.ID) (*iaas.DNS, error)
- func (o *DNSOp) Update(ctx context.Context, id types.ID, param *iaas.DNSUpdateRequest) (*iaas.DNS, error)
- func (o *DNSOp) UpdateSettings(ctx context.Context, id types.ID, param *iaas.DNSUpdateSettingsRequest) (*iaas.DNS, error)
- type DatabaseOp
- func (o *DatabaseOp) Boot(ctx context.Context, zone string, id types.ID) error
- func (o *DatabaseOp) Config(ctx context.Context, zone string, id types.ID) error
- func (o *DatabaseOp) Create(ctx context.Context, zone string, param *iaas.DatabaseCreateRequest) (*iaas.Database, error)
- func (o *DatabaseOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *DatabaseOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.DatabaseFindResult, error)
- func (o *DatabaseOp) GetParameter(ctx context.Context, zone string, id types.ID) (*iaas.DatabaseParameter, error)
- func (o *DatabaseOp) MonitorCPU(ctx context.Context, zone string, id types.ID, ...) (*iaas.CPUTimeActivity, error)
- func (o *DatabaseOp) MonitorDatabase(ctx context.Context, zone string, id types.ID, ...) (*iaas.DatabaseActivity, error)
- func (o *DatabaseOp) MonitorDisk(ctx context.Context, zone string, id types.ID, ...) (*iaas.DiskActivity, error)
- func (o *DatabaseOp) MonitorInterface(ctx context.Context, zone string, id types.ID, ...) (*iaas.InterfaceActivity, error)
- func (o *DatabaseOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.Database, error)
- func (o *DatabaseOp) Reset(ctx context.Context, zone string, id types.ID) error
- func (o *DatabaseOp) SetParameter(ctx context.Context, zone string, id types.ID, param map[string]interface{}) error
- func (o *DatabaseOp) Shutdown(ctx context.Context, zone string, id types.ID, ...) error
- func (o *DatabaseOp) Status(ctx context.Context, zone string, id types.ID) (*iaas.DatabaseStatus, error)
- func (o *DatabaseOp) Update(ctx context.Context, zone string, id types.ID, ...) (*iaas.Database, error)
- func (o *DatabaseOp) UpdateSettings(ctx context.Context, zone string, id types.ID, ...) (*iaas.Database, error)
- type DiskOp
- func (o *DiskOp) Config(ctx context.Context, zone string, id types.ID, edit *iaas.DiskEditRequest) error
- func (o *DiskOp) ConnectToServer(ctx context.Context, zone string, id types.ID, serverID types.ID) error
- func (o *DiskOp) Create(ctx context.Context, zone string, param *iaas.DiskCreateRequest, ...) (*iaas.Disk, error)
- func (o *DiskOp) CreateWithConfig(ctx context.Context, zone string, createParam *iaas.DiskCreateRequest, ...) (*iaas.Disk, error)
- func (o *DiskOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *DiskOp) DisconnectFromServer(ctx context.Context, zone string, id types.ID) error
- func (o *DiskOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.DiskFindResult, error)
- func (o *DiskOp) Monitor(ctx context.Context, zone string, id types.ID, ...) (*iaas.DiskActivity, error)
- func (o *DiskOp) MonitorDisk(ctx context.Context, zone string, id types.ID, ...) (*iaas.DiskActivity, error)
- func (o *DiskOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.Disk, error)
- func (o *DiskOp) ResizePartition(ctx context.Context, zone string, id types.ID, ...) error
- func (o *DiskOp) Update(ctx context.Context, zone string, id types.ID, param *iaas.DiskUpdateRequest) (*iaas.Disk, error)
- type DiskPlanOp
- type ESMEOp
- func (o *ESMEOp) Create(ctx context.Context, param *iaas.ESMECreateRequest) (*iaas.ESME, error)
- func (o *ESMEOp) Delete(ctx context.Context, id types.ID) error
- func (o *ESMEOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.ESMEFindResult, error)
- func (o *ESMEOp) Logs(ctx context.Context, id types.ID) ([]*iaas.ESMELogs, error)
- func (o *ESMEOp) Read(ctx context.Context, id types.ID) (*iaas.ESME, error)
- func (o *ESMEOp) SendMessageWithGeneratedOTP(ctx context.Context, id types.ID, ...) (*iaas.ESMESendMessageResult, error)
- func (o *ESMEOp) SendMessageWithInputtedOTP(ctx context.Context, id types.ID, ...) (*iaas.ESMESendMessageResult, error)
- func (o *ESMEOp) Update(ctx context.Context, id types.ID, param *iaas.ESMEUpdateRequest) (*iaas.ESME, error)
- type EnhancedDBOp
- func (o *EnhancedDBOp) Create(ctx context.Context, param *iaas.EnhancedDBCreateRequest) (*iaas.EnhancedDB, error)
- func (o *EnhancedDBOp) Delete(ctx context.Context, id types.ID) error
- func (o *EnhancedDBOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.EnhancedDBFindResult, error)
- func (o *EnhancedDBOp) GetConfig(ctx context.Context, id types.ID) (*iaas.EnhancedDBConfig, error)
- func (o *EnhancedDBOp) Read(ctx context.Context, id types.ID) (*iaas.EnhancedDB, error)
- func (o *EnhancedDBOp) SetConfig(ctx context.Context, id types.ID, param *iaas.EnhancedDBSetConfigRequest) error
- func (o *EnhancedDBOp) SetPassword(ctx context.Context, id types.ID, param *iaas.EnhancedDBSetPasswordRequest) error
- func (o *EnhancedDBOp) Update(ctx context.Context, id types.ID, param *iaas.EnhancedDBUpdateRequest) (*iaas.EnhancedDB, error)
- type GSLBOp
- func (o *GSLBOp) Create(ctx context.Context, param *iaas.GSLBCreateRequest) (*iaas.GSLB, error)
- func (o *GSLBOp) Delete(ctx context.Context, id types.ID) error
- func (o *GSLBOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.GSLBFindResult, error)
- func (o *GSLBOp) Read(ctx context.Context, id types.ID) (*iaas.GSLB, error)
- func (o *GSLBOp) Update(ctx context.Context, id types.ID, param *iaas.GSLBUpdateRequest) (*iaas.GSLB, error)
- func (o *GSLBOp) UpdateSettings(ctx context.Context, id types.ID, param *iaas.GSLBUpdateSettingsRequest) (*iaas.GSLB, error)
- type IPAddressOp
- func (o *IPAddressOp) List(ctx context.Context, zone string) (*iaas.IPAddressListResult, error)
- func (o *IPAddressOp) Read(ctx context.Context, zone string, ipAddress string) (*iaas.IPAddress, error)
- func (o *IPAddressOp) UpdateHostName(ctx context.Context, zone string, ipAddress string, hostName string) (*iaas.IPAddress, error)
- type IPv6AddrOp
- func (o *IPv6AddrOp) Create(ctx context.Context, zone string, param *iaas.IPv6AddrCreateRequest) (*iaas.IPv6Addr, error)
- func (o *IPv6AddrOp) Delete(ctx context.Context, zone string, ipv6addr string) error
- func (o *IPv6AddrOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.IPv6AddrFindResult, error)
- func (o *IPv6AddrOp) Read(ctx context.Context, zone string, ipv6addr string) (*iaas.IPv6Addr, error)
- func (o *IPv6AddrOp) Update(ctx context.Context, zone string, ipv6addr string, ...) (*iaas.IPv6Addr, error)
- type IPv6NetOp
- func (o *IPv6NetOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.IPv6NetFindResult, error)
- func (o *IPv6NetOp) List(ctx context.Context, zone string) (*iaas.IPv6NetListResult, error)
- func (o *IPv6NetOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.IPv6Net, error)
- type IconOp
- func (o *IconOp) Create(ctx context.Context, param *iaas.IconCreateRequest) (*iaas.Icon, error)
- func (o *IconOp) Delete(ctx context.Context, id types.ID) error
- func (o *IconOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.IconFindResult, error)
- func (o *IconOp) Read(ctx context.Context, id types.ID) (*iaas.Icon, error)
- func (o *IconOp) Update(ctx context.Context, id types.ID, param *iaas.IconUpdateRequest) (*iaas.Icon, error)
- type InMemoryStore
- func (s *InMemoryStore) Delete(resourceKey, zone string, id types.ID)
- func (s *InMemoryStore) Get(resourceKey, zone string, id types.ID) interface{}
- func (s *InMemoryStore) Init() error
- func (s *InMemoryStore) List(resourceKey, zone string) []interface{}
- func (s *InMemoryStore) NeedInitData() bool
- func (s *InMemoryStore) Put(resourceKey, zone string, id types.ID, value interface{})
- type InterfaceOp
- func (o *InterfaceOp) ConnectToPacketFilter(ctx context.Context, zone string, id types.ID, packetFilterID types.ID) error
- func (o *InterfaceOp) ConnectToSharedSegment(ctx context.Context, zone string, id types.ID) error
- func (o *InterfaceOp) ConnectToSwitch(ctx context.Context, zone string, id types.ID, switchID types.ID) error
- func (o *InterfaceOp) Create(ctx context.Context, zone string, param *iaas.InterfaceCreateRequest) (*iaas.Interface, error)
- func (o *InterfaceOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *InterfaceOp) DisconnectFromPacketFilter(ctx context.Context, zone string, id types.ID) error
- func (o *InterfaceOp) DisconnectFromSwitch(ctx context.Context, zone string, id types.ID) error
- func (o *InterfaceOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.InterfaceFindResult, error)
- func (o *InterfaceOp) Monitor(ctx context.Context, zone string, id types.ID, ...) (*iaas.InterfaceActivity, error)
- func (o *InterfaceOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.Interface, error)
- func (o *InterfaceOp) Update(ctx context.Context, zone string, id types.ID, ...) (*iaas.Interface, error)
- type InternetOp
- func (o *InternetOp) AddSubnet(ctx context.Context, zone string, id types.ID, ...) (*iaas.InternetSubnetOperationResult, error)
- func (o *InternetOp) Create(ctx context.Context, zone string, param *iaas.InternetCreateRequest) (*iaas.Internet, error)
- func (o *InternetOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *InternetOp) DeleteSubnet(ctx context.Context, zone string, id types.ID, subnetID types.ID) error
- func (o *InternetOp) DisableIPv6(ctx context.Context, zone string, id types.ID, ipv6netID types.ID) error
- func (o *InternetOp) EnableIPv6(ctx context.Context, zone string, id types.ID) (*iaas.IPv6NetInfo, error)
- func (o *InternetOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.InternetFindResult, error)
- func (o *InternetOp) Monitor(ctx context.Context, zone string, id types.ID, ...) (*iaas.RouterActivity, error)
- func (o *InternetOp) MonitorRouter(ctx context.Context, zone string, id types.ID, ...) (*iaas.RouterActivity, error)
- func (o *InternetOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.Internet, error)
- func (o *InternetOp) Update(ctx context.Context, zone string, id types.ID, ...) (*iaas.Internet, error)
- func (o *InternetOp) UpdateBandWidth(ctx context.Context, zone string, id types.ID, ...) (*iaas.Internet, error)
- func (o *InternetOp) UpdateSubnet(ctx context.Context, zone string, id types.ID, subnetID types.ID, ...) (*iaas.InternetSubnetOperationResult, error)
- type InternetPlanOp
- type JSONFileStore
- func (s *JSONFileStore) Delete(resourceKey, zone string, id types.ID)
- func (s *JSONFileStore) Get(resourceKey, zone string, id types.ID) interface{}
- func (s *JSONFileStore) Init() error
- func (s *JSONFileStore) List(resourceKey, zone string) []interface{}
- func (s *JSONFileStore) NeedInitData() bool
- func (s *JSONFileStore) Put(resourceKey, zone string, id types.ID, value interface{})
- type JSONFileStoreData
- type LicenseInfoOp
- type LicenseOp
- func (o *LicenseOp) Create(ctx context.Context, param *iaas.LicenseCreateRequest) (*iaas.License, error)
- func (o *LicenseOp) Delete(ctx context.Context, id types.ID) error
- func (o *LicenseOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.LicenseFindResult, error)
- func (o *LicenseOp) Read(ctx context.Context, id types.ID) (*iaas.License, error)
- func (o *LicenseOp) Update(ctx context.Context, id types.ID, param *iaas.LicenseUpdateRequest) (*iaas.License, error)
- type LoadBalancerOp
- func (o *LoadBalancerOp) Boot(ctx context.Context, zone string, id types.ID) error
- func (o *LoadBalancerOp) Config(ctx context.Context, zone string, id types.ID) error
- func (o *LoadBalancerOp) Create(ctx context.Context, zone string, param *iaas.LoadBalancerCreateRequest) (*iaas.LoadBalancer, error)
- func (o *LoadBalancerOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *LoadBalancerOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.LoadBalancerFindResult, error)
- func (o *LoadBalancerOp) MonitorCPU(ctx context.Context, zone string, id types.ID, ...) (*iaas.CPUTimeActivity, error)
- func (o *LoadBalancerOp) MonitorInterface(ctx context.Context, zone string, id types.ID, ...) (*iaas.InterfaceActivity, error)
- func (o *LoadBalancerOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.LoadBalancer, error)
- func (o *LoadBalancerOp) Reset(ctx context.Context, zone string, id types.ID) error
- func (o *LoadBalancerOp) Shutdown(ctx context.Context, zone string, id types.ID, ...) error
- func (o *LoadBalancerOp) Status(ctx context.Context, zone string, id types.ID) (*iaas.LoadBalancerStatusResult, error)
- func (o *LoadBalancerOp) Update(ctx context.Context, zone string, id types.ID, ...) (*iaas.LoadBalancer, error)
- func (o *LoadBalancerOp) UpdateSettings(ctx context.Context, zone string, id types.ID, ...) (*iaas.LoadBalancer, error)
- type LocalRouterOp
- func (o *LocalRouterOp) Create(ctx context.Context, param *iaas.LocalRouterCreateRequest) (*iaas.LocalRouter, error)
- func (o *LocalRouterOp) Delete(ctx context.Context, id types.ID) error
- func (o *LocalRouterOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.LocalRouterFindResult, error)
- func (o *LocalRouterOp) HealthStatus(ctx context.Context, id types.ID) (*iaas.LocalRouterHealth, error)
- func (o *LocalRouterOp) MonitorLocalRouter(ctx context.Context, id types.ID, condition *iaas.MonitorCondition) (*iaas.LocalRouterActivity, error)
- func (o *LocalRouterOp) Read(ctx context.Context, id types.ID) (*iaas.LocalRouter, error)
- func (o *LocalRouterOp) Update(ctx context.Context, id types.ID, param *iaas.LocalRouterUpdateRequest) (*iaas.LocalRouter, error)
- func (o *LocalRouterOp) UpdateSettings(ctx context.Context, id types.ID, param *iaas.LocalRouterUpdateSettingsRequest) (*iaas.LocalRouter, error)
- type MobileGatewayOp
- func (o *MobileGatewayOp) AddSIM(ctx context.Context, zone string, id types.ID, ...) error
- func (o *MobileGatewayOp) Boot(ctx context.Context, zone string, id types.ID) error
- func (o *MobileGatewayOp) Config(ctx context.Context, zone string, id types.ID) error
- func (o *MobileGatewayOp) ConnectToSwitch(ctx context.Context, zone string, id types.ID, switchID types.ID) error
- func (o *MobileGatewayOp) Create(ctx context.Context, zone string, param *iaas.MobileGatewayCreateRequest) (*iaas.MobileGateway, error)
- func (o *MobileGatewayOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *MobileGatewayOp) DeleteSIM(ctx context.Context, zone string, id types.ID, simID types.ID) error
- func (o *MobileGatewayOp) DeleteTrafficConfig(ctx context.Context, zone string, id types.ID) error
- func (o *MobileGatewayOp) DisconnectFromSwitch(ctx context.Context, zone string, id types.ID) error
- func (o *MobileGatewayOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.MobileGatewayFindResult, error)
- func (o *MobileGatewayOp) GetDNS(ctx context.Context, zone string, id types.ID) (*iaas.MobileGatewayDNSSetting, error)
- func (o *MobileGatewayOp) GetSIMRoutes(ctx context.Context, zone string, id types.ID) (iaas.MobileGatewaySIMRoutes, error)
- func (o *MobileGatewayOp) GetTrafficConfig(ctx context.Context, zone string, id types.ID) (*iaas.MobileGatewayTrafficControl, error)
- func (o *MobileGatewayOp) ListSIM(ctx context.Context, zone string, id types.ID) (iaas.MobileGatewaySIMs, error)
- func (o *MobileGatewayOp) Logs(ctx context.Context, zone string, id types.ID) ([]*iaas.MobileGatewaySIMLogs, error)
- func (o *MobileGatewayOp) MonitorInterface(ctx context.Context, zone string, id types.ID, index int, ...) (*iaas.InterfaceActivity, error)
- func (o *MobileGatewayOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.MobileGateway, error)
- func (o *MobileGatewayOp) Reset(ctx context.Context, zone string, id types.ID) error
- func (o *MobileGatewayOp) SetDNS(ctx context.Context, zone string, id types.ID, ...) error
- func (o *MobileGatewayOp) SetSIMRoutes(ctx context.Context, zone string, id types.ID, ...) error
- func (o *MobileGatewayOp) SetTrafficConfig(ctx context.Context, zone string, id types.ID, ...) error
- func (o *MobileGatewayOp) Shutdown(ctx context.Context, zone string, id types.ID, ...) error
- func (o *MobileGatewayOp) TrafficStatus(ctx context.Context, zone string, id types.ID) (*iaas.MobileGatewayTrafficStatus, error)
- func (o *MobileGatewayOp) Update(ctx context.Context, zone string, id types.ID, ...) (*iaas.MobileGateway, error)
- func (o *MobileGatewayOp) UpdateSettings(ctx context.Context, zone string, id types.ID, ...) (*iaas.MobileGateway, error)
- type NFSOp
- func (o *NFSOp) Boot(ctx context.Context, zone string, id types.ID) error
- func (o *NFSOp) Create(ctx context.Context, zone string, param *iaas.NFSCreateRequest) (*iaas.NFS, error)
- func (o *NFSOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *NFSOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.NFSFindResult, error)
- func (o *NFSOp) MonitorCPU(ctx context.Context, zone string, id types.ID, ...) (*iaas.CPUTimeActivity, error)
- func (o *NFSOp) MonitorFreeDiskSize(ctx context.Context, zone string, id types.ID, ...) (*iaas.FreeDiskSizeActivity, error)
- func (o *NFSOp) MonitorInterface(ctx context.Context, zone string, id types.ID, ...) (*iaas.InterfaceActivity, error)
- func (o *NFSOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.NFS, error)
- func (o *NFSOp) Reset(ctx context.Context, zone string, id types.ID) error
- func (o *NFSOp) Shutdown(ctx context.Context, zone string, id types.ID, ...) error
- func (o *NFSOp) Update(ctx context.Context, zone string, id types.ID, param *iaas.NFSUpdateRequest) (*iaas.NFS, error)
- type NoteOp
- func (o *NoteOp) Create(ctx context.Context, param *iaas.NoteCreateRequest) (*iaas.Note, error)
- func (o *NoteOp) Delete(ctx context.Context, id types.ID) error
- func (o *NoteOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.NoteFindResult, error)
- func (o *NoteOp) Read(ctx context.Context, id types.ID) (*iaas.Note, error)
- func (o *NoteOp) Update(ctx context.Context, id types.ID, param *iaas.NoteUpdateRequest) (*iaas.Note, error)
- type PacketFilterOp
- func (o *PacketFilterOp) Create(ctx context.Context, zone string, param *iaas.PacketFilterCreateRequest) (*iaas.PacketFilter, error)
- func (o *PacketFilterOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *PacketFilterOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.PacketFilterFindResult, error)
- func (o *PacketFilterOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.PacketFilter, error)
- func (o *PacketFilterOp) Update(ctx context.Context, zone string, id types.ID, ...) (*iaas.PacketFilter, error)
- type PrivateHostOp
- func (o *PrivateHostOp) Create(ctx context.Context, zone string, param *iaas.PrivateHostCreateRequest) (*iaas.PrivateHost, error)
- func (o *PrivateHostOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *PrivateHostOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.PrivateHostFindResult, error)
- func (o *PrivateHostOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.PrivateHost, error)
- func (o *PrivateHostOp) Update(ctx context.Context, zone string, id types.ID, ...) (*iaas.PrivateHost, error)
- type PrivateHostPlanOp
- type ProxyLBOp
- func (o *ProxyLBOp) ChangePlan(ctx context.Context, id types.ID, param *iaas.ProxyLBChangePlanRequest) (*iaas.ProxyLB, error)
- func (o *ProxyLBOp) Create(ctx context.Context, param *iaas.ProxyLBCreateRequest) (*iaas.ProxyLB, error)
- func (o *ProxyLBOp) Delete(ctx context.Context, id types.ID) error
- func (o *ProxyLBOp) DeleteCertificates(ctx context.Context, id types.ID) error
- func (o *ProxyLBOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.ProxyLBFindResult, error)
- func (o *ProxyLBOp) GetCertificates(ctx context.Context, id types.ID) (*iaas.ProxyLBCertificates, error)
- func (o *ProxyLBOp) HealthStatus(ctx context.Context, id types.ID) (*iaas.ProxyLBHealth, error)
- func (o *ProxyLBOp) MonitorConnection(ctx context.Context, id types.ID, condition *iaas.MonitorCondition) (*iaas.ConnectionActivity, error)
- func (o *ProxyLBOp) Read(ctx context.Context, id types.ID) (*iaas.ProxyLB, error)
- func (o *ProxyLBOp) RenewLetsEncryptCert(ctx context.Context, id types.ID) error
- func (o *ProxyLBOp) SetCertificates(ctx context.Context, id types.ID, param *iaas.ProxyLBSetCertificatesRequest) (*iaas.ProxyLBCertificates, error)
- func (o *ProxyLBOp) Update(ctx context.Context, id types.ID, param *iaas.ProxyLBUpdateRequest) (*iaas.ProxyLB, error)
- func (o *ProxyLBOp) UpdateSettings(ctx context.Context, id types.ID, param *iaas.ProxyLBUpdateSettingsRequest) (*iaas.ProxyLB, error)
- type RegionOp
- type SIMOp
- func (o *SIMOp) Activate(ctx context.Context, id types.ID) error
- func (o *SIMOp) AssignIP(ctx context.Context, id types.ID, param *iaas.SIMAssignIPRequest) error
- func (o *SIMOp) ClearIP(ctx context.Context, id types.ID) error
- func (o *SIMOp) Create(ctx context.Context, param *iaas.SIMCreateRequest) (*iaas.SIM, error)
- func (o *SIMOp) Deactivate(ctx context.Context, id types.ID) error
- func (o *SIMOp) Delete(ctx context.Context, id types.ID) error
- func (o *SIMOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.SIMFindResult, error)
- func (o *SIMOp) GetNetworkOperator(ctx context.Context, id types.ID) ([]*iaas.SIMNetworkOperatorConfig, error)
- func (o *SIMOp) IMEILock(ctx context.Context, id types.ID, param *iaas.SIMIMEILockRequest) error
- func (o *SIMOp) IMEIUnlock(ctx context.Context, id types.ID) error
- func (o *SIMOp) Logs(ctx context.Context, id types.ID) (*iaas.SIMLogsResult, error)
- func (o *SIMOp) MonitorSIM(ctx context.Context, id types.ID, condition *iaas.MonitorCondition) (*iaas.LinkActivity, error)
- func (o *SIMOp) Read(ctx context.Context, id types.ID) (*iaas.SIM, error)
- func (o *SIMOp) SetNetworkOperator(ctx context.Context, id types.ID, configs []*iaas.SIMNetworkOperatorConfig) error
- func (o *SIMOp) Status(ctx context.Context, id types.ID) (*iaas.SIMInfo, error)
- func (o *SIMOp) Update(ctx context.Context, id types.ID, param *iaas.SIMUpdateRequest) (*iaas.SIM, error)
- type SSHKeyOp
- func (o *SSHKeyOp) Create(ctx context.Context, param *iaas.SSHKeyCreateRequest) (*iaas.SSHKey, error)
- func (o *SSHKeyOp) Delete(ctx context.Context, id types.ID) error
- func (o *SSHKeyOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.SSHKeyFindResult, error)
- func (o *SSHKeyOp) Generate(ctx context.Context, param *iaas.SSHKeyGenerateRequest) (*iaas.SSHKeyGenerated, error)
- func (o *SSHKeyOp) Read(ctx context.Context, id types.ID) (*iaas.SSHKey, error)
- func (o *SSHKeyOp) Update(ctx context.Context, id types.ID, param *iaas.SSHKeyUpdateRequest) (*iaas.SSHKey, error)
- type ServerOp
- func (o *ServerOp) Boot(ctx context.Context, zone string, id types.ID) error
- func (o *ServerOp) BootWithVariables(ctx context.Context, zone string, id types.ID, param *iaas.ServerBootVariables) error
- func (o *ServerOp) ChangePlan(ctx context.Context, zone string, id types.ID, ...) (*iaas.Server, error)
- func (o *ServerOp) Create(ctx context.Context, zone string, param *iaas.ServerCreateRequest) (*iaas.Server, error)
- func (o *ServerOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *ServerOp) DeleteWithDisks(ctx context.Context, zone string, id types.ID, ...) error
- func (o *ServerOp) EjectCDROM(ctx context.Context, zone string, id types.ID, ...) error
- func (o *ServerOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.ServerFindResult, error)
- func (o *ServerOp) GetVNCProxy(ctx context.Context, zone string, id types.ID) (*iaas.VNCProxyInfo, error)
- func (o *ServerOp) InsertCDROM(ctx context.Context, zone string, id types.ID, ...) error
- func (o *ServerOp) Monitor(ctx context.Context, zone string, id types.ID, ...) (*iaas.CPUTimeActivity, error)
- func (o *ServerOp) MonitorCPU(ctx context.Context, zone string, id types.ID, ...) (*iaas.CPUTimeActivity, error)
- func (o *ServerOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.Server, error)
- func (o *ServerOp) Reset(ctx context.Context, zone string, id types.ID) error
- func (o *ServerOp) SendKey(ctx context.Context, zone string, id types.ID, ...) error
- func (o *ServerOp) SendNMI(ctx context.Context, zone string, id types.ID) error
- func (o *ServerOp) Shutdown(ctx context.Context, zone string, id types.ID, ...) error
- func (o *ServerOp) Update(ctx context.Context, zone string, id types.ID, param *iaas.ServerUpdateRequest) (*iaas.Server, error)
- type ServerPlanOp
- type ServiceClassOp
- type SimpleMonitorOp
- func (o *SimpleMonitorOp) Create(ctx context.Context, param *iaas.SimpleMonitorCreateRequest) (*iaas.SimpleMonitor, error)
- func (o *SimpleMonitorOp) Delete(ctx context.Context, id types.ID) error
- func (o *SimpleMonitorOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.SimpleMonitorFindResult, error)
- func (o *SimpleMonitorOp) HealthStatus(ctx context.Context, id types.ID) (*iaas.SimpleMonitorHealthStatus, error)
- func (o *SimpleMonitorOp) MonitorResponseTime(ctx context.Context, id types.ID, condition *iaas.MonitorCondition) (*iaas.ResponseTimeSecActivity, error)
- func (o *SimpleMonitorOp) Read(ctx context.Context, id types.ID) (*iaas.SimpleMonitor, error)
- func (o *SimpleMonitorOp) Update(ctx context.Context, id types.ID, param *iaas.SimpleMonitorUpdateRequest) (*iaas.SimpleMonitor, error)
- func (o *SimpleMonitorOp) UpdateSettings(ctx context.Context, id types.ID, ...) (*iaas.SimpleMonitor, error)
- type Store
- type SubnetOp
- type SwitchOp
- func (o *SwitchOp) ConnectToBridge(ctx context.Context, zone string, id types.ID, bridgeID types.ID) error
- func (o *SwitchOp) Create(ctx context.Context, zone string, param *iaas.SwitchCreateRequest) (*iaas.Switch, error)
- func (o *SwitchOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *SwitchOp) DisconnectFromBridge(ctx context.Context, zone string, id types.ID) error
- func (o *SwitchOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.SwitchFindResult, error)
- func (o *SwitchOp) GetServers(ctx context.Context, zone string, id types.ID) (*iaas.SwitchGetServersResult, error)
- func (o *SwitchOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.Switch, error)
- func (o *SwitchOp) Update(ctx context.Context, zone string, id types.ID, param *iaas.SwitchUpdateRequest) (*iaas.Switch, error)
- type VPCRouterOp
- func (o *VPCRouterOp) Boot(ctx context.Context, zone string, id types.ID) error
- func (o *VPCRouterOp) Config(ctx context.Context, zone string, id types.ID) error
- func (o *VPCRouterOp) ConnectToSwitch(ctx context.Context, zone string, id types.ID, nicIndex int, switchID types.ID) error
- func (o *VPCRouterOp) Create(ctx context.Context, zone string, param *iaas.VPCRouterCreateRequest) (*iaas.VPCRouter, error)
- func (o *VPCRouterOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *VPCRouterOp) DisconnectFromSwitch(ctx context.Context, zone string, id types.ID, nicIndex int) error
- func (o *VPCRouterOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.VPCRouterFindResult, error)
- func (o *VPCRouterOp) Logs(ctx context.Context, zone string, id types.ID) (*iaas.VPCRouterLog, error)
- func (o *VPCRouterOp) MonitorCPU(ctx context.Context, zone string, id types.ID, ...) (*iaas.CPUTimeActivity, error)
- func (o *VPCRouterOp) MonitorInterface(ctx context.Context, zone string, id types.ID, index int, ...) (*iaas.InterfaceActivity, error)
- func (o *VPCRouterOp) Ping(ctx context.Context, zone string, id types.ID, destination string) (*iaas.VPCRouterPingResults, error)
- func (o *VPCRouterOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.VPCRouter, error)
- func (o *VPCRouterOp) Reset(ctx context.Context, zone string, id types.ID) error
- func (o *VPCRouterOp) Shutdown(ctx context.Context, zone string, id types.ID, ...) error
- func (o *VPCRouterOp) Status(ctx context.Context, zone string, id types.ID) (*iaas.VPCRouterStatus, error)
- func (o *VPCRouterOp) Update(ctx context.Context, zone string, id types.ID, ...) (*iaas.VPCRouter, error)
- func (o *VPCRouterOp) UpdateSettings(ctx context.Context, zone string, id types.ID, ...) (*iaas.VPCRouter, error)
- type ZoneOp
Constants ¶
const ( // ResourceArchive is resource key of fake store ResourceArchive = "Archive" // ResourceAuthStatus is resource key of fake store ResourceAuthStatus = "AuthStatus" // ResourceAutoBackup is resource key of fake store ResourceAutoBackup = "AutoBackup" // ResourceAutoScale is resource key of fake store ResourceAutoScale = "AutoScale" // ResourceBill is resource key of fake store ResourceBill = "Bill" // ResourceBridge is resource key of fake store ResourceBridge = "Bridge" // ResourceCDROM is resource key of fake store ResourceCDROM = "CDROM" // ResourceCertificateAuthority is resource key of fake store ResourceCertificateAuthority = "CertificateAuthority" // ResourceContainerRegistry is resource key of fake store ResourceContainerRegistry = "ContainerRegistry" // ResourceCoupon is resource key of fake store ResourceCoupon = "Coupon" // ResourceDatabase is resource key of fake store ResourceDatabase = "Database" // ResourceDisk is resource key of fake store ResourceDisk = "Disk" // ResourceDiskPlan is resource key of fake store ResourceDiskPlan = "DiskPlan" // ResourceDNS is resource key of fake store ResourceDNS = "DNS" // ResourceEnhancedDB is resource key of fake store ResourceEnhancedDB = "EnhancedDB" // ResourceESME is resource key of fake store ResourceESME = "ESME" // ResourceGSLB is resource key of fake store ResourceGSLB = "GSLB" // ResourceIcon is resource key of fake store ResourceIcon = "Icon" // ResourceInterface is resource key of fake store ResourceInterface = "Interface" // ResourceInternet is resource key of fake store ResourceInternet = "Internet" // ResourceInternetPlan is resource key of fake store ResourceInternetPlan = "InternetPlan" // ResourceIPAddress is resource key of fake store ResourceIPAddress = "IPAddress" // ResourceIPv6Net is resource key of fake store ResourceIPv6Net = "IPv6Net" // ResourceIPv6Addr is resource key of fake store ResourceIPv6Addr = "IPv6Addr" // ResourceLicense is resource key of fake store ResourceLicense = "License" // ResourceLicenseInfo is resource key of fake store ResourceLicenseInfo = "LicenseInfo" // ResourceLoadBalancer is resource key of fake store ResourceLoadBalancer = "LoadBalancer" // ResourceLocalRouter is resource key of fake store ResourceLocalRouter = "LocalRouter" // ResourceMobileGateway is resource key of fake store ResourceMobileGateway = "MobileGateway" // ResourceNFS is resource key of fake store ResourceNFS = "NFS" // ResourceNote is resource key of fake store ResourceNote = "Note" // ResourcePacketFilter is resource key of fake store ResourcePacketFilter = "PacketFilter" // ResourcePrivateHost is resource key of fake store ResourcePrivateHost = "PrivateHost" // ResourcePrivateHostPlan is resource key of fake store ResourcePrivateHostPlan = "PrivateHostPlan" // ResourceProxyLB is resource key of fake store ResourceProxyLB = "ProxyLB" // ResourceRegion is resource key of fake store ResourceRegion = "Region" // ResourceServer is resource key of fake store ResourceServer = "Server" // ResourceServerPlan is resource key of fake store ResourceServerPlan = "ServerPlan" // ResourceServiceClass is resource key of fake store ResourceServiceClass = "ServiceClass" // ResourceSIM is resource key of fake store ResourceSIM = "SIM" // ResourceSimpleMonitor is resource key of fake store ResourceSimpleMonitor = "SimpleMonitor" // ResourceSSHKey is resource key of fake store ResourceSSHKey = "SSHKey" // ResourceSubnet is resource key of fake store ResourceSubnet = "Subnet" // ResourceSwitch is resource key of fake store ResourceSwitch = "Switch" // ResourceVPCRouter is resource key of fake store ResourceVPCRouter = "VPCRouter" // ResourceZone is resource key of fake store ResourceZone = "Zone" )
Variables ¶
var ( // GeneratedPublicKey ダミー公開鍵 GeneratedPublicKey = `` /* 381-byte string literal not displayed */ // GeneratedPrivateKey ダミー秘密鍵 GeneratedPrivateKey = `` /* 1773-byte string literal not displayed */ // GeneratedFingerprint ダミーフィンガープリント GeneratedFingerprint = "79:d7:ac:b8:cf:cf:01:44:b2:19:ba:d4:82:fd:c4:2d" )
var ( // DiskCopyDuration ディスクコピー処理のtickerで利用するduration DiskCopyDuration = 10 * time.Millisecond // PowerOnDuration 電源On処理のtickerで利用するduration PowerOnDuration = 10 * time.Millisecond // PowerOffDuration 電源Off処理のtickerで利用するduration PowerOffDuration = 10 * time.Millisecond )
Functions ¶
func NewAuthStatusOp ¶
func NewAuthStatusOp() iaas.AuthStatusAPI
NewAuthStatusOp creates new AuthStatusOp instance
func NewAutoBackupOp ¶
func NewAutoBackupOp() iaas.AutoBackupAPI
NewAutoBackupOp creates new AutoBackupOp instance
func NewAutoScaleOp ¶ added in v1.1.0
func NewAutoScaleOp() iaas.AutoScaleAPI
NewAutoScaleOp creates new AutoScaleOp instance
func NewCertificateAuthorityOp ¶
func NewCertificateAuthorityOp() iaas.CertificateAuthorityAPI
NewCertificateAuthorityOp creates new CertificateAuthorityOp instance
func NewContainerRegistryOp ¶
func NewContainerRegistryOp() iaas.ContainerRegistryAPI
NewContainerRegistryOp creates new ContainerRegistryOp instance
func NewDatabaseOp ¶
func NewDatabaseOp() iaas.DatabaseAPI
NewDatabaseOp creates new DatabaseOp instance
func NewDiskPlanOp ¶
func NewDiskPlanOp() iaas.DiskPlanAPI
NewDiskPlanOp creates new DiskPlanOp instance
func NewEnhancedDBOp ¶
func NewEnhancedDBOp() iaas.EnhancedDBAPI
NewEnhancedDBOp creates new EnhancedDBOp instance
func NewIPAddressOp ¶
func NewIPAddressOp() iaas.IPAddressAPI
NewIPAddressOp creates new IPAddressOp instance
func NewIPv6AddrOp ¶
func NewIPv6AddrOp() iaas.IPv6AddrAPI
NewIPv6AddrOp creates new IPv6AddrOp instance
func NewInterfaceOp ¶
func NewInterfaceOp() iaas.InterfaceAPI
NewInterfaceOp creates new InterfaceOp instance
func NewInternetOp ¶
func NewInternetOp() iaas.InternetAPI
NewInternetOp creates new InternetOp instance
func NewInternetPlanOp ¶
func NewInternetPlanOp() iaas.InternetPlanAPI
NewInternetPlanOp creates new InternetPlanOp instance
func NewLicenseInfoOp ¶
func NewLicenseInfoOp() iaas.LicenseInfoAPI
NewLicenseInfoOp creates new LicenseInfoOp instance
func NewLoadBalancerOp ¶
func NewLoadBalancerOp() iaas.LoadBalancerAPI
NewLoadBalancerOp creates new LoadBalancerOp instance
func NewLocalRouterOp ¶
func NewLocalRouterOp() iaas.LocalRouterAPI
NewLocalRouterOp creates new LocalRouterOp instance
func NewMobileGatewayOp ¶
func NewMobileGatewayOp() iaas.MobileGatewayAPI
NewMobileGatewayOp creates new MobileGatewayOp instance
func NewPacketFilterOp ¶
func NewPacketFilterOp() iaas.PacketFilterAPI
NewPacketFilterOp creates new PacketFilterOp instance
func NewPrivateHostOp ¶
func NewPrivateHostOp() iaas.PrivateHostAPI
NewPrivateHostOp creates new PrivateHostOp instance
func NewPrivateHostPlanOp ¶
func NewPrivateHostPlanOp() iaas.PrivateHostPlanAPI
NewPrivateHostPlanOp creates new PrivateHostPlanOp instance
func NewServerPlanOp ¶
func NewServerPlanOp() iaas.ServerPlanAPI
NewServerPlanOp creates new ServerPlanOp instance
func NewServiceClassOp ¶
func NewServiceClassOp() iaas.ServiceClassAPI
NewServiceClassOp creates new ServiceClassOp instance
func NewSimpleMonitorOp ¶
func NewSimpleMonitorOp() iaas.SimpleMonitorAPI
NewSimpleMonitorOp creates new SimpleMonitorOp instance
func NewVPCRouterOp ¶
func NewVPCRouterOp() iaas.VPCRouterAPI
NewVPCRouterOp creates new VPCRouterOp instance
func SwitchFactoryFuncToFake ¶
func SwitchFactoryFuncToFake()
SwitchFactoryFuncToFake switches iaas.xxxAPI's factory methods to use fake client
Types ¶
type ArchiveOp ¶
type ArchiveOp struct {
// contains filtered or unexported fields
}
ArchiveOp is fake implementation of ArchiveAPI interface
func (*ArchiveOp) Create ¶
func (o *ArchiveOp) Create(ctx context.Context, zone string, param *iaas.ArchiveCreateRequest) (*iaas.Archive, error)
Create is fake implementation
func (*ArchiveOp) CreateBlank ¶
func (o *ArchiveOp) CreateBlank(ctx context.Context, zone string, param *iaas.ArchiveCreateBlankRequest) (*iaas.Archive, *iaas.FTPServer, error)
CreateBlank is fake implementation
func (*ArchiveOp) CreateFromShared ¶
func (o *ArchiveOp) CreateFromShared(ctx context.Context, zone string, sourceArchiveID types.ID, zoneID types.ID, param *iaas.ArchiveCreateRequestFromShared) (*iaas.Archive, error)
CreateFromShared is fake implementation
func (*ArchiveOp) Find ¶
func (o *ArchiveOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.ArchiveFindResult, error)
Find is fake implementation
func (*ArchiveOp) OpenFTP ¶
func (o *ArchiveOp) OpenFTP(ctx context.Context, zone string, id types.ID, openOption *iaas.OpenFTPRequest) (*iaas.FTPServer, error)
OpenFTP is fake implementation
func (*ArchiveOp) Share ¶
func (o *ArchiveOp) Share(ctx context.Context, zone string, id types.ID) (*iaas.ArchiveShareInfo, error)
Share is fake implementation
type AuthStatusOp ¶
type AuthStatusOp struct {
// contains filtered or unexported fields
}
AuthStatusOp is fake implementation of AuthStatusAPI interface
type AutoBackupOp ¶
type AutoBackupOp struct {
// contains filtered or unexported fields
}
AutoBackupOp is fake implementation of AutoBackupAPI interface
func (*AutoBackupOp) Create ¶
func (o *AutoBackupOp) Create(ctx context.Context, zone string, param *iaas.AutoBackupCreateRequest) (*iaas.AutoBackup, error)
Create is fake implementation
func (*AutoBackupOp) Find ¶
func (o *AutoBackupOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.AutoBackupFindResult, error)
Find is fake implementation
func (*AutoBackupOp) Read ¶
func (o *AutoBackupOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.AutoBackup, error)
Read is fake implementation
func (*AutoBackupOp) Update ¶
func (o *AutoBackupOp) Update(ctx context.Context, zone string, id types.ID, param *iaas.AutoBackupUpdateRequest) (*iaas.AutoBackup, error)
Update is fake implementation
func (*AutoBackupOp) UpdateSettings ¶
func (o *AutoBackupOp) UpdateSettings(ctx context.Context, zone string, id types.ID, param *iaas.AutoBackupUpdateSettingsRequest) (*iaas.AutoBackup, error)
UpdateSettings is fake implementation
type AutoScaleOp ¶ added in v1.1.0
type AutoScaleOp struct {
// contains filtered or unexported fields
}
AutoScaleOp is fake implementation of AutoScaleAPI interface
func (*AutoScaleOp) Create ¶ added in v1.1.0
func (o *AutoScaleOp) Create(ctx context.Context, param *iaas.AutoScaleCreateRequest) (*iaas.AutoScale, error)
Create is fake implementation
func (*AutoScaleOp) Find ¶ added in v1.1.0
func (o *AutoScaleOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.AutoScaleFindResult, error)
Find is fake implementation
func (*AutoScaleOp) Update ¶ added in v1.1.0
func (o *AutoScaleOp) Update(ctx context.Context, id types.ID, param *iaas.AutoScaleUpdateRequest) (*iaas.AutoScale, error)
Update is fake implementation
func (*AutoScaleOp) UpdateSettings ¶ added in v1.1.0
func (o *AutoScaleOp) UpdateSettings(ctx context.Context, id types.ID, param *iaas.AutoScaleUpdateSettingsRequest) (*iaas.AutoScale, error)
UpdateSettings is fake implementation
type BillOp ¶
type BillOp struct {
// contains filtered or unexported fields
}
BillOp is fake implementation of BillAPI interface
func (*BillOp) ByContract ¶
func (o *BillOp) ByContract(ctx context.Context, accountID types.ID) (*iaas.BillByContractResult, error)
ByContract is fake implementation
func (*BillOp) ByContractYear ¶
func (o *BillOp) ByContractYear(ctx context.Context, accountID types.ID, year int) (*iaas.BillByContractYearResult, error)
ByContractYear is fake implementation
func (*BillOp) ByContractYearMonth ¶
func (o *BillOp) ByContractYearMonth(ctx context.Context, accountID types.ID, year int, month int) (*iaas.BillByContractYearMonthResult, error)
ByContractYearMonth is fake implementation
func (*BillOp) Details ¶
func (o *BillOp) Details(ctx context.Context, memberCode string, id types.ID) (*iaas.BillDetailsResult, error)
Details is fake implementation
type BridgeOp ¶
type BridgeOp struct {
// contains filtered or unexported fields
}
BridgeOp is fake implementation of BridgeAPI interface
func (*BridgeOp) Create ¶
func (o *BridgeOp) Create(ctx context.Context, zone string, param *iaas.BridgeCreateRequest) (*iaas.Bridge, error)
Create is fake implementation
func (*BridgeOp) Find ¶
func (o *BridgeOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.BridgeFindResult, error)
Find is fake implementation
type CDROMOp ¶
type CDROMOp struct {
// contains filtered or unexported fields
}
CDROMOp is fake implementation of CDROMAPI interface
func (*CDROMOp) Create ¶
func (o *CDROMOp) Create(ctx context.Context, zone string, param *iaas.CDROMCreateRequest) (*iaas.CDROM, *iaas.FTPServer, error)
Create is fake implementation
func (*CDROMOp) Find ¶
func (o *CDROMOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.CDROMFindResult, error)
Find is fake implementation
func (*CDROMOp) OpenFTP ¶
func (o *CDROMOp) OpenFTP(ctx context.Context, zone string, id types.ID, openOption *iaas.OpenFTPRequest) (*iaas.FTPServer, error)
OpenFTP is fake implementation
type CertificateAuthorityOp ¶
type CertificateAuthorityOp struct {
// contains filtered or unexported fields
}
CertificateAuthorityOp is fake implementation of CertificateAuthorityAPI interface
func (*CertificateAuthorityOp) Create ¶
func (o *CertificateAuthorityOp) Create(ctx context.Context, param *iaas.CertificateAuthorityCreateRequest) (*iaas.CertificateAuthority, error)
Create is fake implementation
func (*CertificateAuthorityOp) DenyClient ¶
func (*CertificateAuthorityOp) Find ¶
func (o *CertificateAuthorityOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.CertificateAuthorityFindResult, error)
Find is fake implementation
func (*CertificateAuthorityOp) HoldClient ¶
func (*CertificateAuthorityOp) HoldServer ¶
func (*CertificateAuthorityOp) ListClients ¶
func (*CertificateAuthorityOp) ListServers ¶
func (*CertificateAuthorityOp) Read ¶
func (o *CertificateAuthorityOp) Read(ctx context.Context, id types.ID) (*iaas.CertificateAuthority, error)
Read is fake implementation
func (*CertificateAuthorityOp) ReadClient ¶
func (*CertificateAuthorityOp) ReadServer ¶
func (*CertificateAuthorityOp) ResumeClient ¶
func (*CertificateAuthorityOp) ResumeServer ¶
func (*CertificateAuthorityOp) RevokeClient ¶
func (*CertificateAuthorityOp) RevokeServer ¶
type ContainerRegistryOp ¶
type ContainerRegistryOp struct {
// contains filtered or unexported fields
}
ContainerRegistryOp is fake implementation of ContainerRegistryAPI interface
func (*ContainerRegistryOp) AddUser ¶
func (o *ContainerRegistryOp) AddUser(ctx context.Context, id types.ID, param *iaas.ContainerRegistryUserCreateRequest) error
AddUser is fake implementation
func (*ContainerRegistryOp) Create ¶
func (o *ContainerRegistryOp) Create(ctx context.Context, param *iaas.ContainerRegistryCreateRequest) (*iaas.ContainerRegistry, error)
Create is fake implementation
func (*ContainerRegistryOp) DeleteUser ¶
DeleteUser is fake implementation
func (*ContainerRegistryOp) Find ¶
func (o *ContainerRegistryOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.ContainerRegistryFindResult, error)
Find is fake implementation
func (*ContainerRegistryOp) ListUsers ¶
func (o *ContainerRegistryOp) ListUsers(ctx context.Context, id types.ID) (*iaas.ContainerRegistryUsers, error)
ListUsers is fake implementation
func (*ContainerRegistryOp) Read ¶
func (o *ContainerRegistryOp) Read(ctx context.Context, id types.ID) (*iaas.ContainerRegistry, error)
Read is fake implementation
func (*ContainerRegistryOp) Update ¶
func (o *ContainerRegistryOp) Update(ctx context.Context, id types.ID, param *iaas.ContainerRegistryUpdateRequest) (*iaas.ContainerRegistry, error)
Update is fake implementation
func (*ContainerRegistryOp) UpdateSettings ¶
func (o *ContainerRegistryOp) UpdateSettings(ctx context.Context, id types.ID, param *iaas.ContainerRegistryUpdateSettingsRequest) (*iaas.ContainerRegistry, error)
UpdateSettings is fake implementation
func (*ContainerRegistryOp) UpdateUser ¶
func (o *ContainerRegistryOp) UpdateUser(ctx context.Context, id types.ID, username string, param *iaas.ContainerRegistryUserUpdateRequest) error
UpdateUser is fake implementation
type CouponOp ¶
type CouponOp struct {
// contains filtered or unexported fields
}
CouponOp is fake implementation of CouponAPI interface
type DNSOp ¶
type DNSOp struct {
// contains filtered or unexported fields
}
DNSOp is fake implementation of DNSAPI interface
func (*DNSOp) Find ¶
func (o *DNSOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.DNSFindResult, error)
Find is fake implementation
type DatabaseOp ¶
type DatabaseOp struct {
// contains filtered or unexported fields
}
DatabaseOp is fake implementation of DatabaseAPI interface
func (*DatabaseOp) Create ¶
func (o *DatabaseOp) Create(ctx context.Context, zone string, param *iaas.DatabaseCreateRequest) (*iaas.Database, error)
Create is fake implementation
func (*DatabaseOp) Find ¶
func (o *DatabaseOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.DatabaseFindResult, error)
Find is fake implementation
func (*DatabaseOp) GetParameter ¶
func (*DatabaseOp) MonitorCPU ¶
func (o *DatabaseOp) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.CPUTimeActivity, error)
MonitorCPU is fake implementation
func (*DatabaseOp) MonitorDatabase ¶
func (o *DatabaseOp) MonitorDatabase(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.DatabaseActivity, error)
MonitorDatabase is fake implementation
func (*DatabaseOp) MonitorDisk ¶
func (o *DatabaseOp) MonitorDisk(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.DiskActivity, error)
MonitorDisk is fake implementation
func (*DatabaseOp) MonitorInterface ¶
func (o *DatabaseOp) MonitorInterface(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.InterfaceActivity, error)
MonitorInterface is fake implementation
func (*DatabaseOp) SetParameter ¶
func (*DatabaseOp) Shutdown ¶
func (o *DatabaseOp) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *iaas.ShutdownOption) error
Shutdown is fake implementation
func (*DatabaseOp) Status ¶
func (o *DatabaseOp) Status(ctx context.Context, zone string, id types.ID) (*iaas.DatabaseStatus, error)
Status is fake implementation
func (*DatabaseOp) Update ¶
func (o *DatabaseOp) Update(ctx context.Context, zone string, id types.ID, param *iaas.DatabaseUpdateRequest) (*iaas.Database, error)
Update is fake implementation
func (*DatabaseOp) UpdateSettings ¶
func (o *DatabaseOp) UpdateSettings(ctx context.Context, zone string, id types.ID, param *iaas.DatabaseUpdateSettingsRequest) (*iaas.Database, error)
UpdateSettings is fake implementation
type DiskOp ¶
type DiskOp struct {
// contains filtered or unexported fields
}
DiskOp is fake implementation of DiskAPI interface
func (*DiskOp) Config ¶
func (o *DiskOp) Config(ctx context.Context, zone string, id types.ID, edit *iaas.DiskEditRequest) error
Config is fake implementation
func (*DiskOp) ConnectToServer ¶
func (o *DiskOp) ConnectToServer(ctx context.Context, zone string, id types.ID, serverID types.ID) error
ConnectToServer is fake implementation
func (*DiskOp) Create ¶
func (o *DiskOp) Create(ctx context.Context, zone string, param *iaas.DiskCreateRequest, distantFrom []types.ID) (*iaas.Disk, error)
Create is fake implementation
func (*DiskOp) CreateWithConfig ¶
func (o *DiskOp) CreateWithConfig(ctx context.Context, zone string, createParam *iaas.DiskCreateRequest, editParam *iaas.DiskEditRequest, bootAtAvailable bool, distantFrom []types.ID) (*iaas.Disk, error)
CreateWithConfig is fake implementation
func (*DiskOp) DisconnectFromServer ¶
DisconnectFromServer is fake implementation
func (*DiskOp) Find ¶
func (o *DiskOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.DiskFindResult, error)
Find is fake implementation
func (*DiskOp) Monitor ¶
func (o *DiskOp) Monitor(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.DiskActivity, error)
Monitor is fake implementation
func (*DiskOp) MonitorDisk ¶
func (o *DiskOp) MonitorDisk(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.DiskActivity, error)
MonitorDisk is fake implementation
type DiskPlanOp ¶
type DiskPlanOp struct {
// contains filtered or unexported fields
}
DiskPlanOp is fake implementation of DiskPlanAPI interface
type ESMEOp ¶
type ESMEOp struct {
// contains filtered or unexported fields
}
ESMEOp is fake implementation of ESMEAPI interface
func (*ESMEOp) Find ¶
func (o *ESMEOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.ESMEFindResult, error)
Find is fake implementation
func (*ESMEOp) SendMessageWithGeneratedOTP ¶
func (*ESMEOp) SendMessageWithInputtedOTP ¶
type EnhancedDBOp ¶
type EnhancedDBOp struct {
// contains filtered or unexported fields
}
EnhancedDBOp is fake implementation of EnhancedDBAPI interface
func (*EnhancedDBOp) Create ¶
func (o *EnhancedDBOp) Create(ctx context.Context, param *iaas.EnhancedDBCreateRequest) (*iaas.EnhancedDB, error)
Create is fake implementation
func (*EnhancedDBOp) Find ¶
func (o *EnhancedDBOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.EnhancedDBFindResult, error)
Find is fake implementation
func (*EnhancedDBOp) SetPassword ¶
func (o *EnhancedDBOp) SetPassword(ctx context.Context, id types.ID, param *iaas.EnhancedDBSetPasswordRequest) error
SetPassword is fake implementation
type GSLBOp ¶
type GSLBOp struct {
// contains filtered or unexported fields
}
GSLBOp is fake implementation of GSLBAPI interface
func (*GSLBOp) Find ¶
func (o *GSLBOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.GSLBFindResult, error)
Find is fake implementation
type IPAddressOp ¶
type IPAddressOp struct {
// contains filtered or unexported fields
}
IPAddressOp is fake implementation of IPAddressAPI interface
func (*IPAddressOp) List ¶
func (o *IPAddressOp) List(ctx context.Context, zone string) (*iaas.IPAddressListResult, error)
List is fake implementation
func (*IPAddressOp) Read ¶
func (o *IPAddressOp) Read(ctx context.Context, zone string, ipAddress string) (*iaas.IPAddress, error)
Read is fake implementation
func (*IPAddressOp) UpdateHostName ¶
func (o *IPAddressOp) UpdateHostName(ctx context.Context, zone string, ipAddress string, hostName string) (*iaas.IPAddress, error)
UpdateHostName is fake implementation
type IPv6AddrOp ¶
type IPv6AddrOp struct {
// contains filtered or unexported fields
}
IPv6AddrOp is fake implementation of IPv6AddrAPI interface
func (*IPv6AddrOp) Create ¶
func (o *IPv6AddrOp) Create(ctx context.Context, zone string, param *iaas.IPv6AddrCreateRequest) (*iaas.IPv6Addr, error)
Create is fake implementation
func (*IPv6AddrOp) Find ¶
func (o *IPv6AddrOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.IPv6AddrFindResult, error)
Find is fake implementation
type IPv6NetOp ¶
type IPv6NetOp struct {
// contains filtered or unexported fields
}
IPv6NetOp is fake implementation of IPv6NetAPI interface
func (*IPv6NetOp) Find ¶
func (o *IPv6NetOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.IPv6NetFindResult, error)
List is fake implementation
type IconOp ¶
type IconOp struct {
// contains filtered or unexported fields
}
IconOp is fake implementation of IconAPI interface
func (*IconOp) Find ¶
func (o *IconOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.IconFindResult, error)
Find is fake implementation
type InMemoryStore ¶
type InMemoryStore struct {
// contains filtered or unexported fields
}
InMemoryStore データをメモリ上に保存するためのデータストア
func (*InMemoryStore) Delete ¶
func (s *InMemoryStore) Delete(resourceKey, zone string, id types.ID)
Delete .
func (*InMemoryStore) Get ¶
func (s *InMemoryStore) Get(resourceKey, zone string, id types.ID) interface{}
Get .
func (*InMemoryStore) List ¶
func (s *InMemoryStore) List(resourceKey, zone string) []interface{}
List .
type InterfaceOp ¶
type InterfaceOp struct {
// contains filtered or unexported fields
}
InterfaceOp is fake implementation of InterfaceAPI interface
func (*InterfaceOp) ConnectToPacketFilter ¶
func (o *InterfaceOp) ConnectToPacketFilter(ctx context.Context, zone string, id types.ID, packetFilterID types.ID) error
ConnectToPacketFilter is fake implementation
func (*InterfaceOp) ConnectToSharedSegment ¶
ConnectToSharedSegment is fake implementation
func (*InterfaceOp) ConnectToSwitch ¶
func (o *InterfaceOp) ConnectToSwitch(ctx context.Context, zone string, id types.ID, switchID types.ID) error
ConnectToSwitch is fake implementation
func (*InterfaceOp) Create ¶
func (o *InterfaceOp) Create(ctx context.Context, zone string, param *iaas.InterfaceCreateRequest) (*iaas.Interface, error)
Create is fake implementation
func (*InterfaceOp) DisconnectFromPacketFilter ¶
func (o *InterfaceOp) DisconnectFromPacketFilter(ctx context.Context, zone string, id types.ID) error
DisconnectFromPacketFilter is fake implementation
func (*InterfaceOp) DisconnectFromSwitch ¶
DisconnectFromSwitch is fake implementation
func (*InterfaceOp) Find ¶
func (o *InterfaceOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.InterfaceFindResult, error)
Find is fake implementation
func (*InterfaceOp) Monitor ¶
func (o *InterfaceOp) Monitor(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.InterfaceActivity, error)
Monitor is fake implementation
type InternetOp ¶
type InternetOp struct {
// contains filtered or unexported fields
}
InternetOp is fake implementation of InternetAPI interface
func (*InternetOp) AddSubnet ¶
func (o *InternetOp) AddSubnet(ctx context.Context, zone string, id types.ID, param *iaas.InternetAddSubnetRequest) (*iaas.InternetSubnetOperationResult, error)
AddSubnet is fake implementation
func (*InternetOp) Create ¶
func (o *InternetOp) Create(ctx context.Context, zone string, param *iaas.InternetCreateRequest) (*iaas.Internet, error)
Create is fake implementation
func (*InternetOp) DeleteSubnet ¶
func (o *InternetOp) DeleteSubnet(ctx context.Context, zone string, id types.ID, subnetID types.ID) error
DeleteSubnet is fake implementation
func (*InternetOp) DisableIPv6 ¶
func (o *InternetOp) DisableIPv6(ctx context.Context, zone string, id types.ID, ipv6netID types.ID) error
DisableIPv6 is fake implementation
func (*InternetOp) EnableIPv6 ¶
func (o *InternetOp) EnableIPv6(ctx context.Context, zone string, id types.ID) (*iaas.IPv6NetInfo, error)
EnableIPv6 is fake implementation
func (*InternetOp) Find ¶
func (o *InternetOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.InternetFindResult, error)
Find is fake implementation
func (*InternetOp) Monitor ¶
func (o *InternetOp) Monitor(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.RouterActivity, error)
Monitor is fake implementation
func (*InternetOp) MonitorRouter ¶
func (o *InternetOp) MonitorRouter(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.RouterActivity, error)
MonitorRouter is fake implementation
func (*InternetOp) Update ¶
func (o *InternetOp) Update(ctx context.Context, zone string, id types.ID, param *iaas.InternetUpdateRequest) (*iaas.Internet, error)
Update is fake implementation
func (*InternetOp) UpdateBandWidth ¶
func (o *InternetOp) UpdateBandWidth(ctx context.Context, zone string, id types.ID, param *iaas.InternetUpdateBandWidthRequest) (*iaas.Internet, error)
UpdateBandWidth is fake implementation
type InternetPlanOp ¶
type InternetPlanOp struct {
// contains filtered or unexported fields
}
InternetPlanOp is fake implementation of InternetPlanAPI interface
type JSONFileStore ¶
type JSONFileStore struct { Path string Ctx context.Context NoInitData bool // contains filtered or unexported fields }
JSONFileStore .
func (*JSONFileStore) Delete ¶
func (s *JSONFileStore) Delete(resourceKey, zone string, id types.ID)
Delete .
func (*JSONFileStore) Get ¶
func (s *JSONFileStore) Get(resourceKey, zone string, id types.ID) interface{}
Get .
func (*JSONFileStore) List ¶
func (s *JSONFileStore) List(resourceKey, zone string) []interface{}
List .
type JSONFileStoreData ¶
JSONFileStoreData .
func (JSONFileStoreData) MarshalJSON ¶
func (d JSONFileStoreData) MarshalJSON() ([]byte, error)
MarshalJSON .
func (*JSONFileStoreData) UnmarshalJSON ¶
func (d *JSONFileStoreData) UnmarshalJSON(data []byte) error
UnmarshalJSON .
type LicenseInfoOp ¶
type LicenseInfoOp struct {
// contains filtered or unexported fields
}
LicenseInfoOp is fake implementation of LicenseInfoAPI interface
type LicenseOp ¶
type LicenseOp struct {
// contains filtered or unexported fields
}
LicenseOp is fake implementation of LicenseAPI interface
func (*LicenseOp) Create ¶
func (o *LicenseOp) Create(ctx context.Context, param *iaas.LicenseCreateRequest) (*iaas.License, error)
Create is fake implementation
func (*LicenseOp) Find ¶
func (o *LicenseOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.LicenseFindResult, error)
Find is fake implementation
type LoadBalancerOp ¶
type LoadBalancerOp struct {
// contains filtered or unexported fields
}
LoadBalancerOp is fake implementation of LoadBalancerAPI interface
func (*LoadBalancerOp) Create ¶
func (o *LoadBalancerOp) Create(ctx context.Context, zone string, param *iaas.LoadBalancerCreateRequest) (*iaas.LoadBalancer, error)
Create is fake implementation
func (*LoadBalancerOp) Find ¶
func (o *LoadBalancerOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.LoadBalancerFindResult, error)
Find is fake implementation
func (*LoadBalancerOp) MonitorCPU ¶
func (o *LoadBalancerOp) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.CPUTimeActivity, error)
MonitorCPU is fake implementation
func (*LoadBalancerOp) MonitorInterface ¶
func (o *LoadBalancerOp) MonitorInterface(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.InterfaceActivity, error)
MonitorInterface is fake implementation
func (*LoadBalancerOp) Read ¶
func (o *LoadBalancerOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.LoadBalancer, error)
Read is fake implementation
func (*LoadBalancerOp) Shutdown ¶
func (o *LoadBalancerOp) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *iaas.ShutdownOption) error
Shutdown is fake implementation
func (*LoadBalancerOp) Status ¶
func (o *LoadBalancerOp) Status(ctx context.Context, zone string, id types.ID) (*iaas.LoadBalancerStatusResult, error)
Status is fake implementation
func (*LoadBalancerOp) Update ¶
func (o *LoadBalancerOp) Update(ctx context.Context, zone string, id types.ID, param *iaas.LoadBalancerUpdateRequest) (*iaas.LoadBalancer, error)
Update is fake implementation
func (*LoadBalancerOp) UpdateSettings ¶
func (o *LoadBalancerOp) UpdateSettings(ctx context.Context, zone string, id types.ID, param *iaas.LoadBalancerUpdateSettingsRequest) (*iaas.LoadBalancer, error)
UpdateSettings is fake implementation
type LocalRouterOp ¶
type LocalRouterOp struct {
// contains filtered or unexported fields
}
LocalRouterOp is fake implementation of LocalRouterAPI interface
func (*LocalRouterOp) Create ¶
func (o *LocalRouterOp) Create(ctx context.Context, param *iaas.LocalRouterCreateRequest) (*iaas.LocalRouter, error)
Create is fake implementation
func (*LocalRouterOp) Find ¶
func (o *LocalRouterOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.LocalRouterFindResult, error)
Find is fake implementation
func (*LocalRouterOp) HealthStatus ¶
func (o *LocalRouterOp) HealthStatus(ctx context.Context, id types.ID) (*iaas.LocalRouterHealth, error)
HealthStatus is fake implementation
func (*LocalRouterOp) MonitorLocalRouter ¶
func (o *LocalRouterOp) MonitorLocalRouter(ctx context.Context, id types.ID, condition *iaas.MonitorCondition) (*iaas.LocalRouterActivity, error)
MonitorLocalRouter is fake implementation
func (*LocalRouterOp) Update ¶
func (o *LocalRouterOp) Update(ctx context.Context, id types.ID, param *iaas.LocalRouterUpdateRequest) (*iaas.LocalRouter, error)
Update is fake implementation
func (*LocalRouterOp) UpdateSettings ¶
func (o *LocalRouterOp) UpdateSettings(ctx context.Context, id types.ID, param *iaas.LocalRouterUpdateSettingsRequest) (*iaas.LocalRouter, error)
UpdateSettings is fake implementation
type MobileGatewayOp ¶
type MobileGatewayOp struct {
// contains filtered or unexported fields
}
MobileGatewayOp is fake implementation of MobileGatewayAPI interface
func (*MobileGatewayOp) AddSIM ¶
func (o *MobileGatewayOp) AddSIM(ctx context.Context, zone string, id types.ID, param *iaas.MobileGatewayAddSIMRequest) error
AddSIM is fake implementation
func (*MobileGatewayOp) ConnectToSwitch ¶
func (o *MobileGatewayOp) ConnectToSwitch(ctx context.Context, zone string, id types.ID, switchID types.ID) error
ConnectToSwitch is fake implementation
func (*MobileGatewayOp) Create ¶
func (o *MobileGatewayOp) Create(ctx context.Context, zone string, param *iaas.MobileGatewayCreateRequest) (*iaas.MobileGateway, error)
Create is fake implementation
func (*MobileGatewayOp) DeleteSIM ¶
func (o *MobileGatewayOp) DeleteSIM(ctx context.Context, zone string, id types.ID, simID types.ID) error
DeleteSIM is fake implementation
func (*MobileGatewayOp) DeleteTrafficConfig ¶
DeleteTrafficConfig is fake implementation
func (*MobileGatewayOp) DisconnectFromSwitch ¶
DisconnectFromSwitch is fake implementation
func (*MobileGatewayOp) Find ¶
func (o *MobileGatewayOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.MobileGatewayFindResult, error)
Find is fake implementation
func (*MobileGatewayOp) GetDNS ¶
func (o *MobileGatewayOp) GetDNS(ctx context.Context, zone string, id types.ID) (*iaas.MobileGatewayDNSSetting, error)
GetDNS is fake implementation
func (*MobileGatewayOp) GetSIMRoutes ¶
func (o *MobileGatewayOp) GetSIMRoutes(ctx context.Context, zone string, id types.ID) (iaas.MobileGatewaySIMRoutes, error)
GetSIMRoutes is fake implementation
func (*MobileGatewayOp) GetTrafficConfig ¶
func (o *MobileGatewayOp) GetTrafficConfig(ctx context.Context, zone string, id types.ID) (*iaas.MobileGatewayTrafficControl, error)
GetTrafficConfig is fake implementation
func (*MobileGatewayOp) ListSIM ¶
func (o *MobileGatewayOp) ListSIM(ctx context.Context, zone string, id types.ID) (iaas.MobileGatewaySIMs, error)
ListSIM is fake implementation
func (*MobileGatewayOp) Logs ¶
func (o *MobileGatewayOp) Logs(ctx context.Context, zone string, id types.ID) ([]*iaas.MobileGatewaySIMLogs, error)
Logs is fake implementation
func (*MobileGatewayOp) MonitorInterface ¶
func (o *MobileGatewayOp) MonitorInterface(ctx context.Context, zone string, id types.ID, index int, condition *iaas.MonitorCondition) (*iaas.InterfaceActivity, error)
MonitorInterface is fake implementation
func (*MobileGatewayOp) Read ¶
func (o *MobileGatewayOp) Read(ctx context.Context, zone string, id types.ID) (*iaas.MobileGateway, error)
Read is fake implementation
func (*MobileGatewayOp) SetDNS ¶
func (o *MobileGatewayOp) SetDNS(ctx context.Context, zone string, id types.ID, param *iaas.MobileGatewayDNSSetting) error
SetDNS is fake implementation
func (*MobileGatewayOp) SetSIMRoutes ¶
func (o *MobileGatewayOp) SetSIMRoutes(ctx context.Context, zone string, id types.ID, param []*iaas.MobileGatewaySIMRouteParam) error
SetSIMRoutes is fake implementation
func (*MobileGatewayOp) SetTrafficConfig ¶
func (o *MobileGatewayOp) SetTrafficConfig(ctx context.Context, zone string, id types.ID, param *iaas.MobileGatewayTrafficControl) error
SetTrafficConfig is fake implementation
func (*MobileGatewayOp) Shutdown ¶
func (o *MobileGatewayOp) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *iaas.ShutdownOption) error
Shutdown is fake implementation
func (*MobileGatewayOp) TrafficStatus ¶
func (o *MobileGatewayOp) TrafficStatus(ctx context.Context, zone string, id types.ID) (*iaas.MobileGatewayTrafficStatus, error)
TrafficStatus is fake implementation
func (*MobileGatewayOp) Update ¶
func (o *MobileGatewayOp) Update(ctx context.Context, zone string, id types.ID, param *iaas.MobileGatewayUpdateRequest) (*iaas.MobileGateway, error)
Update is fake implementation
func (*MobileGatewayOp) UpdateSettings ¶
func (o *MobileGatewayOp) UpdateSettings(ctx context.Context, zone string, id types.ID, param *iaas.MobileGatewayUpdateSettingsRequest) (*iaas.MobileGateway, error)
UpdateSettings is fake implementation
type NFSOp ¶
type NFSOp struct {
// contains filtered or unexported fields
}
NFSOp is fake implementation of NFSAPI interface
func (*NFSOp) Create ¶
func (o *NFSOp) Create(ctx context.Context, zone string, param *iaas.NFSCreateRequest) (*iaas.NFS, error)
Create is fake implementation
func (*NFSOp) Find ¶
func (o *NFSOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.NFSFindResult, error)
Find is fake implementation
func (*NFSOp) MonitorCPU ¶
func (o *NFSOp) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.CPUTimeActivity, error)
MonitorCPU is fake implementation
func (*NFSOp) MonitorFreeDiskSize ¶
func (o *NFSOp) MonitorFreeDiskSize(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.FreeDiskSizeActivity, error)
MonitorFreeDiskSize is fake implementation
func (*NFSOp) MonitorInterface ¶
func (o *NFSOp) MonitorInterface(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.InterfaceActivity, error)
MonitorInterface is fake implementation
type NoteOp ¶
type NoteOp struct {
// contains filtered or unexported fields
}
NoteOp is fake implementation of NoteAPI interface
func (*NoteOp) Find ¶
func (o *NoteOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.NoteFindResult, error)
Find is fake implementation
type PacketFilterOp ¶
type PacketFilterOp struct {
// contains filtered or unexported fields
}
PacketFilterOp is fake implementation of PacketFilterAPI interface
func (*PacketFilterOp) Create ¶
func (o *PacketFilterOp) Create(ctx context.Context, zone string, param *iaas.PacketFilterCreateRequest) (*iaas.PacketFilter, error)
Create is fake implementation
func (*PacketFilterOp) Find ¶
func (o *PacketFilterOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.PacketFilterFindResult, error)
Find is fake implementation
type PrivateHostOp ¶
type PrivateHostOp struct {
// contains filtered or unexported fields
}
PrivateHostOp is fake implementation of PrivateHostAPI interface
func (*PrivateHostOp) Create ¶
func (o *PrivateHostOp) Create(ctx context.Context, zone string, param *iaas.PrivateHostCreateRequest) (*iaas.PrivateHost, error)
Create is fake implementation
func (*PrivateHostOp) Find ¶
func (o *PrivateHostOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.PrivateHostFindResult, error)
Find is fake implementation
type PrivateHostPlanOp ¶
type PrivateHostPlanOp struct {
// contains filtered or unexported fields
}
PrivateHostPlanOp is fake implementation of PrivateHostPlanAPI interface
type ProxyLBOp ¶
type ProxyLBOp struct {
// contains filtered or unexported fields
}
ProxyLBOp is fake implementation of ProxyLBAPI interface
func (*ProxyLBOp) ChangePlan ¶
func (o *ProxyLBOp) ChangePlan(ctx context.Context, id types.ID, param *iaas.ProxyLBChangePlanRequest) (*iaas.ProxyLB, error)
ChangePlan is fake implementation
func (*ProxyLBOp) Create ¶
func (o *ProxyLBOp) Create(ctx context.Context, param *iaas.ProxyLBCreateRequest) (*iaas.ProxyLB, error)
Create is fake implementation
func (*ProxyLBOp) DeleteCertificates ¶
DeleteCertificates is fake implementation
func (*ProxyLBOp) Find ¶
func (o *ProxyLBOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.ProxyLBFindResult, error)
Find is fake implementation
func (*ProxyLBOp) GetCertificates ¶
func (o *ProxyLBOp) GetCertificates(ctx context.Context, id types.ID) (*iaas.ProxyLBCertificates, error)
GetCertificates is fake implementation
func (*ProxyLBOp) HealthStatus ¶
HealthStatus is fake implementation
func (*ProxyLBOp) MonitorConnection ¶
func (o *ProxyLBOp) MonitorConnection(ctx context.Context, id types.ID, condition *iaas.MonitorCondition) (*iaas.ConnectionActivity, error)
MonitorConnection is fake implementation
func (*ProxyLBOp) RenewLetsEncryptCert ¶
RenewLetsEncryptCert is fake implementation
func (*ProxyLBOp) SetCertificates ¶
func (o *ProxyLBOp) SetCertificates(ctx context.Context, id types.ID, param *iaas.ProxyLBSetCertificatesRequest) (*iaas.ProxyLBCertificates, error)
SetCertificates is fake implementation
type RegionOp ¶
type RegionOp struct {
// contains filtered or unexported fields
}
RegionOp is fake implementation of RegionAPI interface
type SIMOp ¶
type SIMOp struct {
// contains filtered or unexported fields
}
SIMOp is fake implementation of SIMAPI interface
func (*SIMOp) Deactivate ¶
Deactivate is fake implementation
func (*SIMOp) Find ¶
func (o *SIMOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.SIMFindResult, error)
Find is fake implementation
func (*SIMOp) GetNetworkOperator ¶
func (o *SIMOp) GetNetworkOperator(ctx context.Context, id types.ID) ([]*iaas.SIMNetworkOperatorConfig, error)
GetNetworkOperator is fake implementation
func (*SIMOp) IMEIUnlock ¶
IMEIUnlock is fake implementation
func (*SIMOp) MonitorSIM ¶
func (o *SIMOp) MonitorSIM(ctx context.Context, id types.ID, condition *iaas.MonitorCondition) (*iaas.LinkActivity, error)
MonitorSIM is fake implementation
func (*SIMOp) SetNetworkOperator ¶
func (o *SIMOp) SetNetworkOperator(ctx context.Context, id types.ID, configs []*iaas.SIMNetworkOperatorConfig) error
SetNetworkOperator is fake implementation
type SSHKeyOp ¶
type SSHKeyOp struct {
// contains filtered or unexported fields
}
SSHKeyOp is fake implementation of SSHKeyAPI interface
func (*SSHKeyOp) Create ¶
func (o *SSHKeyOp) Create(ctx context.Context, param *iaas.SSHKeyCreateRequest) (*iaas.SSHKey, error)
Create is fake implementation
func (*SSHKeyOp) Find ¶
func (o *SSHKeyOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.SSHKeyFindResult, error)
Find is fake implementation
func (*SSHKeyOp) Generate ¶
func (o *SSHKeyOp) Generate(ctx context.Context, param *iaas.SSHKeyGenerateRequest) (*iaas.SSHKeyGenerated, error)
Generate is fake implementation
type ServerOp ¶
type ServerOp struct {
// contains filtered or unexported fields
}
ServerOp is fake implementation of ServerAPI interface
func (*ServerOp) BootWithVariables ¶
func (o *ServerOp) BootWithVariables(ctx context.Context, zone string, id types.ID, param *iaas.ServerBootVariables) error
BootWithVariables is fake implementation
func (*ServerOp) ChangePlan ¶
func (o *ServerOp) ChangePlan(ctx context.Context, zone string, id types.ID, plan *iaas.ServerChangePlanRequest) (*iaas.Server, error)
ChangePlan is fake implementation
func (*ServerOp) Create ¶
func (o *ServerOp) Create(ctx context.Context, zone string, param *iaas.ServerCreateRequest) (*iaas.Server, error)
Create is fake implementation
func (*ServerOp) DeleteWithDisks ¶
func (o *ServerOp) DeleteWithDisks(ctx context.Context, zone string, id types.ID, disks *iaas.ServerDeleteWithDisksRequest) error
DeleteWithDisks is fake implementation
func (*ServerOp) EjectCDROM ¶
func (o *ServerOp) EjectCDROM(ctx context.Context, zone string, id types.ID, insertParam *iaas.EjectCDROMRequest) error
EjectCDROM is fake implementation
func (*ServerOp) Find ¶
func (o *ServerOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.ServerFindResult, error)
Find is fake implementation
func (*ServerOp) GetVNCProxy ¶
func (o *ServerOp) GetVNCProxy(ctx context.Context, zone string, id types.ID) (*iaas.VNCProxyInfo, error)
GetVNCProxy is fake implementation
func (*ServerOp) InsertCDROM ¶
func (o *ServerOp) InsertCDROM(ctx context.Context, zone string, id types.ID, insertParam *iaas.InsertCDROMRequest) error
InsertCDROM is fake implementation
func (*ServerOp) Monitor ¶
func (o *ServerOp) Monitor(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.CPUTimeActivity, error)
Monitor is fake implementation
func (*ServerOp) MonitorCPU ¶
func (o *ServerOp) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.CPUTimeActivity, error)
MonitorCPU is fake implementation
func (*ServerOp) SendKey ¶
func (o *ServerOp) SendKey(ctx context.Context, zone string, id types.ID, keyboardParam *iaas.SendKeyRequest) error
SendKey is fake implementation
type ServerPlanOp ¶
type ServerPlanOp struct {
// contains filtered or unexported fields
}
ServerPlanOp is fake implementation of ServerPlanAPI interface
type ServiceClassOp ¶
type ServiceClassOp struct {
// contains filtered or unexported fields
}
ServiceClassOp is fake implementation of ServiceClassAPI interface
type SimpleMonitorOp ¶
type SimpleMonitorOp struct {
// contains filtered or unexported fields
}
SimpleMonitorOp is fake implementation of SimpleMonitorAPI interface
func (*SimpleMonitorOp) Create ¶
func (o *SimpleMonitorOp) Create(ctx context.Context, param *iaas.SimpleMonitorCreateRequest) (*iaas.SimpleMonitor, error)
Create is fake implementation
func (*SimpleMonitorOp) Find ¶
func (o *SimpleMonitorOp) Find(ctx context.Context, conditions *iaas.FindCondition) (*iaas.SimpleMonitorFindResult, error)
Find is fake implementation
func (*SimpleMonitorOp) HealthStatus ¶
func (o *SimpleMonitorOp) HealthStatus(ctx context.Context, id types.ID) (*iaas.SimpleMonitorHealthStatus, error)
HealthStatus is fake implementation
func (*SimpleMonitorOp) MonitorResponseTime ¶
func (o *SimpleMonitorOp) MonitorResponseTime(ctx context.Context, id types.ID, condition *iaas.MonitorCondition) (*iaas.ResponseTimeSecActivity, error)
MonitorResponseTime is fake implementation
func (*SimpleMonitorOp) Update ¶
func (o *SimpleMonitorOp) Update(ctx context.Context, id types.ID, param *iaas.SimpleMonitorUpdateRequest) (*iaas.SimpleMonitor, error)
Update is fake implementation
func (*SimpleMonitorOp) UpdateSettings ¶
func (o *SimpleMonitorOp) UpdateSettings(ctx context.Context, id types.ID, param *iaas.SimpleMonitorUpdateSettingsRequest) (*iaas.SimpleMonitor, error)
UpdateSettings is fake implementation
type Store ¶
type Store interface { Init() error NeedInitData() bool Put(resourceKey, zone string, id types.ID, value interface{}) Get(resourceKey, zone string, id types.ID) interface{} List(resourceKey, zone string) []interface{} Delete(resourceKey, zone string, id types.ID) }
Store fakeドライバーでのバックエンド(永続化)を担当するドライバーインターフェース
var DataStore Store
DataStore fakeドライバが利用するデータストア
type SubnetOp ¶
type SubnetOp struct {
// contains filtered or unexported fields
}
SubnetOp is fake implementation of SubnetAPI interface
type SwitchOp ¶
type SwitchOp struct {
// contains filtered or unexported fields
}
SwitchOp is fake implementation of SwitchAPI interface
func (*SwitchOp) ConnectToBridge ¶
func (o *SwitchOp) ConnectToBridge(ctx context.Context, zone string, id types.ID, bridgeID types.ID) error
ConnectToBridge is fake implementation
func (*SwitchOp) Create ¶
func (o *SwitchOp) Create(ctx context.Context, zone string, param *iaas.SwitchCreateRequest) (*iaas.Switch, error)
Create is fake implementation
func (*SwitchOp) DisconnectFromBridge ¶
DisconnectFromBridge is fake implementation
func (*SwitchOp) Find ¶
func (o *SwitchOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.SwitchFindResult, error)
Find is fake implementation
func (*SwitchOp) GetServers ¶
func (o *SwitchOp) GetServers(ctx context.Context, zone string, id types.ID) (*iaas.SwitchGetServersResult, error)
GetServers is fake implementation
type VPCRouterOp ¶
type VPCRouterOp struct {
// contains filtered or unexported fields
}
VPCRouterOp is fake implementation of VPCRouterAPI interface
func (*VPCRouterOp) ConnectToSwitch ¶
func (o *VPCRouterOp) ConnectToSwitch(ctx context.Context, zone string, id types.ID, nicIndex int, switchID types.ID) error
ConnectToSwitch is fake implementation
func (*VPCRouterOp) Create ¶
func (o *VPCRouterOp) Create(ctx context.Context, zone string, param *iaas.VPCRouterCreateRequest) (*iaas.VPCRouter, error)
Create is fake implementation
func (*VPCRouterOp) DisconnectFromSwitch ¶
func (o *VPCRouterOp) DisconnectFromSwitch(ctx context.Context, zone string, id types.ID, nicIndex int) error
DisconnectFromSwitch is fake implementation
func (*VPCRouterOp) Find ¶
func (o *VPCRouterOp) Find(ctx context.Context, zone string, conditions *iaas.FindCondition) (*iaas.VPCRouterFindResult, error)
Find is fake implementation
func (*VPCRouterOp) Logs ¶ added in v1.1.0
func (o *VPCRouterOp) Logs(ctx context.Context, zone string, id types.ID) (*iaas.VPCRouterLog, error)
Logs is fake implementation
func (*VPCRouterOp) MonitorCPU ¶
func (o *VPCRouterOp) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *iaas.MonitorCondition) (*iaas.CPUTimeActivity, error)
MonitorCPU is fake implementation
func (*VPCRouterOp) MonitorInterface ¶
func (o *VPCRouterOp) MonitorInterface(ctx context.Context, zone string, id types.ID, index int, condition *iaas.MonitorCondition) (*iaas.InterfaceActivity, error)
MonitorInterface is fake implementation
func (*VPCRouterOp) Shutdown ¶
func (o *VPCRouterOp) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *iaas.ShutdownOption) error
Shutdown is fake implementation
func (*VPCRouterOp) Status ¶
func (o *VPCRouterOp) Status(ctx context.Context, zone string, id types.ID) (*iaas.VPCRouterStatus, error)
Status is fake implementation
func (*VPCRouterOp) Update ¶
func (o *VPCRouterOp) Update(ctx context.Context, zone string, id types.ID, param *iaas.VPCRouterUpdateRequest) (*iaas.VPCRouter, error)
Update is fake implementation
func (*VPCRouterOp) UpdateSettings ¶
func (o *VPCRouterOp) UpdateSettings(ctx context.Context, zone string, id types.ID, param *iaas.VPCRouterUpdateSettingsRequest) (*iaas.VPCRouter, error)
UpdateSettings is fake implementation
Source Files ¶
- functions.go
- in_memory_store.go
- init.go
- initial_values.go
- json_file_store.go
- json_file_store_watcher.go
- ops_archive.go
- ops_auth_status.go
- ops_auto_backup.go
- ops_auto_scale.go
- ops_bill.go
- ops_bridge.go
- ops_cdrom.go
- ops_certificate_authority.go
- ops_container_registry.go
- ops_coupon.go
- ops_database.go
- ops_disk.go
- ops_disk_plan.go
- ops_dns.go
- ops_enhanced_db.go
- ops_esme.go
- ops_gslb.go
- ops_icon.go
- ops_interface.go
- ops_internet.go
- ops_internet_plan.go
- ops_ip_address.go
- ops_ipv6_addr.go
- ops_ipv6_net.go
- ops_license.go
- ops_license_info.go
- ops_load_balancer.go
- ops_local_router.go
- ops_mobile_gateway.go
- ops_nfs.go
- ops_note.go
- ops_packet_filter.go
- ops_private_host.go
- ops_private_host_plan.go
- ops_proxy_lb.go
- ops_region.go
- ops_server.go
- ops_server_plan.go
- ops_service_class.go
- ops_sim.go
- ops_simple_monitor.go
- ops_ssh_key.go
- ops_subnet.go
- ops_switch.go
- ops_vpc_router.go
- ops_zone.go
- pool.go
- store.go
- timer.go
- zz_api_ops.go
- zz_init_archive.go
- zz_init_cdrom.go
- zz_resources.go
- zz_store.go