artifact

package
v0.0.0-...-6340669 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Artifact

type Artifact interface {
	Inspect(ctx context.Context) (reference types.ArtifactReference, err error)
}

type ArtifactInspectArgs

type ArtifactInspectArgs struct {
	Ctx         context.Context
	CtxAnything bool
}

type ArtifactInspectExpectation

type ArtifactInspectExpectation struct {
	Args    ArtifactInspectArgs
	Returns ArtifactInspectReturns
}

type ArtifactInspectReturns

type ArtifactInspectReturns struct {
	Reference types.ArtifactReference
	Err       error
}

type MockArtifact

type MockArtifact struct {
	mock.Mock
}

MockArtifact is an autogenerated mock type for the Artifact type

func (*MockArtifact) ApplyInspectExpectation

func (_m *MockArtifact) ApplyInspectExpectation(e ArtifactInspectExpectation)

func (*MockArtifact) ApplyInspectExpectations

func (_m *MockArtifact) ApplyInspectExpectations(expectations []ArtifactInspectExpectation)

func (*MockArtifact) Inspect

Inspect provides a mock function with given fields: ctx

type Option

type Option struct {
	DisabledAnalyzers []analyzer.Type
	DisabledHooks     []hook.Type
	SkipFiles         []string
	SkipDirs          []string
}

func (*Option) Sort

func (o *Option) Sort()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL