- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ObjectInRevision (0.14 sec)
-
pkg/config/model.go
// we should always include it if rev == "" { return true } // Otherwise, only return true if revisions equal return configEnv == rev } func ObjectInRevision(o *Config, rev string) bool { return LabelsInRevision(o.Labels, rev) } // Spec defines the spec for the config. In order to use below helper methods, // this must be one of: // * golang/protobuf Message
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 12.6K bytes - Viewed (0) -
pkg/adsc/adsc.go
} c := &config.Config{ Meta: config.Meta{ ResourceVersion: m.Metadata.Version, Labels: m.Metadata.Labels, Annotations: m.Metadata.Annotations, }, } if !config.ObjectInRevision(c, a.cfg.Revision) { // In case upstream does not support rev in node meta. return nil, nil } if c.Meta.Annotations == nil { c.Meta.Annotations = make(map[string]string) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 05 22:18:49 UTC 2024 - 35K bytes - Viewed (0)