Add mirrors
This commit is contained in:
22
pkg/mirror/mirror.go
Normal file
22
pkg/mirror/mirror.go
Normal file
@ -0,0 +1,22 @@
|
||||
package mirror
|
||||
|
||||
import (
|
||||
"git.badhouseplants.net/allanger/shoebill/internal/utils/helmhelper"
|
||||
)
|
||||
|
||||
type Mirror struct {
|
||||
Name string
|
||||
OCI *OCIMirror
|
||||
}
|
||||
|
||||
type OCIMirror struct {
|
||||
URL string
|
||||
Prefix string
|
||||
}
|
||||
|
||||
type Mirrors []*Mirror
|
||||
|
||||
func (m *Mirror) Auth(dir string, hh helmhelper.Helmhelper) error{
|
||||
|
||||
return nil
|
||||
}
|
Reference in New Issue
Block a user