Skip to content

Generate go clients for custom resource routes #1277

@IfSentient

Description

@IfSentient

Currently, we generate go clients by default for all kinds, and if there are custom routes routes attached, we generate methods to call those custom routes. However, we don't generate clients that interact with resource routes, despite having generated go types and all the information needed to be able to create a client to do so. We should generate a client per path entry in the routes.namespaced and routes.cluster sections of a manifest version, and place it in the version package (e.g. pkg/generated/v1alpha1). This should be in the same place regardless of kind grouping, as it is not attached to kinds, but versions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions