Skip to content
/ tke-go Public

Tencent Kubernetes Engine V2 API golang library

Notifications You must be signed in to change notification settings

oiooj/tke-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tencent Kubernetes Engine v2 API library

GoDoc

Detail doc: https://cloud.tencent.com/document/product/457/41100

Status: Beta

package main

import (
        "fmt"
        "os"

        "github.com/oiooj/tke-go/v2"
)

func main() {
	tke := v2.New(os.Getenv("TC_SECRET_ID"), os.Getenv("TC_SECRET_KEY"))
	info, err := tke.GetServiceInfo("test", "test-svc", os.Getenv("TC_REGION"), os.Getenv("TC_CLUSTER_ID"))
	if err != nil {
		fmt.Println(err)
	}
	fmt.Printf("%+v\n", info)
}

Releases

No releases published

Packages

No packages published

Languages