Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
Run RunCmd `cmd:"" help:"Run the ArgoCD Tailscale integration controller."`
Version VersionCmd `cmd:"" name:"version" help:"Show version information and exit."`
}
type RunCmd ¶
type RunCmd struct {
ReconcileInterval time.Duration `` /* 149-byte string literal not displayed */
Tailscale struct {
BaseURL *url.URL `` /* 131-byte string literal not displayed */
Tailnet string `` /* 137-byte string literal not displayed */
AuthKey string `` /* 150-byte string literal not displayed */
AuthKeyFile []byte `` /* 204-byte string literal not displayed */
DeviceTagFilters []string `` /* 154-byte string literal not displayed */
Webhook struct {
Enable bool `` /* 129-byte string literal not displayed */
Port int `name:"port" help:"Tailscale webhook port." default:"3000" env:"TAILSCALE_WEBHOOK_PORT" group:"Tailscale flags" `
Secret string `` /* 154-byte string literal not displayed */
SecretFile []byte `` /* 221-byte string literal not displayed */
} `embed:"" prefix:"webhook."`
} `embed:"" prefix:"ts."`
Namespace string `` // trunk-ignore(golangci-lint/lll)
/* 152-byte string literal not displayed */
Service struct {
CreateService bool `` /* 167-byte string literal not displayed */
ProxyClass string `` /* 126-byte string literal not displayed */
} `embed:"" prefix:"service." envprefix:"SERVICE_"`
Log struct {
Development bool `name:"devel" help:"Enable development logging." env:"DEVEL" group:"Log flags"`
Verbosity zapcore.LevelEnabler `name:"v" help:"Log verbosity level." default:"2" env:"VERBOSITY" group:"Log flags"`
Format zapcore.Encoder `name:"format" help:"Log encoding format, either 'json' or 'console'." default:"json" env:"FORMAT" group:"Log flags"`
} `embed:"" prefix:"log." envprefix:"LOG_"`
// contains filtered or unexported fields
}
func (*RunCmd) AfterApply ¶
type VersionCmd ¶
type VersionCmd struct{}
Click to show internal directories.
Click to hide internal directories.