certificates

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Copyright 2019 Cohesity Inc.

Copyright 2019 Cohesity Inc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CERTIFICATES

type CERTIFICATES interface {
	DeleteWebServerCertificate() error

	GetWebServerCertificate() (*models.SslCertificateConfig, error)

	UpdateWebServerCertificate(*models.SslCertificateConfig) (*models.SslCertificateConfig, error)
}

* Interface for the CERTIFICATES_IMPL

type CERTIFICATES_IMPL

type CERTIFICATES_IMPL struct {
	// contains filtered or unexported fields
}

* Client structure as interface implementation

func NewCERTIFICATES

func NewCERTIFICATES(config configuration.CONFIGURATION) *CERTIFICATES_IMPL

* Factory for the CERTIFICATES interaface returning CERTIFICATES_IMPL

func (*CERTIFICATES_IMPL) DeleteWebServerCertificate

func (me *CERTIFICATES_IMPL) DeleteWebServerCertificate() error

*

  • Returns delete status upon completion.
  • @return Returns the response from the API call

func (*CERTIFICATES_IMPL) GetWebServerCertificate

func (me *CERTIFICATES_IMPL) GetWebServerCertificate() (*models.SslCertificateConfig, error)

*

  • Returns the Server Certificate configured on the cluster.
  • @return Returns the *models.SslCertificateConfig response from the API call

func (*CERTIFICATES_IMPL) UpdateWebServerCertificate

func (me *CERTIFICATES_IMPL) UpdateWebServerCertificate(
	body *models.SslCertificateConfig) (*models.SslCertificateConfig, error)

*

  • Returns the updated Web Server Certificate on the cluster.
  • @param *models.SslCertificateConfig body parameter: Optional
  • @return Returns the *models.SslCertificateConfig response from the API call

Jump to

Keyboard shortcuts

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