cbicertificatecontroller

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CBICertificate

type CBICertificate struct {
	ID        string `json:"id,omitempty"`
	Name      string `json:"name,omitempty"`
	PEM       string `json:"pem,omitempty"`
	IsDefault bool   `json:"isDefault,omitempty"`
}

type Service

type Service struct {
	Client *zpa.Client
}

func New

func New(c *zpa.Client) *Service

func (*Service) Create

func (service *Service) Create(cbiProfile *CBICertificate) (*CBICertificate, *http.Response, error)

func (*Service) Delete

func (service *Service) Delete(certificateID string) (*http.Response, error)

func (*Service) Get

func (service *Service) Get(certificateID string) (*CBICertificate, *http.Response, error)

func (*Service) GetAll

func (service *Service) GetAll() ([]CBICertificate, *http.Response, error)

func (*Service) GetByName

func (service *Service) GetByName(certificateName string) (*CBICertificate, *http.Response, error)

func (*Service) Update

func (service *Service) Update(certificateID string, certificateRequest *CBICertificate) (*http.Response, error)

Jump to

Keyboard shortcuts

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