コード例 #1
0
ファイル: client_test.go プロジェクト: xlucas/go-ovh
func TestPollTimeshiftCaOvhCom(t *testing.T) {
	c := ovh.NewClient(ovh.ENDPOINT_CA_OVHCOM, "", "", "", false)
	if err := c.PollTimeshift(); err != nil {
		t.Fatal(err)
	}
}
コード例 #2
0
ファイル: client_test.go プロジェクト: xlucas/go-ovh
func TestPollTimeshiftEuKimsufi(t *testing.T) {
	c := ovh.NewClient(ovh.ENDPOINT_EU_KIMSUFI, "", "", "", false)
	if err := c.PollTimeshift(); err != nil {
		t.Fatal(err)
	}
}
コード例 #3
0
ファイル: client_test.go プロジェクト: xlucas/go-ovh
func TestPollTimeshiftEuSoYouStart(t *testing.T) {
	c := ovh.NewClient(ovh.ENDPOINT_EU_SOYOUSTART, "", "", "", false)
	if err := c.PollTimeshift(); err != nil {
		t.Fatal(err)
	}
}
コード例 #4
0
ファイル: client_test.go プロジェクト: xlucas/go-ovh
func TestPollTimeshiftCaRunAbove(t *testing.T) {
	c := ovh.NewClient(ovh.ENDPOINT_CA_RUNABOVE, "", "", "", false)
	if err := c.PollTimeshift(); err != nil {
		t.Fatal(err)
	}
}