gateway

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2025 License: MIT Imports: 19 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. *

* 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. *

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigMap added in v1.0.2

func NewConfigMap(gw *securityv1.Gateway, name string) *corev1.ConfigMap

NewConfigMap

func NewDeployment

func NewDeployment(gw *securityv1.Gateway, platform string) *appsv1.Deployment

func NewHPA added in v1.0.2

func NewIngress added in v1.0.2

func NewIngress(gw *securityv1.Gateway) *networkingv1.Ingress

func NewManagementService added in v1.0.2

func NewManagementService(gw *securityv1.Gateway) *corev1.Service

func NewOtkCertificateSecret added in v1.0.4

func NewOtkCertificateSecret(gw *securityv1.Gateway, name string, data map[string][]byte) *corev1.Secret

func NewPDB added in v1.0.2

NewPDB - Pod Disruption Budget

func NewRoute added in v1.0.4

func NewRoute(gw *securityv1.Gateway, routeSpec securityv1.RouteSpec, suffix string, managementRoute bool) *routev1.Route

func NewSecret added in v1.0.2

func NewSecret(gw *securityv1.Gateway, name string) (*corev1.Secret, error)

NewSecret

func NewService added in v1.0.2

func NewService(gw *securityv1.Gateway) *corev1.Service

func NewServiceAccount added in v1.0.4

func NewServiceAccount(gw *securityv1.Gateway) *corev1.ServiceAccount

Types

type InitContainerStaticConfig added in v1.0.2

type InitContainerStaticConfig struct {
	Version      string             `json:"version"`
	Repositories []RepositoryConfig `json:"repositories,omitempty"`
}

type RepositoryConfig added in v1.0.2

type RepositoryConfig struct {
	Name                string `json:"name"`
	Endpoint            string `json:"endpoint"`
	Branch              string `json:"branch"`
	Auth                string `json:"auth"`
	LocalReference      string `json:"localReference,omitempty"`
	Tag                 string `json:"tag,omitempty"`
	RemoteName          string `json:"remoteName,omitempty"`
	StateStoreReference string `json:"stateStoreReference,omitempty"`
	StateStoreKey       string `json:"stateStoreKey,omitempty"`
	SingletonExtraction bool   `json:"singletonExtraction,omitempty"`
}

Directories

Path Synopsis
* Copyright (c) 2025 Broadcom.
* Copyright (c) 2025 Broadcom.

Jump to

Keyboard shortcuts

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