kubernetes

package module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: Apache-2.0 Imports: 21 Imported by: 45

Documentation

Index

Constants

View Source
const (
	EventSourceLicenseVerifier           = "License Verifier"
	EventReasonLicenseVerificationFailed = "License Verification Failed"
)

Variables

This section is empty.

Functions

func VerifyLicense

func VerifyLicense(config *rest.Config, licenseFile string) error

VerifyLicense verifies whether the provided license is valid for the current cluster or not.

func VerifyLicensePeriodically

func VerifyLicensePeriodically(config *rest.Config, licenseFile string, stopCh <-chan struct{}) error

VerifyLicensePeriodically periodically verifies whether the provided license is valid for the current cluster or not.

Types

type LicenseEnforcer

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

Jump to

Keyboard shortcuts

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