agent

package
v1.0.0-rc.10 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultCapabilitiesForSystemProbe

func DefaultCapabilitiesForSystemProbe() []corev1.Capability

DefaultCapabilitiesForSystemProbe returns the default Security Context Capabilities for the System Probe container

func DefaultSeccompConfigDataForSystemProbe

func DefaultSeccompConfigDataForSystemProbe() map[string]string

DefaultSeccompConfigDataForSystemProbe returns configmap data for the default seccomp profile

func GetAgentRoleName

func GetAgentRoleName(dda metav1.Object) string

GetAgentRoleName returns the name of the role for the Agent

func GetDefaultAgentClusterRolePolicyRules

func GetDefaultAgentClusterRolePolicyRules() []rbacv1.PolicyRule

GetDefaultAgentClusterRolePolicyRules returns the default policy rules for the Agent cluster role

func GetDefaultSCC

GetDefaultSCC returns the default SCC for the node agent component

func NewDefaultAgentDaemonset

func NewDefaultAgentDaemonset(dda metav1.Object, requiredContainers []common.AgentContainerName) *appsv1.DaemonSet

NewDefaultAgentDaemonset return a new default agent DaemonSet

func NewDefaultAgentExtendedDaemonset

func NewDefaultAgentExtendedDaemonset(dda metav1.Object, requiredContainers []common.AgentContainerName) *edsv1alpha1.ExtendedDaemonSet

NewDefaultAgentExtendedDaemonset return a new default agent DaemonSet

func NewDefaultAgentPodTemplateSpec

func NewDefaultAgentPodTemplateSpec(dda metav1.Object, requiredContainers []common.AgentContainerName, labels map[string]string) *corev1.PodTemplateSpec

NewDefaultAgentPodTemplateSpec return a default node agent for the cluster-agent deployment

Types

This section is empty.

Jump to

Keyboard shortcuts

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