summaryrefslogtreecommitdiff
path: root/lib/chef_zero/data_store/interface_v1.rb
blob: 7568fdc8f98e51da6417efa5e57b2d19c229405c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
module ChefZero
  module DataStore
    class InterfaceV1
      def interface_version
        1
      end

      def clear
        raise "clear not implemented by class #{self.class}"
      end

      def create_dir(path, name, *options)
        raise "create_dir not implemented by class #{self.class}"
      end

      def create(path, name, data, *options)
        raise "create_dir not implemented by class #{self.class}"
      end

      def get(path, request=nil)
        raise "create_dir not implemented by class #{self.class}"
      end

      def set(path, data, *options)
        raise "create_dir not implemented by class #{self.class}"
      end

      def delete(path)
        raise "create_dir not implemented by class #{self.class}"
      end

      def delete_dir(path, *options)
        raise "create_dir not implemented by class #{self.class}"
      end

      def list(path)
        raise "create_dir not implemented by class #{self.class}"
      end

      def exists?(path)
        raise "create_dir not implemented by class #{self.class}"
      end

      def exists_dir?(path)
        raise "create_dir not implemented by class #{self.class}"
      end
    end
  end
end