Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for file_watcher (0.26 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/istio-agent/agent.go

    	envoyAgent *envoy.Agent
    
    	sdsServer   SDSService
    	secretCache *cache.SecretManagerClient
    
    	// Used when proxying envoy xds via istio-agent is enabled.
    	xdsProxy    *XdsProxy
    	fileWatcher filewatcher.FileWatcher
    
    	// local DNS Server that processes DNS requests locally and forwards to upstream DNS if needed.
    	localDNSServer *dnsClient.LocalDNSServer
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/HierarchicalFileWatcherUpdaterTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.watch.registry.impl
    
    import net.rubygrapefruit.platform.file.FileWatcher
    import org.gradle.internal.file.FileMetadata.AccessType
    import org.gradle.internal.snapshot.MissingFileSnapshot
    import org.gradle.internal.watch.registry.FileWatcherUpdater
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 13:24:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. pilot/pkg/bootstrap/server.go

    	// If the address os empty, the webhooks will be set on the default httpPort.
    	httpsMux *http.ServeMux // webhooks
    
    	// fileWatcher used to watch mesh config, networks and certificates.
    	fileWatcher filewatcher.FileWatcher
    
    	// certWatcher watches the certificates for changes and triggers a notification to Istiod.
    	cacertsWatcher *fsnotify.Watcher
    	dnsNames       []string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  6. pilot/pkg/bootstrap/server_test.go

    func TestReloadIstiodCert(t *testing.T) {
    	dir := t.TempDir()
    	stop := make(chan struct{})
    	s := &Server{
    		fileWatcher:             filewatcher.NewWatcher(),
    		server:                  server.New(),
    		istiodCertBundleWatcher: keycertbundle.NewWatcher(),
    	}
    
    	defer func() {
    		close(stop)
    		_ = s.fileWatcher.Close()
    	}()
    
    	certFile := filepath.Join(dir, "cert-file.yaml")
    	keyFile := filepath.Join(dir, "key-file.yaml")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. pkg/filewatcher/fakefilewatcher_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 (
    	"fmt"
    	"testing"
    
    	"github.com/fsnotify/fsnotify"
    )
    
    func TestFakeFileWatcher(t *testing.T) {
    	addedChan := make(chan string, 10)
    	removedChan := make(chan string, 10)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.watch.registry.impl
    
    
    import net.rubygrapefruit.platform.file.FileWatcher
    import org.gradle.api.internal.cache.StringInterner
    import org.gradle.api.internal.file.TestFiles
    import org.gradle.api.internal.file.TestVirtualFileSystem
    import org.gradle.internal.file.FileMetadata.AccessType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. 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