vercel

package
v0.4.22 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: MIT Imports: 7 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(apiToken string) (*Client, error)

func NewClientWithTeam

func NewClientWithTeam(apiToken string, teamId string) (*Client, error)

func (*Client) SetTimeout

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

func (*Client) UploadCert

func (c *Client) UploadCert(req *UploadCertParams) (*UploadCertResponse, error)

func (*Client) UploadCertWithContext

func (c *Client) UploadCertWithContext(ctx context.Context, req *UploadCertParams) (*UploadCertResponse, error)

type UploadCertParams

type UploadCertParams struct {
	CA             string `json:"ca"`
	Cert           string `json:"cert"`
	Key            string `json:"key"`
	SkipValidation bool   `json:"skipValidation,omitempty"`
}

type UploadCertResponse

type UploadCertResponse struct {
	ID        string `json:"id,omitempty"`
	ExpiresAt string `json:"expiresAt,omitempty"`
	CreatedAt string `json:"createdAt,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadCertResponse) GetError

func (r *UploadCertResponse) GetError() *sdkError

Jump to

Keyboard shortcuts

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