Skip to content

Commit

Permalink
chore: delete owlbot.py (#168)
Browse files Browse the repository at this point in the history
* chore: delete owlbot.py

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* run owlbot cli locally

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
parthea and gcf-owl-bot[bot] authored Nov 19, 2021
1 parent 98f13ef commit 7dfdb86
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 207 deletions.
19 changes: 1 addition & 18 deletions packages/google-cloud-container/.coveragerc
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
# -*- coding: utf-8 -*-
#
# Copyright 2020 Google LLC
#
# 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
#
# https://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.

[run]
branch = True

[report]
fail_under = 100
show_missing = True
omit =
google/cloud/container/__init__.py
Expand All @@ -31,4 +14,4 @@ exclude_lines =
# This is added at the module level as a safeguard for if someone
# generates the code and tries to run it without pip installing. This
# makes it virtually impossible to test properly.
except pkg_resources.DistributionNotFound
except pkg_resources.DistributionNotFound
18 changes: 10 additions & 8 deletions packages/google-cloud-container/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,36 @@

.. include:: multiprocessing.rst

API Reference
-------------
This package includes clients for multiple versions of Kubernetes Engine.
By default, you will get version ``container_v1``.

v1

API Reference
-------------
.. toctree::
:maxdepth: 2

container_v1/services
container_v1/types

v1beta1
API Reference
-------------
.. toctree::
:maxdepth: 2

container_v1beta1/services
container_v1beta1/types


Migration Guide
---------------

See the guide below for instructions on migrating to the 2.x release of this library.
See the guide below for instructions on migrating to the latest version.

.. toctree::
:maxdepth: 2

UPGRADING
 UPGRADING


Changelog
Expand All @@ -38,6 +40,6 @@ Changelog
For a list of all ``google-cloud-container`` releases:

.. toctree::
:maxdepth: 2
:maxdepth: 2

changelog
changelog
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Marker file for PEP 561.
# The google-container package uses inline types.
# The google-cloud-container package uses inline types.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.container_v1",
"libraryPackage": "google.cloud.container_v1",
"protoPackage": "google.container.v1",
"schema": "1.0",
"services": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Marker file for PEP 561.
# The google-container package uses inline types.
# The google-cloud-container package uses inline types.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.container_v1beta1",
"libraryPackage": "google.cloud.container_v1beta1",
"protoPackage": "google.container.v1beta1",
"schema": "1.0",
"services": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Marker file for PEP 561.
# The google-container package uses inline types.
# The google-cloud-container package uses inline types.
Original file line number Diff line number Diff line change
Expand Up @@ -215,18 +215,17 @@ class NodeKubeletConfig(proto.Message):
Attributes:
cpu_manager_policy (str):
Control the CPU management policy on the
node. See
https://kubernetes.io/docs/tasks/administer-
cluster/cpu-management-policies/
Control the CPU management policy on the node. See
https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/
The following values are allowed.
- "none": the default, which represents the
existing scheduling behavior. - "static":
allows pods with certain resource
characteristics to be granted
increased CPU affinity and exclusivity on the
node. The default value is 'none' if
unspecified.
- "none": the default, which represents the existing
scheduling behavior.
- "static": allows pods with certain resource
characteristics to be granted increased CPU affinity and
exclusivity on the node. The default value is 'none' if
unspecified.
cpu_cfs_quota (google.protobuf.wrappers_pb2.BoolValue):
Enable CPU CFS quota enforcement for
containers that specify CPU limits.
Expand Down
3 changes: 3 additions & 0 deletions packages/google-cloud-container/mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[mypy]
python_version = 3.6
namespace_packages = True
4 changes: 2 additions & 2 deletions packages/google-cloud-container/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def cover(session):
test runs (not system test runs), and then erases coverage data.
"""
session.install("coverage", "pytest-cov")
session.run("coverage", "report", "--show-missing", "--fail-under=99")
session.run("coverage", "report", "--show-missing", "--fail-under=100")

session.run("coverage", "erase")

Expand All @@ -190,7 +190,7 @@ def docs(session):
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
session.run(
"sphinx-build",
# "-W", # warnings as errors
"-W", # warnings as errors
"-T", # show full traceback on exception
"-N", # no colors
"-b",
Expand Down
163 changes: 0 additions & 163 deletions packages/google-cloud-container/owlbot.py

This file was deleted.

0 comments on commit 7dfdb86

Please sign in to comment.