Documentation ¶
Index ¶
- Constants
- Variables
- func GetToken() string
- func GinLogger() gin.HandlerFunc
- func InStringArray(c string, array []string) bool
- func InUint32Array(i uint32, array []uint32) bool
- func InitAndStartTokenRotation(interval time.Duration, logger logr.Logger)
- func IsAppArmorGA(versionInfo *version.Info) (bool, error)
- func PostDataToStatusService(reqBody []byte, debug bool, address string, port int) error
- func PostStatusToStatusService(reqBody []byte, debug bool, address string, port int) error
- func RemoveArmorProfileFinalizers(i varmorinterface.CrdV1beta1Interface, namespace, name string) error
- func RequestClassifierService(reqBody []byte, debug bool, address string, port int) ([]byte, error)
- func SetAgentReady()
- func SetAgentUnready()
- func TagLeaderPod(podInterface corev1.PodInterface) error
- func UnTagLeaderPod(podInterface corev1.PodInterface) error
- func WaitForManagerReady(debug bool, address string, port int)
Constants ¶
View Source
const BindTokenPath = "/var/run/secrets/tokens/bound-token"
Variables ¶
View Source
var (
AgentReady int32 = 0
)
Functions ¶
func GinLogger ¶ added in v0.5.7
func GinLogger() gin.HandlerFunc
func InStringArray ¶
func InUint32Array ¶
func InitAndStartTokenRotation ¶ added in v0.5.6
func PostDataToStatusService ¶
func RemoveArmorProfileFinalizers ¶ added in v0.6.0
func RemoveArmorProfileFinalizers(i varmorinterface.CrdV1beta1Interface, namespace, name string) error
func RequestClassifierService ¶ added in v0.5.6
func SetAgentReady ¶ added in v0.5.7
func SetAgentReady()
func SetAgentUnready ¶ added in v0.5.7
func SetAgentUnready()
func TagLeaderPod ¶
func TagLeaderPod(podInterface corev1.PodInterface) error
func UnTagLeaderPod ¶
func UnTagLeaderPod(podInterface corev1.PodInterface) error
func WaitForManagerReady ¶ added in v0.5.7
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.