Documentation ¶
Overview ¶
Package cfnetworkingaction contains the business logic for the cf networking commands.
Index ¶
- type Actor
- func (actor Actor) AddNetworkPolicy(spaceGUID, srcAppName, destAppName, protocol string, startPort, endPort int) (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(spaceGUID, srcAppName, destAppName, protocol string, startPort, endPort int) (Warnings, error)
- type NetworkingClient
- type Policy
- type V3Actor
- type Warnings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actor ¶
type Actor struct { NetworkingClient NetworkingClient V3Actor V3Actor }
Actor handles all business logic for cf networking operations.
func NewActor ¶
func NewActor(networkingClient NetworkingClient, v3Actor V3Actor) *Actor
NewActor returns a new actor.
func (Actor) AddNetworkPolicy ¶
func (Actor) NetworkPoliciesBySpace ¶
func (Actor) NetworkPoliciesBySpaceAndAppName ¶
type NetworkingClient ¶
Click to show internal directories.
Click to hide internal directories.