Documentation ¶
Index ¶
- func HasValidExtension(path string, extensions []string) bool
- func Module() (*resources.Module, error)
- func RecreateDirectory(request *utils.Directory, destPath string) error
- func SerializeDirectory(rootPath string, extensions []string) (*utils.Directory, error)
- func Service() (*resources.Service, error)
- type Dependencies
- type Option
- type OptionFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasValidExtension ¶ added in v0.1.124
HasValidExtension checks if the file has one of the specified extensions
func RecreateDirectory ¶ added in v0.1.125
func SerializeDirectory ¶ added in v0.1.125
SerializeDirectory walks through the given directory and creates a DirectoryRequest containing FileInfo for files with the specified extensions.
Types ¶
type Dependencies ¶
type Dependencies struct {
// contains filtered or unexported fields
}
func WithDependencies ¶
func WithDependencies(ctx context.Context, opts ...OptionFunc) (*Dependencies, error)
func (*Dependencies) SetEnvironment ¶
func (l *Dependencies) SetEnvironment(ctx context.Context) error
func (*Dependencies) WaitForReady ¶
func (l *Dependencies) WaitForReady(ctx context.Context, opt *Option) error
type OptionFunc ¶ added in v0.1.114
type OptionFunc func(*Option)
func WithDebug ¶ added in v0.1.114
func WithDebug() OptionFunc
func WithNamingScope ¶ added in v0.1.123
func WithNamingScope(scope string) OptionFunc
func WithSilence ¶ added in v0.1.127
func WithSilence(uniques ...string) OptionFunc
func WithTimeout ¶ added in v0.1.114
func WithTimeout(timeout time.Duration) OptionFunc
Click to show internal directories.
Click to hide internal directories.