23 lines
311 B
Go
23 lines
311 B
Go
|
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
|
||
|
}
|