Skip to content

New Linter: pointeroptional #93

@yongruilin

Description

@yongruilin

For any field that is a pointer, it should be marked with +optional, +k8s:optional or kubebuilders' optional.
This could provide a clear interface for both client and server for all the pointer fields.

Ref: jpbetz/validation-gen#66

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions