Documentation ¶
Index ¶
- Constants
- func CanaryDaemonSet() *appsv1.DaemonSet
- func CanaryNamespace() *corev1.Namespace
- func CanaryRoute() *routev1.Route
- func CanaryService() *corev1.Service
- func GatewayCRD() *apiextensionsv1.CustomResourceDefinition
- func GatewayClassCRD() *apiextensionsv1.CustomResourceDefinition
- func HTTPRouteCRD() *apiextensionsv1.CustomResourceDefinition
- func InternalIngressControllerService() *corev1.Service
- func LoadBalancerService() *corev1.Service
- func MetricsClusterRole() *rbacv1.ClusterRole
- func MetricsClusterRoleBinding() *rbacv1.ClusterRoleBinding
- func MetricsRole() *rbacv1.Role
- func MetricsRoleBinding() *rbacv1.RoleBinding
- func MustAsset(asset string) []byte
- func MustAssetReader(asset string) io.Reader
- func MustAssetString(asset string) string
- func NewClusterRole(manifest io.Reader) (*rbacv1.ClusterRole, error)
- func NewClusterRoleBinding(manifest io.Reader) (*rbacv1.ClusterRoleBinding, error)
- func NewCustomResourceDefinition(manifest io.Reader) (*apiextensionsv1.CustomResourceDefinition, error)
- func NewDaemonSet(manifest io.Reader) (*appsv1.DaemonSet, error)
- func NewDeployment(manifest io.Reader) (*appsv1.Deployment, error)
- func NewNamespace(manifest io.Reader) (*corev1.Namespace, error)
- func NewRole(manifest io.Reader) (*rbacv1.Role, error)
- func NewRoleBinding(manifest io.Reader) (*rbacv1.RoleBinding, error)
- func NewRoute(manifest io.Reader) (*routev1.Route, error)
- func NewService(manifest io.Reader) (*corev1.Service, error)
- func NewServiceAccount(manifest io.Reader) (*corev1.ServiceAccount, error)
- func ReferenceGrantCRD() *apiextensionsv1.CustomResourceDefinition
- func RouterClusterRole() *rbacv1.ClusterRole
- func RouterClusterRoleBinding() *rbacv1.ClusterRoleBinding
- func RouterDeployment() *appsv1.Deployment
- func RouterNamespace() *corev1.Namespace
- func RouterServiceAccount() *corev1.ServiceAccount
- func RouterStatsSecret(cr *operatorv1.IngressController) *corev1.Secret
Constants ¶
View Source
const ( RouterNamespaceAsset = "assets/router/namespace.yaml" RouterServiceAccountAsset = "assets/router/service-account.yaml" RouterClusterRoleAsset = "assets/router/cluster-role.yaml" RouterClusterRoleBindingAsset = "assets/router/cluster-role-binding.yaml" RouterDeploymentAsset = "assets/router/deployment.yaml" RouterServiceInternalAsset = "assets/router/service-internal.yaml" RouterServiceCloudAsset = "assets/router/service-cloud.yaml" MetricsClusterRoleAsset = "assets/router/metrics/cluster-role.yaml" MetricsClusterRoleBindingAsset = "assets/router/metrics/cluster-role-binding.yaml" MetricsRoleAsset = "assets/router/metrics/role.yaml" MetricsRoleBindingAsset = "assets/router/metrics/role-binding.yaml" CanaryNamespaceAsset = "assets/canary/namespace.yaml" CanaryDaemonSetAsset = "assets/canary/daemonset.yaml" CanaryServiceAsset = "assets/canary/service.yaml" CanaryRouteAsset = "assets/canary/route.yaml" GatewayClassCRDAsset = "assets/gateway-api/gateway.networking.k8s.io_gatewayclasses.yaml" GatewayCRDAsset = "assets/gateway-api/gateway.networking.k8s.io_gateways.yaml" HTTPRouteCRDAsset = "assets/gateway-api/gateway.networking.k8s.io_httproutes.yaml" ReferenceGrantCRDAsset = "assets/gateway-api/gateway.networking.k8s.io_referencegrants.yaml" // Annotation used to inform the certificate generation service to // generate a cluster-signed certificate and populate the secret. ServingCertSecretAnnotation = "service.alpha.openshift.io/serving-cert-secret-name" // OwningIngressControllerLabel should be applied to any objects "owned by" a // ingress controller to aid in selection (especially in cases where an ownerref // can't be established due to namespace boundaries). OwningIngressControllerLabel = "ingresscontroller.operator.openshift.io/owning-ingresscontroller" // OwningIngressCanaryCheckLabel should be applied to any objects "owned by" the // ingress operator's canary end-to-end check controller. OwningIngressCanaryCheckLabel = "ingress.openshift.io/canary" // IngressControllerFinalizer is used to block deletion of ingresscontrollers // until the operator has ensured it's safe for deletion to proceed. IngressControllerFinalizer = "ingresscontroller.operator.openshift.io/finalizer-ingresscontroller" // DNSRecordFinalizer is used to block deletion of dnsrecords until the // operator has ensured it's safe for deletion to proceeed. DNSRecordFinalizer = "operator.openshift.io/ingress-dns" // DefaultIngressControllerName is the name of the default IngressController // instance. DefaultIngressControllerName = "default" // ClusterIngressConfigName is the name of the cluster Ingress Config ClusterIngressConfigName = "cluster" // NamespaceManifest is the asset for the operator namespace manifest. // This manifest is usually installed by CVO, but it is also used by the // "ingress-operator render" command to write out manifests that are // required in order to customize ingress at installation time, before // CVO installs the manifests. NamespaceManifest = "manifests/00-namespace.yaml" // CustomResourceDefinitionManifest is the asset for the // ingresscontrollers CRD. This manifest is usually installed by CVO, // but it is also used by the "ingress-operator render" command to write // out manifests that are required in order to customize ingress at // installation time, before CVO installs the manifests. CustomResourceDefinitionManifest = "manifests/00-custom-resource-definition.yaml" )
Variables ¶
This section is empty.
Functions ¶
func CanaryDaemonSet ¶
func CanaryNamespace ¶
func CanaryRoute ¶
func CanaryService ¶
func GatewayCRD ¶
func GatewayCRD() *apiextensionsv1.CustomResourceDefinition
func GatewayClassCRD ¶
func GatewayClassCRD() *apiextensionsv1.CustomResourceDefinition
func HTTPRouteCRD ¶
func HTTPRouteCRD() *apiextensionsv1.CustomResourceDefinition
func LoadBalancerService ¶
func MetricsClusterRole ¶
func MetricsClusterRole() *rbacv1.ClusterRole
func MetricsClusterRoleBinding ¶
func MetricsClusterRoleBinding() *rbacv1.ClusterRoleBinding
func MetricsRole ¶
func MetricsRoleBinding ¶
func MetricsRoleBinding() *rbacv1.RoleBinding
func MustAssetReader ¶
func MustAssetString ¶
MustAssetString returns a string with the named asset.
func NewClusterRole ¶
func NewClusterRole(manifest io.Reader) (*rbacv1.ClusterRole, error)
func NewClusterRoleBinding ¶
func NewClusterRoleBinding(manifest io.Reader) (*rbacv1.ClusterRoleBinding, error)
func NewCustomResourceDefinition ¶
func NewCustomResourceDefinition(manifest io.Reader) (*apiextensionsv1.CustomResourceDefinition, error)
func NewDeployment ¶
func NewDeployment(manifest io.Reader) (*appsv1.Deployment, error)
func NewRoleBinding ¶
func NewRoleBinding(manifest io.Reader) (*rbacv1.RoleBinding, error)
func NewServiceAccount ¶
func NewServiceAccount(manifest io.Reader) (*corev1.ServiceAccount, error)
func ReferenceGrantCRD ¶
func ReferenceGrantCRD() *apiextensionsv1.CustomResourceDefinition
func RouterClusterRole ¶
func RouterClusterRole() *rbacv1.ClusterRole
func RouterClusterRoleBinding ¶
func RouterClusterRoleBinding() *rbacv1.ClusterRoleBinding
func RouterDeployment ¶
func RouterDeployment() *appsv1.Deployment
func RouterNamespace ¶
func RouterServiceAccount ¶
func RouterServiceAccount() *corev1.ServiceAccount
func RouterStatsSecret ¶
func RouterStatsSecret(cr *operatorv1.IngressController) *corev1.Secret
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.