Documentation ¶
Index ¶
- type Service
- func (_m *Service) DeleteArtifact(ctx context.Context, url string) error
- func (_m *Service) GetType() string
- func (_m *Service) GetURLScheme() string
- func (_m *Service) ParseURL(gsURL string) (*artifact.URL, error)
- func (_m *Service) ReadArtifact(ctx context.Context, url string) ([]byte, error)
- func (_m *Service) WriteArtifact(ctx context.Context, url string, content []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service is an autogenerated mock type for the Service type
func NewService ¶
NewService creates a new instance of Service. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Service) DeleteArtifact ¶
DeleteArtifact provides a mock function with given fields: ctx, url
func (*Service) GetURLScheme ¶ added in v1.13.2
GetURLScheme provides a mock function with given fields:
func (*Service) ParseURL ¶ added in v1.12.0
ParseURL provides a mock function with given fields: gsURL
func (*Service) ReadArtifact ¶ added in v1.12.0
ReadArtifact provides a mock function with given fields: ctx, url
Click to show internal directories.
Click to hide internal directories.