cloudfoundry / cloudfoundry/go-cfclient

Add network policy support to go-cfclient

Open
#376 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
70
Forks
134
PR merge metrics
No merged PRs in 30d

Description

It would be useful to be able to make network policy API calls using the go-cfclient. The resources would need to be added and a new client. I don't know if this should go into it's own package or even it's own separate library, but it seems as if adding it here would be easiest for consumers.

Here's a sample POC using the CF network policy API

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked POC at platform-tools/cmd/network_policy.go and the Cloud Foundry network policy API documentation. Then inspect go-cfclient's existing resource and client organization to determine where the network policy resources belong. Done means the client exposes the network policy API calls without leaving the package or library boundary unresolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.