Skip to content

Expect() #5

@jayunit100

Description

@jayunit100

from slack: (shaun crampton, project calico)

I suggest having Expect() take a pair of interface arguments for the source and dest. In the felix FVs I quickly found that I wanted to expand on the types of source and dest that the connectivity checked could handle. The first time I did that, I added a new optional arg to ExpectSome/ExpectNone (for the destination port) but I regretted that decision as soon as the next variant came along.
In k8s, I expect we'll want destination types that include: pods, host-networked pods, nodeports, service IPs, external IPs(?), etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions