Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByProviderID ¶
type ByProviderID []*InstanceRule
func (ByProviderID) Len ¶
func (a ByProviderID) Len() int
func (ByProviderID) Less ¶
func (a ByProviderID) Less(i, j int) bool
func (ByProviderID) Swap ¶
func (a ByProviderID) Swap(i, j int)
type Changes ¶
type Changes struct { // Rules that need to be created Create []*inbound.InboundRules // Rules that need to be updated (current data) UpdateOld []*inbound.InboundRules // Rules that need to be updated (desired data) UpdateNew []*inbound.InboundRules // Rules that need to be deleted Delete []*inbound.InboundRules Set []*InstanceRule Unset []*InstanceRule }
type InstanceRule ¶
type Plan ¶
type Plan struct { // List of current rules Current []*inbound.InboundRules // List of desired rules Desired []*inbound.InboundRules // List of changes necessary to move towards desired state // Populated after calling Calculate() Changes *Changes }
Click to show internal directories.
Click to hide internal directories.