cms

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateRecord

type CertificateRecord struct {
	Id                  string `json:"id"`
	Origin              string `json:"origin"`
	Type                string `json:"type"`
	ResourceId          string `json:"resourceId"`
	ResourceType        string `json:"resourceType"`
	CertificateId       string `json:"certificateId"`
	CertificateMode     string `json:"certificateMode"`
	Name                string `json:"name"`
	Status              string `json:"status"`
	DetailStatus        string `json:"detailStatus"`
	ManagedStatus       string `json:"managedStatus"`
	Fingerprint         string `json:"fingerprint"`
	IssueTime           string `json:"issueTime"`
	ExpireTime          string `json:"expireTime"`
	DomainType          string `json:"domainType"`
	DomainName          string `json:"domainName"`
	EncryptionStandard  string `json:"encryptionStandard"`
	EncryptionAlgorithm string `json:"encryptionAlgorithm"`
	CreateTime          string `json:"createTime"`
	UpdateTime          string `json:"updateTime"`
}

type Client

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

func NewClient

func NewClient(accessKeyId, secretAccessKey string) (*Client, error)

func (*Client) GetCertificateList

func (c *Client) GetCertificateList(req *GetCertificateListRequest) (*GetCertificateListResponse, error)

func (*Client) GetCertificateListWithContext

func (c *Client) GetCertificateListWithContext(ctx context.Context, req *GetCertificateListRequest) (*GetCertificateListResponse, error)

func (*Client) SetTimeout

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

func (*Client) UploadCertificate

func (c *Client) UploadCertificate(req *UploadCertificateRequest) (*UploadCertificateResponse, error)

func (*Client) UploadCertificateWithContext

func (c *Client) UploadCertificateWithContext(ctx context.Context, req *UploadCertificateRequest) (*UploadCertificateResponse, error)

type GetCertificateListRequest

type GetCertificateListRequest struct {
	Status   *string `json:"status,omitempty"`
	Keyword  *string `json:"keyword,omitempty"`
	PageNum  *int32  `json:"pageNum,omitempty"`
	PageSize *int32  `json:"pageSize,omitempty"`
	Origin   *string `json:"origin,omitempty"`
}

type GetCertificateListResponse

type GetCertificateListResponse struct {
	ReturnObj *struct {
		List      []*CertificateRecord `json:"list,omitempty"`
		TotalSize int32                `json:"totalSize,omitempty"`
	} `json:"returnObj,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCertificateListResponse) GetError

func (r *GetCertificateListResponse) GetError() string

func (*GetCertificateListResponse) GetErrorMessage

func (r *GetCertificateListResponse) GetErrorMessage() string

func (*GetCertificateListResponse) GetMessage

func (r *GetCertificateListResponse) GetMessage() string

func (*GetCertificateListResponse) GetStatusCode

func (r *GetCertificateListResponse) GetStatusCode() string

type UploadCertificateRequest

type UploadCertificateRequest struct {
	Name               *string `json:"name,omitempty"`
	Certificate        *string `json:"certificate,omitempty"`
	CertificateChain   *string `json:"certificateChain,omitempty"`
	PrivateKey         *string `json:"privateKey,omitempty"`
	EncryptionStandard *string `json:"encryptionStandard,omitempty"`
	EncCertificate     *string `json:"encCertificate,omitempty"`
	EncPrivateKey      *string `json:"encPrivateKey,omitempty"`
}

type UploadCertificateResponse

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

func (*UploadCertificateResponse) GetError

func (r *UploadCertificateResponse) GetError() string

func (*UploadCertificateResponse) GetErrorMessage

func (r *UploadCertificateResponse) GetErrorMessage() string

func (*UploadCertificateResponse) GetMessage

func (r *UploadCertificateResponse) GetMessage() string

func (*UploadCertificateResponse) GetStatusCode

func (r *UploadCertificateResponse) GetStatusCode() string

Jump to

Keyboard shortcuts

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