Documentation ¶
Index ¶
- type HostSelector
- func (o *HostSelector) Exclude(host *api.Host) bool
- func (o *HostSelector) ExcludeHost(host *api.Host) *HostSelector
- func (o *HostSelector) ExcludeHosts(hosts ...*api.Host) *HostSelector
- func (o *HostSelector) ExcludeReconcileAttributes(attrs *api.HostReconcileAttributes) *HostSelector
- func (o *HostSelector) Include(host *api.Host) bool
- func (o *HostSelector) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostSelector ¶
type HostSelector struct {
// contains filtered or unexported fields
}
HostSelector specifies options for excluding host
func NewHostSelector ¶
func NewHostSelector() *HostSelector
NewHostSelector creates new host selector
func (*HostSelector) Exclude ¶
func (o *HostSelector) Exclude(host *api.Host) bool
Exclude tells whether to exclude the host
func (*HostSelector) ExcludeHost ¶
func (o *HostSelector) ExcludeHost(host *api.Host) *HostSelector
ExcludeHost specifies to exclude a host
func (*HostSelector) ExcludeHosts ¶
func (o *HostSelector) ExcludeHosts(hosts ...*api.Host) *HostSelector
ExcludeHosts specifies to exclude list of hosts
func (*HostSelector) ExcludeReconcileAttributes ¶
func (o *HostSelector) ExcludeReconcileAttributes(attrs *api.HostReconcileAttributes) *HostSelector
ExcludeReconcileAttributes specifies to exclude reconcile attributes
func (*HostSelector) Include ¶
func (o *HostSelector) Include(host *api.Host) bool
Include tells whether to include the host
func (*HostSelector) String ¶
func (o *HostSelector) String() string
String returns string representation
Click to show internal directories.
Click to hide internal directories.