Documentation ¶
Index ¶
- func CreateRouteForResource(ctx context.Context, _ logr.Logger, client ctrlclient.Client, ...) error
- func CreateUpdateRoute(ctx context.Context, client ctrlclient.Client, route kubelbv1alpha1.Route) error
- func GenerateRoute(resource unstructured.Unstructured, resources Subresources, namespace string) kubelbv1alpha1.Route
- type Subresources
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRouteForResource ¶
func CreateRouteForResource(ctx context.Context, _ logr.Logger, client ctrlclient.Client, resource unstructured.Unstructured, subresources Subresources, namespace string) error
func CreateUpdateRoute ¶
func CreateUpdateRoute(ctx context.Context, client ctrlclient.Client, route kubelbv1alpha1.Route) error
func GenerateRoute ¶
func GenerateRoute(resource unstructured.Unstructured, resources Subresources, namespace string) kubelbv1alpha1.Route
Types ¶
type Subresources ¶
type Subresources struct { Services []corev1.Service `json:"services,omitempty"` ReferenceGrants []gwapiv1alpha2.ReferenceGrant `json:"referenceGrants,omitempty"` }
Click to show internal directories.
Click to hide internal directories.