Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetObjectStoreSpecFileKey ¶
GetObjectStoreSpecFileKey returns the object storage key, which is use for OssStorage and S3Storage.
func GetSpecFilePath ¶
GetSpecFilePath returns the location on the disk where the Spec data should be present
Types ¶
type LocalStorage ¶
type LocalStorage struct {
// contains filtered or unexported fields
}
func NewLocalStorage ¶
func NewLocalStorage(path string) *LocalStorage
NewLocalStorage constructs a local filesystem based spec storage.
type OssStorage ¶
type OssStorage struct {
// contains filtered or unexported fields
}
func NewOssStorage ¶
func NewOssStorage(bucket *oss.Bucket, key string) *OssStorage
NewOssStorage constructs an Aliyun OSS based spec storage.
Click to show internal directories.
Click to hide internal directories.