Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for file_watcher (0.18 sec)

  1. pilot/pkg/config/monitor/monitor_test.go

    	}
    
    	ts.testSetup(t)
    
    	store := memory.Make(collection.SchemasFor(collections.Gateway))
    	fileWatcher := NewFileSnapshot(ts.rootPath, collection.SchemasFor(), "foo")
    
    	mon := NewMonitor("", store, fileWatcher.ReadConfigFiles, "")
    	stop := make(chan struct{})
    	defer func() { close(stop) }()
    	mon.Start(stop)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. pkg/filewatcher/filewatcher_test.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package filewatcher
    
    import (
    	"errors"
    	"fmt"
    	"os"
    	"os/exec"
    	"path"
    	"runtime"
    	"sync"
    	"testing"
    
    	"github.com/fsnotify/fsnotify"
    	. "github.com/onsi/gomega"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. pkg/filewatcher/worker.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package filewatcher
    
    import (
    	"bufio"
    	"bytes"
    	"crypto/sha256"
    	"fmt"
    	"io"
    	"os"
    	"sync"
    
    	"github.com/fsnotify/fsnotify"
    )
    
    type worker struct {
    	mu sync.RWMutex
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 22:31:06 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top