mattermost-community-enterp.../vendor/github.com/redis/rueidis/internal/cmds/gen_sentinel.go
Claude ec1f89217a Merge: Complete Mattermost Server with Community Enterprise
Full Mattermost server source with integrated Community Enterprise features.
Includes vendor directory for offline/air-gapped builds.

Structure:
- enterprise-impl/: Enterprise feature implementations
- enterprise-community/: Init files that register implementations
- enterprise/: Bridge imports (community_imports.go)
- vendor/: All dependencies for offline builds

Build (online):
  go build ./cmd/mattermost

Build (offline/air-gapped):
  go build -mod=vendor ./cmd/mattermost

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 23:59:07 +09:00

84 lines
2.1 KiB
Go

// Code generated DO NOT EDIT
package cmds
type SentinelFailover Incomplete
func (b Builder) SentinelFailover() (c SentinelFailover) {
c = SentinelFailover{cs: get(), ks: b.ks}
c.cs.s = append(c.cs.s, "SENTINEL", "FAILOVER")
return c
}
func (c SentinelFailover) Master(master string) SentinelFailoverMaster {
c.cs.s = append(c.cs.s, master)
return (SentinelFailoverMaster)(c)
}
type SentinelFailoverMaster Incomplete
func (c SentinelFailoverMaster) Build() Completed {
c.cs.Build()
return Completed{cs: c.cs, cf: uint16(c.cf), ks: c.ks}
}
type SentinelGetMasterAddrByName Incomplete
func (b Builder) SentinelGetMasterAddrByName() (c SentinelGetMasterAddrByName) {
c = SentinelGetMasterAddrByName{cs: get(), ks: b.ks}
c.cs.s = append(c.cs.s, "SENTINEL", "GET-MASTER-ADDR-BY-NAME")
return c
}
func (c SentinelGetMasterAddrByName) Master(master string) SentinelGetMasterAddrByNameMaster {
c.cs.s = append(c.cs.s, master)
return (SentinelGetMasterAddrByNameMaster)(c)
}
type SentinelGetMasterAddrByNameMaster Incomplete
func (c SentinelGetMasterAddrByNameMaster) Build() Completed {
c.cs.Build()
return Completed{cs: c.cs, cf: uint16(c.cf), ks: c.ks}
}
type SentinelReplicas Incomplete
func (b Builder) SentinelReplicas() (c SentinelReplicas) {
c = SentinelReplicas{cs: get(), ks: b.ks}
c.cs.s = append(c.cs.s, "SENTINEL", "REPLICAS")
return c
}
func (c SentinelReplicas) Master(master string) SentinelReplicasMaster {
c.cs.s = append(c.cs.s, master)
return (SentinelReplicasMaster)(c)
}
type SentinelReplicasMaster Incomplete
func (c SentinelReplicasMaster) Build() Completed {
c.cs.Build()
return Completed{cs: c.cs, cf: uint16(c.cf), ks: c.ks}
}
type SentinelSentinels Incomplete
func (b Builder) SentinelSentinels() (c SentinelSentinels) {
c = SentinelSentinels{cs: get(), ks: b.ks}
c.cs.s = append(c.cs.s, "SENTINEL", "SENTINELS")
return c
}
func (c SentinelSentinels) Master(master string) SentinelSentinelsMaster {
c.cs.s = append(c.cs.s, master)
return (SentinelSentinelsMaster)(c)
}
type SentinelSentinelsMaster Incomplete
func (c SentinelSentinelsMaster) Build() Completed {
c.cs.Build()
return Completed{cs: c.cs, cf: uint16(c.cf), ks: c.ks}
}