Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapToCompHandlerOptions ¶
func NewTypeHandler ¶
Types ¶
type ElementFilter ¶
type ElementFilter interface {
Accept(e routingslip.Entry) bool
}
type Manifest ¶
type Manifest struct { Component string `json:"component"` Version string `json:"version"` Error string `json:"error,omitempty"` RoutingSlip string `json:"routingSlip,omitempty"` Entry *routingslip.HistoryEntry `json:"entry,omitempty"` }
type Object ¶
type Object struct { Component *comphdlr.Object Slip string Error string HistoryEntry *routingslip.HistoryEntry Payload routingslip.Entry }
func (*Object) AsManifest ¶
func (o *Object) AsManifest() interface{}
type Option ¶
type Option interface {
ApplyToElemHandler(handler *TypeHandler)
}
func LatestOnly ¶
func Resolver ¶
func Resolver(r ocm.ComponentVersionResolver) Option
func WithFilter ¶
func WithFilter(fi ElementFilter) Option
func WithVerification ¶
func WithVersionConstraints ¶
func WithVersionConstraints(c []*semver.Constraints) Option
type Options ¶
type Options []Option
func OptionsFor ¶
func OptionsFor(o options.OptionSetProvider) Options
func (Options) ApplyToElemHandler ¶
func (o Options) ApplyToElemHandler(handler *TypeHandler)
type TypeHandler ¶
type TypeHandler struct {
// contains filtered or unexported fields
}
func (*TypeHandler) Close ¶
func (h *TypeHandler) Close() error
func (*TypeHandler) SetFilter ¶
func (h *TypeHandler) SetFilter(f ElementFilter)
Click to show internal directories.
Click to hide internal directories.