bend-kube-runtime
Releases (2)
Definitions (1,124)
src/serve.bend
- def AEv.got
- def Serve.loopAccepts forever (fuel permitting), serving each connection on its own.
- def Serve.listening
- def Serve.runServes the endpoints on 0.0.0.0:port.
src/store.bend
- type Store
- def Store.new
- def Store.apply
- def Store.apply_all
- def Store.get.fin
- def Store.getThe object under a key, if the store has it.
- def Store.ready
- def Store.size
- def Store.keys
- def Store.values.put
- def Store.values.go
- def Store.values
src/stream.bend
- def Res
- type SEvWhat the loop just saw: bytes (or a failure) from a recv, or the decoder after them with the body bytes it decoded, whether the server failed or the stream is over, whether the answer is 200, and whether its head came.
- def SEv.got
- def Stream.code
- def Stream.check
- def Stream.taken
- def Stream.ended
- def Stream.fedFeeds a cut (empty at the end of the stream) and takes the body bytes it decoded.
- def Stream.message
- def Stream.refused
- def Stream.follow
- def Stream.recv
- def Stream.loopReads until the body ends, folding the body into st; bad holds the body of a refusal.
- def Stream.close
- def Stream.opened
- def Stream.foldGETs path (with its query) and folds each cut of the body into st with on, in order, until the body ends: Done with the last state.
- def Stream.log_pathThe log of a pod's container, followed while it runs (follow=true): the stream ends when the container does.
src/sys.bend
- def Sys.wallThe wall clock: (days since 1970-01-01, (second of the day, microseconds)).
- def Sys.signalWaits for SIGTERM or SIGINT; answers the signal's number.
src/time.bend
- type Civil
- def Time.civil.month.go
- def Time.civil.month
- def Time.civil.year.go
- def Time.civil.year
- def Time.civil.fin
- def Time.civil.doy
- def Time.civil.yoe
- def Time.civil.doe
- def Time.civil.era
- def Time.civilThe date of a count of days since 1970-01-01.
- def Time.pad.go
- def Time.padn in at least width digits, zero-padded.
- def Time.date
- def Time.clock
- def Time.stamp"YYYY-MM-DDTHH:MM:SS"
- def Time.rfc3339metav1.Time: second precision.
- def Time.rfc3339_micrometav1.MicroTime: microsecond precision.
- type WallA wall-clock reading (sys.bend's Sys.wall).
- def Wall.of
- def Wall.micro"YYYY-MM-DDTHH:MM:SS.ffffffZ" (metav1.MicroTime).
- def Wall.rfc3339"YYYY-MM-DDTHH:MM:SSZ" (metav1.Time).
- def Wall.msMilliseconds, modulo 2^32: only for differences under 49 days, which wrap correctly in U32 subtraction.
- def Wall.idA decimal stamp unique to the microsecond, for names.
- def Time.days.goDays since 1970-01-01 of a civil date (Howard Hinnant's days_from_civil), for years from 1970.
- def Time.days.early
- def Time.days
- def Time.sub
- def Time.parse.go
- def Time.parse.seps
- def Time.parseSeconds since the epoch of "YYYY-MM-DDTHH:MM:SS[.fff]Z" (metav1.Time and MicroTime; the fraction is dropped), or None.
- def Wall.secsSeconds since the epoch of a wall-clock reading.
src/typed.bend
- def Ty.Res
- def Ty.at.go
- def Ty.at
- def Ty.str
- def Ty.bool
- def Ty.u32.read
- def Ty.u32
- def Ty.numA number kept as its text (int64, floats): lossless.
- def Ty.jsonAnything, untyped (maps, preserved unknown fields).
- def Ty.from_str
- def Ty.from_bool
- def Ty.from_u32
- def Ty.from_num
- def Ty.from_json
- def Ty.req.go
- def Ty.reqA required field.
- def Ty.opt.go
- def Ty.optAn optional field: None when absent or null.
- def Ty.list.go
- def Ty.list.of
- def Ty.listA list field: empty when absent.
- def Ty.put
- def Ty.put_opt
- def Ty.encs
- def Ty.put_list
- def Ty.fields
- def Ty.objAn object from its present fields.
src/utf8.bend
- type Utf8
- def Utf8.init
- def Utf8.bad
- def Utf8.lead.go
- def Utf8.leadThe lead byte's class: 0 ASCII, 1..3 continuation count, 4 invalid.
- def Utf8.is_cont