Documentation
¶
Index ¶
- func CreateFolder(path string) error
- func FileExists(path string) bool
- func FolderExists(path string) bool
- func GetSchemaConfig(schemaConfigPath string) (*invv1alpha1.Schema, error)
- func NewCtxReader(ctx context.Context, r io.ReadCloser) *ctxReader
- func SchemaLoadSdcpbSchemaFile(path string) (*sdcpb.Schema, error)
- type FileWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFolder ¶
func FileExists ¶
func FolderExists ¶
func GetSchemaConfig ¶
func GetSchemaConfig(schemaConfigPath string) (*invv1alpha1.Schema, error)
func NewCtxReader ¶
func NewCtxReader(ctx context.Context, r io.ReadCloser) *ctxReader
Types ¶
type FileWrapper ¶
type FileWrapper struct {
// contains filtered or unexported fields
}
func NewFileWrapper ¶
func NewFileWrapper(ref string) *FileWrapper
func (*FileWrapper) Bytes ¶
func (f *FileWrapper) Bytes() ([]byte, error)
func (*FileWrapper) ReadCloser ¶
func (f *FileWrapper) ReadCloser(ctx context.Context) (io.ReadCloser, error)
func (*FileWrapper) SetInsecure ¶
func (f *FileWrapper) SetInsecure(b bool)
Click to show internal directories.
Click to hide internal directories.