Documentation ¶
Index ¶
- func CalculateScore(ctx context.Context, client artifactClient, defArtifact *rpc.Artifact, ...) error
- func CalculateScoreCard(ctx context.Context, client artifactClient, defArtifact *rpc.Artifact, ...) error
- func FetchScoreCardDefinitions(ctx context.Context, client artifactClient, project string) ([]*rpc.Artifact, error)
- func FetchScoreDefinitions(ctx context.Context, client artifactClient, project string) ([]*rpc.Artifact, error)
- func GenerateCombinedPattern(targetPattern *scoring.ResourcePattern, inputPatternName patterns.ResourceName, ...) (string, string, error)
- func ValidateScoreCardDefinition(parent string, scoreCardDefinition *scoring.ScoreCardDefinition) []error
- func ValidateScoreDefinition(parent string, scoreDefinition *scoring.ScoreDefinition) []error
- type RegistryArtifactClient
- func (r *RegistryArtifactClient) GetArtifact(ctx context.Context, artifact names.Artifact, getContents bool, ...) error
- func (r *RegistryArtifactClient) ListArtifacts(ctx context.Context, artifact names.Artifact, filter string, contents bool, ...) error
- func (r *RegistryArtifactClient) SetArtifact(ctx context.Context, artifact *rpc.Artifact) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateScore ¶ added in v0.5.1
func CalculateScoreCard ¶ added in v0.5.1
func FetchScoreCardDefinitions ¶ added in v0.5.1
func FetchScoreDefinitions ¶ added in v0.5.1
func GenerateCombinedPattern ¶ added in v0.5.7
func GenerateCombinedPattern(targetPattern *scoring.ResourcePattern, inputPatternName patterns.ResourceName, inputFilter string) (string, string, error)
func ValidateScoreCardDefinition ¶ added in v0.5.1
func ValidateScoreCardDefinition(parent string, scoreCardDefinition *scoring.ScoreCardDefinition) []error
func ValidateScoreDefinition ¶
func ValidateScoreDefinition(parent string, scoreDefinition *scoring.ScoreDefinition) []error
Types ¶
type RegistryArtifactClient ¶ added in v0.5.5
type RegistryArtifactClient struct {
RegistryClient connection.RegistryClient
}
func (*RegistryArtifactClient) GetArtifact ¶ added in v0.5.5
func (r *RegistryArtifactClient) GetArtifact(ctx context.Context, artifact names.Artifact, getContents bool, handler visitor.ArtifactHandler) error
func (*RegistryArtifactClient) ListArtifacts ¶ added in v0.5.5
func (r *RegistryArtifactClient) ListArtifacts(ctx context.Context, artifact names.Artifact, filter string, contents bool, handler visitor.ArtifactHandler) error
func (*RegistryArtifactClient) SetArtifact ¶ added in v0.5.5
Source Files ¶
Click to show internal directories.
Click to hide internal directories.