Documentation ¶
Index ¶
- Constants
- func Access[M any, P compdesc.ArtifactMetaPointer[M]](ctx ocm.Context, meta P, repoUrl, groupId, artifactId, version string, ...) cpi.ArtifactAccess[M]
- func ResourceAccess(ctx ocm.Context, meta *cpi.ResourceMeta, ...) cpi.ResourceAccess
- func ResourceAccessForMavenCoords(ctx ocm.Context, meta *cpi.ResourceMeta, repoUrl string, ...) cpi.ResourceAccess
- func SourceAccess(ctx ocm.Context, meta *cpi.SourceMeta, ...) cpi.SourceAccess
- func SourceAccessForMavenCoords(ctx ocm.Context, meta *cpi.SourceMeta, repoUrl string, ...) cpi.SourceAccess
- type Option
- type Options
- type WithClassifier
- type WithExtension
Constants ¶
View Source
const TYPE = resourcetypes.MAVEN_PACKAGE
Variables ¶
This section is empty.
Functions ¶
func Access ¶
func Access[M any, P compdesc.ArtifactMetaPointer[M]](ctx ocm.Context, meta P, repoUrl, groupId, artifactId, version string, opts ...Option) cpi.ArtifactAccess[M]
func ResourceAccess ¶
func ResourceAccess(ctx ocm.Context, meta *cpi.ResourceMeta, repoUrl, groupId, artifactId, version string, opts ...Option) cpi.ResourceAccess
func ResourceAccessForMavenCoords ¶
func ResourceAccessForMavenCoords(ctx ocm.Context, meta *cpi.ResourceMeta, repoUrl string, coords *maven.Coordinates) cpi.ResourceAccess
func SourceAccess ¶
func SourceAccess(ctx ocm.Context, meta *cpi.SourceMeta, repoUrl, groupId, artifactId, version string, opts ...Option) cpi.SourceAccess
func SourceAccessForMavenCoords ¶
func SourceAccessForMavenCoords(ctx ocm.Context, meta *cpi.SourceMeta, repoUrl string, coords *maven.Coordinates) cpi.SourceAccess
Types ¶
type Option ¶
type Option = maven.CoordinateOption
func WithOptionalClassifier ¶
func WithOptionalExtension ¶
type Options ¶
type Options = maven.Coordinates
type WithClassifier ¶
type WithClassifier = maven.WithClassifier
type WithExtension ¶
type WithExtension = maven.WithExtension
Click to show internal directories.
Click to hide internal directories.