Documentation ¶
Index ¶
Constants ¶
View Source
const ( PointMakeMounts = iota + 1 PointGenerateContainerOptions PointK8sProviderSyncPod PointPodAddition )
View Source
const (
PluginType = "hook"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenerateContainerOptionContext ¶
type GenerateContainerOptionContext struct { Pod *v1.Pod Container *v1.Container Opts *pkgcontainer.RunContainerOptions PodIPs []string ContainerDir string ImageService internalapi.ImageManagerService }
func (*GenerateContainerOptionContext) Point ¶
func (c *GenerateContainerOptionContext) Point() Point
type K8sProviderSyncPodContext ¶
type K8sProviderSyncPodContext struct { Pod *v1.Pod BkPod *v1.Pod ResourceManager *resource.KubeResourceManager Configmaps []*v1.ConfigMap Secrets []*v1.Secret }
func (*K8sProviderSyncPodContext) Point ¶
func (c *K8sProviderSyncPodContext) Point() Point
type MakeMountsContext ¶
type MakeMountsContext struct { Pod *v1.Pod Container *v1.Container HostPath *string Mount *v1.VolumeMount Envs []pkgcontainer.EnvVar PodVolumesDir string }
func (*MakeMountsContext) Point ¶
func (c *MakeMountsContext) Point() Point
type PodAdditionContext ¶
type PodAdditionContext struct { Pod *v1.Pod PodProvider kri.PodProvider }
func (*PodAdditionContext) Point ¶
func (c *PodAdditionContext) Point() Point
type TerminateError ¶
func (*TerminateError) Error ¶
func (e *TerminateError) Error() string
Click to show internal directories.
Click to hide internal directories.