Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LabelsInRevision (0.72 sec)

  1. pkg/config/model.go

    // protobuf message.
    type Config struct {
    	Meta
    
    	// Spec holds the configuration object as a gogo protobuf message
    	Spec Spec
    
    	// Status holds long-running status.
    	Status Status
    }
    
    func LabelsInRevision(lbls map[string]string, rev string) bool {
    	configEnv, f := lbls[label.IoIstioRev.Name]
    	if !f {
    		// This is a global object, and always included
    		return true
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/crdclient/client.go

    			return f != nil
    		}),
    	}
    }
    
    func (cl *Client) inRevision(obj any) bool {
    	object := controllers.ExtractObject(obj)
    	if object == nil {
    		return false
    	}
    	return config.LabelsInRevision(object.GetLabels(), cl.revision)
    }
    
    func (cl *Client) onEvent(resourceGVK config.GroupVersionKind, old controllers.Object, curr controllers.Object, event model.Event) {
    	currItem := controllers.ExtractObject(curr)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top