Merge pull request #59195 from pigletfly/fix-typo

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix some typos

**What this PR does / why we need it**:

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
     None
```

Kubernetes-commit: c6e581ff42bff91337565836834b76a1601be936
This commit is contained in:
Kubernetes Publisher 2018-02-04 08:00:38 -08:00
commit 0d94fd0c60
32 changed files with 3147 additions and 1016 deletions

View File

@ -1,6 +1,6 @@
# Contributing guidelines
Do not open pull requests directly against this repository, they will be ignored. Instead, please open pull requests against [kuberentes/kubernetes](https://git.k8s.io/kubernetes/). Please follow the same [contributing guide](https://git.k8s.io/kubernetes/CONTRIBUTING.md) you would follow for any other pull request made to kubernetes/kubernetes.
Do not open pull requests directly against this repository, they will be ignored. Instead, please open pull requests against [kubernetes/kubernetes](https://git.k8s.io/kubernetes/). Please follow the same [contributing guide](https://git.k8s.io/kubernetes/CONTRIBUTING.md) you would follow for any other pull request made to kubernetes/kubernetes.
This repository is published from [kubernetes/kubernetes/staging/src/k8s.io/sample-controller](https://git.k8s.io/kubernetes/staging/src/k8s.io/sample-controller) by the [kubernetes publishing-bot](https://git.k8s.io/publishing-bot).

374
Godeps/Godeps.json generated
View File

@ -152,751 +152,751 @@
},
{
"ImportPath": "k8s.io/api/admissionregistration/v1alpha1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/admissionregistration/v1beta1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/apps/v1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/apps/v1beta1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/apps/v1beta2",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/authentication/v1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/authentication/v1beta1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/authorization/v1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/authorization/v1beta1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/autoscaling/v1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/autoscaling/v2beta1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/batch/v1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/batch/v1beta1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/batch/v2alpha1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/certificates/v1beta1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/core/v1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/events/v1beta1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/extensions/v1beta1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/networking/v1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/policy/v1beta1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/rbac/v1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/rbac/v1alpha1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/rbac/v1beta1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/scheduling/v1alpha1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/settings/v1alpha1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/storage/v1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/storage/v1alpha1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/api/storage/v1beta1",
"Rev": "dc0dd48d5a5cae9f8736bb0643cfe6052e450f1b"
"Rev": "65f67c9cb59d466d2eb758ad9d5ad016eb43c2aa"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/errors",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/meta",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/resource",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1alpha1",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/conversion",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/fields",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/labels",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/schema",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/selection",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/types",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/cache",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/clock",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/diff",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/errors",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/framer",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/intstr",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/json",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/net",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/runtime",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/sets",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/validation",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/validation/field",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/wait",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/yaml",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/version",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/watch",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect",
"Rev": "150d32b09b5966b39cb02d7945f0d1bc7b9f1a19"
"Rev": "b29a2d60548358f302231eeb5359d57ed9adebc2"
},
{
"ImportPath": "k8s.io/client-go/discovery",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/discovery/fake",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/admissionregistration",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/admissionregistration/v1alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/admissionregistration/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/apps",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/apps/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/apps/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/apps/v1beta2",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/autoscaling",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/autoscaling/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/autoscaling/v2beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/batch",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/batch/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/batch/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/batch/v2alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/certificates",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/certificates/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/core",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/core/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/events",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/events/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/extensions",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/extensions/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/internalinterfaces",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/networking",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/networking/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/policy",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/policy/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/rbac",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/rbac/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/rbac/v1alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/rbac/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/scheduling",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/scheduling/v1alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/settings",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/settings/v1alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/storage",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/storage/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/storage/v1alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/informers/storage/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/scheme",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/apps/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/apps/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/apps/v1beta2",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/authentication/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/authentication/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/authorization/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/authorization/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/autoscaling/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/batch/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/batch/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/batch/v2alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/certificates/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/core/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/events/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/extensions/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/networking/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/policy/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/rbac/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/rbac/v1alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/rbac/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/settings/v1alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/storage/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/storage/v1alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/kubernetes/typed/storage/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/admissionregistration/v1alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/admissionregistration/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/apps/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/apps/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/apps/v1beta2",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/autoscaling/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/autoscaling/v2beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/batch/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/batch/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/batch/v2alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/certificates/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/core/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/events/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/extensions/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/networking/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/policy/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/rbac/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/rbac/v1alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/rbac/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/scheduling/v1alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/settings/v1alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/storage/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/storage/v1alpha1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/listers/storage/v1beta1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/pkg/version",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/rest",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/rest/watch",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/testing",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/tools/auth",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/tools/cache",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/tools/clientcmd",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/tools/clientcmd/api",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/tools/clientcmd/api/latest",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/tools/clientcmd/api/v1",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/tools/metrics",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/tools/pager",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/tools/record",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/tools/reference",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/transport",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/util/buffer",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/util/cert",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/util/flowcontrol",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/util/homedir",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/util/integer",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/util/retry",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/client-go/util/workqueue",
"Rev": "9f7db9794b9bd0183e59f73486b930e3733ff4c0"
"Rev": "e2d750fcad023e759abc09adcbe3706a6126020d"
},
{
"ImportPath": "k8s.io/kube-openapi/pkg/util/proto",

View File

@ -38,7 +38,7 @@ func init() {
//
// import (
// "k8s.io/client-go/kubernetes"
// clientsetscheme "k8s.io/client-go/kuberentes/scheme"
// clientsetscheme "k8s.io/client-go/kubernetes/scheme"
// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme"
// )
//

View File

@ -38,7 +38,7 @@ func init() {
//
// import (
// "k8s.io/client-go/kubernetes"
// clientsetscheme "k8s.io/client-go/kuberentes/scheme"
// clientsetscheme "k8s.io/client-go/kubernetes/scheme"
// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme"
// )
//

File diff suppressed because it is too large Load Diff

View File

@ -3170,6 +3170,16 @@ message PodStatus {
// +optional
optional string reason = 4;
// nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be
// scheduled right away as preemption victims receive their graceful termination periods.
// This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide
// to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to
// give the resources on this node to a higher priority pod that is created after preemption.
// As a result, this field may be different than PodSpec.nodeName when the pod is
// scheduled.
// +optional
optional string nominatedNodeName = 11;
// IP address of the host to which the pod is assigned. Empty if not yet scheduled.
// +optional
optional string hostIP = 5;

9
vendor/k8s.io/api/core/v1/types.go generated vendored
View File

@ -3021,6 +3021,15 @@ type PodStatus struct {
// e.g. 'Evicted'
// +optional
Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
// nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be
// scheduled right away as preemption victims receive their graceful termination periods.
// This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide
// to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to
// give the resources on this node to a higher priority pod that is created after preemption.
// As a result, this field may be different than PodSpec.nodeName when the pod is
// scheduled.
// +optional
NominatedNodeName string `json:"nominatedNodeName,omitempty" protobuf:"bytes,11,opt,name=nominatedNodeName"`
// IP address of the host to which the pod is assigned. Empty if not yet scheduled.
// +optional

View File

@ -1528,6 +1528,7 @@ var map_PodStatus = map[string]string{
"conditions": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions",
"message": "A human readable message indicating details about why the pod is in this condition.",
"reason": "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'",
"nominatedNodeName": "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.",
"hostIP": "IP address of the host to which the pod is assigned. Empty if not yet scheduled.",
"podIP": "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.",
"startTime": "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod.",

File diff suppressed because it is too large Load Diff

View File

@ -22,6 +22,7 @@ syntax = 'proto2';
package k8s.io.api.storage.v1beta1;
import "k8s.io/api/core/v1/generated.proto";
import "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto";
import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto";
import "k8s.io/apimachinery/pkg/runtime/generated.proto";
import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
@ -83,3 +84,99 @@ message StorageClassList {
repeated StorageClass items = 2;
}
// VolumeAttachment captures the intent to attach or detach the specified volume
// to/from the specified node.
//
// VolumeAttachment objects are non-namespaced.
message VolumeAttachment {
// Standard object metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
// Specification of the desired attach/detach volume behavior.
// Populated by the Kubernetes system.
optional VolumeAttachmentSpec spec = 2;
// Status of the VolumeAttachment request.
// Populated by the entity completing the attach or detach
// operation, i.e. the external-attacher.
// +optional
optional VolumeAttachmentStatus status = 3;
}
// VolumeAttachmentList is a collection of VolumeAttachment objects.
message VolumeAttachmentList {
// Standard list metadata
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
// Items is the list of VolumeAttachments
repeated VolumeAttachment items = 2;
}
// VolumeAttachmentSource represents a volume that should be attached.
// Right now only PersistenVolumes can be attached via external attacher,
// in future we may allow also inline volumes in pods.
// Exactly one member can be set.
message VolumeAttachmentSource {
// Name of the persistent volume to attach.
// +optional
optional string persistentVolumeName = 1;
}
// VolumeAttachmentSpec is the specification of a VolumeAttachment request.
message VolumeAttachmentSpec {
// Attacher indicates the name of the volume driver that MUST handle this
// request. This is the name returned by GetPluginName().
optional string attacher = 1;
// Source represents the volume that should be attached.
optional VolumeAttachmentSource source = 2;
// The node that the volume should be attached to.
optional string nodeName = 3;
}
// VolumeAttachmentStatus is the status of a VolumeAttachment request.
message VolumeAttachmentStatus {
// Indicates the volume is successfully attached.
// This field must only be set by the entity completing the attach
// operation, i.e. the external-attacher.
optional bool attached = 1;
// Upon successful attach, this field is populated with any
// information returned by the attach operation that must be passed
// into subsequent WaitForAttach or Mount calls.
// This field must only be set by the entity completing the attach
// operation, i.e. the external-attacher.
// +optional
map<string, string> attachmentMetadata = 2;
// The last error encountered during attach operation, if any.
// This field must only be set by the entity completing the attach
// operation, i.e. the external-attacher.
// +optional
optional VolumeError attachError = 3;
// The last error encountered during detach operation, if any.
// This field must only be set by the entity completing the detach
// operation, i.e. the external-attacher.
// +optional
optional VolumeError detachError = 4;
}
// VolumeError captures an error encountered during a volume operation.
message VolumeError {
// Time the error was encountered.
// +optional
optional k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 1;
// String detailing the error encountered during Attach or Detach operation.
// This string maybe logged, so it should not contain sensitive
// information.
// +optional
optional string message = 2;
}

View File

@ -46,6 +46,9 @@ func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion,
&StorageClass{},
&StorageClassList{},
&VolumeAttachment{},
&VolumeAttachmentList{},
)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)

View File

@ -96,3 +96,110 @@ const (
// binding will occur during Pod scheduing.
VolumeBindingWaitForFirstConsumer VolumeBindingMode = "WaitForFirstConsumer"
)
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// VolumeAttachment captures the intent to attach or detach the specified volume
// to/from the specified node.
//
// VolumeAttachment objects are non-namespaced.
type VolumeAttachment struct {
metav1.TypeMeta `json:",inline"`
// Standard object metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Specification of the desired attach/detach volume behavior.
// Populated by the Kubernetes system.
Spec VolumeAttachmentSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
// Status of the VolumeAttachment request.
// Populated by the entity completing the attach or detach
// operation, i.e. the external-attacher.
// +optional
Status VolumeAttachmentStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// VolumeAttachmentList is a collection of VolumeAttachment objects.
type VolumeAttachmentList struct {
metav1.TypeMeta `json:",inline"`
// Standard list metadata
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
// +optional
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Items is the list of VolumeAttachments
Items []VolumeAttachment `json:"items" protobuf:"bytes,2,rep,name=items"`
}
// VolumeAttachmentSpec is the specification of a VolumeAttachment request.
type VolumeAttachmentSpec struct {
// Attacher indicates the name of the volume driver that MUST handle this
// request. This is the name returned by GetPluginName().
Attacher string `json:"attacher" protobuf:"bytes,1,opt,name=attacher"`
// Source represents the volume that should be attached.
Source VolumeAttachmentSource `json:"source" protobuf:"bytes,2,opt,name=source"`
// The node that the volume should be attached to.
NodeName string `json:"nodeName" protobuf:"bytes,3,opt,name=nodeName"`
}
// VolumeAttachmentSource represents a volume that should be attached.
// Right now only PersistenVolumes can be attached via external attacher,
// in future we may allow also inline volumes in pods.
// Exactly one member can be set.
type VolumeAttachmentSource struct {
// Name of the persistent volume to attach.
// +optional
PersistentVolumeName *string `json:"persistentVolumeName,omitempty" protobuf:"bytes,1,opt,name=persistentVolumeName"`
// Placeholder for *VolumeSource to accommodate inline volumes in pods.
}
// VolumeAttachmentStatus is the status of a VolumeAttachment request.
type VolumeAttachmentStatus struct {
// Indicates the volume is successfully attached.
// This field must only be set by the entity completing the attach
// operation, i.e. the external-attacher.
Attached bool `json:"attached" protobuf:"varint,1,opt,name=attached"`
// Upon successful attach, this field is populated with any
// information returned by the attach operation that must be passed
// into subsequent WaitForAttach or Mount calls.
// This field must only be set by the entity completing the attach
// operation, i.e. the external-attacher.
// +optional
AttachmentMetadata map[string]string `json:"attachmentMetadata,omitempty" protobuf:"bytes,2,rep,name=attachmentMetadata"`
// The last error encountered during attach operation, if any.
// This field must only be set by the entity completing the attach
// operation, i.e. the external-attacher.
// +optional
AttachError *VolumeError `json:"attachError,omitempty" protobuf:"bytes,3,opt,name=attachError,casttype=VolumeError"`
// The last error encountered during detach operation, if any.
// This field must only be set by the entity completing the detach
// operation, i.e. the external-attacher.
// +optional
DetachError *VolumeError `json:"detachError,omitempty" protobuf:"bytes,4,opt,name=detachError,casttype=VolumeError"`
}
// VolumeError captures an error encountered during a volume operation.
type VolumeError struct {
// Time the error was encountered.
// +optional
Time metav1.Time `json:"time,omitempty" protobuf:"bytes,1,opt,name=time"`
// String detailing the error encountered during Attach or Detach operation.
// This string maybe logged, so it should not contain sensitive
// information.
// +optional
Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"`
}

View File

@ -52,4 +52,67 @@ func (StorageClassList) SwaggerDoc() map[string]string {
return map_StorageClassList
}
var map_VolumeAttachment = map[string]string{
"": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.",
"metadata": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
"spec": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.",
"status": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.",
}
func (VolumeAttachment) SwaggerDoc() map[string]string {
return map_VolumeAttachment
}
var map_VolumeAttachmentList = map[string]string{
"": "VolumeAttachmentList is a collection of VolumeAttachment objects.",
"metadata": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
"items": "Items is the list of VolumeAttachments",
}
func (VolumeAttachmentList) SwaggerDoc() map[string]string {
return map_VolumeAttachmentList
}
var map_VolumeAttachmentSource = map[string]string{
"": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.",
"persistentVolumeName": "Name of the persistent volume to attach.",
}
func (VolumeAttachmentSource) SwaggerDoc() map[string]string {
return map_VolumeAttachmentSource
}
var map_VolumeAttachmentSpec = map[string]string{
"": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.",
"attacher": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().",
"source": "Source represents the volume that should be attached.",
"nodeName": "The node that the volume should be attached to.",
}
func (VolumeAttachmentSpec) SwaggerDoc() map[string]string {
return map_VolumeAttachmentSpec
}
var map_VolumeAttachmentStatus = map[string]string{
"": "VolumeAttachmentStatus is the status of a VolumeAttachment request.",
"attached": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
"attachmentMetadata": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
"attachError": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
"detachError": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.",
}
func (VolumeAttachmentStatus) SwaggerDoc() map[string]string {
return map_VolumeAttachmentStatus
}
var map_VolumeError = map[string]string{
"": "VolumeError captures an error encountered during a volume operation.",
"time": "Time the error was encountered.",
"message": "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information.",
}
func (VolumeError) SwaggerDoc() map[string]string {
return map_VolumeError
}
// AUTO-GENERATED FUNCTIONS END HERE

View File

@ -124,3 +124,166 @@ func (in *StorageClassList) DeepCopyObject() runtime.Object {
return nil
}
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
func (in *VolumeAttachment) DeepCopy() *VolumeAttachment {
if in == nil {
return nil
}
out := new(VolumeAttachment)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *VolumeAttachment) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
}
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VolumeAttachmentList) DeepCopyInto(out *VolumeAttachmentList) {
*out = *in
out.TypeMeta = in.TypeMeta
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]VolumeAttachment, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentList.
func (in *VolumeAttachmentList) DeepCopy() *VolumeAttachmentList {
if in == nil {
return nil
}
out := new(VolumeAttachmentList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *VolumeAttachmentList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
}
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
*out = *in
if in.PersistentVolumeName != nil {
in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
if *in == nil {
*out = nil
} else {
*out = new(string)
**out = **in
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
if in == nil {
return nil
}
out := new(VolumeAttachmentSource)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
*out = *in
in.Source.DeepCopyInto(&out.Source)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
if in == nil {
return nil
}
out := new(VolumeAttachmentSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
*out = *in
if in.AttachmentMetadata != nil {
in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.AttachError != nil {
in, out := &in.AttachError, &out.AttachError
if *in == nil {
*out = nil
} else {
*out = new(VolumeError)
(*in).DeepCopyInto(*out)
}
}
if in.DetachError != nil {
in, out := &in.DetachError, &out.DetachError
if *in == nil {
*out = nil
} else {
*out = new(VolumeError)
(*in).DeepCopyInto(*out)
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
if in == nil {
return nil
}
out := new(VolumeAttachmentStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VolumeError) DeepCopyInto(out *VolumeError) {
*out = *in
in.Time.DeepCopyInto(&out.Time)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
func (in *VolumeError) DeepCopy() *VolumeError {
if in == nil {
return nil
}
out := new(VolumeError)
in.DeepCopyInto(out)
return out
}

View File

@ -65,6 +65,9 @@ func AddConversionFuncs(scheme *runtime.Scheme) error {
Convert_Pointer_int32_To_int32,
Convert_int32_To_Pointer_int32,
Convert_Pointer_int64_To_int64,
Convert_int64_To_Pointer_int64,
Convert_Pointer_float64_To_float64,
Convert_float64_To_Pointer_float64,
@ -105,6 +108,21 @@ func Convert_int32_To_Pointer_int32(in *int32, out **int32, s conversion.Scope)
return nil
}
func Convert_Pointer_int64_To_int64(in **int64, out *int64, s conversion.Scope) error {
if *in == nil {
*out = 0
return nil
}
*out = int64(**in)
return nil
}
func Convert_int64_To_Pointer_int64(in *int64, out **int64, s conversion.Scope) error {
temp := int64(*in)
*out = &temp
return nil
}
func Convert_Pointer_int64_To_int(in **int64, out *int, s conversion.Scope) error {
if *in == nil {
*out = 0

View File

@ -248,6 +248,8 @@ func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource
// Group=storage.k8s.io, Version=v1beta1
case storage_v1beta1.SchemeGroupVersion.WithResource("storageclasses"):
return &genericInformer{resource: resource.GroupResource(), informer: f.Storage().V1beta1().StorageClasses().Informer()}, nil
case storage_v1beta1.SchemeGroupVersion.WithResource("volumeattachments"):
return &genericInformer{resource: resource.GroupResource(), informer: f.Storage().V1beta1().VolumeAttachments().Informer()}, nil
}

View File

@ -10,6 +10,7 @@ go_library(
srcs = [
"interface.go",
"storageclass.go",
"volumeattachment.go",
],
importpath = "k8s.io/client-go/informers/storage/v1beta1",
deps = [

View File

@ -26,6 +26,8 @@ import (
type Interface interface {
// StorageClasses returns a StorageClassInformer.
StorageClasses() StorageClassInformer
// VolumeAttachments returns a VolumeAttachmentInformer.
VolumeAttachments() VolumeAttachmentInformer
}
type version struct {
@ -43,3 +45,8 @@ func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakList
func (v *version) StorageClasses() StorageClassInformer {
return &storageClassInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
// VolumeAttachments returns a VolumeAttachmentInformer.
func (v *version) VolumeAttachments() VolumeAttachmentInformer {
return &volumeAttachmentInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}

View File

@ -0,0 +1,88 @@
/*
Copyright 2018 The Kubernetes Authors.
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.
*/
// This file was automatically generated by informer-gen
package v1beta1
import (
time "time"
storage_v1beta1 "k8s.io/api/storage/v1beta1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
watch "k8s.io/apimachinery/pkg/watch"
internalinterfaces "k8s.io/client-go/informers/internalinterfaces"
kubernetes "k8s.io/client-go/kubernetes"
v1beta1 "k8s.io/client-go/listers/storage/v1beta1"
cache "k8s.io/client-go/tools/cache"
)
// VolumeAttachmentInformer provides access to a shared informer and lister for
// VolumeAttachments.
type VolumeAttachmentInformer interface {
Informer() cache.SharedIndexInformer
Lister() v1beta1.VolumeAttachmentLister
}
type volumeAttachmentInformer struct {
factory internalinterfaces.SharedInformerFactory
tweakListOptions internalinterfaces.TweakListOptionsFunc
}
// NewVolumeAttachmentInformer constructs a new informer for VolumeAttachment type.
// Always prefer using an informer factory to get a shared informer instead of getting an independent
// one. This reduces memory footprint and number of connections to the server.
func NewVolumeAttachmentInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
return NewFilteredVolumeAttachmentInformer(client, resyncPeriod, indexers, nil)
}
// NewFilteredVolumeAttachmentInformer constructs a new informer for VolumeAttachment type.
// Always prefer using an informer factory to get a shared informer instead of getting an independent
// one. This reduces memory footprint and number of connections to the server.
func NewFilteredVolumeAttachmentInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer {
return cache.NewSharedIndexInformer(
&cache.ListWatch{
ListFunc: func(options v1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.StorageV1beta1().VolumeAttachments().List(options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.StorageV1beta1().VolumeAttachments().Watch(options)
},
},
&storage_v1beta1.VolumeAttachment{},
resyncPeriod,
indexers,
)
}
func (f *volumeAttachmentInformer) defaultInformer(client kubernetes.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer {
return NewFilteredVolumeAttachmentInformer(client, resyncPeriod, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, f.tweakListOptions)
}
func (f *volumeAttachmentInformer) Informer() cache.SharedIndexInformer {
return f.factory.InformerFor(&storage_v1beta1.VolumeAttachment{}, f.defaultInformer)
}
func (f *volumeAttachmentInformer) Lister() v1beta1.VolumeAttachmentLister {
return v1beta1.NewVolumeAttachmentLister(f.Informer().GetIndexer())
}

View File

@ -65,7 +65,7 @@ func init() {
//
// import (
// "k8s.io/client-go/kubernetes"
// clientsetscheme "k8s.io/client-go/kuberentes/scheme"
// clientsetscheme "k8s.io/client-go/kubernetes/scheme"
// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme"
// )
//

View File

@ -12,6 +12,7 @@ go_library(
"generated_expansion.go",
"storage_client.go",
"storageclass.go",
"volumeattachment.go",
],
importpath = "k8s.io/client-go/kubernetes/typed/storage/v1beta1",
deps = [

View File

@ -17,3 +17,5 @@ limitations under the License.
package v1beta1
type StorageClassExpansion interface{}
type VolumeAttachmentExpansion interface{}

View File

@ -26,6 +26,7 @@ import (
type StorageV1beta1Interface interface {
RESTClient() rest.Interface
StorageClassesGetter
VolumeAttachmentsGetter
}
// StorageV1beta1Client is used to interact with features provided by the storage.k8s.io group.
@ -37,6 +38,10 @@ func (c *StorageV1beta1Client) StorageClasses() StorageClassInterface {
return newStorageClasses(c)
}
func (c *StorageV1beta1Client) VolumeAttachments() VolumeAttachmentInterface {
return newVolumeAttachments(c)
}
// NewForConfig creates a new StorageV1beta1Client for the given config.
func NewForConfig(c *rest.Config) (*StorageV1beta1Client, error) {
config := *c

View File

@ -0,0 +1,161 @@
/*
Copyright 2018 The Kubernetes Authors.
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.
*/
package v1beta1
import (
v1beta1 "k8s.io/api/storage/v1beta1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch"
scheme "k8s.io/client-go/kubernetes/scheme"
rest "k8s.io/client-go/rest"
)
// VolumeAttachmentsGetter has a method to return a VolumeAttachmentInterface.
// A group's client should implement this interface.
type VolumeAttachmentsGetter interface {
VolumeAttachments() VolumeAttachmentInterface
}
// VolumeAttachmentInterface has methods to work with VolumeAttachment resources.
type VolumeAttachmentInterface interface {
Create(*v1beta1.VolumeAttachment) (*v1beta1.VolumeAttachment, error)
Update(*v1beta1.VolumeAttachment) (*v1beta1.VolumeAttachment, error)
UpdateStatus(*v1beta1.VolumeAttachment) (*v1beta1.VolumeAttachment, error)
Delete(name string, options *v1.DeleteOptions) error
DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
Get(name string, options v1.GetOptions) (*v1beta1.VolumeAttachment, error)
List(opts v1.ListOptions) (*v1beta1.VolumeAttachmentList, error)
Watch(opts v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.VolumeAttachment, err error)
VolumeAttachmentExpansion
}
// volumeAttachments implements VolumeAttachmentInterface
type volumeAttachments struct {
client rest.Interface
}
// newVolumeAttachments returns a VolumeAttachments
func newVolumeAttachments(c *StorageV1beta1Client) *volumeAttachments {
return &volumeAttachments{
client: c.RESTClient(),
}
}
// Get takes name of the volumeAttachment, and returns the corresponding volumeAttachment object, and an error if there is any.
func (c *volumeAttachments) Get(name string, options v1.GetOptions) (result *v1beta1.VolumeAttachment, err error) {
result = &v1beta1.VolumeAttachment{}
err = c.client.Get().
Resource("volumeattachments").
Name(name).
VersionedParams(&options, scheme.ParameterCodec).
Do().
Into(result)
return
}
// List takes label and field selectors, and returns the list of VolumeAttachments that match those selectors.
func (c *volumeAttachments) List(opts v1.ListOptions) (result *v1beta1.VolumeAttachmentList, err error) {
result = &v1beta1.VolumeAttachmentList{}
err = c.client.Get().
Resource("volumeattachments").
VersionedParams(&opts, scheme.ParameterCodec).
Do().
Into(result)
return
}
// Watch returns a watch.Interface that watches the requested volumeAttachments.
func (c *volumeAttachments) Watch(opts v1.ListOptions) (watch.Interface, error) {
opts.Watch = true
return c.client.Get().
Resource("volumeattachments").
VersionedParams(&opts, scheme.ParameterCodec).
Watch()
}
// Create takes the representation of a volumeAttachment and creates it. Returns the server's representation of the volumeAttachment, and an error, if there is any.
func (c *volumeAttachments) Create(volumeAttachment *v1beta1.VolumeAttachment) (result *v1beta1.VolumeAttachment, err error) {
result = &v1beta1.VolumeAttachment{}
err = c.client.Post().
Resource("volumeattachments").
Body(volumeAttachment).
Do().
Into(result)
return
}
// Update takes the representation of a volumeAttachment and updates it. Returns the server's representation of the volumeAttachment, and an error, if there is any.
func (c *volumeAttachments) Update(volumeAttachment *v1beta1.VolumeAttachment) (result *v1beta1.VolumeAttachment, err error) {
result = &v1beta1.VolumeAttachment{}
err = c.client.Put().
Resource("volumeattachments").
Name(volumeAttachment.Name).
Body(volumeAttachment).
Do().
Into(result)
return
}
// UpdateStatus was generated because the type contains a Status member.
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (c *volumeAttachments) UpdateStatus(volumeAttachment *v1beta1.VolumeAttachment) (result *v1beta1.VolumeAttachment, err error) {
result = &v1beta1.VolumeAttachment{}
err = c.client.Put().
Resource("volumeattachments").
Name(volumeAttachment.Name).
SubResource("status").
Body(volumeAttachment).
Do().
Into(result)
return
}
// Delete takes name of the volumeAttachment and deletes it. Returns an error if one occurs.
func (c *volumeAttachments) Delete(name string, options *v1.DeleteOptions) error {
return c.client.Delete().
Resource("volumeattachments").
Name(name).
Body(options).
Do().
Error()
}
// DeleteCollection deletes a collection of objects.
func (c *volumeAttachments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error {
return c.client.Delete().
Resource("volumeattachments").
VersionedParams(&listOptions, scheme.ParameterCodec).
Body(options).
Do().
Error()
}
// Patch applies the patch and returns the patched volumeAttachment.
func (c *volumeAttachments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.VolumeAttachment, err error) {
result = &v1beta1.VolumeAttachment{}
err = c.client.Patch(pt).
Resource("volumeattachments").
SubResource(subresources...).
Name(name).
Body(data).
Do().
Into(result)
return
}

View File

@ -10,6 +10,7 @@ go_library(
srcs = [
"expansion_generated.go",
"storageclass.go",
"volumeattachment.go",
],
importpath = "k8s.io/client-go/listers/storage/v1beta1",
deps = [

View File

@ -21,3 +21,7 @@ package v1beta1
// StorageClassListerExpansion allows custom methods to be added to
// StorageClassLister.
type StorageClassListerExpansion interface{}
// VolumeAttachmentListerExpansion allows custom methods to be added to
// VolumeAttachmentLister.
type VolumeAttachmentListerExpansion interface{}

View File

@ -0,0 +1,65 @@
/*
Copyright 2018 The Kubernetes Authors.
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.
*/
// This file was automatically generated by lister-gen
package v1beta1
import (
v1beta1 "k8s.io/api/storage/v1beta1"
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/client-go/tools/cache"
)
// VolumeAttachmentLister helps list VolumeAttachments.
type VolumeAttachmentLister interface {
// List lists all VolumeAttachments in the indexer.
List(selector labels.Selector) (ret []*v1beta1.VolumeAttachment, err error)
// Get retrieves the VolumeAttachment from the index for a given name.
Get(name string) (*v1beta1.VolumeAttachment, error)
VolumeAttachmentListerExpansion
}
// volumeAttachmentLister implements the VolumeAttachmentLister interface.
type volumeAttachmentLister struct {
indexer cache.Indexer
}
// NewVolumeAttachmentLister returns a new VolumeAttachmentLister.
func NewVolumeAttachmentLister(indexer cache.Indexer) VolumeAttachmentLister {
return &volumeAttachmentLister{indexer: indexer}
}
// List lists all VolumeAttachments in the indexer.
func (s *volumeAttachmentLister) List(selector labels.Selector) (ret []*v1beta1.VolumeAttachment, err error) {
err = cache.ListAll(s.indexer, selector, func(m interface{}) {
ret = append(ret, m.(*v1beta1.VolumeAttachment))
})
return ret, err
}
// Get retrieves the VolumeAttachment from the index for a given name.
func (s *volumeAttachmentLister) Get(name string) (*v1beta1.VolumeAttachment, error) {
obj, exists, err := s.indexer.GetByKey(name)
if err != nil {
return nil, err
}
if !exists {
return nil, errors.NewNotFound(v1beta1.Resource("volumeattachment"), name)
}
return obj.(*v1beta1.VolumeAttachment), nil
}

View File

@ -23,7 +23,7 @@ location within a Container's file tree for Containers that
need access to the Kubernetes API.
Having a defined format allows:
- clients to be implmented in multiple languages
- clients to be implemented in multiple languages
- applications which link clients to be portable across
clusters with different authentication styles (e.g.
some may use SSL Client certs, others may not, etc)

View File

@ -59,7 +59,7 @@ type Queue interface {
// has since been added.
AddIfNotPresent(interface{}) error
// Return true if the first batch of items has been popped
// HasSynced returns true if the first batch of items has been popped
HasSynced() bool
// Close queue

View File

@ -202,7 +202,7 @@ func getServerIdentificationPartialConfig(configAuthInfo clientcmdapi.AuthInfo,
// clientauth.Info object contain both user identification and server identification. We want different precedence orders for
// both, so we have to split the objects and merge them separately
// we want this order of precedence for user identifcation
// we want this order of precedence for user identification
// 1. configAuthInfo minus auth-path (the final result of command line flags and merged .kubeconfig files)
// 2. configAuthInfo.auth-path (this file can contain information that conflicts with #1, and we want #1 to win the priority)
// 3. if there is not enough information to identify the user, load try the ~/.kubernetes_auth file
@ -474,7 +474,7 @@ func (config *inClusterClientConfig) ClientConfig() (*restclient.Config, error)
}
// in-cluster configs only takes a host, token, or CA file
// if any of them were individually provided, ovewrite anything else
// if any of them were individually provided, overwrite anything else
if config.overrides != nil {
if server := config.overrides.ClusterInfo.Server; len(server) > 0 {
icc.Host = server

View File

@ -111,7 +111,7 @@ func (g *ClientConfigGetter) IsDefaultConfig(config *restclient.Config) bool {
// ClientConfigLoadingRules is an ExplicitPath and string slice of specific locations that are used for merging together a Config
// Callers can put the chain together however they want, but we'd recommend:
// EnvVarPathFiles if set (a list of files if set) OR the HomeDirectoryPath
// ExplicitPath is special, because if a user specifically requests a certain file be used and error is reported if thie file is not present
// ExplicitPath is special, because if a user specifically requests a certain file be used and error is reported if this file is not present
type ClientConfigLoadingRules struct {
ExplicitPath string
Precedence []string
@ -420,7 +420,7 @@ func WriteToFile(config clientcmdapi.Config, filename string) error {
func lockFile(filename string) error {
// TODO: find a way to do this with actual file locks. Will
// probably need seperate solution for windows and linux.
// probably need separate solution for windows and Linux.
// Make sure the dir exists before we try to create a lock file.
dir := filepath.Dir(filename)

View File

@ -38,7 +38,7 @@ const (
duration365d = time.Hour * 24 * 365
)
// Config containes the basic fields required for creating a certificate
// Config contains the basic fields required for creating a certificate
type Config struct {
CommonName string
Organization []string