apisix

package
v0.4.14 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 10 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(serverUrl, apiKey string) (*Client, error)

func (*Client) SetTLSConfig

func (c *Client) SetTLSConfig(config *tls.Config) *Client

func (*Client) SetTimeout

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

func (*Client) SslUpdate added in v0.4.14

func (c *Client) SslUpdate(sslId string, req *SslUpdateRequest) (*SslUpdateResponse, error)

func (*Client) SslUpdateWithContext added in v0.4.14

func (c *Client) SslUpdateWithContext(ctx context.Context, sslId string, req *SslUpdateRequest) (*SslUpdateResponse, error)

type SslCertificate added in v0.4.14

type SslCertificate struct {
	ID            *string            `json:"id,omitempty"`
	Status        *int32             `json:"status,omitempty"`
	Certificate   *string            `json:"cert,omitempty"`
	PrivateKey    *string            `json:"key,omitempty"`
	SNIs          *[]string          `json:"snis,omitempty"`
	Type          *string            `json:"type,omitempty"`
	ValidityStart *int64             `json:"validity_start,omitempty"`
	ValidityEnd   *int64             `json:"validity_end,omitempty"`
	Labels        *map[string]string `json:"labels,omitempty"`
}

type SslUpdateRequest added in v0.4.14

type SslUpdateRequest = SslCertificate

type SslUpdateResponse added in v0.4.14

type SslUpdateResponse = SslCertificate

Jump to

Keyboard shortcuts

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