Documentation ¶
Overview ¶
Copyright (C) 2020-2021 Daniele Rondina <[email protected]>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright (C) 2020-2021 Daniele Rondina <[email protected]>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright (C) 2020-2021 Daniele Rondina <[email protected]>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendLocal ¶
type BackendLocal struct { Specs *specs.LuetRDConfig Path string }
func NewBackendLocal ¶
func NewBackendLocal(specs *specs.LuetRDConfig, path string) (*BackendLocal, error)
func (*BackendLocal) CleanFile ¶
func (b *BackendLocal) CleanFile(file string) error
func (*BackendLocal) GetFilesList ¶
func (b *BackendLocal) GetFilesList() ([]string, error)
func (*BackendLocal) GetMetadata ¶
func (b *BackendLocal) GetMetadata(file string) (*artifact.PackageArtifact, error)
type BackendMinio ¶
type BackendMinio struct { Specs *specs.LuetRDConfig ArtefactPath string MinioClient *minio.Client Bucket string }
func NewBackendMinio ¶
func NewBackendMinio(specs *specs.LuetRDConfig, path string, opts map[string]string) (*BackendMinio, error)
func (*BackendMinio) CleanFile ¶
func (b *BackendMinio) CleanFile(file string) error
func (*BackendMinio) GetFilesList ¶
func (b *BackendMinio) GetFilesList() ([]string, error)
func (*BackendMinio) GetMetadata ¶
func (b *BackendMinio) GetMetadata(file string) (*artifact.PackageArtifact, error)
type BackendMottainai ¶
type BackendMottainai struct { Specs *specs.LuetRDConfig ArtefactPath string Config *setting.Config MottainaiClient client.HttpClient Namespace string }
func NewBackendMottainai ¶
func NewBackendMottainai(specs *specs.LuetRDConfig, path string, opts map[string]string) (*BackendMottainai, error)
func (*BackendMottainai) CleanFile ¶
func (b *BackendMottainai) CleanFile(file string) error
func (*BackendMottainai) GetFilesList ¶
func (b *BackendMottainai) GetFilesList() ([]string, error)
func (*BackendMottainai) GetMetadata ¶
func (b *BackendMottainai) GetMetadata(file string) (*artifact.PackageArtifact, error)