Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewFileSnapshot (0.13 sec)

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

    type FileSnapshot struct {
    	root             string
    	domainSuffix     string
    	configTypeFilter map[config.GroupVersionKind]bool
    }
    
    // NewFileSnapshot returns a snapshotter.
    // If no types are provided in the descriptor, all Istio types will be allowed.
    func NewFileSnapshot(root string, schemas collection.Schemas, domainSuffix string) *FileSnapshot {
    	snapshot := &FileSnapshot{
    		root:             root,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/configcontroller.go

    	}
    	return crdclient.New(s.kubeClient, opts)
    }
    
    func (s *Server) makeFileMonitor(fileDir string, domainSuffix string, configController model.ConfigStore) error {
    	fileSnapshot := configmonitor.NewFileSnapshot(fileDir, collections.Pilot, domainSuffix)
    	fileMonitor := configmonitor.NewMonitor("file-monitor", configController, fileSnapshot.ReadConfigFiles, fileDir)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top