configuration

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SidecarSetPatchPodMetadataWhiteListKey = "SidecarSet_PatchPodMetadata_WhiteList"
	PPSWatchCustomWorkloadWhiteList        = "PPS_Watch_Custom_Workload_WhiteList"
)
View Source
const (
	// kruise configmap name
	KruiseConfigurationName = "kruise-configuration"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PPSWatchWatchCustomWorkloadWhiteList added in v1.4.0

type PPSWatchWatchCustomWorkloadWhiteList struct {
	Workloads []schema.GroupVersionKind `json:"workloads,omitempty"`
}

func GetPPSWatchWatchCustomWorkloadWhiteList added in v1.4.0

func GetPPSWatchWatchCustomWorkloadWhiteList(client client.Client) (*PPSWatchWatchCustomWorkloadWhiteList, error)

func (*PPSWatchWatchCustomWorkloadWhiteList) IsDefaultSupport added in v1.4.0

func (p *PPSWatchWatchCustomWorkloadWhiteList) IsDefaultSupport(apiVersion, kind string) bool

func (*PPSWatchWatchCustomWorkloadWhiteList) IsValid added in v1.4.0

func (*PPSWatchWatchCustomWorkloadWhiteList) ValidateAPIVersionAndKind added in v1.4.0

func (p *PPSWatchWatchCustomWorkloadWhiteList) ValidateAPIVersionAndKind(apiVersion, kind string) bool

type SidecarSetPatchMetadataWhiteList

type SidecarSetPatchMetadataWhiteList struct {
	Rules []SidecarSetPatchMetadataWhiteRule `json:"rules"`
}

func GetSidecarSetPatchMetadataWhiteList

func GetSidecarSetPatchMetadataWhiteList(client client.Client) (*SidecarSetPatchMetadataWhiteList, error)

type SidecarSetPatchMetadataWhiteRule

type SidecarSetPatchMetadataWhiteRule struct {
	// selector sidecarSet against labels
	// If selector is nil, assume that the rules should apply for every sidecarSets
	Selector *metav1.LabelSelector `json:"selector,omitempty"`
	// Support for regular expressions
	AllowedAnnotationKeyExprs []string `json:"allowedAnnotationKeyExprs"`
}

Jump to

Keyboard shortcuts

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