Documentation ¶
Index ¶
- Constants
- Variables
- func AddToManager(ctx context.Context, mgr manager.Manager) error
- func GetShootResources(blackholingEnabled bool, sleepDuration, namespace string, ...) (map[string][]byte, error)
- func NewActuator(mgr manager.Manager, serviceConfig config.Configuration, ...) (extension.Actuator, error)
- func NewDownloaderFilterListProvider(ctx context.Context, client client.Client, logger logr.Logger, ...) *downloaderFilterListProvider
- func NewStaticFilterListProvider(ctx context.Context, client client.Client, logger logr.Logger, ...) *staticFilterListProvider
- type AddOptions
- type FilterListProvider
Constants ¶
View Source
const ( // Type is the type of Extension resource. Type = constants.ExtensionType // Name is the name of the lifecycle controller. Name = "shoot_networking_filter_lifecycle_controller" // FinalizerSuffix is the finalizer suffix for the Networking Policy Filter controller. FinalizerSuffix = constants.ExtensionType )
View Source
const ( // ActuatorName is the name of the Networking Policy Filter actuator. ActuatorName = constants.ServiceName + "-actuator" )
Variables ¶
View Source
var DefaultAddOptions = AddOptions{}
DefaultAddOptions contains configuration for the policy filter.
Functions ¶
func AddToManager ¶
AddToManager adds a Networking Policy Filter Lifecycle controller to the given Controller Manager.
func GetShootResources ¶
func GetShootResources(blackholingEnabled bool, sleepDuration, namespace string, secretData map[string][]byte) (map[string][]byte, error)
GetShootResources creates resources needed for the egress filter daemonset.
func NewActuator ¶
func NewActuator(mgr manager.Manager, serviceConfig config.Configuration, oauth2secret *config.OAuth2Secret) (extension.Actuator, error)
NewActuator returns an actuator responsible for Extension resources.
func NewDownloaderFilterListProvider ¶
func NewDownloaderFilterListProvider(ctx context.Context, client client.Client, logger logr.Logger, downloaderConfig *config.DownloaderConfig, oauth2Secret *config.OAuth2Secret) *downloaderFilterListProvider
Types ¶
type AddOptions ¶
type AddOptions struct { // ControllerOptions contains options for the controller. ControllerOptions controller.Options // ServiceConfig contains configuration for the policy filter. ServiceConfig controllerconfig.Config // IgnoreOperationAnnotation specifies whether to ignore the operation annotation or not. IgnoreOperationAnnotation bool }
AddOptions are options to apply when adding the policy filter controller to the manager.
Click to show internal directories.
Click to hide internal directories.