-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
737f8f4
commit fe25d6a
Showing
17 changed files
with
1,229 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,5 @@ | |
# Make subpackages available: | ||
__all__ = [ | ||
"v1", | ||
"v1beta1", | ||
] |
42 changes: 42 additions & 0 deletions
42
sdk/python/pulumi_kubernetes/networking/v1beta1/Ingress.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. *** | ||
# *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
import pulumi | ||
import pulumi.runtime | ||
|
||
from ... import tables | ||
|
||
|
||
class Ingress(pulumi.CustomResource): | ||
""" | ||
Ingress is a collection of rules that allow inbound connections to reach the endpoints defined | ||
by a backend. An Ingress can be configured to give services externally-reachable urls, load | ||
balance traffic, terminate SSL, offer name based virtual hosting etc. | ||
""" | ||
def __init__(self, __name__, __opts__=None, metadata=None, spec=None, status=None): | ||
if not __name__: | ||
raise TypeError('Missing resource name argument (for URN creation)') | ||
if not isinstance(__name__, str): | ||
raise TypeError('Expected resource name to be a string') | ||
if __opts__ and not isinstance(__opts__, pulumi.ResourceOptions): | ||
raise TypeError('Expected resource options to be a ResourceOptions instance') | ||
|
||
__props__ = dict() | ||
|
||
__props__['apiVersion'] = 'networking.k8s.io/v1beta1' | ||
__props__['kind'] = 'Ingress' | ||
__props__['metadata'] = metadata | ||
__props__['spec'] = spec | ||
__props__['status'] = status | ||
|
||
super(Ingress, self).__init__( | ||
"kubernetes:networking.k8s.io/v1beta1:Ingress", | ||
__name__, | ||
__props__, | ||
__opts__) | ||
|
||
def translate_output_property(self, prop: str) -> str: | ||
return tables._CASING_FORWARD_TABLE.get(prop) or prop | ||
|
||
def translate_input_property(self, prop: str) -> str: | ||
return tables._CASING_BACKWARD_TABLE.get(prop) or prop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# coding=utf-8 | ||
# *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. *** | ||
# *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
# Export this package's modules as members: | ||
from .Ingress import * | ||
from .IngressList import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
|
||
# Make subpackages available: | ||
__all__ = [ | ||
"v1", | ||
"v1alpha1", | ||
"v1beta1", | ||
] |
44 changes: 44 additions & 0 deletions
44
sdk/python/pulumi_kubernetes/scheduling/v1/PriorityClass.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. *** | ||
# *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
import pulumi | ||
import pulumi.runtime | ||
|
||
from ... import tables | ||
|
||
|
||
class PriorityClass(pulumi.CustomResource): | ||
""" | ||
PriorityClass defines mapping from a priority class name to the priority integer value. The | ||
value can be any valid integer. | ||
""" | ||
def __init__(self, __name__, __opts__=None, description=None, global_default=None, metadata=None, value=None): | ||
if not __name__: | ||
raise TypeError('Missing resource name argument (for URN creation)') | ||
if not isinstance(__name__, str): | ||
raise TypeError('Expected resource name to be a string') | ||
if __opts__ and not isinstance(__opts__, pulumi.ResourceOptions): | ||
raise TypeError('Expected resource options to be a ResourceOptions instance') | ||
|
||
__props__ = dict() | ||
|
||
__props__['apiVersion'] = 'scheduling.k8s.io/v1' | ||
__props__['kind'] = 'PriorityClass' | ||
if value is None: | ||
raise TypeError('Missing required property value') | ||
__props__['value'] = value | ||
__props__['description'] = description | ||
__props__['globalDefault'] = global_default | ||
__props__['metadata'] = metadata | ||
|
||
super(PriorityClass, self).__init__( | ||
"kubernetes:scheduling.k8s.io/v1:PriorityClass", | ||
__name__, | ||
__props__, | ||
__opts__) | ||
|
||
def translate_output_property(self, prop: str) -> str: | ||
return tables._CASING_FORWARD_TABLE.get(prop) or prop | ||
|
||
def translate_input_property(self, prop: str) -> str: | ||
return tables._CASING_BACKWARD_TABLE.get(prop) or prop |
41 changes: 41 additions & 0 deletions
41
sdk/python/pulumi_kubernetes/scheduling/v1/PriorityClassList.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. *** | ||
# *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
import pulumi | ||
import pulumi.runtime | ||
|
||
from ... import tables | ||
|
||
|
||
class PriorityClassList(pulumi.CustomResource): | ||
""" | ||
PriorityClassList is a collection of priority classes. | ||
""" | ||
def __init__(self, __name__, __opts__=None, items=None, metadata=None): | ||
if not __name__: | ||
raise TypeError('Missing resource name argument (for URN creation)') | ||
if not isinstance(__name__, str): | ||
raise TypeError('Expected resource name to be a string') | ||
if __opts__ and not isinstance(__opts__, pulumi.ResourceOptions): | ||
raise TypeError('Expected resource options to be a ResourceOptions instance') | ||
|
||
__props__ = dict() | ||
|
||
__props__['apiVersion'] = 'scheduling.k8s.io/v1' | ||
__props__['kind'] = 'PriorityClassList' | ||
if items is None: | ||
raise TypeError('Missing required property items') | ||
__props__['items'] = items | ||
__props__['metadata'] = metadata | ||
|
||
super(PriorityClassList, self).__init__( | ||
"kubernetes:scheduling.k8s.io/v1:PriorityClassList", | ||
__name__, | ||
__props__, | ||
__opts__) | ||
|
||
def translate_output_property(self, prop: str) -> str: | ||
return tables._CASING_FORWARD_TABLE.get(prop) or prop | ||
|
||
def translate_input_property(self, prop: str) -> str: | ||
return tables._CASING_BACKWARD_TABLE.get(prop) or prop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# coding=utf-8 | ||
# *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. *** | ||
# *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
# Export this package's modules as members: | ||
from .PriorityClass import * | ||
from .PriorityClassList import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters