unicloud

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(username, password string) (*Client, error)

func (*Client) CreateDomainWithCert

func (c *Client) CreateDomainWithCert(req *CreateDomainWithCertRequest) (*CreateDomainWithCertResponse, error)

func (*Client) SetTimeout

func (c *Client) SetTimeout(timeout time.Duration) *Client

type CreateDomainWithCertRequest

type CreateDomainWithCertRequest struct {
	Provider string `json:"provider"`
	SpaceId  string `json:"spaceId"`
	Domain   string `json:"domain"`
	Cert     string `json:"cert"`
	Key      string `json:"key"`
}

type CreateDomainWithCertResponse

type CreateDomainWithCertResponse struct {
	// contains filtered or unexported fields
}

func (*CreateDomainWithCertResponse) GetErrorCode

func (r *CreateDomainWithCertResponse) GetErrorCode() string

func (*CreateDomainWithCertResponse) GetErrorMessage

func (r *CreateDomainWithCertResponse) GetErrorMessage() string

func (*CreateDomainWithCertResponse) GetReturnCode

func (r *CreateDomainWithCertResponse) GetReturnCode() int32

func (*CreateDomainWithCertResponse) GetReturnDesc

func (r *CreateDomainWithCertResponse) GetReturnDesc() string

func (*CreateDomainWithCertResponse) GetSuccess

func (r *CreateDomainWithCertResponse) GetSuccess() bool

Jump to

Keyboard shortcuts

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