Documentation ¶
Index ¶
- type MockDataplane
- func (d *MockDataplane) ActivePolicies() set.Set
- func (d *MockDataplane) ActivePolicy(k proto.PolicyID) *proto.Policy
- func (d *MockDataplane) ActivePreDNATPolicies() set.Set
- func (d *MockDataplane) ActiveProfiles() set.Set
- func (d *MockDataplane) ActiveUntrackedPolicies() set.Set
- func (d *MockDataplane) Config() map[string]string
- func (d *MockDataplane) EndpointToPolicyOrder() map[string][]TierInfo
- func (d *MockDataplane) EndpointToPreDNATPolicyOrder() map[string][]TierInfo
- func (d *MockDataplane) EndpointToProfiles() map[string][]string
- func (d *MockDataplane) EndpointToUntrackedPolicyOrder() map[string][]TierInfo
- func (d *MockDataplane) IPSets() map[string]set.Set
- func (d *MockDataplane) InSync() bool
- func (d *MockDataplane) Namespaces() map[proto.NamespaceID]*proto.NamespaceUpdate
- func (d *MockDataplane) NumEventsRecorded() int
- func (d *MockDataplane) OnEvent(event interface{})
- func (d *MockDataplane) RawValues() map[string]string
- func (d *MockDataplane) ServiceAccounts() map[proto.ServiceAccountID]*proto.ServiceAccountUpdate
- func (d *MockDataplane) UpdateFrom(map[string]string, config.Source) (changed bool, err error)
- type TierInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDataplane ¶
func NewMockDataplane ¶
func NewMockDataplane() *MockDataplane
func (*MockDataplane) ActivePolicies ¶
func (d *MockDataplane) ActivePolicies() set.Set
func (*MockDataplane) ActivePolicy ¶
func (d *MockDataplane) ActivePolicy(k proto.PolicyID) *proto.Policy
func (*MockDataplane) ActivePreDNATPolicies ¶
func (d *MockDataplane) ActivePreDNATPolicies() set.Set
func (*MockDataplane) ActiveProfiles ¶
func (d *MockDataplane) ActiveProfiles() set.Set
func (*MockDataplane) ActiveUntrackedPolicies ¶
func (d *MockDataplane) ActiveUntrackedPolicies() set.Set
func (*MockDataplane) Config ¶
func (d *MockDataplane) Config() map[string]string
func (*MockDataplane) EndpointToPolicyOrder ¶
func (d *MockDataplane) EndpointToPolicyOrder() map[string][]TierInfo
func (*MockDataplane) EndpointToPreDNATPolicyOrder ¶
func (d *MockDataplane) EndpointToPreDNATPolicyOrder() map[string][]TierInfo
func (*MockDataplane) EndpointToProfiles ¶
func (d *MockDataplane) EndpointToProfiles() map[string][]string
func (*MockDataplane) EndpointToUntrackedPolicyOrder ¶
func (d *MockDataplane) EndpointToUntrackedPolicyOrder() map[string][]TierInfo
func (*MockDataplane) InSync ¶
func (d *MockDataplane) InSync() bool
func (*MockDataplane) Namespaces ¶
func (d *MockDataplane) Namespaces() map[proto.NamespaceID]*proto.NamespaceUpdate
func (*MockDataplane) NumEventsRecorded ¶
func (d *MockDataplane) NumEventsRecorded() int
func (*MockDataplane) OnEvent ¶
func (d *MockDataplane) OnEvent(event interface{})
func (*MockDataplane) RawValues ¶
func (d *MockDataplane) RawValues() map[string]string
func (*MockDataplane) ServiceAccounts ¶
func (d *MockDataplane) ServiceAccounts() map[proto.ServiceAccountID]*proto.ServiceAccountUpdate
func (*MockDataplane) UpdateFrom ¶
Click to show internal directories.
Click to hide internal directories.