stub

package
v2.18.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewArchiveStub

func NewArchiveStub(caller sacloud.APICaller) sacloud.ArchiveAPI

NewArchiveStub creates new ArchiveStub instance

func NewAuthStatusStub

func NewAuthStatusStub(caller sacloud.APICaller) sacloud.AuthStatusAPI

NewAuthStatusStub creates new AuthStatusStub instance

func NewAutoBackupStub

func NewAutoBackupStub(caller sacloud.APICaller) sacloud.AutoBackupAPI

NewAutoBackupStub creates new AutoBackupStub instance

func NewBillStub

func NewBillStub(caller sacloud.APICaller) sacloud.BillAPI

NewBillStub creates new BillStub instance

func NewBridgeStub

func NewBridgeStub(caller sacloud.APICaller) sacloud.BridgeAPI

NewBridgeStub creates new BridgeStub instance

func NewCDROMStub

func NewCDROMStub(caller sacloud.APICaller) sacloud.CDROMAPI

NewCDROMStub creates new CDROMStub instance

func NewContainerRegistryStub

func NewContainerRegistryStub(caller sacloud.APICaller) sacloud.ContainerRegistryAPI

NewContainerRegistryStub creates new ContainerRegistryStub instance

func NewCouponStub

func NewCouponStub(caller sacloud.APICaller) sacloud.CouponAPI

NewCouponStub creates new CouponStub instance

func NewDNSStub

func NewDNSStub(caller sacloud.APICaller) sacloud.DNSAPI

NewDNSStub creates new DNSStub instance

func NewDatabaseStub

func NewDatabaseStub(caller sacloud.APICaller) sacloud.DatabaseAPI

NewDatabaseStub creates new DatabaseStub instance

func NewDiskPlanStub

func NewDiskPlanStub(caller sacloud.APICaller) sacloud.DiskPlanAPI

NewDiskPlanStub creates new DiskPlanStub instance

func NewDiskStub

func NewDiskStub(caller sacloud.APICaller) sacloud.DiskAPI

NewDiskStub creates new DiskStub instance

func NewESMEStub added in v2.8.0

func NewESMEStub(caller sacloud.APICaller) sacloud.ESMEAPI

NewESMEStub creates new ESMEStub instance

func NewGSLBStub

func NewGSLBStub(caller sacloud.APICaller) sacloud.GSLBAPI

NewGSLBStub creates new GSLBStub instance

func NewIPAddressStub

func NewIPAddressStub(caller sacloud.APICaller) sacloud.IPAddressAPI

NewIPAddressStub creates new IPAddressStub instance

func NewIPv6AddrStub

func NewIPv6AddrStub(caller sacloud.APICaller) sacloud.IPv6AddrAPI

NewIPv6AddrStub creates new IPv6AddrStub instance

func NewIPv6NetStub

func NewIPv6NetStub(caller sacloud.APICaller) sacloud.IPv6NetAPI

NewIPv6NetStub creates new IPv6NetStub instance

func NewIconStub

func NewIconStub(caller sacloud.APICaller) sacloud.IconAPI

NewIconStub creates new IconStub instance

func NewInterfaceStub

func NewInterfaceStub(caller sacloud.APICaller) sacloud.InterfaceAPI

NewInterfaceStub creates new InterfaceStub instance

func NewInternetPlanStub

func NewInternetPlanStub(caller sacloud.APICaller) sacloud.InternetPlanAPI

NewInternetPlanStub creates new InternetPlanStub instance

func NewInternetStub

func NewInternetStub(caller sacloud.APICaller) sacloud.InternetAPI

NewInternetStub creates new InternetStub instance

func NewLicenseInfoStub

func NewLicenseInfoStub(caller sacloud.APICaller) sacloud.LicenseInfoAPI

NewLicenseInfoStub creates new LicenseInfoStub instance

func NewLicenseStub

func NewLicenseStub(caller sacloud.APICaller) sacloud.LicenseAPI

NewLicenseStub creates new LicenseStub instance

func NewLoadBalancerStub

func NewLoadBalancerStub(caller sacloud.APICaller) sacloud.LoadBalancerAPI

NewLoadBalancerStub creates new LoadBalancerStub instance

func NewLocalRouterStub

func NewLocalRouterStub(caller sacloud.APICaller) sacloud.LocalRouterAPI

NewLocalRouterStub creates new LocalRouterStub instance

func NewMobileGatewayStub

func NewMobileGatewayStub(caller sacloud.APICaller) sacloud.MobileGatewayAPI

NewMobileGatewayStub creates new MobileGatewayStub instance

func NewNFSStub

func NewNFSStub(caller sacloud.APICaller) sacloud.NFSAPI

NewNFSStub creates new NFSStub instance

func NewNoteStub

func NewNoteStub(caller sacloud.APICaller) sacloud.NoteAPI

NewNoteStub creates new NoteStub instance

func NewPacketFilterStub

func NewPacketFilterStub(caller sacloud.APICaller) sacloud.PacketFilterAPI

NewPacketFilterStub creates new PacketFilterStub instance

func NewPrivateHostPlanStub

func NewPrivateHostPlanStub(caller sacloud.APICaller) sacloud.PrivateHostPlanAPI

NewPrivateHostPlanStub creates new PrivateHostPlanStub instance

func NewPrivateHostStub

func NewPrivateHostStub(caller sacloud.APICaller) sacloud.PrivateHostAPI

NewPrivateHostStub creates new PrivateHostStub instance

func NewProxyLBStub

func NewProxyLBStub(caller sacloud.APICaller) sacloud.ProxyLBAPI

NewProxyLBStub creates new ProxyLBStub instance

func NewRegionStub

func NewRegionStub(caller sacloud.APICaller) sacloud.RegionAPI

NewRegionStub creates new RegionStub instance

func NewSIMStub

func NewSIMStub(caller sacloud.APICaller) sacloud.SIMAPI

NewSIMStub creates new SIMStub instance

func NewSSHKeyStub

func NewSSHKeyStub(caller sacloud.APICaller) sacloud.SSHKeyAPI

NewSSHKeyStub creates new SSHKeyStub instance

func NewServerPlanStub

func NewServerPlanStub(caller sacloud.APICaller) sacloud.ServerPlanAPI

NewServerPlanStub creates new ServerPlanStub instance

func NewServerStub

func NewServerStub(caller sacloud.APICaller) sacloud.ServerAPI

NewServerStub creates new ServerStub instance

func NewServiceClassStub

func NewServiceClassStub(caller sacloud.APICaller) sacloud.ServiceClassAPI

NewServiceClassStub creates new ServiceClassStub instance

func NewSimpleMonitorStub

func NewSimpleMonitorStub(caller sacloud.APICaller) sacloud.SimpleMonitorAPI

NewSimpleMonitorStub creates new SimpleMonitorStub instance

func NewSubnetStub

func NewSubnetStub(caller sacloud.APICaller) sacloud.SubnetAPI

NewSubnetStub creates new SubnetStub instance

func NewSwitchStub

func NewSwitchStub(caller sacloud.APICaller) sacloud.SwitchAPI

NewSwitchStub creates new SwitchStub instance

func NewVPCRouterStub

func NewVPCRouterStub(caller sacloud.APICaller) sacloud.VPCRouterAPI

NewVPCRouterStub creates new VPCRouterStub instance

func NewWebAccelStub

func NewWebAccelStub(caller sacloud.APICaller) sacloud.WebAccelAPI

NewWebAccelStub creates new WebAccelStub instance

func NewZoneStub

func NewZoneStub(caller sacloud.APICaller) sacloud.ZoneAPI

NewZoneStub creates new ZoneStub instance

Types

type ArchiveCloseFTPStubResult

type ArchiveCloseFTPStubResult struct {
	Err error
}

ArchiveCloseFTPStubResult is expected values of the CloseFTP operation

type ArchiveCreateBlankStubResult

type ArchiveCreateBlankStubResult struct {
	Archive   *sacloud.Archive
	FTPServer *sacloud.FTPServer
	Err       error
}

ArchiveCreateBlankStubResult is expected values of the CreateBlank operation

type ArchiveCreateFromSharedStubResult added in v2.2.0

type ArchiveCreateFromSharedStubResult struct {
	Archive *sacloud.Archive
	Err     error
}

ArchiveCreateFromSharedStubResult is expected values of the CreateFromShared operation

type ArchiveCreateStubResult

type ArchiveCreateStubResult struct {
	Archive *sacloud.Archive
	Err     error
}

ArchiveCreateStubResult is expected values of the Create operation

type ArchiveDeleteStubResult

type ArchiveDeleteStubResult struct {
	Err error
}

ArchiveDeleteStubResult is expected values of the Delete operation

type ArchiveFindStubResult

type ArchiveFindStubResult struct {
	Values *sacloud.ArchiveFindResult
	Err    error
}

ArchiveFindStubResult is expected values of the Find operation

type ArchiveOpenFTPStubResult

type ArchiveOpenFTPStubResult struct {
	FTPServer *sacloud.FTPServer
	Err       error
}

ArchiveOpenFTPStubResult is expected values of the OpenFTP operation

type ArchiveReadStubResult

type ArchiveReadStubResult struct {
	Archive *sacloud.Archive
	Err     error
}

ArchiveReadStubResult is expected values of the Read operation

type ArchiveShareStubResult added in v2.2.0

type ArchiveShareStubResult struct {
	ArchiveShareInfo *sacloud.ArchiveShareInfo
	Err              error
}

ArchiveShareStubResult is expected values of the Share operation

type ArchiveStub

type ArchiveStub struct {
	FindStubResult             *ArchiveFindStubResult
	CreateStubResult           *ArchiveCreateStubResult
	CreateBlankStubResult      *ArchiveCreateBlankStubResult
	ReadStubResult             *ArchiveReadStubResult
	UpdateStubResult           *ArchiveUpdateStubResult
	DeleteStubResult           *ArchiveDeleteStubResult
	OpenFTPStubResult          *ArchiveOpenFTPStubResult
	CloseFTPStubResult         *ArchiveCloseFTPStubResult
	ShareStubResult            *ArchiveShareStubResult
	CreateFromSharedStubResult *ArchiveCreateFromSharedStubResult
	TransferStubResult         *ArchiveTransferStubResult
}

ArchiveStub is for trace ArchiveOp operations

func (*ArchiveStub) CloseFTP

func (s *ArchiveStub) CloseFTP(ctx context.Context, zone string, id types.ID) error

CloseFTP is API call with trace log

func (*ArchiveStub) Create

Create is API call with trace log

func (*ArchiveStub) CreateBlank

CreateBlank is API call with trace log

func (*ArchiveStub) CreateFromShared added in v2.2.0

func (s *ArchiveStub) CreateFromShared(ctx context.Context, zone string, sourceArchiveID types.ID, destZoneID types.ID, param *sacloud.ArchiveCreateRequestFromShared) (*sacloud.Archive, error)

CreateFromShared is API call with trace log

func (*ArchiveStub) Delete

func (s *ArchiveStub) Delete(ctx context.Context, zone string, id types.ID) error

Delete is API call with trace log

func (*ArchiveStub) Find

Find is API call with trace log

func (*ArchiveStub) OpenFTP

func (s *ArchiveStub) OpenFTP(ctx context.Context, zone string, id types.ID, openOption *sacloud.OpenFTPRequest) (*sacloud.FTPServer, error)

OpenFTP is API call with trace log

func (*ArchiveStub) Read

func (s *ArchiveStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.Archive, error)

Read is API call with trace log

func (*ArchiveStub) Share added in v2.2.0

func (s *ArchiveStub) Share(ctx context.Context, zone string, id types.ID) (*sacloud.ArchiveShareInfo, error)

Share is API call with trace log

func (*ArchiveStub) Transfer added in v2.3.0

func (s *ArchiveStub) Transfer(ctx context.Context, zone string, sourceArchiveID types.ID, destZoneID types.ID, param *sacloud.ArchiveTransferRequest) (*sacloud.Archive, error)

Transfer is API call with trace log

func (*ArchiveStub) Update

func (s *ArchiveStub) Update(ctx context.Context, zone string, id types.ID, param *sacloud.ArchiveUpdateRequest) (*sacloud.Archive, error)

Update is API call with trace log

type ArchiveTransferStubResult added in v2.3.0

type ArchiveTransferStubResult struct {
	Archive *sacloud.Archive
	Err     error
}

ArchiveTransferStubResult is expected values of the Transfer operation

type ArchiveUpdateStubResult

type ArchiveUpdateStubResult struct {
	Archive *sacloud.Archive
	Err     error
}

ArchiveUpdateStubResult is expected values of the Update operation

type AuthStatusReadStubResult

type AuthStatusReadStubResult struct {
	AuthStatus *sacloud.AuthStatus
	Err        error
}

AuthStatusReadStubResult is expected values of the Read operation

type AuthStatusStub

type AuthStatusStub struct {
	ReadStubResult *AuthStatusReadStubResult
}

AuthStatusStub is for trace AuthStatusOp operations

func (*AuthStatusStub) Read

Read is API call with trace log

type AutoBackupCreateStubResult

type AutoBackupCreateStubResult struct {
	AutoBackup *sacloud.AutoBackup
	Err        error
}

AutoBackupCreateStubResult is expected values of the Create operation

type AutoBackupDeleteStubResult

type AutoBackupDeleteStubResult struct {
	Err error
}

AutoBackupDeleteStubResult is expected values of the Delete operation

type AutoBackupFindStubResult

type AutoBackupFindStubResult struct {
	Values *sacloud.AutoBackupFindResult
	Err    error
}

AutoBackupFindStubResult is expected values of the Find operation

type AutoBackupReadStubResult

type AutoBackupReadStubResult struct {
	AutoBackup *sacloud.AutoBackup
	Err        error
}

AutoBackupReadStubResult is expected values of the Read operation

type AutoBackupStub

type AutoBackupStub struct {
	FindStubResult           *AutoBackupFindStubResult
	CreateStubResult         *AutoBackupCreateStubResult
	ReadStubResult           *AutoBackupReadStubResult
	UpdateStubResult         *AutoBackupUpdateStubResult
	UpdateSettingsStubResult *AutoBackupUpdateSettingsStubResult
	DeleteStubResult         *AutoBackupDeleteStubResult
}

AutoBackupStub is for trace AutoBackupOp operations

func (*AutoBackupStub) Create

Create is API call with trace log

func (*AutoBackupStub) Delete

func (s *AutoBackupStub) Delete(ctx context.Context, zone string, id types.ID) error

Delete is API call with trace log

func (*AutoBackupStub) Find

Find is API call with trace log

func (*AutoBackupStub) Read

func (s *AutoBackupStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.AutoBackup, error)

Read is API call with trace log

func (*AutoBackupStub) Update

Update is API call with trace log

func (*AutoBackupStub) UpdateSettings

UpdateSettings is API call with trace log

type AutoBackupUpdateSettingsStubResult

type AutoBackupUpdateSettingsStubResult struct {
	AutoBackup *sacloud.AutoBackup
	Err        error
}

AutoBackupUpdateSettingsStubResult is expected values of the UpdateSettings operation

type AutoBackupUpdateStubResult

type AutoBackupUpdateStubResult struct {
	AutoBackup *sacloud.AutoBackup
	Err        error
}

AutoBackupUpdateStubResult is expected values of the Update operation

type BillByContractStubResult

type BillByContractStubResult struct {
	Values *sacloud.BillByContractResult
	Err    error
}

BillByContractStubResult is expected values of the ByContract operation

type BillByContractYearMonthStubResult

type BillByContractYearMonthStubResult struct {
	Values *sacloud.BillByContractYearMonthResult
	Err    error
}

BillByContractYearMonthStubResult is expected values of the ByContractYearMonth operation

type BillByContractYearStubResult

type BillByContractYearStubResult struct {
	Values *sacloud.BillByContractYearResult
	Err    error
}

BillByContractYearStubResult is expected values of the ByContractYear operation

type BillDetailsCSVStubResult

type BillDetailsCSVStubResult struct {
	BillDetailCSV *sacloud.BillDetailCSV
	Err           error
}

BillDetailsCSVStubResult is expected values of the DetailsCSV operation

type BillDetailsStubResult

type BillDetailsStubResult struct {
	Values *sacloud.BillDetailsResult
	Err    error
}

BillDetailsStubResult is expected values of the Details operation

type BillReadStubResult

type BillReadStubResult struct {
	Values *sacloud.BillReadResult
	Err    error
}

BillReadStubResult is expected values of the Read operation

type BillStub

type BillStub struct {
	ByContractStubResult          *BillByContractStubResult
	ByContractYearStubResult      *BillByContractYearStubResult
	ByContractYearMonthStubResult *BillByContractYearMonthStubResult
	ReadStubResult                *BillReadStubResult
	DetailsStubResult             *BillDetailsStubResult
	DetailsCSVStubResult          *BillDetailsCSVStubResult
}

BillStub is for trace BillOp operations

func (*BillStub) ByContract

func (s *BillStub) ByContract(ctx context.Context, accountID types.ID) (*sacloud.BillByContractResult, error)

ByContract is API call with trace log

func (*BillStub) ByContractYear

func (s *BillStub) ByContractYear(ctx context.Context, accountID types.ID, year int) (*sacloud.BillByContractYearResult, error)

ByContractYear is API call with trace log

func (*BillStub) ByContractYearMonth

func (s *BillStub) ByContractYearMonth(ctx context.Context, accountID types.ID, year int, month int) (*sacloud.BillByContractYearMonthResult, error)

ByContractYearMonth is API call with trace log

func (*BillStub) Details

func (s *BillStub) Details(ctx context.Context, MemberCode string, id types.ID) (*sacloud.BillDetailsResult, error)

Details is API call with trace log

func (*BillStub) DetailsCSV

func (s *BillStub) DetailsCSV(ctx context.Context, MemberCode string, id types.ID) (*sacloud.BillDetailCSV, error)

DetailsCSV is API call with trace log

func (*BillStub) Read

func (s *BillStub) Read(ctx context.Context, id types.ID) (*sacloud.BillReadResult, error)

Read is API call with trace log

type BridgeCreateStubResult

type BridgeCreateStubResult struct {
	Bridge *sacloud.Bridge
	Err    error
}

BridgeCreateStubResult is expected values of the Create operation

type BridgeDeleteStubResult

type BridgeDeleteStubResult struct {
	Err error
}

BridgeDeleteStubResult is expected values of the Delete operation

type BridgeFindStubResult

type BridgeFindStubResult struct {
	Values *sacloud.BridgeFindResult
	Err    error
}

BridgeFindStubResult is expected values of the Find operation

type BridgeReadStubResult

type BridgeReadStubResult struct {
	Bridge *sacloud.Bridge
	Err    error
}

BridgeReadStubResult is expected values of the Read operation

type BridgeStub

type BridgeStub struct {
	FindStubResult   *BridgeFindStubResult
	CreateStubResult *BridgeCreateStubResult
	ReadStubResult   *BridgeReadStubResult
	UpdateStubResult *BridgeUpdateStubResult
	DeleteStubResult *BridgeDeleteStubResult
}

BridgeStub is for trace BridgeOp operations

func (*BridgeStub) Create

func (s *BridgeStub) Create(ctx context.Context, zone string, param *sacloud.BridgeCreateRequest) (*sacloud.Bridge, error)

Create is API call with trace log

func (*BridgeStub) Delete

func (s *BridgeStub) Delete(ctx context.Context, zone string, id types.ID) error

Delete is API call with trace log

func (*BridgeStub) Find

func (s *BridgeStub) Find(ctx context.Context, zone string, conditions *sacloud.FindCondition) (*sacloud.BridgeFindResult, error)

Find is API call with trace log

func (*BridgeStub) Read

func (s *BridgeStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.Bridge, error)

Read is API call with trace log

func (*BridgeStub) Update

func (s *BridgeStub) Update(ctx context.Context, zone string, id types.ID, param *sacloud.BridgeUpdateRequest) (*sacloud.Bridge, error)

Update is API call with trace log

type BridgeUpdateStubResult

type BridgeUpdateStubResult struct {
	Bridge *sacloud.Bridge
	Err    error
}

BridgeUpdateStubResult is expected values of the Update operation

type CDROMCloseFTPStubResult

type CDROMCloseFTPStubResult struct {
	Err error
}

CDROMCloseFTPStubResult is expected values of the CloseFTP operation

type CDROMCreateStubResult

type CDROMCreateStubResult struct {
	CDROM     *sacloud.CDROM
	FTPServer *sacloud.FTPServer
	Err       error
}

CDROMCreateStubResult is expected values of the Create operation

type CDROMDeleteStubResult

type CDROMDeleteStubResult struct {
	Err error
}

CDROMDeleteStubResult is expected values of the Delete operation

type CDROMFindStubResult

type CDROMFindStubResult struct {
	Values *sacloud.CDROMFindResult
	Err    error
}

CDROMFindStubResult is expected values of the Find operation

type CDROMOpenFTPStubResult

type CDROMOpenFTPStubResult struct {
	FTPServer *sacloud.FTPServer
	Err       error
}

CDROMOpenFTPStubResult is expected values of the OpenFTP operation

type CDROMReadStubResult

type CDROMReadStubResult struct {
	CDROM *sacloud.CDROM
	Err   error
}

CDROMReadStubResult is expected values of the Read operation

type CDROMStub

type CDROMStub struct {
	FindStubResult     *CDROMFindStubResult
	CreateStubResult   *CDROMCreateStubResult
	ReadStubResult     *CDROMReadStubResult
	UpdateStubResult   *CDROMUpdateStubResult
	DeleteStubResult   *CDROMDeleteStubResult
	OpenFTPStubResult  *CDROMOpenFTPStubResult
	CloseFTPStubResult *CDROMCloseFTPStubResult
}

CDROMStub is for trace CDROMOp operations

func (*CDROMStub) CloseFTP

func (s *CDROMStub) CloseFTP(ctx context.Context, zone string, id types.ID) error

CloseFTP is API call with trace log

func (*CDROMStub) Create

Create is API call with trace log

func (*CDROMStub) Delete

func (s *CDROMStub) Delete(ctx context.Context, zone string, id types.ID) error

Delete is API call with trace log

func (*CDROMStub) Find

func (s *CDROMStub) Find(ctx context.Context, zone string, conditions *sacloud.FindCondition) (*sacloud.CDROMFindResult, error)

Find is API call with trace log

func (*CDROMStub) OpenFTP

func (s *CDROMStub) OpenFTP(ctx context.Context, zone string, id types.ID, openOption *sacloud.OpenFTPRequest) (*sacloud.FTPServer, error)

OpenFTP is API call with trace log

func (*CDROMStub) Read

func (s *CDROMStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.CDROM, error)

Read is API call with trace log

func (*CDROMStub) Update

func (s *CDROMStub) Update(ctx context.Context, zone string, id types.ID, param *sacloud.CDROMUpdateRequest) (*sacloud.CDROM, error)

Update is API call with trace log

type CDROMUpdateStubResult

type CDROMUpdateStubResult struct {
	CDROM *sacloud.CDROM
	Err   error
}

CDROMUpdateStubResult is expected values of the Update operation

type ContainerRegistryAddUserStubResult

type ContainerRegistryAddUserStubResult struct {
	Err error
}

ContainerRegistryAddUserStubResult is expected values of the AddUser operation

type ContainerRegistryCreateStubResult

type ContainerRegistryCreateStubResult struct {
	ContainerRegistry *sacloud.ContainerRegistry
	Err               error
}

ContainerRegistryCreateStubResult is expected values of the Create operation

type ContainerRegistryDeleteStubResult

type ContainerRegistryDeleteStubResult struct {
	Err error
}

ContainerRegistryDeleteStubResult is expected values of the Delete operation

type ContainerRegistryDeleteUserStubResult

type ContainerRegistryDeleteUserStubResult struct {
	Err error
}

ContainerRegistryDeleteUserStubResult is expected values of the DeleteUser operation

type ContainerRegistryFindStubResult

type ContainerRegistryFindStubResult struct {
	Values *sacloud.ContainerRegistryFindResult
	Err    error
}

ContainerRegistryFindStubResult is expected values of the Find operation

type ContainerRegistryListUsersStubResult

type ContainerRegistryListUsersStubResult struct {
	ContainerRegistryUsers *sacloud.ContainerRegistryUsers
	Err                    error
}

ContainerRegistryListUsersStubResult is expected values of the ListUsers operation

type ContainerRegistryReadStubResult

type ContainerRegistryReadStubResult struct {
	ContainerRegistry *sacloud.ContainerRegistry
	Err               error
}

ContainerRegistryReadStubResult is expected values of the Read operation

type ContainerRegistryStub

type ContainerRegistryStub struct {
	FindStubResult           *ContainerRegistryFindStubResult
	CreateStubResult         *ContainerRegistryCreateStubResult
	ReadStubResult           *ContainerRegistryReadStubResult
	UpdateStubResult         *ContainerRegistryUpdateStubResult
	UpdateSettingsStubResult *ContainerRegistryUpdateSettingsStubResult
	DeleteStubResult         *ContainerRegistryDeleteStubResult
	ListUsersStubResult      *ContainerRegistryListUsersStubResult
	AddUserStubResult        *ContainerRegistryAddUserStubResult
	UpdateUserStubResult     *ContainerRegistryUpdateUserStubResult
	DeleteUserStubResult     *ContainerRegistryDeleteUserStubResult
}

ContainerRegistryStub is for trace ContainerRegistryOp operations

func (*ContainerRegistryStub) AddUser

AddUser is API call with trace log

func (*ContainerRegistryStub) Create

Create is API call with trace log

func (*ContainerRegistryStub) Delete

func (s *ContainerRegistryStub) Delete(ctx context.Context, id types.ID) error

Delete is API call with trace log

func (*ContainerRegistryStub) DeleteUser

func (s *ContainerRegistryStub) DeleteUser(ctx context.Context, id types.ID, username string) error

DeleteUser is API call with trace log

func (*ContainerRegistryStub) Find

Find is API call with trace log

func (*ContainerRegistryStub) ListUsers

ListUsers is API call with trace log

func (*ContainerRegistryStub) Read

Read is API call with trace log

func (*ContainerRegistryStub) Update

Update is API call with trace log

func (*ContainerRegistryStub) UpdateSettings

UpdateSettings is API call with trace log

func (*ContainerRegistryStub) UpdateUser

UpdateUser is API call with trace log

type ContainerRegistryUpdateSettingsStubResult

type ContainerRegistryUpdateSettingsStubResult struct {
	ContainerRegistry *sacloud.ContainerRegistry
	Err               error
}

ContainerRegistryUpdateSettingsStubResult is expected values of the UpdateSettings operation

type ContainerRegistryUpdateStubResult

type ContainerRegistryUpdateStubResult struct {
	ContainerRegistry *sacloud.ContainerRegistry
	Err               error
}

ContainerRegistryUpdateStubResult is expected values of the Update operation

type ContainerRegistryUpdateUserStubResult

type ContainerRegistryUpdateUserStubResult struct {
	Err error
}

ContainerRegistryUpdateUserStubResult is expected values of the UpdateUser operation

type CouponFindStubResult

type CouponFindStubResult struct {
	Values *sacloud.CouponFindResult
	Err    error
}

CouponFindStubResult is expected values of the Find operation

type CouponStub

type CouponStub struct {
	FindStubResult *CouponFindStubResult
}

CouponStub is for trace CouponOp operations

func (*CouponStub) Find

func (s *CouponStub) Find(ctx context.Context, accountID types.ID) (*sacloud.CouponFindResult, error)

Find is API call with trace log

type DNSCreateStubResult

type DNSCreateStubResult struct {
	DNS *sacloud.DNS
	Err error
}

DNSCreateStubResult is expected values of the Create operation

type DNSDeleteStubResult

type DNSDeleteStubResult struct {
	Err error
}

DNSDeleteStubResult is expected values of the Delete operation

type DNSFindStubResult

type DNSFindStubResult struct {
	Values *sacloud.DNSFindResult
	Err    error
}

DNSFindStubResult is expected values of the Find operation

type DNSReadStubResult

type DNSReadStubResult struct {
	DNS *sacloud.DNS
	Err error
}

DNSReadStubResult is expected values of the Read operation

type DNSStub

type DNSStub struct {
	FindStubResult           *DNSFindStubResult
	CreateStubResult         *DNSCreateStubResult
	ReadStubResult           *DNSReadStubResult
	UpdateStubResult         *DNSUpdateStubResult
	UpdateSettingsStubResult *DNSUpdateSettingsStubResult
	DeleteStubResult         *DNSDeleteStubResult
}

DNSStub is for trace DNSOp operations

func (*DNSStub) Create

func (s *DNSStub) Create(ctx context.Context, param *sacloud.DNSCreateRequest) (*sacloud.DNS, error)

Create is API call with trace log

func (*DNSStub) Delete

func (s *DNSStub) Delete(ctx context.Context, id types.ID) error

Delete is API call with trace log

func (*DNSStub) Find

func (s *DNSStub) Find(ctx context.Context, conditions *sacloud.FindCondition) (*sacloud.DNSFindResult, error)

Find is API call with trace log

func (*DNSStub) Read

func (s *DNSStub) Read(ctx context.Context, id types.ID) (*sacloud.DNS, error)

Read is API call with trace log

func (*DNSStub) Update

func (s *DNSStub) Update(ctx context.Context, id types.ID, param *sacloud.DNSUpdateRequest) (*sacloud.DNS, error)

Update is API call with trace log

func (*DNSStub) UpdateSettings

func (s *DNSStub) UpdateSettings(ctx context.Context, id types.ID, param *sacloud.DNSUpdateSettingsRequest) (*sacloud.DNS, error)

UpdateSettings is API call with trace log

type DNSUpdateSettingsStubResult

type DNSUpdateSettingsStubResult struct {
	DNS *sacloud.DNS
	Err error
}

DNSUpdateSettingsStubResult is expected values of the UpdateSettings operation

type DNSUpdateStubResult

type DNSUpdateStubResult struct {
	DNS *sacloud.DNS
	Err error
}

DNSUpdateStubResult is expected values of the Update operation

type DatabaseBootStubResult

type DatabaseBootStubResult struct {
	Err error
}

DatabaseBootStubResult is expected values of the Boot operation

type DatabaseConfigStubResult

type DatabaseConfigStubResult struct {
	Err error
}

DatabaseConfigStubResult is expected values of the Config operation

type DatabaseCreateStubResult

type DatabaseCreateStubResult struct {
	Database *sacloud.Database
	Err      error
}

DatabaseCreateStubResult is expected values of the Create operation

type DatabaseDeleteStubResult

type DatabaseDeleteStubResult struct {
	Err error
}

DatabaseDeleteStubResult is expected values of the Delete operation

type DatabaseFindStubResult

type DatabaseFindStubResult struct {
	Values *sacloud.DatabaseFindResult
	Err    error
}

DatabaseFindStubResult is expected values of the Find operation

type DatabaseGetParameterStubResult added in v2.11.0

type DatabaseGetParameterStubResult struct {
	DatabaseParameter *sacloud.DatabaseParameter
	Err               error
}

DatabaseGetParameterStubResult is expected values of the GetParameter operation

type DatabaseMonitorCPUStubResult

type DatabaseMonitorCPUStubResult struct {
	CPUTimeActivity *sacloud.CPUTimeActivity
	Err             error
}

DatabaseMonitorCPUStubResult is expected values of the MonitorCPU operation

type DatabaseMonitorDatabaseStubResult

type DatabaseMonitorDatabaseStubResult struct {
	DatabaseActivity *sacloud.DatabaseActivity
	Err              error
}

DatabaseMonitorDatabaseStubResult is expected values of the MonitorDatabase operation

type DatabaseMonitorDiskStubResult

type DatabaseMonitorDiskStubResult struct {
	DiskActivity *sacloud.DiskActivity
	Err          error
}

DatabaseMonitorDiskStubResult is expected values of the MonitorDisk operation

type DatabaseMonitorInterfaceStubResult

type DatabaseMonitorInterfaceStubResult struct {
	InterfaceActivity *sacloud.InterfaceActivity
	Err               error
}

DatabaseMonitorInterfaceStubResult is expected values of the MonitorInterface operation

type DatabaseReadStubResult

type DatabaseReadStubResult struct {
	Database *sacloud.Database
	Err      error
}

DatabaseReadStubResult is expected values of the Read operation

type DatabaseResetStubResult

type DatabaseResetStubResult struct {
	Err error
}

DatabaseResetStubResult is expected values of the Reset operation

type DatabaseSetParameterStubResult added in v2.11.0

type DatabaseSetParameterStubResult struct {
	Err error
}

DatabaseSetParameterStubResult is expected values of the SetParameter operation

type DatabaseShutdownStubResult

type DatabaseShutdownStubResult struct {
	Err error
}

DatabaseShutdownStubResult is expected values of the Shutdown operation

type DatabaseStatusStubResult

type DatabaseStatusStubResult struct {
	DatabaseStatus *sacloud.DatabaseStatus
	Err            error
}

DatabaseStatusStubResult is expected values of the Status operation

type DatabaseStub

type DatabaseStub struct {
	FindStubResult             *DatabaseFindStubResult
	CreateStubResult           *DatabaseCreateStubResult
	ReadStubResult             *DatabaseReadStubResult
	UpdateStubResult           *DatabaseUpdateStubResult
	UpdateSettingsStubResult   *DatabaseUpdateSettingsStubResult
	DeleteStubResult           *DatabaseDeleteStubResult
	ConfigStubResult           *DatabaseConfigStubResult
	BootStubResult             *DatabaseBootStubResult
	ShutdownStubResult         *DatabaseShutdownStubResult
	ResetStubResult            *DatabaseResetStubResult
	MonitorCPUStubResult       *DatabaseMonitorCPUStubResult
	MonitorDiskStubResult      *DatabaseMonitorDiskStubResult
	MonitorInterfaceStubResult *DatabaseMonitorInterfaceStubResult
	MonitorDatabaseStubResult  *DatabaseMonitorDatabaseStubResult
	StatusStubResult           *DatabaseStatusStubResult
	GetParameterStubResult     *DatabaseGetParameterStubResult
	SetParameterStubResult     *DatabaseSetParameterStubResult
}

DatabaseStub is for trace DatabaseOp operations

func (*DatabaseStub) Boot

func (s *DatabaseStub) Boot(ctx context.Context, zone string, id types.ID) error

Boot is API call with trace log

func (*DatabaseStub) Config

func (s *DatabaseStub) Config(ctx context.Context, zone string, id types.ID) error

Config is API call with trace log

func (*DatabaseStub) Create

Create is API call with trace log

func (*DatabaseStub) Delete

func (s *DatabaseStub) Delete(ctx context.Context, zone string, id types.ID) error

Delete is API call with trace log

func (*DatabaseStub) Find

Find is API call with trace log

func (*DatabaseStub) GetParameter added in v2.11.0

func (s *DatabaseStub) GetParameter(ctx context.Context, zone string, id types.ID) (*sacloud.DatabaseParameter, error)

GetParameter is API call with trace log

func (*DatabaseStub) MonitorCPU

func (s *DatabaseStub) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.CPUTimeActivity, error)

MonitorCPU is API call with trace log

func (*DatabaseStub) MonitorDatabase

func (s *DatabaseStub) MonitorDatabase(ctx context.Context, zone string, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.DatabaseActivity, error)

MonitorDatabase is API call with trace log

func (*DatabaseStub) MonitorDisk

func (s *DatabaseStub) MonitorDisk(ctx context.Context, zone string, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.DiskActivity, error)

MonitorDisk is API call with trace log

func (*DatabaseStub) MonitorInterface

func (s *DatabaseStub) MonitorInterface(ctx context.Context, zone string, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.InterfaceActivity, error)

MonitorInterface is API call with trace log

func (*DatabaseStub) Read

func (s *DatabaseStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.Database, error)

Read is API call with trace log

func (*DatabaseStub) Reset

func (s *DatabaseStub) Reset(ctx context.Context, zone string, id types.ID) error

Reset is API call with trace log

func (*DatabaseStub) SetParameter added in v2.11.0

func (s *DatabaseStub) SetParameter(ctx context.Context, zone string, id types.ID, param map[string]interface{}) error

SetParameter is API call with trace log

func (*DatabaseStub) Shutdown

func (s *DatabaseStub) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *sacloud.ShutdownOption) error

Shutdown is API call with trace log

func (*DatabaseStub) Status

func (s *DatabaseStub) Status(ctx context.Context, zone string, id types.ID) (*sacloud.DatabaseStatus, error)

Status is API call with trace log

func (*DatabaseStub) Update

Update is API call with trace log

func (*DatabaseStub) UpdateSettings

func (s *DatabaseStub) UpdateSettings(ctx context.Context, zone string, id types.ID, param *sacloud.DatabaseUpdateSettingsRequest) (*sacloud.Database, error)

UpdateSettings is API call with trace log

type DatabaseUpdateSettingsStubResult

type DatabaseUpdateSettingsStubResult struct {
	Database *sacloud.Database
	Err      error
}

DatabaseUpdateSettingsStubResult is expected values of the UpdateSettings operation

type DatabaseUpdateStubResult

type DatabaseUpdateStubResult struct {
	Database *sacloud.Database
	Err      error
}

DatabaseUpdateStubResult is expected values of the Update operation

type DiskConfigStubResult

type DiskConfigStubResult struct {
	Err error
}

DiskConfigStubResult is expected values of the Config operation

type DiskConnectToServerStubResult

type DiskConnectToServerStubResult struct {
	Err error
}

DiskConnectToServerStubResult is expected values of the ConnectToServer operation

type DiskCreateStubResult

type DiskCreateStubResult struct {
	Disk *sacloud.Disk
	Err  error
}

DiskCreateStubResult is expected values of the Create operation

type DiskCreateWithConfigStubResult

type DiskCreateWithConfigStubResult struct {
	Disk *sacloud.Disk
	Err  error
}

DiskCreateWithConfigStubResult is expected values of the CreateWithConfig operation

type DiskDeleteStubResult

type DiskDeleteStubResult struct {
	Err error
}

DiskDeleteStubResult is expected values of the Delete operation

type DiskDisconnectFromServerStubResult

type DiskDisconnectFromServerStubResult struct {
	Err error
}

DiskDisconnectFromServerStubResult is expected values of the DisconnectFromServer operation

type DiskFindStubResult

type DiskFindStubResult struct {
	Values *sacloud.DiskFindResult
	Err    error
}

DiskFindStubResult is expected values of the Find operation

type DiskMonitorDiskStubResult added in v2.8.0

type DiskMonitorDiskStubResult struct {
	DiskActivity *sacloud.DiskActivity
	Err          error
}

DiskMonitorDiskStubResult is expected values of the MonitorDisk operation

type DiskMonitorStubResult

type DiskMonitorStubResult struct {
	DiskActivity *sacloud.DiskActivity
	Err          error
}

DiskMonitorStubResult is expected values of the Monitor operation

type DiskPlanFindStubResult

type DiskPlanFindStubResult struct {
	Values *sacloud.DiskPlanFindResult
	Err    error
}

DiskPlanFindStubResult is expected values of the Find operation

type DiskPlanReadStubResult

type DiskPlanReadStubResult struct {
	DiskPlan *sacloud.DiskPlan
	Err      error
}

DiskPlanReadStubResult is expected values of the Read operation

type DiskPlanStub

type DiskPlanStub struct {
	FindStubResult *DiskPlanFindStubResult
	ReadStubResult *DiskPlanReadStubResult
}

DiskPlanStub is for trace DiskPlanOp operations

func (*DiskPlanStub) Find

Find is API call with trace log

func (*DiskPlanStub) Read

func (s *DiskPlanStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.DiskPlan, error)

Read is API call with trace log

type DiskReadStubResult

type DiskReadStubResult struct {
	Disk *sacloud.Disk
	Err  error
}

DiskReadStubResult is expected values of the Read operation

type DiskResizePartitionStubResult

type DiskResizePartitionStubResult struct {
	Err error
}

DiskResizePartitionStubResult is expected values of the ResizePartition operation

type DiskStub

type DiskStub struct {
	FindStubResult                 *DiskFindStubResult
	CreateStubResult               *DiskCreateStubResult
	ConfigStubResult               *DiskConfigStubResult
	CreateWithConfigStubResult     *DiskCreateWithConfigStubResult
	ResizePartitionStubResult      *DiskResizePartitionStubResult
	ConnectToServerStubResult      *DiskConnectToServerStubResult
	DisconnectFromServerStubResult *DiskDisconnectFromServerStubResult
	ReadStubResult                 *DiskReadStubResult
	UpdateStubResult               *DiskUpdateStubResult
	DeleteStubResult               *DiskDeleteStubResult
	MonitorStubResult              *DiskMonitorStubResult
	MonitorDiskStubResult          *DiskMonitorDiskStubResult
}

DiskStub is for trace DiskOp operations

func (*DiskStub) Config

func (s *DiskStub) Config(ctx context.Context, zone string, id types.ID, edit *sacloud.DiskEditRequest) error

Config is API call with trace log

func (*DiskStub) ConnectToServer

func (s *DiskStub) ConnectToServer(ctx context.Context, zone string, id types.ID, serverID types.ID) error

ConnectToServer is API call with trace log

func (*DiskStub) Create

func (s *DiskStub) Create(ctx context.Context, zone string, createParam *sacloud.DiskCreateRequest, distantFrom []types.ID) (*sacloud.Disk, error)

Create is API call with trace log

func (*DiskStub) CreateWithConfig

func (s *DiskStub) CreateWithConfig(ctx context.Context, zone string, createParam *sacloud.DiskCreateRequest, editParam *sacloud.DiskEditRequest, bootAtAvailable bool, distantFrom []types.ID) (*sacloud.Disk, error)

CreateWithConfig is API call with trace log

func (*DiskStub) Delete

func (s *DiskStub) Delete(ctx context.Context, zone string, id types.ID) error

Delete is API call with trace log

func (*DiskStub) DisconnectFromServer

func (s *DiskStub) DisconnectFromServer(ctx context.Context, zone string, id types.ID) error

DisconnectFromServer is API call with trace log

func (*DiskStub) Find

func (s *DiskStub) Find(ctx context.Context, zone string, conditions *sacloud.FindCondition) (*sacloud.DiskFindResult, error)

Find is API call with trace log

func (*DiskStub) Monitor

func (s *DiskStub) Monitor(ctx context.Context, zone string, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.DiskActivity, error)

Monitor is API call with trace log

func (*DiskStub) MonitorDisk added in v2.8.0

func (s *DiskStub) MonitorDisk(ctx context.Context, zone string, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.DiskActivity, error)

MonitorDisk is API call with trace log

func (*DiskStub) Read

func (s *DiskStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.Disk, error)

Read is API call with trace log

func (*DiskStub) ResizePartition

func (s *DiskStub) ResizePartition(ctx context.Context, zone string, id types.ID, param *sacloud.DiskResizePartitionRequest) error

ResizePartition is API call with trace log

func (*DiskStub) Update

func (s *DiskStub) Update(ctx context.Context, zone string, id types.ID, param *sacloud.DiskUpdateRequest) (*sacloud.Disk, error)

Update is API call with trace log

type DiskUpdateStubResult

type DiskUpdateStubResult struct {
	Disk *sacloud.Disk
	Err  error
}

DiskUpdateStubResult is expected values of the Update operation

type ESMECreateStubResult added in v2.8.0

type ESMECreateStubResult struct {
	ESME *sacloud.ESME
	Err  error
}

ESMECreateStubResult is expected values of the Create operation

type ESMEDeleteStubResult added in v2.8.0

type ESMEDeleteStubResult struct {
	Err error
}

ESMEDeleteStubResult is expected values of the Delete operation

type ESMEFindStubResult added in v2.8.0

type ESMEFindStubResult struct {
	Values *sacloud.ESMEFindResult
	Err    error
}

ESMEFindStubResult is expected values of the Find operation

type ESMELogsStubResult added in v2.8.0

type ESMELogsStubResult struct {
	Logs []*sacloud.ESMELogs
	Err  error
}

ESMELogsStubResult is expected values of the Logs operation

type ESMEReadStubResult added in v2.8.0

type ESMEReadStubResult struct {
	ESME *sacloud.ESME
	Err  error
}

ESMEReadStubResult is expected values of the Read operation

type ESMESendMessageWithGeneratedOTPStubResult added in v2.8.0

type ESMESendMessageWithGeneratedOTPStubResult struct {
	ESMESendMessageResult *sacloud.ESMESendMessageResult
	Err                   error
}

ESMESendMessageWithGeneratedOTPStubResult is expected values of the SendMessageWithGeneratedOTP operation

type ESMESendMessageWithInputtedOTPStubResult added in v2.8.0

type ESMESendMessageWithInputtedOTPStubResult struct {
	ESMESendMessageResult *sacloud.ESMESendMessageResult
	Err                   error
}

ESMESendMessageWithInputtedOTPStubResult is expected values of the SendMessageWithInputtedOTP operation

type ESMEStub added in v2.8.0

type ESMEStub struct {
	FindStubResult                        *ESMEFindStubResult
	CreateStubResult                      *ESMECreateStubResult
	ReadStubResult                        *ESMEReadStubResult
	UpdateStubResult                      *ESMEUpdateStubResult
	DeleteStubResult                      *ESMEDeleteStubResult
	SendMessageWithGeneratedOTPStubResult *ESMESendMessageWithGeneratedOTPStubResult
	SendMessageWithInputtedOTPStubResult  *ESMESendMessageWithInputtedOTPStubResult
	LogsStubResult                        *ESMELogsStubResult
}

ESMEStub is for trace ESMEOp operations

func (*ESMEStub) Create added in v2.8.0

func (s *ESMEStub) Create(ctx context.Context, param *sacloud.ESMECreateRequest) (*sacloud.ESME, error)

Create is API call with trace log

func (*ESMEStub) Delete added in v2.8.0

func (s *ESMEStub) Delete(ctx context.Context, id types.ID) error

Delete is API call with trace log

func (*ESMEStub) Find added in v2.8.0

func (s *ESMEStub) Find(ctx context.Context, conditions *sacloud.FindCondition) (*sacloud.ESMEFindResult, error)

Find is API call with trace log

func (*ESMEStub) Logs added in v2.8.0

func (s *ESMEStub) Logs(ctx context.Context, id types.ID) ([]*sacloud.ESMELogs, error)

Logs is API call with trace log

func (*ESMEStub) Read added in v2.8.0

func (s *ESMEStub) Read(ctx context.Context, id types.ID) (*sacloud.ESME, error)

Read is API call with trace log

func (*ESMEStub) SendMessageWithGeneratedOTP added in v2.8.0

SendMessageWithGeneratedOTP is API call with trace log

func (*ESMEStub) SendMessageWithInputtedOTP added in v2.8.0

SendMessageWithInputtedOTP is API call with trace log

func (*ESMEStub) Update added in v2.8.0

func (s *ESMEStub) Update(ctx context.Context, id types.ID, param *sacloud.ESMEUpdateRequest) (*sacloud.ESME, error)

Update is API call with trace log

type ESMEUpdateStubResult added in v2.8.0

type ESMEUpdateStubResult struct {
	ESME *sacloud.ESME
	Err  error
}

ESMEUpdateStubResult is expected values of the Update operation

type GSLBCreateStubResult

type GSLBCreateStubResult struct {
	GSLB *sacloud.GSLB
	Err  error
}

GSLBCreateStubResult is expected values of the Create operation

type GSLBDeleteStubResult

type GSLBDeleteStubResult struct {
	Err error
}

GSLBDeleteStubResult is expected values of the Delete operation

type GSLBFindStubResult

type GSLBFindStubResult struct {
	Values *sacloud.GSLBFindResult
	Err    error
}

GSLBFindStubResult is expected values of the Find operation

type GSLBReadStubResult

type GSLBReadStubResult struct {
	GSLB *sacloud.GSLB
	Err  error
}

GSLBReadStubResult is expected values of the Read operation

type GSLBStub

type GSLBStub struct {
	FindStubResult           *GSLBFindStubResult
	CreateStubResult         *GSLBCreateStubResult
	ReadStubResult           *GSLBReadStubResult
	UpdateStubResult         *GSLBUpdateStubResult
	UpdateSettingsStubResult *GSLBUpdateSettingsStubResult
	DeleteStubResult         *GSLBDeleteStubResult
}

GSLBStub is for trace GSLBOp operations

func (*GSLBStub) Create

func (s *GSLBStub) Create(ctx context.Context, param *sacloud.GSLBCreateRequest) (*sacloud.GSLB, error)

Create is API call with trace log

func (*GSLBStub) Delete

func (s *GSLBStub) Delete(ctx context.Context, id types.ID) error

Delete is API call with trace log

func (*GSLBStub) Find

func (s *GSLBStub) Find(ctx context.Context, conditions *sacloud.FindCondition) (*sacloud.GSLBFindResult, error)

Find is API call with trace log

func (*GSLBStub) Read

func (s *GSLBStub) Read(ctx context.Context, id types.ID) (*sacloud.GSLB, error)

Read is API call with trace log

func (*GSLBStub) Update

func (s *GSLBStub) Update(ctx context.Context, id types.ID, param *sacloud.GSLBUpdateRequest) (*sacloud.GSLB, error)

Update is API call with trace log

func (*GSLBStub) UpdateSettings

func (s *GSLBStub) UpdateSettings(ctx context.Context, id types.ID, param *sacloud.GSLBUpdateSettingsRequest) (*sacloud.GSLB, error)

UpdateSettings is API call with trace log

type GSLBUpdateSettingsStubResult

type GSLBUpdateSettingsStubResult struct {
	GSLB *sacloud.GSLB
	Err  error
}

GSLBUpdateSettingsStubResult is expected values of the UpdateSettings operation

type GSLBUpdateStubResult

type GSLBUpdateStubResult struct {
	GSLB *sacloud.GSLB
	Err  error
}

GSLBUpdateStubResult is expected values of the Update operation

type IPAddressListStubResult

type IPAddressListStubResult struct {
	Values *sacloud.IPAddressListResult
	Err    error
}

IPAddressListStubResult is expected values of the List operation

type IPAddressReadStubResult

type IPAddressReadStubResult struct {
	IPAddress *sacloud.IPAddress
	Err       error
}

IPAddressReadStubResult is expected values of the Read operation

type IPAddressStub

type IPAddressStub struct {
	ListStubResult           *IPAddressListStubResult
	ReadStubResult           *IPAddressReadStubResult
	UpdateHostNameStubResult *IPAddressUpdateHostNameStubResult
}

IPAddressStub is for trace IPAddressOp operations

func (*IPAddressStub) List

List is API call with trace log

func (*IPAddressStub) Read

func (s *IPAddressStub) Read(ctx context.Context, zone string, ipAddress string) (*sacloud.IPAddress, error)

Read is API call with trace log

func (*IPAddressStub) UpdateHostName

func (s *IPAddressStub) UpdateHostName(ctx context.Context, zone string, ipAddress string, hostName string) (*sacloud.IPAddress, error)

UpdateHostName is API call with trace log

type IPAddressUpdateHostNameStubResult

type IPAddressUpdateHostNameStubResult struct {
	IPAddress *sacloud.IPAddress
	Err       error
}

IPAddressUpdateHostNameStubResult is expected values of the UpdateHostName operation

type IPv6AddrCreateStubResult

type IPv6AddrCreateStubResult struct {
	IPv6Addr *sacloud.IPv6Addr
	Err      error
}

IPv6AddrCreateStubResult is expected values of the Create operation

type IPv6AddrDeleteStubResult

type IPv6AddrDeleteStubResult struct {
	Err error
}

IPv6AddrDeleteStubResult is expected values of the Delete operation

type IPv6AddrFindStubResult

type IPv6AddrFindStubResult struct {
	Values *sacloud.IPv6AddrFindResult
	Err    error
}

IPv6AddrFindStubResult is expected values of the Find operation

type IPv6AddrReadStubResult

type IPv6AddrReadStubResult struct {
	IPv6Addr *sacloud.IPv6Addr
	Err      error
}

IPv6AddrReadStubResult is expected values of the Read operation

type IPv6AddrStub

type IPv6AddrStub struct {
	FindStubResult   *IPv6AddrFindStubResult
	CreateStubResult *IPv6AddrCreateStubResult
	ReadStubResult   *IPv6AddrReadStubResult
	UpdateStubResult *IPv6AddrUpdateStubResult
	DeleteStubResult *IPv6AddrDeleteStubResult
}

IPv6AddrStub is for trace IPv6AddrOp operations

func (*IPv6AddrStub) Create

Create is API call with trace log

func (*IPv6AddrStub) Delete

func (s *IPv6AddrStub) Delete(ctx context.Context, zone string, ipv6addr string) error

Delete is API call with trace log

func (*IPv6AddrStub) Find

Find is API call with trace log

func (*IPv6AddrStub) Read

func (s *IPv6AddrStub) Read(ctx context.Context, zone string, ipv6addr string) (*sacloud.IPv6Addr, error)

Read is API call with trace log

func (*IPv6AddrStub) Update

func (s *IPv6AddrStub) Update(ctx context.Context, zone string, ipv6addr string, param *sacloud.IPv6AddrUpdateRequest) (*sacloud.IPv6Addr, error)

Update is API call with trace log

type IPv6AddrUpdateStubResult

type IPv6AddrUpdateStubResult struct {
	IPv6Addr *sacloud.IPv6Addr
	Err      error
}

IPv6AddrUpdateStubResult is expected values of the Update operation

type IPv6NetFindStubResult added in v2.8.0

type IPv6NetFindStubResult struct {
	Values *sacloud.IPv6NetFindResult
	Err    error
}

IPv6NetFindStubResult is expected values of the Find operation

type IPv6NetListStubResult

type IPv6NetListStubResult struct {
	Values *sacloud.IPv6NetListResult
	Err    error
}

IPv6NetListStubResult is expected values of the List operation

type IPv6NetReadStubResult

type IPv6NetReadStubResult struct {
	IPv6Net *sacloud.IPv6Net
	Err     error
}

IPv6NetReadStubResult is expected values of the Read operation

type IPv6NetStub

type IPv6NetStub struct {
	ListStubResult *IPv6NetListStubResult
	FindStubResult *IPv6NetFindStubResult
	ReadStubResult *IPv6NetReadStubResult
}

IPv6NetStub is for trace IPv6NetOp operations

func (*IPv6NetStub) Find added in v2.8.0

Find is API call with trace log

func (*IPv6NetStub) List

List is API call with trace log

func (*IPv6NetStub) Read

func (s *IPv6NetStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.IPv6Net, error)

Read is API call with trace log

type IconCreateStubResult

type IconCreateStubResult struct {
	Icon *sacloud.Icon
	Err  error
}

IconCreateStubResult is expected values of the Create operation

type IconDeleteStubResult

type IconDeleteStubResult struct {
	Err error
}

IconDeleteStubResult is expected values of the Delete operation

type IconFindStubResult

type IconFindStubResult struct {
	Values *sacloud.IconFindResult
	Err    error
}

IconFindStubResult is expected values of the Find operation

type IconReadStubResult

type IconReadStubResult struct {
	Icon *sacloud.Icon
	Err  error
}

IconReadStubResult is expected values of the Read operation

type IconStub

type IconStub struct {
	FindStubResult   *IconFindStubResult
	CreateStubResult *IconCreateStubResult
	ReadStubResult   *IconReadStubResult
	UpdateStubResult *IconUpdateStubResult
	DeleteStubResult *IconDeleteStubResult
}

IconStub is for trace IconOp operations

func (*IconStub) Create

func (s *IconStub) Create(ctx context.Context, param *sacloud.IconCreateRequest) (*sacloud.Icon, error)

Create is API call with trace log

func (*IconStub) Delete

func (s *IconStub) Delete(ctx context.Context, id types.ID) error

Delete is API call with trace log

func (*IconStub) Find

func (s *IconStub) Find(ctx context.Context, conditions *sacloud.FindCondition) (*sacloud.IconFindResult, error)

Find is API call with trace log

func (*IconStub) Read

func (s *IconStub) Read(ctx context.Context, id types.ID) (*sacloud.Icon, error)

Read is API call with trace log

func (*IconStub) Update

func (s *IconStub) Update(ctx context.Context, id types.ID, param *sacloud.IconUpdateRequest) (*sacloud.Icon, error)

Update is API call with trace log

type IconUpdateStubResult

type IconUpdateStubResult struct {
	Icon *sacloud.Icon
	Err  error
}

IconUpdateStubResult is expected values of the Update operation

type InterfaceConnectToPacketFilterStubResult

type InterfaceConnectToPacketFilterStubResult struct {
	Err error
}

InterfaceConnectToPacketFilterStubResult is expected values of the ConnectToPacketFilter operation

type InterfaceConnectToSharedSegmentStubResult

type InterfaceConnectToSharedSegmentStubResult struct {
	Err error
}

InterfaceConnectToSharedSegmentStubResult is expected values of the ConnectToSharedSegment operation

type InterfaceConnectToSwitchStubResult

type InterfaceConnectToSwitchStubResult struct {
	Err error
}

InterfaceConnectToSwitchStubResult is expected values of the ConnectToSwitch operation

type InterfaceCreateStubResult

type InterfaceCreateStubResult struct {
	Interface *sacloud.Interface
	Err       error
}

InterfaceCreateStubResult is expected values of the Create operation

type InterfaceDeleteStubResult

type InterfaceDeleteStubResult struct {
	Err error
}

InterfaceDeleteStubResult is expected values of the Delete operation

type InterfaceDisconnectFromPacketFilterStubResult

type InterfaceDisconnectFromPacketFilterStubResult struct {
	Err error
}

InterfaceDisconnectFromPacketFilterStubResult is expected values of the DisconnectFromPacketFilter operation

type InterfaceDisconnectFromSwitchStubResult

type InterfaceDisconnectFromSwitchStubResult struct {
	Err error
}

InterfaceDisconnectFromSwitchStubResult is expected values of the DisconnectFromSwitch operation

type InterfaceFindStubResult

type InterfaceFindStubResult struct {
	Values *sacloud.InterfaceFindResult
	Err    error
}

InterfaceFindStubResult is expected values of the Find operation

type InterfaceMonitorStubResult

type InterfaceMonitorStubResult struct {
	InterfaceActivity *sacloud.InterfaceActivity
	Err               error
}

InterfaceMonitorStubResult is expected values of the Monitor operation

type InterfaceReadStubResult

type InterfaceReadStubResult struct {
	Interface *sacloud.Interface
	Err       error
}

InterfaceReadStubResult is expected values of the Read operation

type InterfaceStub

type InterfaceStub struct {
	FindStubResult                       *InterfaceFindStubResult
	CreateStubResult                     *InterfaceCreateStubResult
	ReadStubResult                       *InterfaceReadStubResult
	UpdateStubResult                     *InterfaceUpdateStubResult
	DeleteStubResult                     *InterfaceDeleteStubResult
	MonitorStubResult                    *InterfaceMonitorStubResult
	ConnectToSharedSegmentStubResult     *InterfaceConnectToSharedSegmentStubResult
	ConnectToSwitchStubResult            *InterfaceConnectToSwitchStubResult
	DisconnectFromSwitchStubResult       *InterfaceDisconnectFromSwitchStubResult
	ConnectToPacketFilterStubResult      *InterfaceConnectToPacketFilterStubResult
	DisconnectFromPacketFilterStubResult *InterfaceDisconnectFromPacketFilterStubResult
}

InterfaceStub is for trace InterfaceOp operations

func (*InterfaceStub) ConnectToPacketFilter

func (s *InterfaceStub) ConnectToPacketFilter(ctx context.Context, zone string, id types.ID, packetFilterID types.ID) error

ConnectToPacketFilter is API call with trace log

func (*InterfaceStub) ConnectToSharedSegment

func (s *InterfaceStub) ConnectToSharedSegment(ctx context.Context, zone string, id types.ID) error

ConnectToSharedSegment is API call with trace log

func (*InterfaceStub) ConnectToSwitch

func (s *InterfaceStub) ConnectToSwitch(ctx context.Context, zone string, id types.ID, switchID types.ID) error

ConnectToSwitch is API call with trace log

func (*InterfaceStub) Create

Create is API call with trace log

func (*InterfaceStub) Delete

func (s *InterfaceStub) Delete(ctx context.Context, zone string, id types.ID) error

Delete is API call with trace log

func (*InterfaceStub) DisconnectFromPacketFilter

func (s *InterfaceStub) DisconnectFromPacketFilter(ctx context.Context, zone string, id types.ID) error

DisconnectFromPacketFilter is API call with trace log

func (*InterfaceStub) DisconnectFromSwitch

func (s *InterfaceStub) DisconnectFromSwitch(ctx context.Context, zone string, id types.ID) error

DisconnectFromSwitch is API call with trace log

func (*InterfaceStub) Find

Find is API call with trace log

func (*InterfaceStub) Monitor

Monitor is API call with trace log

func (*InterfaceStub) Read

func (s *InterfaceStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.Interface, error)

Read is API call with trace log

func (*InterfaceStub) Update

Update is API call with trace log

type InterfaceUpdateStubResult

type InterfaceUpdateStubResult struct {
	Interface *sacloud.Interface
	Err       error
}

InterfaceUpdateStubResult is expected values of the Update operation

type InternetAddSubnetStubResult

type InternetAddSubnetStubResult struct {
	Subnet *sacloud.InternetSubnetOperationResult
	Err    error
}

InternetAddSubnetStubResult is expected values of the AddSubnet operation

type InternetCreateStubResult

type InternetCreateStubResult struct {
	Internet *sacloud.Internet
	Err      error
}

InternetCreateStubResult is expected values of the Create operation

type InternetDeleteStubResult

type InternetDeleteStubResult struct {
	Err error
}

InternetDeleteStubResult is expected values of the Delete operation

type InternetDeleteSubnetStubResult

type InternetDeleteSubnetStubResult struct {
	Err error
}

InternetDeleteSubnetStubResult is expected values of the DeleteSubnet operation

type InternetDisableIPv6StubResult

type InternetDisableIPv6StubResult struct {
	Err error
}

InternetDisableIPv6StubResult is expected values of the DisableIPv6 operation

type InternetEnableIPv6StubResult

type InternetEnableIPv6StubResult struct {
	IPv6Net *sacloud.IPv6NetInfo
	Err     error
}

InternetEnableIPv6StubResult is expected values of the EnableIPv6 operation

type InternetFindStubResult

type InternetFindStubResult struct {
	Values *sacloud.InternetFindResult
	Err    error
}

InternetFindStubResult is expected values of the Find operation

type InternetMonitorRouterStubResult added in v2.8.0

type InternetMonitorRouterStubResult struct {
	RouterActivity *sacloud.RouterActivity
	Err            error
}

InternetMonitorRouterStubResult is expected values of the MonitorRouter operation

type InternetMonitorStubResult

type InternetMonitorStubResult struct {
	RouterActivity *sacloud.RouterActivity
	Err            error
}

InternetMonitorStubResult is expected values of the Monitor operation

type InternetPlanFindStubResult

type InternetPlanFindStubResult struct {
	Values *sacloud.InternetPlanFindResult
	Err    error
}

InternetPlanFindStubResult is expected values of the Find operation

type InternetPlanReadStubResult

type InternetPlanReadStubResult struct {
	InternetPlan *sacloud.InternetPlan
	Err          error
}

InternetPlanReadStubResult is expected values of the Read operation

type InternetPlanStub

type InternetPlanStub struct {
	FindStubResult *InternetPlanFindStubResult
	ReadStubResult *InternetPlanReadStubResult
}

InternetPlanStub is for trace InternetPlanOp operations

func (*InternetPlanStub) Find

Find is API call with trace log

func (*InternetPlanStub) Read

Read is API call with trace log

type InternetReadStubResult

type InternetReadStubResult struct {
	Internet *sacloud.Internet
	Err      error
}

InternetReadStubResult is expected values of the Read operation

type InternetStub

type InternetStub struct {
	FindStubResult            *InternetFindStubResult
	CreateStubResult          *InternetCreateStubResult
	ReadStubResult            *InternetReadStubResult
	UpdateStubResult          *InternetUpdateStubResult
	DeleteStubResult          *InternetDeleteStubResult
	UpdateBandWidthStubResult *InternetUpdateBandWidthStubResult
	AddSubnetStubResult       *InternetAddSubnetStubResult
	UpdateSubnetStubResult    *InternetUpdateSubnetStubResult
	DeleteSubnetStubResult    *InternetDeleteSubnetStubResult
	MonitorStubResult         *InternetMonitorStubResult
	MonitorRouterStubResult   *InternetMonitorRouterStubResult
	EnableIPv6StubResult      *InternetEnableIPv6StubResult
	DisableIPv6StubResult     *InternetDisableIPv6StubResult
}

InternetStub is for trace InternetOp operations

func (*InternetStub) AddSubnet

AddSubnet is API call with trace log

func (*InternetStub) Create

Create is API call with trace log

func (*InternetStub) Delete

func (s *InternetStub) Delete(ctx context.Context, zone string, id types.ID) error

Delete is API call with trace log

func (*InternetStub) DeleteSubnet

func (s *InternetStub) DeleteSubnet(ctx context.Context, zone string, id types.ID, subnetID types.ID) error

DeleteSubnet is API call with trace log

func (*InternetStub) DisableIPv6

func (s *InternetStub) DisableIPv6(ctx context.Context, zone string, id types.ID, ipv6netID types.ID) error

DisableIPv6 is API call with trace log

func (*InternetStub) EnableIPv6

func (s *InternetStub) EnableIPv6(ctx context.Context, zone string, id types.ID) (*sacloud.IPv6NetInfo, error)

EnableIPv6 is API call with trace log

func (*InternetStub) Find

Find is API call with trace log

func (*InternetStub) Monitor

func (s *InternetStub) Monitor(ctx context.Context, zone string, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.RouterActivity, error)

Monitor is API call with trace log

func (*InternetStub) MonitorRouter added in v2.8.0

func (s *InternetStub) MonitorRouter(ctx context.Context, zone string, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.RouterActivity, error)

MonitorRouter is API call with trace log

func (*InternetStub) Read

func (s *InternetStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.Internet, error)

Read is API call with trace log

func (*InternetStub) Update

Update is API call with trace log

func (*InternetStub) UpdateBandWidth

func (s *InternetStub) UpdateBandWidth(ctx context.Context, zone string, id types.ID, param *sacloud.InternetUpdateBandWidthRequest) (*sacloud.Internet, error)

UpdateBandWidth is API call with trace log

func (*InternetStub) UpdateSubnet

UpdateSubnet is API call with trace log

type InternetUpdateBandWidthStubResult

type InternetUpdateBandWidthStubResult struct {
	Internet *sacloud.Internet
	Err      error
}

InternetUpdateBandWidthStubResult is expected values of the UpdateBandWidth operation

type InternetUpdateStubResult

type InternetUpdateStubResult struct {
	Internet *sacloud.Internet
	Err      error
}

InternetUpdateStubResult is expected values of the Update operation

type InternetUpdateSubnetStubResult

type InternetUpdateSubnetStubResult struct {
	Subnet *sacloud.InternetSubnetOperationResult
	Err    error
}

InternetUpdateSubnetStubResult is expected values of the UpdateSubnet operation

type LicenseCreateStubResult

type LicenseCreateStubResult struct {
	License *sacloud.License
	Err     error
}

LicenseCreateStubResult is expected values of the Create operation

type LicenseDeleteStubResult

type LicenseDeleteStubResult struct {
	Err error
}

LicenseDeleteStubResult is expected values of the Delete operation

type LicenseFindStubResult

type LicenseFindStubResult struct {
	Values *sacloud.LicenseFindResult
	Err    error
}

LicenseFindStubResult is expected values of the Find operation

type LicenseInfoFindStubResult

type LicenseInfoFindStubResult struct {
	Values *sacloud.LicenseInfoFindResult
	Err    error
}

LicenseInfoFindStubResult is expected values of the Find operation

type LicenseInfoReadStubResult

type LicenseInfoReadStubResult struct {
	LicenseInfo *sacloud.LicenseInfo
	Err         error
}

LicenseInfoReadStubResult is expected values of the Read operation

type LicenseInfoStub

type LicenseInfoStub struct {
	FindStubResult *LicenseInfoFindStubResult
	ReadStubResult *LicenseInfoReadStubResult
}

LicenseInfoStub is for trace LicenseInfoOp operations

func (*LicenseInfoStub) Find

Find is API call with trace log

func (*LicenseInfoStub) Read

Read is API call with trace log

type LicenseReadStubResult

type LicenseReadStubResult struct {
	License *sacloud.License
	Err     error
}

LicenseReadStubResult is expected values of the Read operation

type LicenseStub

type LicenseStub struct {
	FindStubResult   *LicenseFindStubResult
	CreateStubResult *LicenseCreateStubResult
	ReadStubResult   *LicenseReadStubResult
	UpdateStubResult *LicenseUpdateStubResult
	DeleteStubResult *LicenseDeleteStubResult
}

LicenseStub is for trace LicenseOp operations

func (*LicenseStub) Create

Create is API call with trace log

func (*LicenseStub) Delete

func (s *LicenseStub) Delete(ctx context.Context, id types.ID) error

Delete is API call with trace log

func (*LicenseStub) Find

Find is API call with trace log

func (*LicenseStub) Read

func (s *LicenseStub) Read(ctx context.Context, id types.ID) (*sacloud.License, error)

Read is API call with trace log

func (*LicenseStub) Update

Update is API call with trace log

type LicenseUpdateStubResult

type LicenseUpdateStubResult struct {
	License *sacloud.License
	Err     error
}

LicenseUpdateStubResult is expected values of the Update operation

type LoadBalancerBootStubResult

type LoadBalancerBootStubResult struct {
	Err error
}

LoadBalancerBootStubResult is expected values of the Boot operation

type LoadBalancerConfigStubResult

type LoadBalancerConfigStubResult struct {
	Err error
}

LoadBalancerConfigStubResult is expected values of the Config operation

type LoadBalancerCreateStubResult

type LoadBalancerCreateStubResult struct {
	LoadBalancer *sacloud.LoadBalancer
	Err          error
}

LoadBalancerCreateStubResult is expected values of the Create operation

type LoadBalancerDeleteStubResult

type LoadBalancerDeleteStubResult struct {
	Err error
}

LoadBalancerDeleteStubResult is expected values of the Delete operation

type LoadBalancerFindStubResult

type LoadBalancerFindStubResult struct {
	Values *sacloud.LoadBalancerFindResult
	Err    error
}

LoadBalancerFindStubResult is expected values of the Find operation

type LoadBalancerMonitorInterfaceStubResult

type LoadBalancerMonitorInterfaceStubResult struct {
	InterfaceActivity *sacloud.InterfaceActivity
	Err               error
}

LoadBalancerMonitorInterfaceStubResult is expected values of the MonitorInterface operation

type LoadBalancerReadStubResult

type LoadBalancerReadStubResult struct {
	LoadBalancer *sacloud.LoadBalancer
	Err          error
}

LoadBalancerReadStubResult is expected values of the Read operation

type LoadBalancerResetStubResult

type LoadBalancerResetStubResult struct {
	Err error
}

LoadBalancerResetStubResult is expected values of the Reset operation

type LoadBalancerShutdownStubResult

type LoadBalancerShutdownStubResult struct {
	Err error
}

LoadBalancerShutdownStubResult is expected values of the Shutdown operation

type LoadBalancerStatusStubResult

type LoadBalancerStatusStubResult struct {
	Values *sacloud.LoadBalancerStatusResult
	Err    error
}

LoadBalancerStatusStubResult is expected values of the Status operation

type LoadBalancerStub

type LoadBalancerStub struct {
	FindStubResult             *LoadBalancerFindStubResult
	CreateStubResult           *LoadBalancerCreateStubResult
	ReadStubResult             *LoadBalancerReadStubResult
	UpdateStubResult           *LoadBalancerUpdateStubResult
	UpdateSettingsStubResult   *LoadBalancerUpdateSettingsStubResult
	DeleteStubResult           *LoadBalancerDeleteStubResult
	ConfigStubResult           *LoadBalancerConfigStubResult
	BootStubResult             *LoadBalancerBootStubResult
	ShutdownStubResult         *LoadBalancerShutdownStubResult
	ResetStubResult            *LoadBalancerResetStubResult
	MonitorInterfaceStubResult *LoadBalancerMonitorInterfaceStubResult
	StatusStubResult           *LoadBalancerStatusStubResult
}

LoadBalancerStub is for trace LoadBalancerOp operations

func (*LoadBalancerStub) Boot

func (s *LoadBalancerStub) Boot(ctx context.Context, zone string, id types.ID) error

Boot is API call with trace log

func (*LoadBalancerStub) Config

func (s *LoadBalancerStub) Config(ctx context.Context, zone string, id types.ID) error

Config is API call with trace log

func (*LoadBalancerStub) Create

Create is API call with trace log

func (*LoadBalancerStub) Delete

func (s *LoadBalancerStub) Delete(ctx context.Context, zone string, id types.ID) error

Delete is API call with trace log

func (*LoadBalancerStub) Find

Find is API call with trace log

func (*LoadBalancerStub) MonitorInterface

func (s *LoadBalancerStub) MonitorInterface(ctx context.Context, zone string, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.InterfaceActivity, error)

MonitorInterface is API call with trace log

func (*LoadBalancerStub) Read

Read is API call with trace log

func (*LoadBalancerStub) Reset

func (s *LoadBalancerStub) Reset(ctx context.Context, zone string, id types.ID) error

Reset is API call with trace log

func (*LoadBalancerStub) Shutdown

func (s *LoadBalancerStub) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *sacloud.ShutdownOption) error

Shutdown is API call with trace log

func (*LoadBalancerStub) Status

Status is API call with trace log

func (*LoadBalancerStub) Update

Update is API call with trace log

func (*LoadBalancerStub) UpdateSettings

UpdateSettings is API call with trace log

type LoadBalancerUpdateSettingsStubResult

type LoadBalancerUpdateSettingsStubResult struct {
	LoadBalancer *sacloud.LoadBalancer
	Err          error
}

LoadBalancerUpdateSettingsStubResult is expected values of the UpdateSettings operation

type LoadBalancerUpdateStubResult

type LoadBalancerUpdateStubResult struct {
	LoadBalancer *sacloud.LoadBalancer
	Err          error
}

LoadBalancerUpdateStubResult is expected values of the Update operation

type LocalRouterCreateStubResult

type LocalRouterCreateStubResult struct {
	LocalRouter *sacloud.LocalRouter
	Err         error
}

LocalRouterCreateStubResult is expected values of the Create operation

type LocalRouterDeleteStubResult

type LocalRouterDeleteStubResult struct {
	Err error
}

LocalRouterDeleteStubResult is expected values of the Delete operation

type LocalRouterFindStubResult

type LocalRouterFindStubResult struct {
	Values *sacloud.LocalRouterFindResult
	Err    error
}

LocalRouterFindStubResult is expected values of the Find operation

type LocalRouterHealthStatusStubResult

type LocalRouterHealthStatusStubResult struct {
	LocalRouterHealth *sacloud.LocalRouterHealth
	Err               error
}

LocalRouterHealthStatusStubResult is expected values of the HealthStatus operation

type LocalRouterMonitorLocalRouterStubResult

type LocalRouterMonitorLocalRouterStubResult struct {
	LocalRouterActivity *sacloud.LocalRouterActivity
	Err                 error
}

LocalRouterMonitorLocalRouterStubResult is expected values of the MonitorLocalRouter operation

type LocalRouterReadStubResult

type LocalRouterReadStubResult struct {
	LocalRouter *sacloud.LocalRouter
	Err         error
}

LocalRouterReadStubResult is expected values of the Read operation

type LocalRouterStub

type LocalRouterStub struct {
	FindStubResult               *LocalRouterFindStubResult
	CreateStubResult             *LocalRouterCreateStubResult
	ReadStubResult               *LocalRouterReadStubResult
	UpdateStubResult             *LocalRouterUpdateStubResult
	UpdateSettingsStubResult     *LocalRouterUpdateSettingsStubResult
	DeleteStubResult             *LocalRouterDeleteStubResult
	HealthStatusStubResult       *LocalRouterHealthStatusStubResult
	MonitorLocalRouterStubResult *LocalRouterMonitorLocalRouterStubResult
}

LocalRouterStub is for trace LocalRouterOp operations

func (*LocalRouterStub) Create

Create is API call with trace log

func (*LocalRouterStub) Delete

func (s *LocalRouterStub) Delete(ctx context.Context, id types.ID) error

Delete is API call with trace log

func (*LocalRouterStub) Find

Find is API call with trace log

func (*LocalRouterStub) HealthStatus

func (s *LocalRouterStub) HealthStatus(ctx context.Context, id types.ID) (*sacloud.LocalRouterHealth, error)

HealthStatus is API call with trace log

func (*LocalRouterStub) MonitorLocalRouter

func (s *LocalRouterStub) MonitorLocalRouter(ctx context.Context, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.LocalRouterActivity, error)

MonitorLocalRouter is API call with trace log

func (*LocalRouterStub) Read

Read is API call with trace log

func (*LocalRouterStub) Update

Update is API call with trace log

func (*LocalRouterStub) UpdateSettings

UpdateSettings is API call with trace log

type LocalRouterUpdateSettingsStubResult

type LocalRouterUpdateSettingsStubResult struct {
	LocalRouter *sacloud.LocalRouter
	Err         error
}

LocalRouterUpdateSettingsStubResult is expected values of the UpdateSettings operation

type LocalRouterUpdateStubResult

type LocalRouterUpdateStubResult struct {
	LocalRouter *sacloud.LocalRouter
	Err         error
}

LocalRouterUpdateStubResult is expected values of the Update operation

type MobileGatewayAddSIMStubResult

type MobileGatewayAddSIMStubResult struct {
	Err error
}

MobileGatewayAddSIMStubResult is expected values of the AddSIM operation

type MobileGatewayBootStubResult

type MobileGatewayBootStubResult struct {
	Err error
}

MobileGatewayBootStubResult is expected values of the Boot operation

type MobileGatewayConfigStubResult

type MobileGatewayConfigStubResult struct {
	Err error
}

MobileGatewayConfigStubResult is expected values of the Config operation

type MobileGatewayConnectToSwitchStubResult

type MobileGatewayConnectToSwitchStubResult struct {
	Err error
}

MobileGatewayConnectToSwitchStubResult is expected values of the ConnectToSwitch operation

type MobileGatewayCreateStubResult

type MobileGatewayCreateStubResult struct {
	MobileGateway *sacloud.MobileGateway
	Err           error
}

MobileGatewayCreateStubResult is expected values of the Create operation

type MobileGatewayDeleteSIMStubResult

type MobileGatewayDeleteSIMStubResult struct {
	Err error
}

MobileGatewayDeleteSIMStubResult is expected values of the DeleteSIM operation

type MobileGatewayDeleteStubResult

type MobileGatewayDeleteStubResult struct {
	Err error
}

MobileGatewayDeleteStubResult is expected values of the Delete operation

type MobileGatewayDeleteTrafficConfigStubResult

type MobileGatewayDeleteTrafficConfigStubResult struct {
	Err error
}

MobileGatewayDeleteTrafficConfigStubResult is expected values of the DeleteTrafficConfig operation

type MobileGatewayDisconnectFromSwitchStubResult

type MobileGatewayDisconnectFromSwitchStubResult struct {
	Err error
}

MobileGatewayDisconnectFromSwitchStubResult is expected values of the DisconnectFromSwitch operation

type MobileGatewayFindStubResult

type MobileGatewayFindStubResult struct {
	Values *sacloud.MobileGatewayFindResult
	Err    error
}

MobileGatewayFindStubResult is expected values of the Find operation

type MobileGatewayGetDNSStubResult

type MobileGatewayGetDNSStubResult struct {
	SIMGroup *sacloud.MobileGatewayDNSSetting
	Err      error
}

MobileGatewayGetDNSStubResult is expected values of the GetDNS operation

type MobileGatewayGetSIMRoutesStubResult

type MobileGatewayGetSIMRoutesStubResult struct {
	SIMRoutes sacloud.MobileGatewaySIMRoutes
	Err       error
}

MobileGatewayGetSIMRoutesStubResult is expected values of the GetSIMRoutes operation

type MobileGatewayGetTrafficConfigStubResult

type MobileGatewayGetTrafficConfigStubResult struct {
	TrafficMonitoring *sacloud.MobileGatewayTrafficControl
	Err               error
}

MobileGatewayGetTrafficConfigStubResult is expected values of the GetTrafficConfig operation

type MobileGatewayListSIMStubResult

type MobileGatewayListSIMStubResult struct {
	SIM sacloud.MobileGatewaySIMs
	Err error
}

MobileGatewayListSIMStubResult is expected values of the ListSIM operation

type MobileGatewayLogsStubResult

type MobileGatewayLogsStubResult struct {
	Logs []*sacloud.MobileGatewaySIMLogs
	Err  error
}

MobileGatewayLogsStubResult is expected values of the Logs operation

type MobileGatewayMonitorInterfaceStubResult

type MobileGatewayMonitorInterfaceStubResult struct {
	InterfaceActivity *sacloud.InterfaceActivity
	Err               error
}

MobileGatewayMonitorInterfaceStubResult is expected values of the MonitorInterface operation

type MobileGatewayReadStubResult

type MobileGatewayReadStubResult struct {
	MobileGateway *sacloud.MobileGateway
	Err           error
}

MobileGatewayReadStubResult is expected values of the Read operation

type MobileGatewayResetStubResult

type MobileGatewayResetStubResult struct {
	Err error
}

MobileGatewayResetStubResult is expected values of the Reset operation

type MobileGatewaySetDNSStubResult

type MobileGatewaySetDNSStubResult struct {
	Err error
}

MobileGatewaySetDNSStubResult is expected values of the SetDNS operation

type MobileGatewaySetSIMRoutesStubResult

type MobileGatewaySetSIMRoutesStubResult struct {
	Err error
}

MobileGatewaySetSIMRoutesStubResult is expected values of the SetSIMRoutes operation

type MobileGatewaySetTrafficConfigStubResult

type MobileGatewaySetTrafficConfigStubResult struct {
	Err error
}

MobileGatewaySetTrafficConfigStubResult is expected values of the SetTrafficConfig operation

type MobileGatewayShutdownStubResult

type MobileGatewayShutdownStubResult struct {
	Err error
}

MobileGatewayShutdownStubResult is expected values of the Shutdown operation

type MobileGatewayStub

type MobileGatewayStub struct {
	FindStubResult                 *MobileGatewayFindStubResult
	CreateStubResult               *MobileGatewayCreateStubResult
	ReadStubResult                 *MobileGatewayReadStubResult
	UpdateStubResult               *MobileGatewayUpdateStubResult
	UpdateSettingsStubResult       *MobileGatewayUpdateSettingsStubResult
	DeleteStubResult               *MobileGatewayDeleteStubResult
	ConfigStubResult               *MobileGatewayConfigStubResult
	BootStubResult                 *MobileGatewayBootStubResult
	ShutdownStubResult             *MobileGatewayShutdownStubResult
	ResetStubResult                *MobileGatewayResetStubResult
	ConnectToSwitchStubResult      *MobileGatewayConnectToSwitchStubResult
	DisconnectFromSwitchStubResult *MobileGatewayDisconnectFromSwitchStubResult
	GetDNSStubResult               *MobileGatewayGetDNSStubResult
	SetDNSStubResult               *MobileGatewaySetDNSStubResult
	GetSIMRoutesStubResult         *MobileGatewayGetSIMRoutesStubResult
	SetSIMRoutesStubResult         *MobileGatewaySetSIMRoutesStubResult
	ListSIMStubResult              *MobileGatewayListSIMStubResult
	AddSIMStubResult               *MobileGatewayAddSIMStubResult
	DeleteSIMStubResult            *MobileGatewayDeleteSIMStubResult
	LogsStubResult                 *MobileGatewayLogsStubResult
	GetTrafficConfigStubResult     *MobileGatewayGetTrafficConfigStubResult
	SetTrafficConfigStubResult     *MobileGatewaySetTrafficConfigStubResult
	DeleteTrafficConfigStubResult  *MobileGatewayDeleteTrafficConfigStubResult
	TrafficStatusStubResult        *MobileGatewayTrafficStatusStubResult
	MonitorInterfaceStubResult     *MobileGatewayMonitorInterfaceStubResult
}

MobileGatewayStub is for trace MobileGatewayOp operations

func (*MobileGatewayStub) AddSIM

AddSIM is API call with trace log

func (*MobileGatewayStub) Boot

func (s *MobileGatewayStub) Boot(ctx context.Context, zone string, id types.ID) error

Boot is API call with trace log

func (*MobileGatewayStub) Config

func (s *MobileGatewayStub) Config(ctx context.Context, zone string, id types.ID) error

Config is API call with trace log

func (*MobileGatewayStub) ConnectToSwitch

func (s *MobileGatewayStub) ConnectToSwitch(ctx context.Context, zone string, id types.ID, switchID types.ID) error

ConnectToSwitch is API call with trace log

func (*MobileGatewayStub) Create

Create is API call with trace log

func (*MobileGatewayStub) Delete

func (s *MobileGatewayStub) Delete(ctx context.Context, zone string, id types.ID) error

Delete is API call with trace log

func (*MobileGatewayStub) DeleteSIM

func (s *MobileGatewayStub) DeleteSIM(ctx context.Context, zone string, id types.ID, simID types.ID) error

DeleteSIM is API call with trace log

func (*MobileGatewayStub) DeleteTrafficConfig

func (s *MobileGatewayStub) DeleteTrafficConfig(ctx context.Context, zone string, id types.ID) error

DeleteTrafficConfig is API call with trace log

func (*MobileGatewayStub) DisconnectFromSwitch

func (s *MobileGatewayStub) DisconnectFromSwitch(ctx context.Context, zone string, id types.ID) error

DisconnectFromSwitch is API call with trace log

func (*MobileGatewayStub) Find

Find is API call with trace log

func (*MobileGatewayStub) GetDNS

GetDNS is API call with trace log

func (*MobileGatewayStub) GetSIMRoutes

GetSIMRoutes is API call with trace log

func (*MobileGatewayStub) GetTrafficConfig

func (s *MobileGatewayStub) GetTrafficConfig(ctx context.Context, zone string, id types.ID) (*sacloud.MobileGatewayTrafficControl, error)

GetTrafficConfig is API call with trace log

func (*MobileGatewayStub) ListSIM

ListSIM is API call with trace log

func (*MobileGatewayStub) Logs

Logs is API call with trace log

func (*MobileGatewayStub) MonitorInterface

func (s *MobileGatewayStub) MonitorInterface(ctx context.Context, zone string, id types.ID, index int, condition *sacloud.MonitorCondition) (*sacloud.InterfaceActivity, error)

MonitorInterface is API call with trace log

func (*MobileGatewayStub) Read

Read is API call with trace log

func (*MobileGatewayStub) Reset

func (s *MobileGatewayStub) Reset(ctx context.Context, zone string, id types.ID) error

Reset is API call with trace log

func (*MobileGatewayStub) SetDNS

SetDNS is API call with trace log

func (*MobileGatewayStub) SetSIMRoutes

func (s *MobileGatewayStub) SetSIMRoutes(ctx context.Context, zone string, id types.ID, param []*sacloud.MobileGatewaySIMRouteParam) error

SetSIMRoutes is API call with trace log

func (*MobileGatewayStub) SetTrafficConfig

func (s *MobileGatewayStub) SetTrafficConfig(ctx context.Context, zone string, id types.ID, param *sacloud.MobileGatewayTrafficControl) error

SetTrafficConfig is API call with trace log

func (*MobileGatewayStub) Shutdown

func (s *MobileGatewayStub) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *sacloud.ShutdownOption) error

Shutdown is API call with trace log

func (*MobileGatewayStub) TrafficStatus

TrafficStatus is API call with trace log

func (*MobileGatewayStub) Update

Update is API call with trace log

func (*MobileGatewayStub) UpdateSettings

UpdateSettings is API call with trace log

type MobileGatewayTrafficStatusStubResult

type MobileGatewayTrafficStatusStubResult struct {
	TrafficStatus *sacloud.MobileGatewayTrafficStatus
	Err           error
}

MobileGatewayTrafficStatusStubResult is expected values of the TrafficStatus operation

type MobileGatewayUpdateSettingsStubResult

type MobileGatewayUpdateSettingsStubResult struct {
	MobileGateway *sacloud.MobileGateway
	Err           error
}

MobileGatewayUpdateSettingsStubResult is expected values of the UpdateSettings operation

type MobileGatewayUpdateStubResult

type MobileGatewayUpdateStubResult struct {
	MobileGateway *sacloud.MobileGateway
	Err           error
}

MobileGatewayUpdateStubResult is expected values of the Update operation

type NFSBootStubResult

type NFSBootStubResult struct {
	Err error
}

NFSBootStubResult is expected values of the Boot operation

type NFSCreateStubResult

type NFSCreateStubResult struct {
	NFS *sacloud.NFS
	Err error
}

NFSCreateStubResult is expected values of the Create operation

type NFSDeleteStubResult

type NFSDeleteStubResult struct {
	Err error
}

NFSDeleteStubResult is expected values of the Delete operation

type NFSFindStubResult

type NFSFindStubResult struct {
	Values *sacloud.NFSFindResult
	Err    error
}

NFSFindStubResult is expected values of the Find operation

type NFSMonitorFreeDiskSizeStubResult

type NFSMonitorFreeDiskSizeStubResult struct {
	FreeDiskSizeActivity *sacloud.FreeDiskSizeActivity
	Err                  error
}

NFSMonitorFreeDiskSizeStubResult is expected values of the MonitorFreeDiskSize operation

type NFSMonitorInterfaceStubResult

type NFSMonitorInterfaceStubResult struct {
	InterfaceActivity *sacloud.InterfaceActivity
	Err               error
}

NFSMonitorInterfaceStubResult is expected values of the MonitorInterface operation

type NFSReadStubResult

type NFSReadStubResult struct {
	NFS *sacloud.NFS
	Err error
}

NFSReadStubResult is expected values of the Read operation

type NFSResetStubResult

type NFSResetStubResult struct {
	Err error
}

NFSResetStubResult is expected values of the Reset operation

type NFSShutdownStubResult

type NFSShutdownStubResult struct {
	Err error
}

NFSShutdownStubResult is expected values of the Shutdown operation

type NFSStub

type NFSStub struct {
	FindStubResult                *NFSFindStubResult
	CreateStubResult              *NFSCreateStubResult
	ReadStubResult                *NFSReadStubResult
	UpdateStubResult              *NFSUpdateStubResult
	DeleteStubResult              *NFSDeleteStubResult
	BootStubResult                *NFSBootStubResult
	ShutdownStubResult            *NFSShutdownStubResult
	ResetStubResult               *NFSResetStubResult
	MonitorFreeDiskSizeStubResult *NFSMonitorFreeDiskSizeStubResult
	MonitorInterfaceStubResult    *NFSMonitorInterfaceStubResult
}

NFSStub is for trace NFSOp operations

func (*NFSStub) Boot

func (s *NFSStub) Boot(ctx context.Context, zone string, id types.ID) error

Boot is API call with trace log

func (*NFSStub) Create

func (s *NFSStub) Create(ctx context.Context, zone string, param *sacloud.NFSCreateRequest) (*sacloud.NFS, error)

Create is API call with trace log

func (*NFSStub) Delete

func (s *NFSStub) Delete(ctx context.Context, zone string, id types.ID) error

Delete is API call with trace log

func (*NFSStub) Find

func (s *NFSStub) Find(ctx context.Context, zone string, conditions *sacloud.FindCondition) (*sacloud.NFSFindResult, error)

Find is API call with trace log

func (*NFSStub) MonitorFreeDiskSize

func (s *NFSStub) MonitorFreeDiskSize(ctx context.Context, zone string, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.FreeDiskSizeActivity, error)

MonitorFreeDiskSize is API call with trace log

func (*NFSStub) MonitorInterface

func (s *NFSStub) MonitorInterface(ctx context.Context, zone string, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.InterfaceActivity, error)

MonitorInterface is API call with trace log

func (*NFSStub) Read

func (s *NFSStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.NFS, error)

Read is API call with trace log

func (*NFSStub) Reset

func (s *NFSStub) Reset(ctx context.Context, zone string, id types.ID) error

Reset is API call with trace log

func (*NFSStub) Shutdown

func (s *NFSStub) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *sacloud.ShutdownOption) error

Shutdown is API call with trace log

func (*NFSStub) Update

func (s *NFSStub) Update(ctx context.Context, zone string, id types.ID, param *sacloud.NFSUpdateRequest) (*sacloud.NFS, error)

Update is API call with trace log

type NFSUpdateStubResult

type NFSUpdateStubResult struct {
	NFS *sacloud.NFS
	Err error
}

NFSUpdateStubResult is expected values of the Update operation

type NoteCreateStubResult

type NoteCreateStubResult struct {
	Note *sacloud.Note
	Err  error
}

NoteCreateStubResult is expected values of the Create operation

type NoteDeleteStubResult

type NoteDeleteStubResult struct {
	Err error
}

NoteDeleteStubResult is expected values of the Delete operation

type NoteFindStubResult

type NoteFindStubResult struct {
	Values *sacloud.NoteFindResult
	Err    error
}

NoteFindStubResult is expected values of the Find operation

type NoteReadStubResult

type NoteReadStubResult struct {
	Note *sacloud.Note
	Err  error
}

NoteReadStubResult is expected values of the Read operation

type NoteStub

type NoteStub struct {
	FindStubResult   *NoteFindStubResult
	CreateStubResult *NoteCreateStubResult
	ReadStubResult   *NoteReadStubResult
	UpdateStubResult *NoteUpdateStubResult
	DeleteStubResult *NoteDeleteStubResult
}

NoteStub is for trace NoteOp operations

func (*NoteStub) Create

func (s *NoteStub) Create(ctx context.Context, param *sacloud.NoteCreateRequest) (*sacloud.Note, error)

Create is API call with trace log

func (*NoteStub) Delete

func (s *NoteStub) Delete(ctx context.Context, id types.ID) error

Delete is API call with trace log

func (*NoteStub) Find

func (s *NoteStub) Find(ctx context.Context, conditions *sacloud.FindCondition) (*sacloud.NoteFindResult, error)

Find is API call with trace log

func (*NoteStub) Read

func (s *NoteStub) Read(ctx context.Context, id types.ID) (*sacloud.Note, error)

Read is API call with trace log

func (*NoteStub) Update

func (s *NoteStub) Update(ctx context.Context, id types.ID, param *sacloud.NoteUpdateRequest) (*sacloud.Note, error)

Update is API call with trace log

type NoteUpdateStubResult

type NoteUpdateStubResult struct {
	Note *sacloud.Note
	Err  error
}

NoteUpdateStubResult is expected values of the Update operation

type PacketFilterCreateStubResult

type PacketFilterCreateStubResult struct {
	PacketFilter *sacloud.PacketFilter
	Err          error
}

PacketFilterCreateStubResult is expected values of the Create operation

type PacketFilterDeleteStubResult

type PacketFilterDeleteStubResult struct {
	Err error
}

PacketFilterDeleteStubResult is expected values of the Delete operation

type PacketFilterFindStubResult

type PacketFilterFindStubResult struct {
	Values *sacloud.PacketFilterFindResult
	Err    error
}

PacketFilterFindStubResult is expected values of the Find operation

type PacketFilterReadStubResult

type PacketFilterReadStubResult struct {
	PacketFilter *sacloud.PacketFilter
	Err          error
}

PacketFilterReadStubResult is expected values of the Read operation

type PacketFilterStub

type PacketFilterStub struct {
	FindStubResult   *PacketFilterFindStubResult
	CreateStubResult *PacketFilterCreateStubResult
	ReadStubResult   *PacketFilterReadStubResult
	UpdateStubResult *PacketFilterUpdateStubResult
	DeleteStubResult *PacketFilterDeleteStubResult
}

PacketFilterStub is for trace PacketFilterOp operations

func (*PacketFilterStub) Create

Create is API call with trace log

func (*PacketFilterStub) Delete

func (s *PacketFilterStub) Delete(ctx context.Context, zone string, id types.ID) error

Delete is API call with trace log

func (*PacketFilterStub) Find

Find is API call with trace log

func (*PacketFilterStub) Read

Read is API call with trace log

func (*PacketFilterStub) Update

func (s *PacketFilterStub) Update(ctx context.Context, zone string, id types.ID, updateParam *sacloud.PacketFilterUpdateRequest, originalExpressionHash string) (*sacloud.PacketFilter, error)

Update is API call with trace log

type PacketFilterUpdateStubResult

type PacketFilterUpdateStubResult struct {
	PacketFilter *sacloud.PacketFilter
	Err          error
}

PacketFilterUpdateStubResult is expected values of the Update operation

type PrivateHostCreateStubResult

type PrivateHostCreateStubResult struct {
	PrivateHost *sacloud.PrivateHost
	Err         error
}

PrivateHostCreateStubResult is expected values of the Create operation

type PrivateHostDeleteStubResult

type PrivateHostDeleteStubResult struct {
	Err error
}

PrivateHostDeleteStubResult is expected values of the Delete operation

type PrivateHostFindStubResult

type PrivateHostFindStubResult struct {
	Values *sacloud.PrivateHostFindResult
	Err    error
}

PrivateHostFindStubResult is expected values of the Find operation

type PrivateHostPlanFindStubResult

type PrivateHostPlanFindStubResult struct {
	Values *sacloud.PrivateHostPlanFindResult
	Err    error
}

PrivateHostPlanFindStubResult is expected values of the Find operation

type PrivateHostPlanReadStubResult

type PrivateHostPlanReadStubResult struct {
	PrivateHostPlan *sacloud.PrivateHostPlan
	Err             error
}

PrivateHostPlanReadStubResult is expected values of the Read operation

type PrivateHostPlanStub

type PrivateHostPlanStub struct {
	FindStubResult *PrivateHostPlanFindStubResult
	ReadStubResult *PrivateHostPlanReadStubResult
}

PrivateHostPlanStub is for trace PrivateHostPlanOp operations

func (*PrivateHostPlanStub) Find

Find is API call with trace log

func (*PrivateHostPlanStub) Read

Read is API call with trace log

type PrivateHostReadStubResult

type PrivateHostReadStubResult struct {
	PrivateHost *sacloud.PrivateHost
	Err         error
}

PrivateHostReadStubResult is expected values of the Read operation

type PrivateHostStub

type PrivateHostStub struct {
	FindStubResult   *PrivateHostFindStubResult
	CreateStubResult *PrivateHostCreateStubResult
	ReadStubResult   *PrivateHostReadStubResult
	UpdateStubResult *PrivateHostUpdateStubResult
	DeleteStubResult *PrivateHostDeleteStubResult
}

PrivateHostStub is for trace PrivateHostOp operations

func (*PrivateHostStub) Create

Create is API call with trace log

func (*PrivateHostStub) Delete

func (s *PrivateHostStub) Delete(ctx context.Context, zone string, id types.ID) error

Delete is API call with trace log

func (*PrivateHostStub) Find

Find is API call with trace log

func (*PrivateHostStub) Read

func (s *PrivateHostStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.PrivateHost, error)

Read is API call with trace log

func (*PrivateHostStub) Update

Update is API call with trace log

type PrivateHostUpdateStubResult

type PrivateHostUpdateStubResult struct {
	PrivateHost *sacloud.PrivateHost
	Err         error
}

PrivateHostUpdateStubResult is expected values of the Update operation

type ProxyLBChangePlanStubResult

type ProxyLBChangePlanStubResult struct {
	ProxyLB *sacloud.ProxyLB
	Err     error
}

ProxyLBChangePlanStubResult is expected values of the ChangePlan operation

type ProxyLBCreateStubResult

type ProxyLBCreateStubResult struct {
	ProxyLB *sacloud.ProxyLB
	Err     error
}

ProxyLBCreateStubResult is expected values of the Create operation

type ProxyLBDeleteCertificatesStubResult

type ProxyLBDeleteCertificatesStubResult struct {
	Err error
}

ProxyLBDeleteCertificatesStubResult is expected values of the DeleteCertificates operation

type ProxyLBDeleteStubResult

type ProxyLBDeleteStubResult struct {
	Err error
}

ProxyLBDeleteStubResult is expected values of the Delete operation

type ProxyLBFindStubResult

type ProxyLBFindStubResult struct {
	Values *sacloud.ProxyLBFindResult
	Err    error
}

ProxyLBFindStubResult is expected values of the Find operation

type ProxyLBGetCertificatesStubResult

type ProxyLBGetCertificatesStubResult struct {
	ProxyLBCertificates *sacloud.ProxyLBCertificates
	Err                 error
}

ProxyLBGetCertificatesStubResult is expected values of the GetCertificates operation

type ProxyLBHealthStatusStubResult

type ProxyLBHealthStatusStubResult struct {
	ProxyLBHealth *sacloud.ProxyLBHealth
	Err           error
}

ProxyLBHealthStatusStubResult is expected values of the HealthStatus operation

type ProxyLBMonitorConnectionStubResult

type ProxyLBMonitorConnectionStubResult struct {
	ConnectionActivity *sacloud.ConnectionActivity
	Err                error
}

ProxyLBMonitorConnectionStubResult is expected values of the MonitorConnection operation

type ProxyLBReadStubResult

type ProxyLBReadStubResult struct {
	ProxyLB *sacloud.ProxyLB
	Err     error
}

ProxyLBReadStubResult is expected values of the Read operation

type ProxyLBRenewLetsEncryptCertStubResult

type ProxyLBRenewLetsEncryptCertStubResult struct {
	Err error
}

ProxyLBRenewLetsEncryptCertStubResult is expected values of the RenewLetsEncryptCert operation

type ProxyLBSetCertificatesStubResult

type ProxyLBSetCertificatesStubResult struct {
	ProxyLBCertificates *sacloud.ProxyLBCertificates
	Err                 error
}

ProxyLBSetCertificatesStubResult is expected values of the SetCertificates operation

type ProxyLBStub

type ProxyLBStub struct {
	FindStubResult                 *ProxyLBFindStubResult
	CreateStubResult               *ProxyLBCreateStubResult
	ReadStubResult                 *ProxyLBReadStubResult
	UpdateStubResult               *ProxyLBUpdateStubResult
	UpdateSettingsStubResult       *ProxyLBUpdateSettingsStubResult
	DeleteStubResult               *ProxyLBDeleteStubResult
	ChangePlanStubResult           *ProxyLBChangePlanStubResult
	GetCertificatesStubResult      *ProxyLBGetCertificatesStubResult
	SetCertificatesStubResult      *ProxyLBSetCertificatesStubResult
	DeleteCertificatesStubResult   *ProxyLBDeleteCertificatesStubResult
	RenewLetsEncryptCertStubResult *ProxyLBRenewLetsEncryptCertStubResult
	HealthStatusStubResult         *ProxyLBHealthStatusStubResult
	MonitorConnectionStubResult    *ProxyLBMonitorConnectionStubResult
}

ProxyLBStub is for trace ProxyLBOp operations

func (*ProxyLBStub) ChangePlan

ChangePlan is API call with trace log

func (*ProxyLBStub) Create

Create is API call with trace log

func (*ProxyLBStub) Delete

func (s *ProxyLBStub) Delete(ctx context.Context, id types.ID) error

Delete is API call with trace log

func (*ProxyLBStub) DeleteCertificates

func (s *ProxyLBStub) DeleteCertificates(ctx context.Context, id types.ID) error

DeleteCertificates is API call with trace log

func (*ProxyLBStub) Find

Find is API call with trace log

func (*ProxyLBStub) GetCertificates

func (s *ProxyLBStub) GetCertificates(ctx context.Context, id types.ID) (*sacloud.ProxyLBCertificates, error)

GetCertificates is API call with trace log

func (*ProxyLBStub) HealthStatus

func (s *ProxyLBStub) HealthStatus(ctx context.Context, id types.ID) (*sacloud.ProxyLBHealth, error)

HealthStatus is API call with trace log

func (*ProxyLBStub) MonitorConnection

func (s *ProxyLBStub) MonitorConnection(ctx context.Context, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.ConnectionActivity, error)

MonitorConnection is API call with trace log

func (*ProxyLBStub) Read

func (s *ProxyLBStub) Read(ctx context.Context, id types.ID) (*sacloud.ProxyLB, error)

Read is API call with trace log

func (*ProxyLBStub) RenewLetsEncryptCert

func (s *ProxyLBStub) RenewLetsEncryptCert(ctx context.Context, id types.ID) error

RenewLetsEncryptCert is API call with trace log

func (*ProxyLBStub) SetCertificates

SetCertificates is API call with trace log

func (*ProxyLBStub) Update

Update is API call with trace log

func (*ProxyLBStub) UpdateSettings

UpdateSettings is API call with trace log

type ProxyLBUpdateSettingsStubResult

type ProxyLBUpdateSettingsStubResult struct {
	ProxyLB *sacloud.ProxyLB
	Err     error
}

ProxyLBUpdateSettingsStubResult is expected values of the UpdateSettings operation

type ProxyLBUpdateStubResult

type ProxyLBUpdateStubResult struct {
	ProxyLB *sacloud.ProxyLB
	Err     error
}

ProxyLBUpdateStubResult is expected values of the Update operation

type RegionFindStubResult

type RegionFindStubResult struct {
	Values *sacloud.RegionFindResult
	Err    error
}

RegionFindStubResult is expected values of the Find operation

type RegionReadStubResult

type RegionReadStubResult struct {
	Region *sacloud.Region
	Err    error
}

RegionReadStubResult is expected values of the Read operation

type RegionStub

type RegionStub struct {
	FindStubResult *RegionFindStubResult
	ReadStubResult *RegionReadStubResult
}

RegionStub is for trace RegionOp operations

func (*RegionStub) Find

Find is API call with trace log

func (*RegionStub) Read

func (s *RegionStub) Read(ctx context.Context, id types.ID) (*sacloud.Region, error)

Read is API call with trace log

type SIMActivateStubResult

type SIMActivateStubResult struct {
	Err error
}

SIMActivateStubResult is expected values of the Activate operation

type SIMAssignIPStubResult

type SIMAssignIPStubResult struct {
	Err error
}

SIMAssignIPStubResult is expected values of the AssignIP operation

type SIMClearIPStubResult

type SIMClearIPStubResult struct {
	Err error
}

SIMClearIPStubResult is expected values of the ClearIP operation

type SIMCreateStubResult

type SIMCreateStubResult struct {
	SIM *sacloud.SIM
	Err error
}

SIMCreateStubResult is expected values of the Create operation

type SIMDeactivateStubResult

type SIMDeactivateStubResult struct {
	Err error
}

SIMDeactivateStubResult is expected values of the Deactivate operation

type SIMDeleteStubResult

type SIMDeleteStubResult struct {
	Err error
}

SIMDeleteStubResult is expected values of the Delete operation

type SIMFindStubResult

type SIMFindStubResult struct {
	Values *sacloud.SIMFindResult
	Err    error
}

SIMFindStubResult is expected values of the Find operation

type SIMGetNetworkOperatorStubResult

type SIMGetNetworkOperatorStubResult struct {
	Configs []*sacloud.SIMNetworkOperatorConfig
	Err     error
}

SIMGetNetworkOperatorStubResult is expected values of the GetNetworkOperator operation

type SIMIMEILockStubResult

type SIMIMEILockStubResult struct {
	Err error
}

SIMIMEILockStubResult is expected values of the IMEILock operation

type SIMIMEIUnlockStubResult

type SIMIMEIUnlockStubResult struct {
	Err error
}

SIMIMEIUnlockStubResult is expected values of the IMEIUnlock operation

type SIMLogsStubResult

type SIMLogsStubResult struct {
	Values *sacloud.SIMLogsResult
	Err    error
}

SIMLogsStubResult is expected values of the Logs operation

type SIMMonitorSIMStubResult

type SIMMonitorSIMStubResult struct {
	LinkActivity *sacloud.LinkActivity
	Err          error
}

SIMMonitorSIMStubResult is expected values of the MonitorSIM operation

type SIMReadStubResult

type SIMReadStubResult struct {
	SIM *sacloud.SIM
	Err error
}

SIMReadStubResult is expected values of the Read operation

type SIMSetNetworkOperatorStubResult

type SIMSetNetworkOperatorStubResult struct {
	Err error
}

SIMSetNetworkOperatorStubResult is expected values of the SetNetworkOperator operation

type SIMStatusStubResult

type SIMStatusStubResult struct {
	SIM *sacloud.SIMInfo
	Err error
}

SIMStatusStubResult is expected values of the Status operation

type SIMStub

type SIMStub struct {
	FindStubResult               *SIMFindStubResult
	CreateStubResult             *SIMCreateStubResult
	ReadStubResult               *SIMReadStubResult
	UpdateStubResult             *SIMUpdateStubResult
	DeleteStubResult             *SIMDeleteStubResult
	ActivateStubResult           *SIMActivateStubResult
	DeactivateStubResult         *SIMDeactivateStubResult
	AssignIPStubResult           *SIMAssignIPStubResult
	ClearIPStubResult            *SIMClearIPStubResult
	IMEILockStubResult           *SIMIMEILockStubResult
	IMEIUnlockStubResult         *SIMIMEIUnlockStubResult
	LogsStubResult               *SIMLogsStubResult
	GetNetworkOperatorStubResult *SIMGetNetworkOperatorStubResult
	SetNetworkOperatorStubResult *SIMSetNetworkOperatorStubResult
	MonitorSIMStubResult         *SIMMonitorSIMStubResult
	StatusStubResult             *SIMStatusStubResult
}

SIMStub is for trace SIMOp operations

func (*SIMStub) Activate

func (s *SIMStub) Activate(ctx context.Context, id types.ID) error

Activate is API call with trace log

func (*SIMStub) AssignIP

func (s *SIMStub) AssignIP(ctx context.Context, id types.ID, param *sacloud.SIMAssignIPRequest) error

AssignIP is API call with trace log

func (*SIMStub) ClearIP

func (s *SIMStub) ClearIP(ctx context.Context, id types.ID) error

ClearIP is API call with trace log

func (*SIMStub) Create

func (s *SIMStub) Create(ctx context.Context, param *sacloud.SIMCreateRequest) (*sacloud.SIM, error)

Create is API call with trace log

func (*SIMStub) Deactivate

func (s *SIMStub) Deactivate(ctx context.Context, id types.ID) error

Deactivate is API call with trace log

func (*SIMStub) Delete

func (s *SIMStub) Delete(ctx context.Context, id types.ID) error

Delete is API call with trace log

func (*SIMStub) Find

func (s *SIMStub) Find(ctx context.Context, conditions *sacloud.FindCondition) (*sacloud.SIMFindResult, error)

Find is API call with trace log

func (*SIMStub) GetNetworkOperator

func (s *SIMStub) GetNetworkOperator(ctx context.Context, id types.ID) ([]*sacloud.SIMNetworkOperatorConfig, error)

GetNetworkOperator is API call with trace log

func (*SIMStub) IMEILock

func (s *SIMStub) IMEILock(ctx context.Context, id types.ID, param *sacloud.SIMIMEILockRequest) error

IMEILock is API call with trace log

func (*SIMStub) IMEIUnlock

func (s *SIMStub) IMEIUnlock(ctx context.Context, id types.ID) error

IMEIUnlock is API call with trace log

func (*SIMStub) Logs

func (s *SIMStub) Logs(ctx context.Context, id types.ID) (*sacloud.SIMLogsResult, error)

Logs is API call with trace log

func (*SIMStub) MonitorSIM

func (s *SIMStub) MonitorSIM(ctx context.Context, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.LinkActivity, error)

MonitorSIM is API call with trace log

func (*SIMStub) Read

func (s *SIMStub) Read(ctx context.Context, id types.ID) (*sacloud.SIM, error)

Read is API call with trace log

func (*SIMStub) SetNetworkOperator

func (s *SIMStub) SetNetworkOperator(ctx context.Context, id types.ID, configs []*sacloud.SIMNetworkOperatorConfig) error

SetNetworkOperator is API call with trace log

func (*SIMStub) Status

func (s *SIMStub) Status(ctx context.Context, id types.ID) (*sacloud.SIMInfo, error)

Status is API call with trace log

func (*SIMStub) Update

func (s *SIMStub) Update(ctx context.Context, id types.ID, param *sacloud.SIMUpdateRequest) (*sacloud.SIM, error)

Update is API call with trace log

type SIMUpdateStubResult

type SIMUpdateStubResult struct {
	SIM *sacloud.SIM
	Err error
}

SIMUpdateStubResult is expected values of the Update operation

type SSHKeyCreateStubResult

type SSHKeyCreateStubResult struct {
	SSHKey *sacloud.SSHKey
	Err    error
}

SSHKeyCreateStubResult is expected values of the Create operation

type SSHKeyDeleteStubResult

type SSHKeyDeleteStubResult struct {
	Err error
}

SSHKeyDeleteStubResult is expected values of the Delete operation

type SSHKeyFindStubResult

type SSHKeyFindStubResult struct {
	Values *sacloud.SSHKeyFindResult
	Err    error
}

SSHKeyFindStubResult is expected values of the Find operation

type SSHKeyGenerateStubResult

type SSHKeyGenerateStubResult struct {
	SSHKeyGenerated *sacloud.SSHKeyGenerated
	Err             error
}

SSHKeyGenerateStubResult is expected values of the Generate operation

type SSHKeyReadStubResult

type SSHKeyReadStubResult struct {
	SSHKey *sacloud.SSHKey
	Err    error
}

SSHKeyReadStubResult is expected values of the Read operation

type SSHKeyStub

type SSHKeyStub struct {
	FindStubResult     *SSHKeyFindStubResult
	CreateStubResult   *SSHKeyCreateStubResult
	GenerateStubResult *SSHKeyGenerateStubResult
	ReadStubResult     *SSHKeyReadStubResult
	UpdateStubResult   *SSHKeyUpdateStubResult
	DeleteStubResult   *SSHKeyDeleteStubResult
}

SSHKeyStub is for trace SSHKeyOp operations

func (*SSHKeyStub) Create

Create is API call with trace log

func (*SSHKeyStub) Delete

func (s *SSHKeyStub) Delete(ctx context.Context, id types.ID) error

Delete is API call with trace log

func (*SSHKeyStub) Find

Find is API call with trace log

func (*SSHKeyStub) Generate

Generate is API call with trace log

func (*SSHKeyStub) Read

func (s *SSHKeyStub) Read(ctx context.Context, id types.ID) (*sacloud.SSHKey, error)

Read is API call with trace log

func (*SSHKeyStub) Update

Update is API call with trace log

type SSHKeyUpdateStubResult

type SSHKeyUpdateStubResult struct {
	SSHKey *sacloud.SSHKey
	Err    error
}

SSHKeyUpdateStubResult is expected values of the Update operation

type ServerBootStubResult

type ServerBootStubResult struct {
	Err error
}

ServerBootStubResult is expected values of the Boot operation

type ServerChangePlanStubResult

type ServerChangePlanStubResult struct {
	Server *sacloud.Server
	Err    error
}

ServerChangePlanStubResult is expected values of the ChangePlan operation

type ServerCreateStubResult

type ServerCreateStubResult struct {
	Server *sacloud.Server
	Err    error
}

ServerCreateStubResult is expected values of the Create operation

type ServerDeleteStubResult

type ServerDeleteStubResult struct {
	Err error
}

ServerDeleteStubResult is expected values of the Delete operation

type ServerDeleteWithDisksStubResult

type ServerDeleteWithDisksStubResult struct {
	Err error
}

ServerDeleteWithDisksStubResult is expected values of the DeleteWithDisks operation

type ServerEjectCDROMStubResult

type ServerEjectCDROMStubResult struct {
	Err error
}

ServerEjectCDROMStubResult is expected values of the EjectCDROM operation

type ServerFindStubResult

type ServerFindStubResult struct {
	Values *sacloud.ServerFindResult
	Err    error
}

ServerFindStubResult is expected values of the Find operation

type ServerGetVNCProxyStubResult

type ServerGetVNCProxyStubResult struct {
	VNCProxyInfo *sacloud.VNCProxyInfo
	Err          error
}

ServerGetVNCProxyStubResult is expected values of the GetVNCProxy operation

type ServerInsertCDROMStubResult

type ServerInsertCDROMStubResult struct {
	Err error
}

ServerInsertCDROMStubResult is expected values of the InsertCDROM operation

type ServerMonitorCPUStubResult added in v2.8.0

type ServerMonitorCPUStubResult struct {
	CPUTimeActivity *sacloud.CPUTimeActivity
	Err             error
}

ServerMonitorCPUStubResult is expected values of the MonitorCPU operation

type ServerMonitorStubResult

type ServerMonitorStubResult struct {
	CPUTimeActivity *sacloud.CPUTimeActivity
	Err             error
}

ServerMonitorStubResult is expected values of the Monitor operation

type ServerPlanFindStubResult

type ServerPlanFindStubResult struct {
	Values *sacloud.ServerPlanFindResult
	Err    error
}

ServerPlanFindStubResult is expected values of the Find operation

type ServerPlanReadStubResult

type ServerPlanReadStubResult struct {
	ServerPlan *sacloud.ServerPlan
	Err        error
}

ServerPlanReadStubResult is expected values of the Read operation

type ServerPlanStub

type ServerPlanStub struct {
	FindStubResult *ServerPlanFindStubResult
	ReadStubResult *ServerPlanReadStubResult
}

ServerPlanStub is for trace ServerPlanOp operations

func (*ServerPlanStub) Find

Find is API call with trace log

func (*ServerPlanStub) Read

func (s *ServerPlanStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.ServerPlan, error)

Read is API call with trace log

type ServerReadStubResult

type ServerReadStubResult struct {
	Server *sacloud.Server
	Err    error
}

ServerReadStubResult is expected values of the Read operation

type ServerResetStubResult

type ServerResetStubResult struct {
	Err error
}

ServerResetStubResult is expected values of the Reset operation

type ServerSendKeyStubResult

type ServerSendKeyStubResult struct {
	Err error
}

ServerSendKeyStubResult is expected values of the SendKey operation

type ServerSendNMIStubResult added in v2.16.0

type ServerSendNMIStubResult struct {
	Err error
}

ServerSendNMIStubResult is expected values of the SendNMI operation

type ServerShutdownStubResult

type ServerShutdownStubResult struct {
	Err error
}

ServerShutdownStubResult is expected values of the Shutdown operation

type ServerStub

type ServerStub struct {
	FindStubResult            *ServerFindStubResult
	CreateStubResult          *ServerCreateStubResult
	ReadStubResult            *ServerReadStubResult
	UpdateStubResult          *ServerUpdateStubResult
	DeleteStubResult          *ServerDeleteStubResult
	DeleteWithDisksStubResult *ServerDeleteWithDisksStubResult
	ChangePlanStubResult      *ServerChangePlanStubResult
	InsertCDROMStubResult     *ServerInsertCDROMStubResult
	EjectCDROMStubResult      *ServerEjectCDROMStubResult
	BootStubResult            *ServerBootStubResult
	ShutdownStubResult        *ServerShutdownStubResult
	ResetStubResult           *ServerResetStubResult
	SendKeyStubResult         *ServerSendKeyStubResult
	SendNMIStubResult         *ServerSendNMIStubResult
	GetVNCProxyStubResult     *ServerGetVNCProxyStubResult
	MonitorStubResult         *ServerMonitorStubResult
	MonitorCPUStubResult      *ServerMonitorCPUStubResult
}

ServerStub is for trace ServerOp operations

func (*ServerStub) Boot

func (s *ServerStub) Boot(ctx context.Context, zone string, id types.ID) error

Boot is API call with trace log

func (*ServerStub) ChangePlan

func (s *ServerStub) ChangePlan(ctx context.Context, zone string, id types.ID, plan *sacloud.ServerChangePlanRequest) (*sacloud.Server, error)

ChangePlan is API call with trace log

func (*ServerStub) Create

func (s *ServerStub) Create(ctx context.Context, zone string, param *sacloud.ServerCreateRequest) (*sacloud.Server, error)

Create is API call with trace log

func (*ServerStub) Delete

func (s *ServerStub) Delete(ctx context.Context, zone string, id types.ID) error

Delete is API call with trace log

func (*ServerStub) DeleteWithDisks

func (s *ServerStub) DeleteWithDisks(ctx context.Context, zone string, id types.ID, disks *sacloud.ServerDeleteWithDisksRequest) error

DeleteWithDisks is API call with trace log

func (*ServerStub) EjectCDROM

func (s *ServerStub) EjectCDROM(ctx context.Context, zone string, id types.ID, ejectParam *sacloud.EjectCDROMRequest) error

EjectCDROM is API call with trace log

func (*ServerStub) Find

func (s *ServerStub) Find(ctx context.Context, zone string, conditions *sacloud.FindCondition) (*sacloud.ServerFindResult, error)

Find is API call with trace log

func (*ServerStub) GetVNCProxy

func (s *ServerStub) GetVNCProxy(ctx context.Context, zone string, id types.ID) (*sacloud.VNCProxyInfo, error)

GetVNCProxy is API call with trace log

func (*ServerStub) InsertCDROM

func (s *ServerStub) InsertCDROM(ctx context.Context, zone string, id types.ID, insertParam *sacloud.InsertCDROMRequest) error

InsertCDROM is API call with trace log

func (*ServerStub) Monitor

func (s *ServerStub) Monitor(ctx context.Context, zone string, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.CPUTimeActivity, error)

Monitor is API call with trace log

func (*ServerStub) MonitorCPU added in v2.8.0

func (s *ServerStub) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.CPUTimeActivity, error)

MonitorCPU is API call with trace log

func (*ServerStub) Read

func (s *ServerStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.Server, error)

Read is API call with trace log

func (*ServerStub) Reset

func (s *ServerStub) Reset(ctx context.Context, zone string, id types.ID) error

Reset is API call with trace log

func (*ServerStub) SendKey

func (s *ServerStub) SendKey(ctx context.Context, zone string, id types.ID, keyboardParam *sacloud.SendKeyRequest) error

SendKey is API call with trace log

func (*ServerStub) SendNMI added in v2.16.0

func (s *ServerStub) SendNMI(ctx context.Context, zone string, id types.ID) error

SendNMI is API call with trace log

func (*ServerStub) Shutdown

func (s *ServerStub) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *sacloud.ShutdownOption) error

Shutdown is API call with trace log

func (*ServerStub) Update

func (s *ServerStub) Update(ctx context.Context, zone string, id types.ID, param *sacloud.ServerUpdateRequest) (*sacloud.Server, error)

Update is API call with trace log

type ServerUpdateStubResult

type ServerUpdateStubResult struct {
	Server *sacloud.Server
	Err    error
}

ServerUpdateStubResult is expected values of the Update operation

type ServiceClassFindStubResult

type ServiceClassFindStubResult struct {
	Values *sacloud.ServiceClassFindResult
	Err    error
}

ServiceClassFindStubResult is expected values of the Find operation

type ServiceClassStub

type ServiceClassStub struct {
	FindStubResult *ServiceClassFindStubResult
}

ServiceClassStub is for trace ServiceClassOp operations

func (*ServiceClassStub) Find

Find is API call with trace log

type SimpleMonitorCreateStubResult

type SimpleMonitorCreateStubResult struct {
	SimpleMonitor *sacloud.SimpleMonitor
	Err           error
}

SimpleMonitorCreateStubResult is expected values of the Create operation

type SimpleMonitorDeleteStubResult

type SimpleMonitorDeleteStubResult struct {
	Err error
}

SimpleMonitorDeleteStubResult is expected values of the Delete operation

type SimpleMonitorFindStubResult

type SimpleMonitorFindStubResult struct {
	Values *sacloud.SimpleMonitorFindResult
	Err    error
}

SimpleMonitorFindStubResult is expected values of the Find operation

type SimpleMonitorHealthStatusStubResult

type SimpleMonitorHealthStatusStubResult struct {
	SimpleMonitorHealthStatus *sacloud.SimpleMonitorHealthStatus
	Err                       error
}

SimpleMonitorHealthStatusStubResult is expected values of the HealthStatus operation

type SimpleMonitorMonitorResponseTimeStubResult

type SimpleMonitorMonitorResponseTimeStubResult struct {
	ResponseTimeSecActivity *sacloud.ResponseTimeSecActivity
	Err                     error
}

SimpleMonitorMonitorResponseTimeStubResult is expected values of the MonitorResponseTime operation

type SimpleMonitorReadStubResult

type SimpleMonitorReadStubResult struct {
	SimpleMonitor *sacloud.SimpleMonitor
	Err           error
}

SimpleMonitorReadStubResult is expected values of the Read operation

type SimpleMonitorStub

type SimpleMonitorStub struct {
	FindStubResult                *SimpleMonitorFindStubResult
	CreateStubResult              *SimpleMonitorCreateStubResult
	ReadStubResult                *SimpleMonitorReadStubResult
	UpdateStubResult              *SimpleMonitorUpdateStubResult
	UpdateSettingsStubResult      *SimpleMonitorUpdateSettingsStubResult
	DeleteStubResult              *SimpleMonitorDeleteStubResult
	MonitorResponseTimeStubResult *SimpleMonitorMonitorResponseTimeStubResult
	HealthStatusStubResult        *SimpleMonitorHealthStatusStubResult
}

SimpleMonitorStub is for trace SimpleMonitorOp operations

func (*SimpleMonitorStub) Create

Create is API call with trace log

func (*SimpleMonitorStub) Delete

func (s *SimpleMonitorStub) Delete(ctx context.Context, id types.ID) error

Delete is API call with trace log

func (*SimpleMonitorStub) Find

Find is API call with trace log

func (*SimpleMonitorStub) HealthStatus

HealthStatus is API call with trace log

func (*SimpleMonitorStub) MonitorResponseTime

func (s *SimpleMonitorStub) MonitorResponseTime(ctx context.Context, id types.ID, condition *sacloud.MonitorCondition) (*sacloud.ResponseTimeSecActivity, error)

MonitorResponseTime is API call with trace log

func (*SimpleMonitorStub) Read

Read is API call with trace log

func (*SimpleMonitorStub) Update

Update is API call with trace log

func (*SimpleMonitorStub) UpdateSettings

UpdateSettings is API call with trace log

type SimpleMonitorUpdateSettingsStubResult

type SimpleMonitorUpdateSettingsStubResult struct {
	SimpleMonitor *sacloud.SimpleMonitor
	Err           error
}

SimpleMonitorUpdateSettingsStubResult is expected values of the UpdateSettings operation

type SimpleMonitorUpdateStubResult

type SimpleMonitorUpdateStubResult struct {
	SimpleMonitor *sacloud.SimpleMonitor
	Err           error
}

SimpleMonitorUpdateStubResult is expected values of the Update operation

type SubnetFindStubResult

type SubnetFindStubResult struct {
	Values *sacloud.SubnetFindResult
	Err    error
}

SubnetFindStubResult is expected values of the Find operation

type SubnetReadStubResult

type SubnetReadStubResult struct {
	Subnet *sacloud.Subnet
	Err    error
}

SubnetReadStubResult is expected values of the Read operation

type SubnetStub

type SubnetStub struct {
	FindStubResult *SubnetFindStubResult
	ReadStubResult *SubnetReadStubResult
}

SubnetStub is for trace SubnetOp operations

func (*SubnetStub) Find

func (s *SubnetStub) Find(ctx context.Context, zone string, conditions *sacloud.FindCondition) (*sacloud.SubnetFindResult, error)

Find is API call with trace log

func (*SubnetStub) Read

func (s *SubnetStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.Subnet, error)

Read is API call with trace log

type SwitchConnectToBridgeStubResult

type SwitchConnectToBridgeStubResult struct {
	Err error
}

SwitchConnectToBridgeStubResult is expected values of the ConnectToBridge operation

type SwitchCreateStubResult

type SwitchCreateStubResult struct {
	Switch *sacloud.Switch
	Err    error
}

SwitchCreateStubResult is expected values of the Create operation

type SwitchDeleteStubResult

type SwitchDeleteStubResult struct {
	Err error
}

SwitchDeleteStubResult is expected values of the Delete operation

type SwitchDisconnectFromBridgeStubResult

type SwitchDisconnectFromBridgeStubResult struct {
	Err error
}

SwitchDisconnectFromBridgeStubResult is expected values of the DisconnectFromBridge operation

type SwitchFindStubResult

type SwitchFindStubResult struct {
	Values *sacloud.SwitchFindResult
	Err    error
}

SwitchFindStubResult is expected values of the Find operation

type SwitchGetServersStubResult

type SwitchGetServersStubResult struct {
	Values *sacloud.SwitchGetServersResult
	Err    error
}

SwitchGetServersStubResult is expected values of the GetServers operation

type SwitchReadStubResult

type SwitchReadStubResult struct {
	Switch *sacloud.Switch
	Err    error
}

SwitchReadStubResult is expected values of the Read operation

type SwitchStub

type SwitchStub struct {
	FindStubResult                 *SwitchFindStubResult
	CreateStubResult               *SwitchCreateStubResult
	ReadStubResult                 *SwitchReadStubResult
	UpdateStubResult               *SwitchUpdateStubResult
	DeleteStubResult               *SwitchDeleteStubResult
	ConnectToBridgeStubResult      *SwitchConnectToBridgeStubResult
	DisconnectFromBridgeStubResult *SwitchDisconnectFromBridgeStubResult
	GetServersStubResult           *SwitchGetServersStubResult
}

SwitchStub is for trace SwitchOp operations

func (*SwitchStub) ConnectToBridge

func (s *SwitchStub) ConnectToBridge(ctx context.Context, zone string, id types.ID, bridgeID types.ID) error

ConnectToBridge is API call with trace log

func (*SwitchStub) Create

func (s *SwitchStub) Create(ctx context.Context, zone string, param *sacloud.SwitchCreateRequest) (*sacloud.Switch, error)

Create is API call with trace log

func (*SwitchStub) Delete

func (s *SwitchStub) Delete(ctx context.Context, zone string, id types.ID) error

Delete is API call with trace log

func (*SwitchStub) DisconnectFromBridge

func (s *SwitchStub) DisconnectFromBridge(ctx context.Context, zone string, id types.ID) error

DisconnectFromBridge is API call with trace log

func (*SwitchStub) Find

func (s *SwitchStub) Find(ctx context.Context, zone string, conditions *sacloud.FindCondition) (*sacloud.SwitchFindResult, error)

Find is API call with trace log

func (*SwitchStub) GetServers

func (s *SwitchStub) GetServers(ctx context.Context, zone string, id types.ID) (*sacloud.SwitchGetServersResult, error)

GetServers is API call with trace log

func (*SwitchStub) Read

func (s *SwitchStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.Switch, error)

Read is API call with trace log

func (*SwitchStub) Update

func (s *SwitchStub) Update(ctx context.Context, zone string, id types.ID, param *sacloud.SwitchUpdateRequest) (*sacloud.Switch, error)

Update is API call with trace log

type SwitchUpdateStubResult

type SwitchUpdateStubResult struct {
	Switch *sacloud.Switch
	Err    error
}

SwitchUpdateStubResult is expected values of the Update operation

type VPCRouterBootStubResult

type VPCRouterBootStubResult struct {
	Err error
}

VPCRouterBootStubResult is expected values of the Boot operation

type VPCRouterConfigStubResult

type VPCRouterConfigStubResult struct {
	Err error
}

VPCRouterConfigStubResult is expected values of the Config operation

type VPCRouterConnectToSwitchStubResult

type VPCRouterConnectToSwitchStubResult struct {
	Err error
}

VPCRouterConnectToSwitchStubResult is expected values of the ConnectToSwitch operation

type VPCRouterCreateStubResult

type VPCRouterCreateStubResult struct {
	VPCRouter *sacloud.VPCRouter
	Err       error
}

VPCRouterCreateStubResult is expected values of the Create operation

type VPCRouterDeleteStubResult

type VPCRouterDeleteStubResult struct {
	Err error
}

VPCRouterDeleteStubResult is expected values of the Delete operation

type VPCRouterDisconnectFromSwitchStubResult

type VPCRouterDisconnectFromSwitchStubResult struct {
	Err error
}

VPCRouterDisconnectFromSwitchStubResult is expected values of the DisconnectFromSwitch operation

type VPCRouterFindStubResult

type VPCRouterFindStubResult struct {
	Values *sacloud.VPCRouterFindResult
	Err    error
}

VPCRouterFindStubResult is expected values of the Find operation

type VPCRouterMonitorInterfaceStubResult

type VPCRouterMonitorInterfaceStubResult struct {
	InterfaceActivity *sacloud.InterfaceActivity
	Err               error
}

VPCRouterMonitorInterfaceStubResult is expected values of the MonitorInterface operation

type VPCRouterReadStubResult

type VPCRouterReadStubResult struct {
	VPCRouter *sacloud.VPCRouter
	Err       error
}

VPCRouterReadStubResult is expected values of the Read operation

type VPCRouterResetStubResult

type VPCRouterResetStubResult struct {
	Err error
}

VPCRouterResetStubResult is expected values of the Reset operation

type VPCRouterShutdownStubResult

type VPCRouterShutdownStubResult struct {
	Err error
}

VPCRouterShutdownStubResult is expected values of the Shutdown operation

type VPCRouterStatusStubResult

type VPCRouterStatusStubResult struct {
	VPCRouterStatus *sacloud.VPCRouterStatus
	Err             error
}

VPCRouterStatusStubResult is expected values of the Status operation

type VPCRouterStub

type VPCRouterStub struct {
	FindStubResult                 *VPCRouterFindStubResult
	CreateStubResult               *VPCRouterCreateStubResult
	ReadStubResult                 *VPCRouterReadStubResult
	UpdateStubResult               *VPCRouterUpdateStubResult
	UpdateSettingsStubResult       *VPCRouterUpdateSettingsStubResult
	DeleteStubResult               *VPCRouterDeleteStubResult
	ConfigStubResult               *VPCRouterConfigStubResult
	BootStubResult                 *VPCRouterBootStubResult
	ShutdownStubResult             *VPCRouterShutdownStubResult
	ResetStubResult                *VPCRouterResetStubResult
	ConnectToSwitchStubResult      *VPCRouterConnectToSwitchStubResult
	DisconnectFromSwitchStubResult *VPCRouterDisconnectFromSwitchStubResult
	MonitorInterfaceStubResult     *VPCRouterMonitorInterfaceStubResult
	StatusStubResult               *VPCRouterStatusStubResult
}

VPCRouterStub is for trace VPCRouterOp operations

func (*VPCRouterStub) Boot

func (s *VPCRouterStub) Boot(ctx context.Context, zone string, id types.ID) error

Boot is API call with trace log

func (*VPCRouterStub) Config

func (s *VPCRouterStub) Config(ctx context.Context, zone string, id types.ID) error

Config is API call with trace log

func (*VPCRouterStub) ConnectToSwitch

func (s *VPCRouterStub) ConnectToSwitch(ctx context.Context, zone string, id types.ID, nicIndex int, switchID types.ID) error

ConnectToSwitch is API call with trace log

func (*VPCRouterStub) Create

Create is API call with trace log

func (*VPCRouterStub) Delete

func (s *VPCRouterStub) Delete(ctx context.Context, zone string, id types.ID) error

Delete is API call with trace log

func (*VPCRouterStub) DisconnectFromSwitch

func (s *VPCRouterStub) DisconnectFromSwitch(ctx context.Context, zone string, id types.ID, nicIndex int) error

DisconnectFromSwitch is API call with trace log

func (*VPCRouterStub) Find

Find is API call with trace log

func (*VPCRouterStub) MonitorInterface

func (s *VPCRouterStub) MonitorInterface(ctx context.Context, zone string, id types.ID, index int, condition *sacloud.MonitorCondition) (*sacloud.InterfaceActivity, error)

MonitorInterface is API call with trace log

func (*VPCRouterStub) Read

func (s *VPCRouterStub) Read(ctx context.Context, zone string, id types.ID) (*sacloud.VPCRouter, error)

Read is API call with trace log

func (*VPCRouterStub) Reset

func (s *VPCRouterStub) Reset(ctx context.Context, zone string, id types.ID) error

Reset is API call with trace log

func (*VPCRouterStub) Shutdown

func (s *VPCRouterStub) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *sacloud.ShutdownOption) error

Shutdown is API call with trace log

func (*VPCRouterStub) Status

func (s *VPCRouterStub) Status(ctx context.Context, zone string, id types.ID) (*sacloud.VPCRouterStatus, error)

Status is API call with trace log

func (*VPCRouterStub) Update

Update is API call with trace log

func (*VPCRouterStub) UpdateSettings

UpdateSettings is API call with trace log

type VPCRouterUpdateSettingsStubResult

type VPCRouterUpdateSettingsStubResult struct {
	VPCRouter *sacloud.VPCRouter
	Err       error
}

VPCRouterUpdateSettingsStubResult is expected values of the UpdateSettings operation

type VPCRouterUpdateStubResult

type VPCRouterUpdateStubResult struct {
	VPCRouter *sacloud.VPCRouter
	Err       error
}

VPCRouterUpdateStubResult is expected values of the Update operation

type WebAccelCreateCertificateStubResult

type WebAccelCreateCertificateStubResult struct {
	Certificate *sacloud.WebAccelCerts
	Err         error
}

WebAccelCreateCertificateStubResult is expected values of the CreateCertificate operation

type WebAccelDeleteAllCacheStubResult

type WebAccelDeleteAllCacheStubResult struct {
	Err error
}

WebAccelDeleteAllCacheStubResult is expected values of the DeleteAllCache operation

type WebAccelDeleteCacheStubResult

type WebAccelDeleteCacheStubResult struct {
	Results []*sacloud.WebAccelDeleteCacheResult
	Err     error
}

WebAccelDeleteCacheStubResult is expected values of the DeleteCache operation

type WebAccelDeleteCertificateStubResult

type WebAccelDeleteCertificateStubResult struct {
	Err error
}

WebAccelDeleteCertificateStubResult is expected values of the DeleteCertificate operation

type WebAccelListStubResult

type WebAccelListStubResult struct {
	Values *sacloud.WebAccelListResult
	Err    error
}

WebAccelListStubResult is expected values of the List operation

type WebAccelReadCertificateStubResult

type WebAccelReadCertificateStubResult struct {
	Certificate *sacloud.WebAccelCerts
	Err         error
}

WebAccelReadCertificateStubResult is expected values of the ReadCertificate operation

type WebAccelReadStubResult

type WebAccelReadStubResult struct {
	WebAccel *sacloud.WebAccel
	Err      error
}

WebAccelReadStubResult is expected values of the Read operation

type WebAccelStub

type WebAccelStub struct {
	ListStubResult              *WebAccelListStubResult
	ReadStubResult              *WebAccelReadStubResult
	ReadCertificateStubResult   *WebAccelReadCertificateStubResult
	CreateCertificateStubResult *WebAccelCreateCertificateStubResult
	UpdateCertificateStubResult *WebAccelUpdateCertificateStubResult
	DeleteCertificateStubResult *WebAccelDeleteCertificateStubResult
	DeleteAllCacheStubResult    *WebAccelDeleteAllCacheStubResult
	DeleteCacheStubResult       *WebAccelDeleteCacheStubResult
}

WebAccelStub is for trace WebAccelOp operations

func (*WebAccelStub) CreateCertificate

func (s *WebAccelStub) CreateCertificate(ctx context.Context, id types.ID, param *sacloud.WebAccelCertRequest) (*sacloud.WebAccelCerts, error)

CreateCertificate is API call with trace log

func (*WebAccelStub) DeleteAllCache

func (s *WebAccelStub) DeleteAllCache(ctx context.Context, param *sacloud.WebAccelDeleteAllCacheRequest) error

DeleteAllCache is API call with trace log

func (*WebAccelStub) DeleteCache

DeleteCache is API call with trace log

func (*WebAccelStub) DeleteCertificate

func (s *WebAccelStub) DeleteCertificate(ctx context.Context, id types.ID) error

DeleteCertificate is API call with trace log

func (*WebAccelStub) List

List is API call with trace log

func (*WebAccelStub) Read

func (s *WebAccelStub) Read(ctx context.Context, id types.ID) (*sacloud.WebAccel, error)

Read is API call with trace log

func (*WebAccelStub) ReadCertificate

func (s *WebAccelStub) ReadCertificate(ctx context.Context, id types.ID) (*sacloud.WebAccelCerts, error)

ReadCertificate is API call with trace log

func (*WebAccelStub) UpdateCertificate

func (s *WebAccelStub) UpdateCertificate(ctx context.Context, id types.ID, param *sacloud.WebAccelCertRequest) (*sacloud.WebAccelCerts, error)

UpdateCertificate is API call with trace log

type WebAccelUpdateCertificateStubResult

type WebAccelUpdateCertificateStubResult struct {
	Certificate *sacloud.WebAccelCerts
	Err         error
}

WebAccelUpdateCertificateStubResult is expected values of the UpdateCertificate operation

type ZoneFindStubResult

type ZoneFindStubResult struct {
	Values *sacloud.ZoneFindResult
	Err    error
}

ZoneFindStubResult is expected values of the Find operation

type ZoneReadStubResult

type ZoneReadStubResult struct {
	Zone *sacloud.Zone
	Err  error
}

ZoneReadStubResult is expected values of the Read operation

type ZoneStub

type ZoneStub struct {
	FindStubResult *ZoneFindStubResult
	ReadStubResult *ZoneReadStubResult
}

ZoneStub is for trace ZoneOp operations

func (*ZoneStub) Find

func (s *ZoneStub) Find(ctx context.Context, conditions *sacloud.FindCondition) (*sacloud.ZoneFindResult, error)

Find is API call with trace log

func (*ZoneStub) Read

func (s *ZoneStub) Read(ctx context.Context, id types.ID) (*sacloud.Zone, error)

Read is API call with trace log

Jump to

Keyboard shortcuts

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