cbicertificatecontroller

package
v3.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(ctx context.Context, service *zscaler.Service, certificateID string) (*http.Response, error)

func Update

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

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"`
}

func Create

func Create(ctx context.Context, service *zscaler.Service, cbiProfile *CBICertificate) (*CBICertificate, *http.Response, error)

func Get

func Get(ctx context.Context, service *zscaler.Service, certificateID string) (*CBICertificate, *http.Response, error)

func GetAll

func GetAll(ctx context.Context, service *zscaler.Service) ([]CBICertificate, *http.Response, error)

func GetByName

func GetByName(ctx context.Context, service *zscaler.Service, certificateName string) (*CBICertificate, *http.Response, error)

func GetByNameOrID

func GetByNameOrID(ctx context.Context, service *zscaler.Service, identifier string) (*CBICertificate, *http.Response, error)

Jump to

Keyboard shortcuts

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