certcenter

package
v0.3.0-alpha.10 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceName = "certificate_service"
	EndpointsID = ServiceName
	ServiceID   = "certificate_service"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CertCenter

type CertCenter struct {
	*client.Client
}

func New

func (*CertCenter) ImportCertificate

func (c *CertCenter) ImportCertificate(input *ImportCertificateInput) (*ImportCertificateOutput, error)

func (*CertCenter) ImportCertificateCommon

func (c *CertCenter) ImportCertificateCommon(input *map[string]interface{}) (*map[string]interface{}, error)

func (*CertCenter) ImportCertificateCommonRequest

func (c *CertCenter) ImportCertificateCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

func (*CertCenter) ImportCertificateCommonWithContext

func (c *CertCenter) ImportCertificateCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

func (*CertCenter) ImportCertificateRequest

func (c *CertCenter) ImportCertificateRequest(input *ImportCertificateInput) (req *request.Request, output *ImportCertificateOutput)

func (*CertCenter) ImportCertificateWithContext

func (c *CertCenter) ImportCertificateWithContext(ctx volcengine.Context, input *ImportCertificateInput, opts ...request.Option) (*ImportCertificateOutput, error)

type CertCenterAPI

type CertCenterAPI interface {
	ImportCertificate(*ImportCertificateInput) (*ImportCertificateOutput, error)
	ImportCertificateWithContext(volcengine.Context, *ImportCertificateInput, ...request.Option) (*ImportCertificateOutput, error)
	ImportCertificateRequest(*ImportCertificateInput) (*request.Request, *ImportCertificateOutput)
}

type ImportCertificateInput

type ImportCertificateInput struct {
	Tag *string `type:"string" json:",omitempty"`

	ProjectName *string `type:"string" json:",omitempty"`

	Repeatable *bool `type:"boolean" json:",omitempty"`

	NoVerifyAndFixChain *bool `type:"boolean" json:",omitempty"`

	CertificateInfo *ImportCertificateInputCertificateInfo `type:"structure" json:",omitempty"`

	Tags *[]ImportCertificateInputTag `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ImportCertificateInput) String

func (s ImportCertificateInput) String() string

func (*ImportCertificateInput) Validate

func (s *ImportCertificateInput) Validate() error

type ImportCertificateInputCertificateInfo

type ImportCertificateInputCertificateInfo struct {
	CertificateChain *string `type:"string" json:",omitempty"`

	PrivateKey *string `type:"string" json:",omitempty"`
}

type ImportCertificateInputTag

type ImportCertificateInputTag struct {
	Key *string `type:"string" json:",omitempty" required:"true"`

	Value *string `type:"string" json:",omitempty" required:"true"`
}

type ImportCertificateOutput

type ImportCertificateOutput struct {
	Metadata *response.ResponseMetadata

	InstanceId *string `type:"string" json:",omitempty"`

	RepeatId *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ImportCertificateOutput) String

func (s ImportCertificateOutput) String() string

Jump to

Keyboard shortcuts

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