Documentation ¶
Index ¶
- type Condition
- func Connected() Condition
- func HasCapability(capability tailcfg.NodeCapability) Condition
- func HasExpiredPeer(name string) Condition
- func HasName(name string) Condition
- func HasTag(tag string) Condition
- func HasTailnet(tailnet string) Condition
- func HasUser(email string) Condition
- func IsMissingCapability(capability tailcfg.NodeCapability) Condition
- func IsRunning() Condition
- func NeedsMachineAuth() Condition
- func PeerCount(expected int) Condition
- type TailscaleNode
- func (t *TailscaleNode) Check(c Condition, additional ...Condition) error
- func (t *TailscaleNode) Hostname() string
- func (t *TailscaleNode) IPv4() string
- func (t *TailscaleNode) IPv6() string
- func (t *TailscaleNode) LoginWithOidc(flags ...UpFlag) (int, error)
- func (t *TailscaleNode) NetCheck() (*netcheck.Report, error)
- func (t *TailscaleNode) Ping(target string) error
- func (t *TailscaleNode) Up(authkey string) error
- func (t *TailscaleNode) WaitFor(c Condition, additional ...Condition) error
- type UpFlag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Condition ¶
func HasCapability ¶
func HasCapability(capability tailcfg.NodeCapability) Condition
func HasExpiredPeer ¶ added in v0.14.0
func HasTailnet ¶
func IsMissingCapability ¶
func IsMissingCapability(capability tailcfg.NodeCapability) Condition
func NeedsMachineAuth ¶
func NeedsMachineAuth() Condition
type TailscaleNode ¶
type TailscaleNode struct {
// contains filtered or unexported fields
}
func (*TailscaleNode) Check ¶
func (t *TailscaleNode) Check(c Condition, additional ...Condition) error
func (*TailscaleNode) Hostname ¶
func (t *TailscaleNode) Hostname() string
func (*TailscaleNode) IPv4 ¶
func (t *TailscaleNode) IPv4() string
func (*TailscaleNode) IPv6 ¶
func (t *TailscaleNode) IPv6() string
func (*TailscaleNode) LoginWithOidc ¶
func (t *TailscaleNode) LoginWithOidc(flags ...UpFlag) (int, error)
func (*TailscaleNode) NetCheck ¶ added in v0.15.0
func (t *TailscaleNode) NetCheck() (*netcheck.Report, error)
func (*TailscaleNode) Ping ¶
func (t *TailscaleNode) Ping(target string) error
func (*TailscaleNode) Up ¶
func (t *TailscaleNode) Up(authkey string) error
Click to show internal directories.
Click to hide internal directories.