Documentation ¶
Index ¶
Constants ¶
View Source
const IndexYaml = "index.yaml"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Err ¶
type Err error
var ( ErrGetIndexYamlFailed Err = fmt.Errorf("get index.yaml failed") ErrParseUrlFailed Err = fmt.Errorf("parse url failed") ErrDecodeJsonFailed Err = fmt.Errorf("decode json failed") ErrEmptyAccessKeyId Err = fmt.Errorf("access key id is empty") ErrEmptySecretAccessKey Err = fmt.Errorf("secret access key is empty") ErrSchemeNotMatched Err = fmt.Errorf("scheme not matched") ErrInvalidType Err = fmt.Errorf("invalid repo type") )
type HttpReader ¶
type HttpReader struct {
// contains filtered or unexported fields
}
func NewHttpReader ¶
func NewHttpReader(url *neturl.URL) *HttpReader
func (*HttpReader) GetIndexYaml ¶
func (h *HttpReader) GetIndexYaml() ([]byte, error)
type S3Credential ¶
Click to show internal directories.
Click to hide internal directories.