Documentation ¶
Index ¶
- Constants
- func GetGatewayClass(ctx context.Context, client kube_client.Client, name gatewayapi.ObjectName) (*gatewayapi.GatewayClass, error)
- func ParentRefMatchesGateway(routeNamespace string, parentRef gatewayapi.ParentReference, ...) bool
- func ReconcileLabelledObject(ctx context.Context, registry k8s_registry.TypeRegistry, ...) error
- func ServiceTagForGateway(name kube_types.NamespacedName) map[string]string
Constants ¶
View Source
const ( ControllerName = gatewayapi.GatewayController("gateways.kuma.io/controller") HTTPRouteKind = gatewayapi.Kind("HTTPRoute") )
Variables ¶
This section is empty.
Functions ¶
func GetGatewayClass ¶
func GetGatewayClass(ctx context.Context, client kube_client.Client, name gatewayapi.ObjectName) (*gatewayapi.GatewayClass, error)
func ParentRefMatchesGateway ¶
func ParentRefMatchesGateway(routeNamespace string, parentRef gatewayapi.ParentReference, gateway *gatewayapi.Gateway) bool
ParentRefMatchesGateway checks whether a ref points to the given Gateway.
func ReconcileLabelledObject ¶
func ReconcileLabelledObject( ctx context.Context, registry k8s_registry.TypeRegistry, client kube_client.Client, owner kube_types.NamespacedName, ownerMesh string, ownedType k8s_registry.ResourceType, ownedSpec proto.Message, ) error
ReconcileLabelledObject manages a set of owned kuma objects based on labels with the owner key. ownerMesh can be empty if the ownedSpec is nil. ownedType tells us what type the owned object is. ownedSpec should be set to nil if the object shouldn't exist.
func ServiceTagForGateway ¶
func ServiceTagForGateway(name kube_types.NamespacedName) map[string]string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.