Versions in this module Expand all Collapse all v0 v0.1.3 Dec 4, 2023 v0.1.2 Oct 1, 2023 Changes in this version + const HeaderSLSPrefix1 + const HeaderSLSPrefix2 + const SLSAPIVersion + const SLSDefaultEndpoint + const Version + var DefaultUserAgent = fmt.Sprintf("AlibabaCloud (%s; %s) Golang/%s Core/%s", runtime.GOOS, runtime.GOARCH, ...) + func CreateSignature(stringToSignature, accessKeySecret string) string + func GetGMTime() string + type Client struct + func NewClient(internal bool, region, accessKeyId, accessKeySecret, securityToken string) *Client + func NewClientForAssumeRole(internal bool, region, accessKeyId, accessKeySecret, securityToken string) *Client + func NewClientWithEndpoint(endpoint string, region string, internal bool, ...) *Client + func (client *Client) ListProject(r ListProjectRequest) (*ListProjectResponse, error) + func (client *Client) SetDebug(debug bool) + func (client *Client) SetTransport(transport http.RoundTripper) + type Driver struct + Cred *credentials.StsTokenCredential + Region string + func (d *Driver) ListProjects(ctx context.Context) ([]schema.Log, error) + func (d *Driver) NewClient() *Client + type Error struct + Code string + Message string + StatusCode int + func (err *Error) Error() string + type ListProjectRequest struct + Offset int32 + ProjectName string + Size int32 + func (r ListProjectRequest) Map() map[string]string + type ListProjectResponse struct + Count *int64 + Projects []*Project + Total *int64 + type Project struct + CreateTime *string + Description *string + LastModifyTime *string + Owner *string + ProjectName *string + Region *string + ResourceGroupId *string + Status *string