#
# Fluentd Kubernetes Metadata Filter Plugin - Enrich Fluentd events with
# Kubernetes metadata
#
# Copyright 2015 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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.
#
---
http_interactions:
- request:
    method: get
    uri: https://localhost:8443/api/v1
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - "*/*; q=0.5, application/xml"
      Accept-Encoding:
      - gzip, deflate
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json
      Date:
      - Fri, 08 May 2015 10:35:37 GMT
      Transfer-Encoding:
      - chunked
    body:
      encoding: UTF-8
      string: |-
        {
          "kind": "APIResourceList",
          "groupVersion": "v1",
          "resources": [
            {
              "name": "bindings",
              "singularName": "",
              "namespaced": true,
              "kind": "Binding",
              "verbs": [
                "create"
              ]
            },
            {
              "name": "namespaces",
              "singularName": "",
              "namespaced": false,
              "kind": "Namespace",
              "verbs": [
                "create",
                "delete",
                "get",
                "list",
                "patch",
                "update",
                "watch"
              ],
              "shortNames": [
                "ns"
              ]
            },
            {
              "name": "namespaces/finalize",
              "singularName": "",
              "namespaced": false,
              "kind": "Namespace",
              "verbs": [
                "update"
              ]
            },
            {
              "name": "namespaces/status",
              "singularName": "",
              "namespaced": false,
              "kind": "Namespace",
              "verbs": [
                "get",
                "patch",
                "update"
              ]
            },
            {
              "name": "pods",
              "singularName": "",
              "namespaced": true,
              "kind": "Pod",
              "verbs": [
                "create",
                "delete",
                "deletecollection",
                "get",
                "list",
                "patch",
                "update",
                "watch"
              ],
              "shortNames": [
                "po"
              ],
              "categories": [
                "all"
              ]
            },
            {
              "name": "pods/attach",
              "singularName": "",
              "namespaced": true,
              "kind": "Pod",
              "verbs": []
            },
            {
              "name": "pods/binding",
              "singularName": "",
              "namespaced": true,
              "kind": "Binding",
              "verbs": [
                "create"
              ]
            },
            {
              "name": "pods/eviction",
              "singularName": "",
              "namespaced": true,
              "group": "policy",
              "version": "v1beta1",
              "kind": "Eviction",
              "verbs": [
                "create"
              ]
            },
            {
              "name": "pods/exec",
              "singularName": "",
              "namespaced": true,
              "kind": "Pod",
              "verbs": []
            },
            {
              "name": "pods/log",
              "singularName": "",
              "namespaced": true,
              "kind": "Pod",
              "verbs": [
                "get"
              ]
            },
            {
              "name": "pods/portforward",
              "singularName": "",
              "namespaced": true,
              "kind": "Pod",
              "verbs": []
            },
            {
              "name": "pods/proxy",
              "singularName": "",
              "namespaced": true,
              "kind": "Pod",
              "verbs": []
            },
            {
              "name": "pods/status",
              "singularName": "",
              "namespaced": true,
              "kind": "Pod",
              "verbs": [
                "get",
                "patch",
                "update"
              ]
            }
          ]
        }
    http_version: 
  recorded_at: Fri, 08 May 2015 10:35:37 GMT
recorded_with: VCR 2.9.3
