reconcile

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: MIT Imports: 32 Imported by: 0

Documentation

Overview

* Copyright (c) 2025 Broadcom. All rights reserved. * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. * All trademarks, trade names, service marks, and logos referenced * herein belong to their respective companies. * * This software and all information contained therein is confidential * and proprietary and shall not be duplicated, used, disclosed or * disseminated in any way except as authorized by the applicable * license agreement, without the express written permission of Broadcom. * All authorized reproductions must be marked with this language. * * EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO THE * EXTENT PERMITTED BY APPLICABLE LAW OR AS AGREED BY BROADCOM IN ITS * APPLICABLE LICENSE AGREEMENT, BROADCOM PROVIDES THIS DOCUMENTATION * "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT LIMITATION, * ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR. NONINFRINGEMENT. IN NO EVENT WILL BROADCOM BE LIABLE TO * THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR * INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT LIMITATION, * LOST PROFITS, LOST INVESTMENT, BUSINESS INTERRUPTION, GOODWILL, OR * LOST DATA, EVEN IF BROADCOM IS EXPRESSLY ADVISED IN ADVANCE OF THE * POSSIBILITY OF SUCH LOSS OR DAMAGE. *

* Copyright (c) 2025 Broadcom. All rights reserved. * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. * All trademarks, trade names, service marks, and logos referenced * herein belong to their respective companies. * * This software and all information contained therein is confidential * and proprietary and shall not be duplicated, used, disclosed or * disseminated in any way except as authorized by the applicable * license agreement, without the express written permission of Broadcom. * All authorized reproductions must be marked with this language. * * EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO THE * EXTENT PERMITTED BY APPLICABLE LAW OR AS AGREED BY BROADCOM IN ITS * APPLICABLE LICENSE AGREEMENT, BROADCOM PROVIDES THIS DOCUMENTATION * "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT LIMITATION, * ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR. NONINFRINGEMENT. IN NO EVENT WILL BROADCOM BE LIABLE TO * THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR * INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT LIMITATION, * LOST PROFITS, LOST INVESTMENT, BUSINESS INTERRUPTION, GOODWILL, OR * LOST DATA, EVEN IF BROADCOM IS EXPRESSLY ADVISED IN ADVANCE OF THE * POSSIBILITY OF SUCH LOSS OR DAMAGE. * * AI assistance has been used to generate some or all contents of this file. That includes, but is not limited to, new code, modifying existing code, stylistic edits.

* Copyright (c) 2025 Broadcom. All rights reserved. * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. * All trademarks, trade names, service marks, and logos referenced * herein belong to their respective companies. * * This software and all information contained therein is confidential * and proprietary and shall not be duplicated, used, disclosed or * disseminated in any way except as authorized by the applicable * license agreement, without the express written permission of Broadcom. * All authorized reproductions must be marked with this language. * * EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO THE * EXTENT PERMITTED BY APPLICABLE LAW OR AS AGREED BY BROADCOM IN ITS * APPLICABLE LICENSE AGREEMENT, BROADCOM PROVIDES THIS DOCUMENTATION * "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT LIMITATION, * ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR. NONINFRINGEMENT. IN NO EVENT WILL BROADCOM BE LIABLE TO * THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR * INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT LIMITATION, * LOST PROFITS, LOST INVESTMENT, BUSINESS INTERRUPTION, GOODWILL, OR * LOST DATA, EVEN IF BROADCOM IS EXPRESSLY ADVISED IN ADVANCE OF THE * POSSIBILITY OF SUCH LOSS OR DAMAGE. *

* Copyright (c) 2025 Broadcom. All rights reserved. * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. * All trademarks, trade names, service marks, and logos referenced * herein belong to their respective companies. * * This software and all information contained therein is confidential * and proprietary and shall not be duplicated, used, disclosed or * disseminated in any way except as authorized by the applicable * license agreement, without the express written permission of Broadcom. * All authorized reproductions must be marked with this language. * * EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO THE * EXTENT PERMITTED BY APPLICABLE LAW OR AS AGREED BY BROADCOM IN ITS * APPLICABLE LICENSE AGREEMENT, BROADCOM PROVIDES THIS DOCUMENTATION * "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT LIMITATION, * ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR. NONINFRINGEMENT. IN NO EVENT WILL BROADCOM BE LIABLE TO * THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR * INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT LIMITATION, * LOST PROFITS, LOST INVESTMENT, BUSINESS INTERRUPTION, GOODWILL, OR * LOST DATA, EVEN IF BROADCOM IS EXPRESSLY ADVISED IN ADVANCE OF THE * POSSIBILITY OF SUCH LOSS OR DAMAGE. * * AI assistance has been used to generate some or all contents of this file. That includes, but is not limited to, new code, modifying existing code, stylistic edits.

* Copyright (c) 2025 Broadcom. All rights reserved. * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. * All trademarks, trade names, service marks, and logos referenced * herein belong to their respective companies. * * This software and all information contained therein is confidential * and proprietary and shall not be duplicated, used, disclosed or * disseminated in any way except as authorized by the applicable * license agreement, without the express written permission of Broadcom. * All authorized reproductions must be marked with this language. * * EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO THE * EXTENT PERMITTED BY APPLICABLE LAW OR AS AGREED BY BROADCOM IN ITS * APPLICABLE LICENSE AGREEMENT, BROADCOM PROVIDES THIS DOCUMENTATION * "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT LIMITATION, * ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR. NONINFRINGEMENT. IN NO EVENT WILL BROADCOM BE LIABLE TO * THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR * INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT LIMITATION, * LOST PROFITS, LOST INVESTMENT, BUSINESS INTERRUPTION, GOODWILL, OR * LOST DATA, EVEN IF BROADCOM IS EXPRESSLY ADVISED IN ADVANCE OF THE * POSSIBILITY OF SUCH LOSS OR DAMAGE. * * AI assistance has been used to generate some or all contents of this file. That includes, but is not limited to, new code, modifying existing code, stylistic edits.

* Copyright (c) 2025 Broadcom. All rights reserved. * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. * All trademarks, trade names, service marks, and logos referenced * herein belong to their respective companies. * * This software and all information contained therein is confidential * and proprietary and shall not be duplicated, used, disclosed or * disseminated in any way except as authorized by the applicable * license agreement, without the express written permission of Broadcom. * All authorized reproductions must be marked with this language. * * EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO THE * EXTENT PERMITTED BY APPLICABLE LAW OR AS AGREED BY BROADCOM IN ITS * APPLICABLE LICENSE AGREEMENT, BROADCOM PROVIDES THIS DOCUMENTATION * "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT LIMITATION, * ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR. NONINFRINGEMENT. IN NO EVENT WILL BROADCOM BE LIABLE TO * THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR * INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT LIMITATION, * LOST PROFITS, LOST INVESTMENT, BUSINESS INTERRUPTION, GOODWILL, OR * LOST DATA, EVEN IF BROADCOM IS EXPRESSLY ADVISED IN ADVANCE OF THE * POSSIBILITY OF SUCH LOSS OR DAMAGE. * * AI assistance has been used to generate some or all contents of this file. That includes, but is not limited to, new code, modifying existing code, stylistic edits.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRepositoryCache added in v1.2.2

func BuildRepositoryCache(ctx context.Context, params Params, commit string, storageSecretName string) (map[string][]byte, error)

BuildRepositoryCache scans a repository, builds bundles per directory, and caches them Returns the bundleMap for reuse (e.g., in StorageSecret)

func Finalizer added in v1.2.2

func Finalizer(ctx context.Context, params Params) (err error)

func GetStateStoreChecksum added in v1.2.0

func GetStateStoreChecksum(ctx context.Context, params Params, statestore securityv1alpha1.L7StateStore) (commit string, err error)

func LocalReference added in v1.1.0

func LocalReference(ctx context.Context, params Params) error

func ScheduledJobs

func ScheduledJobs(ctx context.Context, params Params) error

func Secret

func Secret(ctx context.Context, params Params) error

func StateStorage added in v1.2.0

func StateStorage(ctx context.Context, params Params, statestore securityv1alpha1.L7StateStore, commit string) error

func StorageSecret

func StorageSecret(ctx context.Context, params Params) error

func StorageSecretFromBundleMap added in v1.2.2

func StorageSecretFromBundleMap(ctx context.Context, params Params, bundleMap map[string][]byte, storageSecretName string) error

StorageSecretFromBundleMap creates a storage secret from an existing bundleMap This avoids rebuilding bundles that were already built in BuildRepositoryCache

Types

type Params

type Params struct {
	Client   client.Client
	Recorder record.EventRecorder
	Scheme   *runtime.Scheme
	Log      logr.Logger
	Instance *securityv1.Repository
}

Jump to

Keyboard shortcuts

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