istio: Index | Files

package converter

import ""


Package Files


func Convert Uses

func Convert(authorizationPolicies *model.AuthorizationPolicies, namespaceToServiceToSelector map[string]ServiceToWorkloadLabels,
    allowNoClusterRbacConfig bool) (string, error)

Convert converts v1alphal1 RBAC policies to v1beta1 authorization policies.

type ServiceToWorkloadLabels Uses

type ServiceToWorkloadLabels map[string]WorkloadLabels

ServiceToWorkloadLabels maps the short service name to the workload labels that it's pointing to. This service is defined in same namespace as the ServiceRole that's using it.

type WorkloadLabels Uses

type WorkloadLabels map[string]string

WorkloadLabels is the workload labels, for example, app: productpage.

Package converter imports 13 packages (graph) and is imported by 2 packages. Updated 2020-01-16. Refresh now. Tools for package owners.