Documentation
¶
Index ¶
- Constants
- func NewMirrorContext(ctx *MirrorCtx) *context.Context
- type BaselineCheckPiper
- type BaselinePublishPiper
- type CLeanMirrorPiper
- type CheckExistsPiper
- type CheckWriteAblePiper
- type CompontInfo
- type DumpIndexTemplatePiper
- type GitCleanPiper
- type GitCommitPiper
- type GitOpenPiper
- type GithubRelPiper
- type IndexAddPiper
- type IndexDeprecatePiper
- type IndexHidePiper
- type IndexListPiper
- type IndexUndeprecatePiper
- type IndexUnhidePiper
- type IndexUpdatePiper
- type InitEmptyPiper
- type KmupRelPiper
- type LoadBaselinePiper
- type LoadCompoentPiper
- type LoadComponentVersionPiper
- type LoadIndexPiper
- type LoadManifestPiper
- type LoadMirrorPiper
- type MirrorCtx
- type PublishCheckPiper
- type PublishPiper
- type SearchComponentPiper
- type SearchEle
- type SearchResult
Constants ¶
View Source
const ( CleanMirror string = "clean_mirror" CleanBaseline string = "clean_baseline" )
Variables ¶
This section is empty.
Functions ¶
func NewMirrorContext ¶
Types ¶
type BaselineCheckPiper ¶ added in v0.6.25
type BaselineCheckPiper struct{}
func (BaselineCheckPiper) Default ¶ added in v0.6.25
func (BaselineCheckPiper) Default(ctx *context.Context) error
func (BaselineCheckPiper) Run ¶ added in v0.6.25
func (BaselineCheckPiper) Run(ctx *context.Context) error
func (BaselineCheckPiper) Skip ¶ added in v0.6.25
func (BaselineCheckPiper) Skip(ctx *context.Context) bool
func (BaselineCheckPiper) String ¶ added in v0.6.25
func (BaselineCheckPiper) String() string
type BaselinePublishPiper ¶ added in v0.6.25
type BaselinePublishPiper struct{}
func (BaselinePublishPiper) Default ¶ added in v0.6.25
func (BaselinePublishPiper) Default(ctx *context.Context) error
func (BaselinePublishPiper) Run ¶ added in v0.6.25
func (BaselinePublishPiper) Run(ctx *context.Context) error
func (BaselinePublishPiper) Skip ¶ added in v0.6.25
func (BaselinePublishPiper) Skip(ctx *context.Context) bool
func (BaselinePublishPiper) String ¶ added in v0.6.25
func (BaselinePublishPiper) String() string
type CLeanMirrorPiper ¶
type CLeanMirrorPiper struct{}
func (CLeanMirrorPiper) String ¶
func (CLeanMirrorPiper) String() string
type CheckExistsPiper ¶
type CheckExistsPiper struct{}
func (CheckExistsPiper) String ¶
func (CheckExistsPiper) String() string
type CheckWriteAblePiper ¶
type CheckWriteAblePiper struct{}
func (CheckWriteAblePiper) String ¶
func (CheckWriteAblePiper) String() string
type CompontInfo ¶
type CompontInfo struct {
Index *layout.ComponentsItem
Versions *layout.ComponentVersionList
}
type DumpIndexTemplatePiper ¶
type DumpIndexTemplatePiper struct{}
func (DumpIndexTemplatePiper) Default ¶
func (DumpIndexTemplatePiper) Default(ctx *context.Context) error
func (DumpIndexTemplatePiper) String ¶
func (DumpIndexTemplatePiper) String() string
type GitCleanPiper ¶
type GitCleanPiper struct{}
func (GitCleanPiper) String ¶
func (GitCleanPiper) String() string
type GitCommitPiper ¶
type GitCommitPiper struct{}
func (GitCommitPiper) String ¶
func (GitCommitPiper) String() string
type GitOpenPiper ¶
type GitOpenPiper struct{}
func (GitOpenPiper) String ¶
func (GitOpenPiper) String() string
type GithubRelPiper ¶ added in v0.6.25
type GithubRelPiper struct{}
func (GithubRelPiper) Default ¶ added in v0.6.25
func (GithubRelPiper) Default(ctx *context.Context) error
func (GithubRelPiper) String ¶ added in v0.6.25
func (GithubRelPiper) String() string
type IndexAddPiper ¶
type IndexAddPiper struct{}
func (IndexAddPiper) String ¶
func (IndexAddPiper) String() string
type IndexDeprecatePiper ¶
type IndexDeprecatePiper struct{}
func (IndexDeprecatePiper) String ¶
func (IndexDeprecatePiper) String() string
type IndexHidePiper ¶
type IndexHidePiper struct{}
func (IndexHidePiper) String ¶
func (IndexHidePiper) String() string
type IndexListPiper ¶
type IndexListPiper struct{}
func (IndexListPiper) String ¶
func (IndexListPiper) String() string
type IndexUndeprecatePiper ¶
type IndexUndeprecatePiper struct{}
func (IndexUndeprecatePiper) Default ¶
func (IndexUndeprecatePiper) Default(ctx *context.Context) error
func (IndexUndeprecatePiper) String ¶
func (IndexUndeprecatePiper) String() string
type IndexUnhidePiper ¶
type IndexUnhidePiper struct{}
func (IndexUnhidePiper) String ¶
func (IndexUnhidePiper) String() string
type IndexUpdatePiper ¶ added in v0.6.25
type IndexUpdatePiper struct{}
func (IndexUpdatePiper) Default ¶ added in v0.6.25
func (IndexUpdatePiper) Default(ctx *context.Context) error
func (IndexUpdatePiper) Run ¶ added in v0.6.25
func (IndexUpdatePiper) Run(ctx *context.Context) error
func (IndexUpdatePiper) Skip ¶ added in v0.6.25
func (IndexUpdatePiper) Skip(ctx *context.Context) bool
func (IndexUpdatePiper) String ¶ added in v0.6.25
func (IndexUpdatePiper) String() string
type InitEmptyPiper ¶
type InitEmptyPiper struct{}
func (InitEmptyPiper) String ¶
func (InitEmptyPiper) String() string
type KmupRelPiper ¶ added in v0.6.25
type KmupRelPiper struct{}
func (KmupRelPiper) Default ¶ added in v0.6.25
func (KmupRelPiper) Default(ctx *context.Context) error
func (KmupRelPiper) String ¶ added in v0.6.25
func (KmupRelPiper) String() string
type LoadBaselinePiper ¶ added in v0.6.25
type LoadBaselinePiper struct{}
func (LoadBaselinePiper) Default ¶ added in v0.6.25
func (LoadBaselinePiper) Default(ctx *context.Context) error
func (LoadBaselinePiper) Run ¶ added in v0.6.25
func (LoadBaselinePiper) Run(ctx *context.Context) error
func (LoadBaselinePiper) Skip ¶ added in v0.6.25
func (LoadBaselinePiper) Skip(ctx *context.Context) bool
func (LoadBaselinePiper) String ¶ added in v0.6.25
func (LoadBaselinePiper) String() string
type LoadCompoentPiper ¶
type LoadCompoentPiper struct{}
func (LoadCompoentPiper) String ¶
func (LoadCompoentPiper) String() string
type LoadComponentVersionPiper ¶ added in v0.6.25
type LoadComponentVersionPiper struct{}
func (LoadComponentVersionPiper) Default ¶ added in v0.6.25
func (LoadComponentVersionPiper) Default(ctx *context.Context) error
func (LoadComponentVersionPiper) Run ¶ added in v0.6.25
func (LoadComponentVersionPiper) Run(ctx *context.Context) error
func (LoadComponentVersionPiper) Skip ¶ added in v0.6.25
func (LoadComponentVersionPiper) Skip(ctx *context.Context) bool
func (LoadComponentVersionPiper) String ¶ added in v0.6.25
func (LoadComponentVersionPiper) String() string
type LoadIndexPiper ¶
type LoadIndexPiper struct{}
func (LoadIndexPiper) String ¶
func (LoadIndexPiper) String() string
type LoadManifestPiper ¶ added in v0.6.25
type LoadManifestPiper struct{}
func (LoadManifestPiper) Default ¶ added in v0.6.25
func (LoadManifestPiper) Default(ctx *context.Context) error
func (LoadManifestPiper) Run ¶ added in v0.6.25
func (LoadManifestPiper) Run(ctx *context.Context) error
func (LoadManifestPiper) Skip ¶ added in v0.6.25
func (LoadManifestPiper) Skip(ctx *context.Context) bool
func (LoadManifestPiper) String ¶ added in v0.6.25
func (LoadManifestPiper) String() string
type LoadMirrorPiper ¶
type LoadMirrorPiper struct{}
func (LoadMirrorPiper) String ¶
func (LoadMirrorPiper) String() string
type MirrorCtx ¶
type MirrorCtx struct {
Path string
Layout *layout.ComponentsLayout
Clean bool
GenIndexPath string
ComponentPath string
ComponentName string
Component *layout.ComponentsItem
Version string
Tmpl string
ShowDeprecate bool
ShowHide bool
MirrorAsset *rel.MirrorManifest
VersionManager *layout.ComponentVersionManager
BaselineManager *layout.BaselineManager
VersionType layout.VersionType
//
Group string
Repo string
RVersion string
Host string
User string
Email string
Channel string
LocalManifest string
// result return field
ComponentList []layout.ComponentsItem
ComponentVersions *layout.ComponentVersionList
SearchCtx []SearchResult
}
type PublishCheckPiper ¶ added in v0.6.25
type PublishCheckPiper struct{}
func (PublishCheckPiper) Default ¶ added in v0.6.25
func (PublishCheckPiper) Default(ctx *context.Context) error
func (PublishCheckPiper) Run ¶ added in v0.6.25
func (PublishCheckPiper) Run(ctx *context.Context) error
func (PublishCheckPiper) Skip ¶ added in v0.6.25
func (PublishCheckPiper) Skip(ctx *context.Context) bool
func (PublishCheckPiper) String ¶ added in v0.6.25
func (PublishCheckPiper) String() string
type PublishPiper ¶ added in v0.6.25
type PublishPiper struct{}
func (PublishPiper) Default ¶ added in v0.6.25
func (PublishPiper) Default(ctx *context.Context) error
func (PublishPiper) String ¶ added in v0.6.25
func (PublishPiper) String() string
type SearchComponentPiper ¶ added in v0.6.25
func (SearchComponentPiper) Default ¶ added in v0.6.25
func (SearchComponentPiper) Default(ctx *context.Context) error
func (SearchComponentPiper) Run ¶ added in v0.6.25
func (s SearchComponentPiper) Run(ctx *context.Context) error
func (SearchComponentPiper) Skip ¶ added in v0.6.25
func (SearchComponentPiper) Skip(ctx *context.Context) bool
func (SearchComponentPiper) String ¶ added in v0.6.25
func (s SearchComponentPiper) String() string
type SearchResult ¶ added in v0.6.25
Source Files
¶
- check_baseline.go
- check_write_able.go
- clean_mirror.go
- dump_index_template.go
- exists.go
- git_clean.go
- git_commit.go
- git_open.go
- github_rel.go
- index_add.go
- index_deprecate.go
- index_hide.go
- index_list.go
- index_undeprecate.go
- index_unhide.go
- index_update.go
- init_empty_layout.go
- kmup_rel.go
- load_baseline.go
- load_component.go
- load_component_version.go
- load_index.go
- load_manifest.go
- load_mirror.go
- phase.go
- pipeline.go
- publish.go
- publish_able.go
- publish_baseline.go
- search_component.go
Click to show internal directories.
Click to hide internal directories.