Versions in this module Expand all Collapse all v8 v8.4.4 Aug 24, 2022 v8.4.3 Aug 24, 2022 Changes in this version + type Actor struct + CloudControllerClient CloudControllerClient + NetworkingClient NetworkingClient + func NewActor(networkingClient NetworkingClient, ccClient CloudControllerClient) *Actor + func (actor Actor) AddNetworkPolicy(srcSpaceGUID, srcAppName, destSpaceGUID, destAppName, protocol string, ...) (Warnings, error) + func (actor Actor) NetworkPoliciesBySpace(spaceGUID string) ([]Policy, Warnings, error) + func (actor Actor) NetworkPoliciesBySpaceAndAppName(spaceGUID string, srcAppName string) ([]Policy, Warnings, error) + func (actor Actor) RemoveNetworkPolicy(srcSpaceGUID, srcAppName, destSpaceGUID, destAppName, protocol string, ...) (Warnings, error) + type CloudControllerClient interface + GetApplicationByNameAndSpace func(appName string, spaceGUID string) (resources.Application, ccv3.Warnings, error) + GetApplications func(query ...ccv3.Query) ([]resources.Application, ccv3.Warnings, error) + GetOrganizations func(query ...ccv3.Query) ([]resources.Organization, ccv3.Warnings, error) + GetSpaces func(query ...ccv3.Query) ([]resources.Space, ccv3.IncludedResources, ccv3.Warnings, error) + type NetworkingClient interface + CreatePolicies func(policies []cfnetv1.Policy) error + ListPolicies func(appGUIDs ...string) ([]cfnetv1.Policy, error) + RemovePolicies func(policies []cfnetv1.Policy) error + type Policy struct + DestinationName string + DestinationOrgName string + DestinationSpaceName string + EndPort int + Protocol string + SourceName string + StartPort int + type Warnings []string Other modules containing this package github.com/LukasHeimann/cloudfoundrycli