config

package
v0.0.0-...-d7e1125 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL