Versions in this module Expand all Collapse all v8 v8.17.1 Feb 12, 2026 v8.17.0 Nov 18, 2025 Changes in this version + type Client struct + func NewClient(config Config) *Client + func (client *Client) CreatePolicies(policies []Policy) error + func (client *Client) ListPolicies(appGUIDs ...string) ([]Policy, error) + func (client *Client) RemovePolicies(policies []Policy) error + func (client *Client) WrapConnection(wrapper ConnectionWrapper) + type Config struct + AppName string + AppVersion string + DialTimeout time.Duration + SkipSSLValidation bool + URL string + Wrappers []ConnectionWrapper + type ConnectionWrapper interface + Wrap func(innerconnection cfnetworking.Connection) cfnetworking.Connection + type Params map[string]string + type Policy struct + Destination PolicyDestination + Source PolicySource + type PolicyDestination struct + ID string + Ports Ports + Protocol PolicyProtocol + type PolicyList struct + Policies []Policy + TotalPolicies int + type PolicyProtocol string + const PolicyProtocolTCP + const PolicyProtocolUDP + type PolicySource struct + ID string + type Ports struct + End int + Start int Other modules containing this package code.cloudfoundry.org/cli