certificate

package
v1.1.208 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCertificate added in v0.10.8

func GetCertificate(cert *wssdcloudsecurity.Certificate) *security.Certificate

func GetCertificateType added in v0.10.18

func GetCertificateType(certType string) (wssdcloudsecurity.CertificateType, bool)

func GetWssdCertificate added in v0.10.8

func GetWssdCertificate(cert *security.Certificate) (*wssdcloudsecurity.Certificate, error)

Types

type CertificateClient

type CertificateClient struct {
	security.BaseClient
	// contains filtered or unexported fields
}

Client structure

func NewCertificateClient

func NewCertificateClient(cloudFQDN string, authorizer auth.Authorizer) (*CertificateClient, error)

NewClient method returns new client

func (*CertificateClient) CreateOrUpdate

func (c *CertificateClient) CreateOrUpdate(ctx context.Context, group, name string, Certificate *security.Certificate) (*security.Certificate, error)

CreateOrUpdate methods invokes create or update on the client

func (*CertificateClient) Delete

func (c *CertificateClient) Delete(ctx context.Context, group, name string) error

Delete methods invokes delete of the Certificate resource

func (*CertificateClient) Get

func (c *CertificateClient) Get(ctx context.Context, group, name string) (*[]security.Certificate, error)

Get methods invokes the client Get method

func (*CertificateClient) Precheck added in v0.19.3

func (c *CertificateClient) Precheck(ctx context.Context, certificates []*security.Certificate) (bool, error)

Prechecks whether the system is able to create specified resources. Returns true if it is possible; or false with reason in error message if not.

func (*CertificateClient) Renew added in v0.10.7

Renew methods invokes renew to renew signed-certificate

func (*CertificateClient) Sign added in v0.10.7

Sign methods invokes sign to create a CA-Signed Certificate

Jump to

Keyboard shortcuts

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