Documentation ¶
Overview ¶
Package oppositus maintains a local mirror of CoreOS releases. "Oppositus" is when your core is mirrored -- that is, your internal organs are reversed.
Only files with good signatures are stored, so the mirror can be safely used via the local filesystem without MITM risk.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option option
Option is passed to Mirror to change its behavior.
func WithChannels ¶
WithChannels sets the channels to mirror. Caller must not mutate chans after the call.
func WithErrorHandler ¶
WithErrorHandler sets a function that decides which errors are fatal. If it returns a non-nil error, the mirroring process aborts; otherwise, as much progress is made as possible.
A typical use would be to log errors and return nil.
func WithFilter ¶
WithFilter sets a filter files must pass, or they won't be mirrored.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
internal
|
|
atomic
Package atomic provides atomic filesystem operations.
|
Package atomic provides atomic filesystem operations. |
href
Package href extracts HTML <a href> attributes.
|
Package href extracts HTML <a href> attributes. |
Package sig checks signatures against the CoreOS Image Signing Key.
|
Package sig checks signatures against the CoreOS Image Signing Key. |