incapsula

package
v0.0.0-...-9a1249c Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IncapsulaResponse

type IncapsulaResponse struct {
	Res        int    `json:"res"`
	ResMessage string `json:"res_message"`
}

Incapsula response contains the response from Incapsula API

type IncapsulaStore

type IncapsulaStore struct {
	ID              string `json:"api_id"`
	SiteID          string `json:"site_id"`
	Key             string `json:"api_key"`
	SecretName      string
	SecretNamespace string
}

func (*IncapsulaStore) GetApiKey

func (s *IncapsulaStore) GetApiKey(ctx context.Context) error

func (*IncapsulaStore) GetIncapsulaSiteStatus

func (s *IncapsulaStore) GetIncapsulaSiteStatus() (string, error)

func (*IncapsulaStore) ParseCertificate

func (s *IncapsulaStore) ParseCertificate(c *tlssecret.Certificate) error

func (*IncapsulaStore) Update

func (s *IncapsulaStore) Update(secret *corev1.Secret) error

func (*IncapsulaStore) UploadIncapsulaCert

func (s *IncapsulaStore) UploadIncapsulaCert(cert *tlssecret.Certificate) error

UploadIncapsulaCert syncs a certificate with Incapsula site

Jump to

Keyboard shortcuts

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