Help us shape the future of Go! Take the 2026 Go Developer Survey

ssl

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DownloadCertResp

type DownloadCertResp struct {
	FileName   string `json:"file_name"`
	Link       string `json:"link"`
	BucketName string `json:"bucket_name"`
}

func DownloadCert

func DownloadCert(client *golangsdk.ServiceClient, id string) (*DownloadCertResp, error)

type SslInfo

type SslInfo struct {
	Enabled      bool   `json:"enabled"`
	Ip           string `json:"ip"`
	Port         string `json:"port"`
	DomainName   string `json:"domain_name"`
	SslExpiredAt string `json:"ssl_expired_at"`
	SslValidated bool   `json:"ssl_validated"`
}

func Get

func Get(client *golangsdk.ServiceClient, id string) (*SslInfo, error)

type SslOpts

type SslOpts struct {
	InstanceId string `json:"-"`
	Enabled    *bool  `json:"enabled" required:"true"`
}

type SslUpdateResp

type SslUpdateResp struct {
	// Actual output parameters of API in which `result` is always `null`
	JobId      string `json:"jobId"`
	InstanceId string `json:"instanceId"`
	Result     string `json:"result"`
}

func Update

func Update(client *golangsdk.ServiceClient, opts SslOpts) (*SslUpdateResp, error)

Jump to

Keyboard shortcuts

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