Skip to content

Commit

Permalink
Merge pull request #100 from Peefy/add-more-crd-modules
Browse files Browse the repository at this point in the history
feat: add more crd modules
  • Loading branch information
Peefy authored Dec 11, 2023
2 parents 2c9890a + b1dfe5d commit 9230296
Show file tree
Hide file tree
Showing 653 changed files with 806,521 additions and 625 deletions.
27,188 changes: 27,188 additions & 0 deletions actions-runner-controller/README.md

Large diffs are not rendered by default.

57,358 changes: 57,358 additions & 0 deletions actions-runner-controller/crds/actions-runner-controller.yaml

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions actions-runner-controller/kcl.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[package]
name = "actions-runner-controller"
edition = "0.0.1"
version = "0.0.1"

[dependencies]
k8s = "1.28"
9 changes: 9 additions & 0 deletions actions-runner-controller/kcl.mod.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[dependencies]
[dependencies.k8s]
name = "k8s"
full_name = "k8s_1.28"
version = "1.28"
sum = "aTxPUVZyr9MdiB3YdiY/8pCh9sC55yURnZdGlJsKG6Q="
reg = "ghcr.io"
repo = "kcl-lang/k8s"
oci_tag = "1.28"
Original file line number Diff line number Diff line change
@@ -0,0 +1,226 @@
"""
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
"""
import k8s.apimachinery.pkg.apis.meta.v1


schema AutoscalingListener:
"""
AutoscalingListener is the Schema for the autoscalinglisteners API

Attributes
----------
apiVersion : str, default is "actions.github.com/v1alpha1", required
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind : str, default is "AutoscalingListener", required
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata : v1.ObjectMeta, default is Undefined, optional
metadata
spec : ActionsGithubComV1alpha1AutoscalingListenerSpec, default is Undefined, optional
spec
status : any, default is Undefined, optional
AutoscalingListenerStatus defines the observed state of AutoscalingListener
"""


apiVersion: "actions.github.com/v1alpha1" = "actions.github.com/v1alpha1"

kind: "AutoscalingListener" = "AutoscalingListener"

metadata?: v1.ObjectMeta

spec?: ActionsGithubComV1alpha1AutoscalingListenerSpec

status?: any


schema ActionsGithubComV1alpha1AutoscalingListenerSpec:
"""
AutoscalingListenerSpec defines the desired state of AutoscalingListener

Attributes
----------
autoscalingRunnerSetName : str, default is Undefined, optional
Required
autoscalingRunnerSetNamespace : str, default is Undefined, optional
Required
ephemeralRunnerSetName : str, default is Undefined, optional
Required
githubConfigSecret : str, default is Undefined, optional
Required
githubConfigUrl : str, default is Undefined, optional
Required
githubServerTLS : ActionsGithubComV1alpha1AutoscalingListenerSpecGithubServerTLS, default is Undefined, optional
github server TLS
image : str, default is Undefined, optional
Required
imagePullPolicy : str, default is Undefined, optional
Required
imagePullSecrets : [ActionsGithubComV1alpha1AutoscalingListenerSpecImagePullSecretsItems0], default is Undefined, optional
Required
maxRunners : int, default is Undefined, optional
Required
minRunners : int, default is Undefined, optional
Required
proxy : ActionsGithubComV1alpha1AutoscalingListenerSpecProxy, default is Undefined, optional
proxy
runnerScaleSetId : int, default is Undefined, optional
Required
"""


autoscalingRunnerSetName?: str

autoscalingRunnerSetNamespace?: str

ephemeralRunnerSetName?: str

githubConfigSecret?: str

githubConfigUrl?: str

githubServerTLS?: ActionsGithubComV1alpha1AutoscalingListenerSpecGithubServerTLS

image?: str

imagePullPolicy?: str

imagePullSecrets?: [ActionsGithubComV1alpha1AutoscalingListenerSpecImagePullSecretsItems0]

maxRunners?: int

minRunners?: int

proxy?: ActionsGithubComV1alpha1AutoscalingListenerSpecProxy

runnerScaleSetId?: int


check:
maxRunners >= 0
minRunners >= 0


schema ActionsGithubComV1alpha1AutoscalingListenerSpecGithubServerTLS:
"""
actions github com v1alpha1 autoscaling listener spec github server TLS

Attributes
----------
certificateFrom : ActionsGithubComV1alpha1AutoscalingListenerSpecGithubServerTLSCertificateFrom, default is Undefined, optional
certificate from
"""


certificateFrom?: ActionsGithubComV1alpha1AutoscalingListenerSpecGithubServerTLSCertificateFrom


schema ActionsGithubComV1alpha1AutoscalingListenerSpecGithubServerTLSCertificateFrom:
"""
Required

Attributes
----------
configMapKeyRef : ActionsGithubComV1alpha1AutoscalingListenerSpecGithubServerTLSCertificateFromConfigMapKeyRef, default is Undefined, optional
config map key ref
"""


configMapKeyRef?: ActionsGithubComV1alpha1AutoscalingListenerSpecGithubServerTLSCertificateFromConfigMapKeyRef


schema ActionsGithubComV1alpha1AutoscalingListenerSpecGithubServerTLSCertificateFromConfigMapKeyRef:
"""
Required

Attributes
----------
key : str, default is Undefined, required
The key to select.
name : str, default is Undefined, optional
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
optional : bool, default is Undefined, optional
Specify whether the ConfigMap or its key must be defined
"""


key: str

name?: str

optional?: bool


schema ActionsGithubComV1alpha1AutoscalingListenerSpecImagePullSecretsItems0:
"""
LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.

Attributes
----------
name : str, default is Undefined, optional
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
"""


name?: str


schema ActionsGithubComV1alpha1AutoscalingListenerSpecProxy:
"""
actions github com v1alpha1 autoscaling listener spec proxy

Attributes
----------
http : ActionsGithubComV1alpha1AutoscalingListenerSpecProxyHTTP, default is Undefined, optional
http
https : ActionsGithubComV1alpha1AutoscalingListenerSpecProxyHTTPS, default is Undefined, optional
https
noProxy : [str], default is Undefined, optional
no proxy
"""


http?: ActionsGithubComV1alpha1AutoscalingListenerSpecProxyHTTP

https?: ActionsGithubComV1alpha1AutoscalingListenerSpecProxyHTTPS

noProxy?: [str]


schema ActionsGithubComV1alpha1AutoscalingListenerSpecProxyHTTP:
"""
actions github com v1alpha1 autoscaling listener spec proxy HTTP

Attributes
----------
credentialSecretRef : str, default is Undefined, optional
credential secret ref
url : str, default is Undefined, optional
Required
"""


credentialSecretRef?: str

url?: str


schema ActionsGithubComV1alpha1AutoscalingListenerSpecProxyHTTPS:
"""
actions github com v1alpha1 autoscaling listener spec proxy HTTPS

Attributes
----------
credentialSecretRef : str, default is Undefined, optional
credential secret ref
url : str, default is Undefined, optional
Required
"""


credentialSecretRef?: str

url?: str


Loading

0 comments on commit 9230296

Please sign in to comment.