Versions in this module Expand all Collapse all v0 v0.1.1 Aug 24, 2023 v0.1.0 Aug 9, 2023 Changes in this version + type Config struct + Args []string + Env []string + Modules []*Descriptor + Runtime *Descriptor + func (c *Config) ContentType() MediaType + func (c *Config) MarshalResource() ([]byte, error) + func (c *Config) UnmarshalResource(b []byte) error + type Descriptor struct + Annotations map[string]string + Digest Hash + MediaType MediaType + Size int64 + URLs []string + func (d *Descriptor) ContentType() MediaType + func (d *Descriptor) MarshalResource() ([]byte, error) + func (d *Descriptor) UnmarshalResource(b []byte) error + type Hash struct + Algorithm string + Digest string + func ParseHash(s string) Hash + func SHA256(b []byte) Hash + func (h *Hash) UnmarshalText(b []byte) error + func (h Hash) MarshalText() ([]byte, error) + func (h Hash) Short() string + func (h Hash) String() string + type LogSegment struct + CreatedAt time.Time + Number int + Size int64 + type Manifest struct + Process *Descriptor + ProcessID UUID + Segments []LogSegment + StartTime time.Time + func (m *Manifest) ContentType() MediaType + func (m *Manifest) MarshalResource() ([]byte, error) + func (m *Manifest) UnmarshalResource(b []byte) error + type MediaType string + const TypeDescriptor + const TypeTimecraftConfig + const TypeTimecraftManifest + const TypeTimecraftModule + const TypeTimecraftProcess + const TypeTimecraftProfile + const TypeTimecraftRuntime + func (m MediaType) String() string + type Module struct + Code []byte + func (m *Module) ContentType() MediaType + func (m *Module) MarshalResource() ([]byte, error) + func (m *Module) UnmarshalResource(b []byte) error + type Process struct + Config *Descriptor + ID UUID + StartTime time.Time + func (p *Process) ContentType() MediaType + func (p *Process) MarshalResource() ([]byte, error) + func (p *Process) UnmarshalResource(b []byte) error + type Record struct + Function string + ID string + Offset int64 + Process *Descriptor + Size int64 + Time time.Time + type Resource interface + ContentType func() MediaType + type ResourceMarshaler interface + MarshalResource func() ([]byte, error) + type ResourceUnmarshaler interface + UnmarshalResource func([]byte) error + type Runtime struct + Runtime string + Version string + func (r *Runtime) ContentType() MediaType + func (r *Runtime) MarshalResource() ([]byte, error) + func (r *Runtime) UnmarshalResource(b []byte) error + type UUID = uuid.UUID