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>
180 lines
4.5 KiB
Go
180 lines
4.5 KiB
Go
// Code generated DO NOT EDIT
|
|
|
|
package cmds
|
|
|
|
import "strconv"
|
|
|
|
type AiScriptdel Incomplete
|
|
|
|
func (b Builder) AiScriptdel() (c AiScriptdel) {
|
|
c = AiScriptdel{cs: get(), ks: b.ks}
|
|
c.cs.s = append(c.cs.s, "AI.SCRIPTDEL")
|
|
return c
|
|
}
|
|
|
|
func (c AiScriptdel) Key(key string) AiScriptdelKey {
|
|
if c.ks&NoSlot == NoSlot {
|
|
c.ks = NoSlot | slot(key)
|
|
} else {
|
|
c.ks = check(c.ks, slot(key))
|
|
}
|
|
c.cs.s = append(c.cs.s, key)
|
|
return (AiScriptdelKey)(c)
|
|
}
|
|
|
|
type AiScriptdelKey Incomplete
|
|
|
|
func (c AiScriptdelKey) Build() Completed {
|
|
c.cs.Build()
|
|
return Completed{cs: c.cs, cf: uint16(c.cf), ks: c.ks}
|
|
}
|
|
|
|
type AiScriptget Incomplete
|
|
|
|
func (b Builder) AiScriptget() (c AiScriptget) {
|
|
c = AiScriptget{cs: get(), ks: b.ks, cf: int16(readonly)}
|
|
c.cs.s = append(c.cs.s, "AI.SCRIPTGET")
|
|
return c
|
|
}
|
|
|
|
func (c AiScriptget) Key(key string) AiScriptgetKey {
|
|
if c.ks&NoSlot == NoSlot {
|
|
c.ks = NoSlot | slot(key)
|
|
} else {
|
|
c.ks = check(c.ks, slot(key))
|
|
}
|
|
c.cs.s = append(c.cs.s, key)
|
|
return (AiScriptgetKey)(c)
|
|
}
|
|
|
|
type AiScriptgetKey Incomplete
|
|
|
|
func (c AiScriptgetKey) Meta() AiScriptgetMeta {
|
|
c.cs.s = append(c.cs.s, "META")
|
|
return (AiScriptgetMeta)(c)
|
|
}
|
|
|
|
func (c AiScriptgetKey) Source() AiScriptgetSource {
|
|
c.cs.s = append(c.cs.s, "SOURCE")
|
|
return (AiScriptgetSource)(c)
|
|
}
|
|
|
|
func (c AiScriptgetKey) Build() Completed {
|
|
c.cs.Build()
|
|
return Completed{cs: c.cs, cf: uint16(c.cf), ks: c.ks}
|
|
}
|
|
|
|
func (c AiScriptgetKey) Cache() Cacheable {
|
|
c.cs.Build()
|
|
return Cacheable{cs: c.cs, cf: uint16(c.cf), ks: c.ks}
|
|
}
|
|
|
|
type AiScriptgetMeta Incomplete
|
|
|
|
func (c AiScriptgetMeta) Source() AiScriptgetSource {
|
|
c.cs.s = append(c.cs.s, "SOURCE")
|
|
return (AiScriptgetSource)(c)
|
|
}
|
|
|
|
func (c AiScriptgetMeta) Build() Completed {
|
|
c.cs.Build()
|
|
return Completed{cs: c.cs, cf: uint16(c.cf), ks: c.ks}
|
|
}
|
|
|
|
func (c AiScriptgetMeta) Cache() Cacheable {
|
|
c.cs.Build()
|
|
return Cacheable{cs: c.cs, cf: uint16(c.cf), ks: c.ks}
|
|
}
|
|
|
|
type AiScriptgetSource Incomplete
|
|
|
|
func (c AiScriptgetSource) Build() Completed {
|
|
c.cs.Build()
|
|
return Completed{cs: c.cs, cf: uint16(c.cf), ks: c.ks}
|
|
}
|
|
|
|
func (c AiScriptgetSource) Cache() Cacheable {
|
|
c.cs.Build()
|
|
return Cacheable{cs: c.cs, cf: uint16(c.cf), ks: c.ks}
|
|
}
|
|
|
|
type AiScriptstore Incomplete
|
|
|
|
func (b Builder) AiScriptstore() (c AiScriptstore) {
|
|
c = AiScriptstore{cs: get(), ks: b.ks}
|
|
c.cs.s = append(c.cs.s, "AI.SCRIPTSTORE")
|
|
return c
|
|
}
|
|
|
|
func (c AiScriptstore) Key(key string) AiScriptstoreKey {
|
|
if c.ks&NoSlot == NoSlot {
|
|
c.ks = NoSlot | slot(key)
|
|
} else {
|
|
c.ks = check(c.ks, slot(key))
|
|
}
|
|
c.cs.s = append(c.cs.s, key)
|
|
return (AiScriptstoreKey)(c)
|
|
}
|
|
|
|
type AiScriptstoreDeviceCpu Incomplete
|
|
|
|
func (c AiScriptstoreDeviceCpu) Tag(tag string) AiScriptstoreTag {
|
|
c.cs.s = append(c.cs.s, "TAG", tag)
|
|
return (AiScriptstoreTag)(c)
|
|
}
|
|
|
|
func (c AiScriptstoreDeviceCpu) EntryPoints(entryPointCount int64) AiScriptstoreEntryPointsEntryPoints {
|
|
c.cs.s = append(c.cs.s, "ENTRY_POINTS", strconv.FormatInt(entryPointCount, 10))
|
|
return (AiScriptstoreEntryPointsEntryPoints)(c)
|
|
}
|
|
|
|
type AiScriptstoreDeviceGpu Incomplete
|
|
|
|
func (c AiScriptstoreDeviceGpu) Tag(tag string) AiScriptstoreTag {
|
|
c.cs.s = append(c.cs.s, "TAG", tag)
|
|
return (AiScriptstoreTag)(c)
|
|
}
|
|
|
|
func (c AiScriptstoreDeviceGpu) EntryPoints(entryPointCount int64) AiScriptstoreEntryPointsEntryPoints {
|
|
c.cs.s = append(c.cs.s, "ENTRY_POINTS", strconv.FormatInt(entryPointCount, 10))
|
|
return (AiScriptstoreEntryPointsEntryPoints)(c)
|
|
}
|
|
|
|
type AiScriptstoreEntryPointsEntryPoint Incomplete
|
|
|
|
func (c AiScriptstoreEntryPointsEntryPoint) EntryPoint(entryPoint ...string) AiScriptstoreEntryPointsEntryPoint {
|
|
c.cs.s = append(c.cs.s, entryPoint...)
|
|
return c
|
|
}
|
|
|
|
func (c AiScriptstoreEntryPointsEntryPoint) Build() Completed {
|
|
c.cs.Build()
|
|
return Completed{cs: c.cs, cf: uint16(c.cf), ks: c.ks}
|
|
}
|
|
|
|
type AiScriptstoreEntryPointsEntryPoints Incomplete
|
|
|
|
func (c AiScriptstoreEntryPointsEntryPoints) EntryPoint(entryPoint ...string) AiScriptstoreEntryPointsEntryPoint {
|
|
c.cs.s = append(c.cs.s, entryPoint...)
|
|
return (AiScriptstoreEntryPointsEntryPoint)(c)
|
|
}
|
|
|
|
type AiScriptstoreKey Incomplete
|
|
|
|
func (c AiScriptstoreKey) Cpu() AiScriptstoreDeviceCpu {
|
|
c.cs.s = append(c.cs.s, "CPU")
|
|
return (AiScriptstoreDeviceCpu)(c)
|
|
}
|
|
|
|
func (c AiScriptstoreKey) Gpu() AiScriptstoreDeviceGpu {
|
|
c.cs.s = append(c.cs.s, "GPU")
|
|
return (AiScriptstoreDeviceGpu)(c)
|
|
}
|
|
|
|
type AiScriptstoreTag Incomplete
|
|
|
|
func (c AiScriptstoreTag) EntryPoints(entryPointCount int64) AiScriptstoreEntryPointsEntryPoints {
|
|
c.cs.s = append(c.cs.s, "ENTRY_POINTS", strconv.FormatInt(entryPointCount, 10))
|
|
return (AiScriptstoreEntryPointsEntryPoints)(c)
|
|
}
|