Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalDNSRule ¶
type ExternalDNSRule struct {
Name string
Ports ProtoPorts
SyncWholeNetwork bool
}
func (*ExternalDNSRule) Equals ¶
func (t *ExternalDNSRule) Equals(other *ExternalDNSRule) bool
type ExternalIPRule ¶
type ExternalIPRule struct {
IP string
Ports ProtoPorts
SyncWholeNetwork bool
}
func (*ExternalIPRule) Equals ¶
func (t *ExternalIPRule) Equals(other *ExternalIPRule) bool
type KubernetesServiceRule ¶
type ProtoPorts ¶
type ProtoPorts []ProtoPort
func (ProtoPorts) Equals ¶
func (p ProtoPorts) Equals(other ProtoPorts) bool
type RpaasInstanceRule ¶
func (*RpaasInstanceRule) String ¶
func (r *RpaasInstanceRule) String() string
type Rule ¶
type RuleSyncData ¶
type RuleSyncInfo ¶
type RuleSyncInfo struct {
SyncID string
RuleID string
Engine string
StartTime time.Time
EndTime time.Time
PingTime time.Time
Running bool
Syncs []RuleSyncData
}
func (RuleSyncInfo) LatestSync ¶
func (rsi RuleSyncInfo) LatestSync() *RuleSyncData
type RuleType ¶
type RuleType struct {
TsuruApp *TsuruAppRule `json:"TsuruApp,omitempty"`
TsuruJob *TsuruJobRule `json:"TsuruJob,omitempty"`
KubernetesService *KubernetesServiceRule `json:"KubernetesService,omitempty"`
ExternalDNS *ExternalDNSRule `json:"ExternalDNS,omitempty"`
ExternalIP *ExternalIPRule `json:"ExternalIP,omitempty"`
RpaasInstance *RpaasInstanceRule `json:"RpaasInstance,omitempty"`
}
type ServiceInstance ¶
type ServiceRule ¶
func (*ServiceRule) Equals ¶
func (s *ServiceRule) Equals(other *ServiceRule) bool
type TsuruAppRule ¶
type TsuruJobRule ¶ added in v0.1.2
type TsuruJobRule struct {
JobName string
}
Click to show internal directories.
Click to hide internal directories.