Documentation
¶
Index ¶
- func FindPureWheel(artifacts []pypireg.Artifact) (*pypireg.Artifact, error)
- func FindSourceDist(artifacts []pypireg.Artifact) (*pypireg.Artifact, error)
- type PureWheelBuild
- type Rebuilder
- func (Rebuilder) CloneRepo(ctx context.Context, t rebuild.Target, repoURI string, ...) (r rebuild.RepoConfig, 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 (r Rebuilder) Upstream(ctx context.Context, t rebuild.Target, mux rebuild.RegistryMux) (io.ReadCloser, error)
- func (r Rebuilder) UpstreamURL(ctx context.Context, t rebuild.Target, mux rebuild.RegistryMux) (string, error)
- func (r Rebuilder) UsesTimewarp(input rebuild.Input) bool
- type SdistBuild
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.
Types ¶
type PureWheelBuild ¶
type PureWheelBuild struct {
rebuild.Location
PythonVersion string `json:"python_version" yaml:"python_version"`
Requirements []string `json:"requirements" yaml:"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.
func (*PureWheelBuild) ToWorkflow ¶
func (b *PureWheelBuild) ToWorkflow() *rebuild.WorkflowStrategy
type Rebuilder ¶
type Rebuilder struct{}
func (Rebuilder) InferStrategy ¶
func (Rebuilder) Upstream ¶
func (r Rebuilder) Upstream(ctx context.Context, t rebuild.Target, mux rebuild.RegistryMux) (io.ReadCloser, error)
func (Rebuilder) UpstreamURL ¶
type SdistBuild ¶
type SdistBuild struct {
rebuild.Location
PythonVersion string `json:"python_version" yaml:"python_version"`
Requirements []string `json:"requirements" yaml:"requirements"`
RegistryTime time.Time `json:"registry_time" yaml:"registry_time,omitempty"`
}
SdistBuild includes elements for building an sdist.
func (*SdistBuild) GenerateFor ¶
func (b *SdistBuild) GenerateFor(t rebuild.Target, be rebuild.BuildEnv) (rebuild.Instructions, error)
GenerateFor generates the instructions for a SourceDistBuild.
func (*SdistBuild) ToWorkflow ¶
func (b *SdistBuild) ToWorkflow() *rebuild.WorkflowStrategy
Click to show internal directories.
Click to hide internal directories.