Documentation ¶
Index ¶
- func FindPureWheel(artifacts []pypireg.Artifact) (*pypireg.Artifact, error)
- func RebuildMany(ctx context.Context, inputs []rebuild.Input, mux rebuild.RegistryMux) ([]rebuild.Verdict, error)
- func RebuildRemote(ctx context.Context, input rebuild.Input, id string, ...) error
- type PureWheelBuild
- type Rebuilder
- func (Rebuilder) CloneRepo(ctx context.Context, t rebuild.Target, repoURI string, fs billy.Filesystem, ...) (r rebuild.RepoConfig, err error)
- func (Rebuilder) Compare(ctx context.Context, t rebuild.Target, rb, up rebuild.Asset, ...) (verdict error, err error)
- func (Rebuilder) InferRepo(ctx context.Context, t rebuild.Target, mux rebuild.RegistryMux) (string, error)
- func (Rebuilder) InferStrategy(ctx context.Context, t rebuild.Target, mux rebuild.RegistryMux, ...) (rebuild.Strategy, error)
- func (Rebuilder) Rebuild(ctx context.Context, t rebuild.Target, inst rebuild.Instructions, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindPureWheel ¶
FindPureWheel returns the pure wheel artifact from the given version's releases.
func RebuildMany ¶
func RebuildMany(ctx context.Context, inputs []rebuild.Input, mux rebuild.RegistryMux) ([]rebuild.Verdict, error)
RebuildMany executes rebuilds for each provided rebuild.Input returning their rebuild.Verdicts.
func RebuildRemote ¶
func RebuildRemote(ctx context.Context, input rebuild.Input, id string, opts rebuild.RemoteOptions) error
RebuildRemote executes the given target strategy on a remote builder.
Types ¶
type PureWheelBuild ¶
type PureWheelBuild struct { rebuild.Location Requirements []string `json:"requirements"` RegistryTime time.Time `json:"registry_time" yaml:"registry_time,omitempty"` }
PureWheelBuild aggregates the options controlling a wheel build.
func (*PureWheelBuild) GenerateFor ¶
func (b *PureWheelBuild) GenerateFor(t rebuild.Target, be rebuild.BuildEnv) (rebuild.Instructions, error)
GenerateFor generates the instructions for a PureWheelBuild.
Click to show internal directories.
Click to hide internal directories.