Documentation ¶
Overview ¶
package openapi contains generated openapi definitions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ "apps.StatefulSet": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the desired identities of pods in this set.", Ref: spec.MustCreateRef("#/definitions/apps.StatefulSetSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.", Ref: spec.MustCreateRef("#/definitions/apps.StatefulSetStatus"), }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "apps.StatefulSetSpec", "apps.StatefulSetStatus"}, }, "apps.StatefulSetList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "StatefulSetList is a collection of StatefulSets.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/apps.StatefulSet"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "apps.StatefulSet", "unversioned.ListMeta"}, }, "apps.StatefulSetSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "A StatefulSetSpec is the specification of a StatefulSet.", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", Type: []string{"integer"}, Format: "int32", }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.", Ref: spec.MustCreateRef("#/definitions/api.PodTemplateSpec"), }, }, "volumeClaimTemplates": { SchemaProps: spec.SchemaProps{ Description: "VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/api.PersistentVolumeClaim"), }, }, }, }, }, "serviceName": { SchemaProps: spec.SchemaProps{ Description: "ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"template", "serviceName"}, }, }, Dependencies: []string{ "api.PersistentVolumeClaim", "api.PodTemplateSpec", "unversioned.LabelSelector"}, }, "apps.StatefulSetStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "StatefulSetStatus represents the current state of a StatefulSet.", Properties: map[string]spec.Schema{ "observedGeneration": { SchemaProps: spec.SchemaProps{ Description: "most recent generation observed by this autoscaler.", Type: []string{"integer"}, Format: "int64", }, }, "replicas": { SchemaProps: spec.SchemaProps{ Description: "Replicas is the number of actual replicas.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"replicas"}, }, }, Dependencies: []string{}, }, "authentication.TokenReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TokenReview attempts to authenticate a token to a known user.", Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "ObjectMeta": { SchemaProps: spec.SchemaProps{ Description: "ObjectMeta fulfills the meta.ObjectMetaAccessor interface so that the stock REST handler paths work", Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "Spec": { SchemaProps: spec.SchemaProps{ Description: "Spec holds information about the request being evaluated", Ref: spec.MustCreateRef("#/definitions/authentication.TokenReviewSpec"), }, }, "Status": { SchemaProps: spec.SchemaProps{ Description: "Status is filled in by the server and indicates whether the request can be authenticated.", Ref: spec.MustCreateRef("#/definitions/authentication.TokenReviewStatus"), }, }, }, Required: []string{"TypeMeta", "ObjectMeta", "Spec", "Status"}, }, }, Dependencies: []string{ "api.ObjectMeta", "authentication.TokenReviewSpec", "authentication.TokenReviewStatus", "unversioned.TypeMeta"}, }, "authentication.TokenReviewSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TokenReviewSpec is a description of the token authentication request.", Properties: map[string]spec.Schema{ "Token": { SchemaProps: spec.SchemaProps{ Description: "Token is the opaque bearer token.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Token"}, }, }, Dependencies: []string{}, }, "authentication.TokenReviewStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TokenReviewStatus is the result of the token authentication request. This type mirrors the authentication.Token interface", Properties: map[string]spec.Schema{ "Authenticated": { SchemaProps: spec.SchemaProps{ Description: "Authenticated indicates that the token was associated with a known user.", Type: []string{"boolean"}, Format: "", }, }, "User": { SchemaProps: spec.SchemaProps{ Description: "User is the UserInfo associated with the provided token.", Ref: spec.MustCreateRef("#/definitions/authentication.UserInfo"), }, }, "Error": { SchemaProps: spec.SchemaProps{ Description: "Error indicates that the token couldn't be checked", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Authenticated", "User", "Error"}, }, }, Dependencies: []string{ "authentication.UserInfo"}, }, "authentication.UserInfo": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "UserInfo holds the information about the user needed to implement the user.Info interface.", Properties: map[string]spec.Schema{ "Username": { SchemaProps: spec.SchemaProps{ Description: "The name that uniquely identifies this user among all active users.", Type: []string{"string"}, Format: "", }, }, "UID": { SchemaProps: spec.SchemaProps{ Description: "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.", Type: []string{"string"}, Format: "", }, }, "Groups": { SchemaProps: spec.SchemaProps{ Description: "The names of groups this user is a part of.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "Extra": { SchemaProps: spec.SchemaProps{ Description: "Any additional information provided by the authenticator.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, }, }, }, Required: []string{"Username", "UID", "Groups", "Extra"}, }, }, Dependencies: []string{}, }, "authorization.LocalSubjectAccessReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "ObjectMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "Spec": { SchemaProps: spec.SchemaProps{ Description: "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.", Ref: spec.MustCreateRef("#/definitions/authorization.SubjectAccessReviewSpec"), }, }, "Status": { SchemaProps: spec.SchemaProps{ Description: "Status is filled in by the server and indicates whether the request is allowed or not", Ref: spec.MustCreateRef("#/definitions/authorization.SubjectAccessReviewStatus"), }, }, }, Required: []string{"TypeMeta", "ObjectMeta", "Spec", "Status"}, }, }, Dependencies: []string{ "api.ObjectMeta", "authorization.SubjectAccessReviewSpec", "authorization.SubjectAccessReviewStatus", "unversioned.TypeMeta"}, }, "authorization.NonResourceAttributes": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", Properties: map[string]spec.Schema{ "Path": { SchemaProps: spec.SchemaProps{ Description: "Path is the URL path of the request", Type: []string{"string"}, Format: "", }, }, "Verb": { SchemaProps: spec.SchemaProps{ Description: "Verb is the standard HTTP verb", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Path", "Verb"}, }, }, Dependencies: []string{}, }, "authorization.ResourceAttributes": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", Properties: map[string]spec.Schema{ "Namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview", Type: []string{"string"}, Format: "", }, }, "Verb": { SchemaProps: spec.SchemaProps{ Description: "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", Type: []string{"string"}, Format: "", }, }, "Group": { SchemaProps: spec.SchemaProps{ Description: "Group is the API Group of the Resource. \"*\" means all.", Type: []string{"string"}, Format: "", }, }, "Version": { SchemaProps: spec.SchemaProps{ Description: "Version is the API Version of the Resource. \"*\" means all.", Type: []string{"string"}, Format: "", }, }, "Resource": { SchemaProps: spec.SchemaProps{ Description: "Resource is one of the existing resource types. \"*\" means all.", Type: []string{"string"}, Format: "", }, }, "Subresource": { SchemaProps: spec.SchemaProps{ Description: "Subresource is one of the existing resource types. \"\" means none.", Type: []string{"string"}, Format: "", }, }, "Name": { SchemaProps: spec.SchemaProps{ Description: "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Namespace", "Verb", "Group", "Version", "Resource", "Subresource", "Name"}, }, }, Dependencies: []string{}, }, "authorization.SelfSubjectAccessReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action", Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "ObjectMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "Spec": { SchemaProps: spec.SchemaProps{ Description: "Spec holds information about the request being evaluated.", Ref: spec.MustCreateRef("#/definitions/authorization.SelfSubjectAccessReviewSpec"), }, }, "Status": { SchemaProps: spec.SchemaProps{ Description: "Status is filled in by the server and indicates whether the request is allowed or not", Ref: spec.MustCreateRef("#/definitions/authorization.SubjectAccessReviewStatus"), }, }, }, Required: []string{"TypeMeta", "ObjectMeta", "Spec", "Status"}, }, }, Dependencies: []string{ "api.ObjectMeta", "authorization.SelfSubjectAccessReviewSpec", "authorization.SubjectAccessReviewStatus", "unversioned.TypeMeta"}, }, "authorization.SelfSubjectAccessReviewSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAttributes and NonResourceAttributes must be set", Properties: map[string]spec.Schema{ "ResourceAttributes": { SchemaProps: spec.SchemaProps{ Description: "ResourceAttributes describes information for a resource access request", Ref: spec.MustCreateRef("#/definitions/authorization.ResourceAttributes"), }, }, "NonResourceAttributes": { SchemaProps: spec.SchemaProps{ Description: "NonResourceAttributes describes information for a non-resource access request", Ref: spec.MustCreateRef("#/definitions/authorization.NonResourceAttributes"), }, }, }, Required: []string{"ResourceAttributes", "NonResourceAttributes"}, }, }, Dependencies: []string{ "authorization.NonResourceAttributes", "authorization.ResourceAttributes"}, }, "authorization.SubjectAccessReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SubjectAccessReview checks whether or not a user or group can perform an action. Not filling in a spec.namespace means \"in all namespaces\".", Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "ObjectMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "Spec": { SchemaProps: spec.SchemaProps{ Description: "Spec holds information about the request being evaluated", Ref: spec.MustCreateRef("#/definitions/authorization.SubjectAccessReviewSpec"), }, }, "Status": { SchemaProps: spec.SchemaProps{ Description: "Status is filled in by the server and indicates whether the request is allowed or not", Ref: spec.MustCreateRef("#/definitions/authorization.SubjectAccessReviewStatus"), }, }, }, Required: []string{"TypeMeta", "ObjectMeta", "Spec", "Status"}, }, }, Dependencies: []string{ "api.ObjectMeta", "authorization.SubjectAccessReviewSpec", "authorization.SubjectAccessReviewStatus", "unversioned.TypeMeta"}, }, "authorization.SubjectAccessReviewSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAttributes and NonResourceAttributes must be set", Properties: map[string]spec.Schema{ "ResourceAttributes": { SchemaProps: spec.SchemaProps{ Description: "ResourceAttributes describes information for a resource access request", Ref: spec.MustCreateRef("#/definitions/authorization.ResourceAttributes"), }, }, "NonResourceAttributes": { SchemaProps: spec.SchemaProps{ Description: "NonResourceAttributes describes information for a non-resource access request", Ref: spec.MustCreateRef("#/definitions/authorization.NonResourceAttributes"), }, }, "User": { SchemaProps: spec.SchemaProps{ Description: "User is the user you're testing for. If you specify \"User\" but not \"Group\", then is it interpreted as \"What if User were not a member of any groups", Type: []string{"string"}, Format: "", }, }, "Groups": { SchemaProps: spec.SchemaProps{ Description: "Groups is the groups you're testing for.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "Extra": { SchemaProps: spec.SchemaProps{ Description: "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, }, }, }, Required: []string{"ResourceAttributes", "NonResourceAttributes", "User", "Groups", "Extra"}, }, }, Dependencies: []string{ "authorization.NonResourceAttributes", "authorization.ResourceAttributes"}, }, "authorization.SubjectAccessReviewStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SubjectAccessReviewStatus", Properties: map[string]spec.Schema{ "Allowed": { SchemaProps: spec.SchemaProps{ Description: "Allowed is required. True if the action would be allowed, false otherwise.", Type: []string{"boolean"}, Format: "", }, }, "Reason": { SchemaProps: spec.SchemaProps{ Description: "Reason is optional. It indicates why a request was allowed or denied.", Type: []string{"string"}, Format: "", }, }, "EvaluationError": { SchemaProps: spec.SchemaProps{ Description: "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Allowed", "Reason", "EvaluationError"}, }, }, Dependencies: []string{}, }, "autoscaling.CrossVersionObjectReference": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "CrossVersionObjectReference contains enough information to let you identify the referred resource.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\"", Type: []string{"string"}, Format: "", }, }, "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "API version of the referent", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"kind", "name"}, }, }, Dependencies: []string{}, }, "autoscaling.HorizontalPodAutoscaler": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "configuration of a horizontal pod autoscaler.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.", Ref: spec.MustCreateRef("#/definitions/autoscaling.HorizontalPodAutoscalerSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "current information about the autoscaler.", Ref: spec.MustCreateRef("#/definitions/autoscaling.HorizontalPodAutoscalerStatus"), }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "autoscaling.HorizontalPodAutoscalerSpec", "autoscaling.HorizontalPodAutoscalerStatus"}, }, "autoscaling.HorizontalPodAutoscalerList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "list of horizontal pod autoscaler objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "list of horizontal pod autoscaler objects.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/autoscaling.HorizontalPodAutoscaler"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "autoscaling.HorizontalPodAutoscaler", "unversioned.ListMeta"}, }, "autoscaling.HorizontalPodAutoscalerSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "specification of a horizontal pod autoscaler.", Properties: map[string]spec.Schema{ "scaleTargetRef": { SchemaProps: spec.SchemaProps{ Description: "reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.", Ref: spec.MustCreateRef("#/definitions/autoscaling.CrossVersionObjectReference"), }, }, "minReplicas": { SchemaProps: spec.SchemaProps{ Description: "lower limit for the number of pods that can be set by the autoscaler, default 1.", Type: []string{"integer"}, Format: "int32", }, }, "maxReplicas": { SchemaProps: spec.SchemaProps{ Description: "upper limit for the number of pods that can be set by the autoscaler. It cannot be smaller than MinReplicas.", Type: []string{"integer"}, Format: "int32", }, }, "targetCPUUtilizationPercentage": { SchemaProps: spec.SchemaProps{ Description: "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"scaleTargetRef", "maxReplicas"}, }, }, Dependencies: []string{ "autoscaling.CrossVersionObjectReference"}, }, "autoscaling.HorizontalPodAutoscalerStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "current status of a horizontal pod autoscaler", Properties: map[string]spec.Schema{ "observedGeneration": { SchemaProps: spec.SchemaProps{ Description: "most recent generation observed by this autoscaler.", Type: []string{"integer"}, Format: "int64", }, }, "lastScaleTime": { SchemaProps: spec.SchemaProps{ Description: "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "currentReplicas": { SchemaProps: spec.SchemaProps{ Description: "current number of replicas of pods managed by this autoscaler.", Type: []string{"integer"}, Format: "int32", }, }, "desiredReplicas": { SchemaProps: spec.SchemaProps{ Description: "desired number of replicas of pods managed by this autoscaler.", Type: []string{"integer"}, Format: "int32", }, }, "currentCPUUtilizationPercentage": { SchemaProps: spec.SchemaProps{ Description: "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"currentReplicas", "desiredReplicas"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "autoscaling.Scale": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Scale represents a scaling request for a resource.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.", Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.", Ref: spec.MustCreateRef("#/definitions/autoscaling.ScaleSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.", Ref: spec.MustCreateRef("#/definitions/autoscaling.ScaleStatus"), }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "autoscaling.ScaleSpec", "autoscaling.ScaleStatus"}, }, "autoscaling.ScaleSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ScaleSpec describes the attributes of a scale subresource.", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "desired number of instances for the scaled object.", Type: []string{"integer"}, Format: "int32", }, }, }, }, }, Dependencies: []string{}, }, "autoscaling.ScaleStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ScaleStatus represents the current status of a scale subresource.", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "actual number of observed instances of the scaled object.", Type: []string{"integer"}, Format: "int32", }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"replicas"}, }, }, Dependencies: []string{}, }, "batch.CronJob": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "CronJob represents the configuration of a single cron job.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec is a structure defining the expected behavior of a job, including the schedule. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/batch.CronJobSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/batch.CronJobStatus"), }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "batch.CronJobSpec", "batch.CronJobStatus"}, }, "batch.CronJobList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "CronJobList is a collection of cron jobs.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of CronJob.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/batch.CronJob"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "batch.CronJob", "unversioned.ListMeta"}, }, "batch.CronJobSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "CronJobSpec describes how the job execution will look like and when it will actually run.", Properties: map[string]spec.Schema{ "schedule": { SchemaProps: spec.SchemaProps{ Description: "Schedule contains the schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", Type: []string{"string"}, Format: "", }, }, "startingDeadlineSeconds": { SchemaProps: spec.SchemaProps{ Description: "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", Type: []string{"integer"}, Format: "int64", }, }, "concurrencyPolicy": { SchemaProps: spec.SchemaProps{ Description: "ConcurrencyPolicy specifies how to treat concurrent executions of a Job.", Type: []string{"string"}, Format: "", }, }, "suspend": { SchemaProps: spec.SchemaProps{ Description: "Suspend flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "jobTemplate": { SchemaProps: spec.SchemaProps{ Description: "JobTemplate is the object that describes the job that will be created when executing a CronJob.", Ref: spec.MustCreateRef("#/definitions/batch.JobTemplateSpec"), }, }, }, Required: []string{"schedule", "jobTemplate"}, }, }, Dependencies: []string{ "batch.JobTemplateSpec"}, }, "batch.CronJobStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "CronJobStatus represents the current state of a cron job.", Properties: map[string]spec.Schema{ "active": { SchemaProps: spec.SchemaProps{ Description: "Active holds pointers to currently running jobs.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/api.ObjectReference"), }, }, }, }, }, "lastScheduleTime": { SchemaProps: spec.SchemaProps{ Description: "LastScheduleTime keeps information of when was the last time the job was successfully scheduled.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, }, }, }, Dependencies: []string{ "api.ObjectReference", "unversioned.Time"}, }, "batch.Job": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Job represents the configuration of a single job.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec is a structure defining the expected behavior of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/batch.JobSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/batch.JobStatus"), }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "batch.JobSpec", "batch.JobStatus"}, }, "batch.JobCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobCondition describes current state of a job.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of job condition, Complete or Failed.", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False, Unknown.", Type: []string{"string"}, Format: "", }, }, "lastProbeTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition was checked.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition transit from one status to another.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "(brief) reason for the condition's last transition.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "Human readable message indicating details about last transition.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "status"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "batch.JobList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobList is a collection of jobs.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of Job.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/batch.Job"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "batch.Job", "unversioned.ListMeta"}, }, "batch.JobSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobSpec describes how the job execution will look like.", Properties: map[string]spec.Schema{ "parallelism": { SchemaProps: spec.SchemaProps{ Description: "Parallelism specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism.", Type: []string{"integer"}, Format: "int32", }, }, "completions": { SchemaProps: spec.SchemaProps{ Description: "Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job.", Type: []string{"integer"}, Format: "int32", }, }, "activeDeadlineSeconds": { SchemaProps: spec.SchemaProps{ Description: "Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", Type: []string{"integer"}, Format: "int64", }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you.", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "manualSelector": { SchemaProps: spec.SchemaProps{ Description: "ManualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API.", Type: []string{"boolean"}, Format: "", }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template is the object that describes the pod that will be created when executing a job.", Ref: spec.MustCreateRef("#/definitions/api.PodTemplateSpec"), }, }, }, Required: []string{"template"}, }, }, Dependencies: []string{ "api.PodTemplateSpec", "unversioned.LabelSelector"}, }, "batch.JobStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobStatus represents the current state of a Job.", Properties: map[string]spec.Schema{ "conditions": { SchemaProps: spec.SchemaProps{ Description: "Conditions represent the latest available observations of an object's current state.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/batch.JobCondition"), }, }, }, }, }, "startTime": { SchemaProps: spec.SchemaProps{ Description: "StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "completionTime": { SchemaProps: spec.SchemaProps{ Description: "CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "active": { SchemaProps: spec.SchemaProps{ Description: "Active is the number of actively running pods.", Type: []string{"integer"}, Format: "int32", }, }, "succeeded": { SchemaProps: spec.SchemaProps{ Description: "Succeeded is the number of pods which reached Phase Succeeded.", Type: []string{"integer"}, Format: "int32", }, }, "failed": { SchemaProps: spec.SchemaProps{ Description: "Failed is the number of pods which reached Phase Failed.", Type: []string{"integer"}, Format: "int32", }, }, }, }, }, Dependencies: []string{ "batch.JobCondition", "unversioned.Time"}, }, "batch.JobTemplate": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobTemplate describes a template for creating copies of a predefined pod.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template defines jobs that will be created from this template http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/batch.JobTemplateSpec"), }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "batch.JobTemplateSpec"}, }, "batch.JobTemplateSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobTemplateSpec describes the data a Job should have when created from a template", Properties: map[string]spec.Schema{ "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata of the jobs created from this template. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Specification of the desired behavior of the job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/batch.JobSpec"), }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "batch.JobSpec"}, }, "certificates.CertificateSigningRequest": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Describes a certificate signing request", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "The certificate request itself and any additional information.", Ref: spec.MustCreateRef("#/definitions/certificates.CertificateSigningRequestSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Derived information about the request.", Ref: spec.MustCreateRef("#/definitions/certificates.CertificateSigningRequestStatus"), }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "certificates.CertificateSigningRequestSpec", "certificates.CertificateSigningRequestStatus"}, }, "certificates.CertificateSigningRequestCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "request approval state, currently Approved or Denied.", Type: []string{"string"}, Format: "", }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "brief reason for the request state", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "human readable message with details about the request state", Type: []string{"string"}, Format: "", }, }, "lastUpdateTime": { SchemaProps: spec.SchemaProps{ Description: "timestamp for the last update to this condition", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, }, Required: []string{"type"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "certificates.CertificateSigningRequestList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/certificates.CertificateSigningRequest"), }, }, }, }, }, }, }, }, Dependencies: []string{ "certificates.CertificateSigningRequest", "unversioned.ListMeta"}, }, "certificates.CertificateSigningRequestSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "This information is immutable after the request is created. Only the Request and ExtraInfo fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users.", Properties: map[string]spec.Schema{ "request": { SchemaProps: spec.SchemaProps{ Description: "Base64-encoded PKCS#10 CSR data", Type: []string{"string"}, Format: "byte", }, }, "username": { SchemaProps: spec.SchemaProps{ Description: "Information about the requesting user (if relevant) See user.Info interface for details", Type: []string{"string"}, Format: "", }, }, "uid": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "groups": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"request"}, }, }, Dependencies: []string{}, }, "certificates.CertificateSigningRequestStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "conditions": { SchemaProps: spec.SchemaProps{ Description: "Conditions applied to the request, such as approval or denial.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/certificates.CertificateSigningRequestCondition"), }, }, }, }, }, "certificate": { SchemaProps: spec.SchemaProps{ Description: "If request was approved, the controller will place the issued certificate here.", Type: []string{"string"}, Format: "byte", }, }, }, }, }, Dependencies: []string{ "certificates.CertificateSigningRequestCondition"}, }, "componentconfig.IPVar": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "Val": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Val"}, }, }, Dependencies: []string{}, }, "componentconfig.KubeControllerManagerConfiguration": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "port": { SchemaProps: spec.SchemaProps{ Description: "port is the port that the controller-manager's http service runs on.", Type: []string{"integer"}, Format: "int32", }, }, "address": { SchemaProps: spec.SchemaProps{ Description: "address is the IP address to serve on (set to 0.0.0.0 for all interfaces).", Type: []string{"string"}, Format: "", }, }, "useServiceAccountCredentials": { SchemaProps: spec.SchemaProps{ Description: "useServiceAccountCredentials indicates whether controllers should be run with individual service account credentials.", Type: []string{"boolean"}, Format: "", }, }, "cloudProvider": { SchemaProps: spec.SchemaProps{ Description: "cloudProvider is the provider for cloud services.", Type: []string{"string"}, Format: "", }, }, "cloudConfigFile": { SchemaProps: spec.SchemaProps{ Description: "cloudConfigFile is the path to the cloud provider configuration file.", Type: []string{"string"}, Format: "", }, }, "concurrentEndpointSyncs": { SchemaProps: spec.SchemaProps{ Description: "concurrentEndpointSyncs is the number of endpoint syncing operations that will be done concurrently. Larger number = faster endpoint updating, but more CPU (and network) load.", Type: []string{"integer"}, Format: "int32", }, }, "concurrentRSSyncs": { SchemaProps: spec.SchemaProps{ Description: "concurrentRSSyncs is the number of replica sets that are allowed to sync concurrently. Larger number = more responsive replica management, but more CPU (and network) load.", Type: []string{"integer"}, Format: "int32", }, }, "concurrentRCSyncs": { SchemaProps: spec.SchemaProps{ Description: "concurrentRCSyncs is the number of replication controllers that are allowed to sync concurrently. Larger number = more responsive replica management, but more CPU (and network) load.", Type: []string{"integer"}, Format: "int32", }, }, "concurrentServiceSyncs": { SchemaProps: spec.SchemaProps{ Description: "concurrentServiceSyncs is the number of services that are allowed to sync concurrently. Larger number = more responsive service management, but more CPU (and network) load.", Type: []string{"integer"}, Format: "int32", }, }, "concurrentResourceQuotaSyncs": { SchemaProps: spec.SchemaProps{ Description: "concurrentResourceQuotaSyncs is the number of resource quotas that are allowed to sync concurrently. Larger number = more responsive quota management, but more CPU (and network) load.", Type: []string{"integer"}, Format: "int32", }, }, "concurrentDeploymentSyncs": { SchemaProps: spec.SchemaProps{ Description: "concurrentDeploymentSyncs is the number of deployment objects that are allowed to sync concurrently. Larger number = more responsive deployments, but more CPU (and network) load.", Type: []string{"integer"}, Format: "int32", }, }, "concurrentDaemonSetSyncs": { SchemaProps: spec.SchemaProps{ Description: "concurrentDaemonSetSyncs is the number of daemonset objects that are allowed to sync concurrently. Larger number = more responsive daemonset, but more CPU (and network) load.", Type: []string{"integer"}, Format: "int32", }, }, "concurrentJobSyncs": { SchemaProps: spec.SchemaProps{ Description: "concurrentJobSyncs is the number of job objects that are allowed to sync concurrently. Larger number = more responsive jobs, but more CPU (and network) load.", Type: []string{"integer"}, Format: "int32", }, }, "concurrentNamespaceSyncs": { SchemaProps: spec.SchemaProps{ Description: "concurrentNamespaceSyncs is the number of namespace objects that are allowed to sync concurrently.", Type: []string{"integer"}, Format: "int32", }, }, "concurrentSATokenSyncs": { SchemaProps: spec.SchemaProps{ Description: "concurrentSATokenSyncs is the number of service account token syncing operations that will be done concurrently.", Type: []string{"integer"}, Format: "int32", }, }, "lookupCacheSizeForRC": { SchemaProps: spec.SchemaProps{ Description: "lookupCacheSizeForRC is the size of lookup cache for replication controllers. Larger number = more responsive replica management, but more MEM load.", Type: []string{"integer"}, Format: "int32", }, }, "lookupCacheSizeForRS": { SchemaProps: spec.SchemaProps{ Description: "lookupCacheSizeForRS is the size of lookup cache for replicatsets. Larger number = more responsive replica management, but more MEM load.", Type: []string{"integer"}, Format: "int32", }, }, "lookupCacheSizeForDaemonSet": { SchemaProps: spec.SchemaProps{ Description: "lookupCacheSizeForDaemonSet is the size of lookup cache for daemonsets. Larger number = more responsive daemonset, but more MEM load.", Type: []string{"integer"}, Format: "int32", }, }, "serviceSyncPeriod": { SchemaProps: spec.SchemaProps{ Description: "serviceSyncPeriod is the period for syncing services with their external load balancers.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "nodeSyncPeriod": { SchemaProps: spec.SchemaProps{ Description: "nodeSyncPeriod is the period for syncing nodes from cloudprovider. Longer periods will result in fewer calls to cloud provider, but may delay addition of new nodes to cluster.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "routeReconciliationPeriod": { SchemaProps: spec.SchemaProps{ Description: "routeReconciliationPeriod is the period for reconciling routes created for Nodes by cloud provider..", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "resourceQuotaSyncPeriod": { SchemaProps: spec.SchemaProps{ Description: "resourceQuotaSyncPeriod is the period for syncing quota usage status in the system.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "namespaceSyncPeriod": { SchemaProps: spec.SchemaProps{ Description: "namespaceSyncPeriod is the period for syncing namespace life-cycle updates.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "pvClaimBinderSyncPeriod": { SchemaProps: spec.SchemaProps{ Description: "pvClaimBinderSyncPeriod is the period for syncing persistent volumes and persistent volume claims.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "minResyncPeriod": { SchemaProps: spec.SchemaProps{ Description: "minResyncPeriod is the resync period in reflectors; will be random between minResyncPeriod and 2*minResyncPeriod.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "terminatedPodGCThreshold": { SchemaProps: spec.SchemaProps{ Description: "terminatedPodGCThreshold is the number of terminated pods that can exist before the terminated pod garbage collector starts deleting terminated pods. If <= 0, the terminated pod garbage collector is disabled.", Type: []string{"integer"}, Format: "int32", }, }, "horizontalPodAutoscalerSyncPeriod": { SchemaProps: spec.SchemaProps{ Description: "horizontalPodAutoscalerSyncPeriod is the period for syncing the number of pods in horizontal pod autoscaler.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "deploymentControllerSyncPeriod": { SchemaProps: spec.SchemaProps{ Description: "deploymentControllerSyncPeriod is the period for syncing the deployments.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "podEvictionTimeout": { SchemaProps: spec.SchemaProps{ Description: "podEvictionTimeout is the grace period for deleting pods on failed nodes.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "deletingPodsQps": { SchemaProps: spec.SchemaProps{ Description: "DEPRECATED: deletingPodsQps is the number of nodes per second on which pods are deleted in case of node failure.", Type: []string{"number"}, Format: "float", }, }, "deletingPodsBurst": { SchemaProps: spec.SchemaProps{ Description: "DEPRECATED: deletingPodsBurst is the number of nodes on which pods are bursty deleted in case of node failure. For more details look into RateLimiter.", Type: []string{"integer"}, Format: "int32", }, }, "nodeMonitorGracePeriod": { SchemaProps: spec.SchemaProps{ Description: "nodeMontiorGracePeriod is the amount of time which we allow a running node to be unresponsive before marking it unhealthy. Must be N times more than kubelet's nodeStatusUpdateFrequency, where N means number of retries allowed for kubelet to post node status.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "registerRetryCount": { SchemaProps: spec.SchemaProps{ Description: "registerRetryCount is the number of retries for initial node registration. Retry interval equals node-sync-period.", Type: []string{"integer"}, Format: "int32", }, }, "nodeStartupGracePeriod": { SchemaProps: spec.SchemaProps{ Description: "nodeStartupGracePeriod is the amount of time which we allow starting a node to be unresponsive before marking it unhealthy.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "nodeMonitorPeriod": { SchemaProps: spec.SchemaProps{ Description: "nodeMonitorPeriod is the period for syncing NodeStatus in NodeController.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "serviceAccountKeyFile": { SchemaProps: spec.SchemaProps{ Description: "serviceAccountKeyFile is the filename containing a PEM-encoded private RSA key used to sign service account tokens.", Type: []string{"string"}, Format: "", }, }, "clusterSigningCertFile": { SchemaProps: spec.SchemaProps{ Description: "clusterSigningCertFile is the filename containing a PEM-encoded X509 CA certificate used to issue cluster-scoped certificates", Type: []string{"string"}, Format: "", }, }, "clusterSigningKeyFile": { SchemaProps: spec.SchemaProps{ Description: "clusterSigningCertFile is the filename containing a PEM-encoded RSA or ECDSA private key used to issue cluster-scoped certificates", Type: []string{"string"}, Format: "", }, }, "approveAllKubeletCSRsForGroup": { SchemaProps: spec.SchemaProps{ Description: "approveAllKubeletCSRs tells the CSR controller to approve all CSRs originating from the kubelet bootstrapping group automatically. WARNING: this grants all users with access to the certificates API group the ability to create credentials for any user that has access to the boostrapping user's credentials.", Type: []string{"string"}, Format: "", }, }, "enableProfiling": { SchemaProps: spec.SchemaProps{ Description: "enableProfiling enables profiling via web interface host:port/debug/pprof/", Type: []string{"boolean"}, Format: "", }, }, "clusterName": { SchemaProps: spec.SchemaProps{ Description: "clusterName is the instance prefix for the cluster.", Type: []string{"string"}, Format: "", }, }, "clusterCIDR": { SchemaProps: spec.SchemaProps{ Description: "clusterCIDR is CIDR Range for Pods in cluster.", Type: []string{"string"}, Format: "", }, }, "serviceCIDR": { SchemaProps: spec.SchemaProps{ Description: "serviceCIDR is CIDR Range for Services in cluster.", Type: []string{"string"}, Format: "", }, }, "nodeCIDRMaskSize": { SchemaProps: spec.SchemaProps{ Description: "NodeCIDRMaskSize is the mask size for node cidr in cluster.", Type: []string{"integer"}, Format: "int32", }, }, "allocateNodeCIDRs": { SchemaProps: spec.SchemaProps{ Description: "allocateNodeCIDRs enables CIDRs for Pods to be allocated and, if ConfigureCloudRoutes is true, to be set on the cloud provider.", Type: []string{"boolean"}, Format: "", }, }, "configureCloudRoutes": { SchemaProps: spec.SchemaProps{ Description: "configureCloudRoutes enables CIDRs allocated with allocateNodeCIDRs to be configured on the cloud provider.", Type: []string{"boolean"}, Format: "", }, }, "rootCAFile": { SchemaProps: spec.SchemaProps{ Description: "rootCAFile is the root certificate authority will be included in service account's token secret. This must be a valid PEM-encoded CA bundle.", Type: []string{"string"}, Format: "", }, }, "contentType": { SchemaProps: spec.SchemaProps{ Description: "contentType is contentType of requests sent to apiserver.", Type: []string{"string"}, Format: "", }, }, "kubeAPIQPS": { SchemaProps: spec.SchemaProps{ Description: "kubeAPIQPS is the QPS to use while talking with kubernetes apiserver.", Type: []string{"number"}, Format: "float", }, }, "kubeAPIBurst": { SchemaProps: spec.SchemaProps{ Description: "kubeAPIBurst is the burst to use while talking with kubernetes apiserver.", Type: []string{"integer"}, Format: "int32", }, }, "leaderElection": { SchemaProps: spec.SchemaProps{ Description: "leaderElection defines the configuration of leader election client.", Ref: spec.MustCreateRef("#/definitions/componentconfig.LeaderElectionConfiguration"), }, }, "volumeConfiguration": { SchemaProps: spec.SchemaProps{ Description: "volumeConfiguration holds configuration for volume related features.", Ref: spec.MustCreateRef("#/definitions/componentconfig.VolumeConfiguration"), }, }, "controllerStartInterval": { SchemaProps: spec.SchemaProps{ Description: "How long to wait between starting controller managers", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "enableGarbageCollector": { SchemaProps: spec.SchemaProps{ Description: "enables the generic garbage collector. MUST be synced with the corresponding flag of the kube-apiserver. WARNING: the generic garbage collector is an alpha feature.", Type: []string{"boolean"}, Format: "", }, }, "concurrentGCSyncs": { SchemaProps: spec.SchemaProps{ Description: "concurrentGCSyncs is the number of garbage collector workers that are allowed to sync concurrently.", Type: []string{"integer"}, Format: "int32", }, }, "nodeEvictionRate": { SchemaProps: spec.SchemaProps{ Description: "nodeEvictionRate is the number of nodes per second on which pods are deleted in case of node failure when a zone is healthy", Type: []string{"number"}, Format: "float", }, }, "secondaryNodeEvictionRate": { SchemaProps: spec.SchemaProps{ Description: "secondaryNodeEvictionRate is the number of nodes per second on which pods are deleted in case of node failure when a zone is unhealty", Type: []string{"number"}, Format: "float", }, }, "largeClusterSizeThreshold": { SchemaProps: spec.SchemaProps{ Description: "secondaryNodeEvictionRate is implicitly overridden to 0 for clusters smaller than or equal to largeClusterSizeThreshold", Type: []string{"integer"}, Format: "int32", }, }, "unhealthyZoneThreshold": { SchemaProps: spec.SchemaProps{ Description: "Zone is treated as unhealthy in nodeEvictionRate and secondaryNodeEvictionRate when at least unhealthyZoneThreshold (no less than 3) of Nodes in the zone are NotReady", Type: []string{"number"}, Format: "float", }, }, "disableAttachDetachReconcilerSync": { SchemaProps: spec.SchemaProps{ Description: "Reconciler runs a periodic loop to reconcile the desired state of the with the actual state of the world by triggering attach detach operations. This flag enables or disables reconcile. Is false by default, and thus enabled.", Type: []string{"boolean"}, Format: "", }, }, "reconcilerSyncLoopPeriod": { SchemaProps: spec.SchemaProps{ Description: "ReconcilerSyncLoopPeriod is the amount of time the reconciler sync states loop wait between successive executions. Is set to 5 min by default.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, }, Required: []string{"TypeMeta", "port", "address", "useServiceAccountCredentials", "cloudProvider", "cloudConfigFile", "concurrentEndpointSyncs", "concurrentRSSyncs", "concurrentRCSyncs", "concurrentServiceSyncs", "concurrentResourceQuotaSyncs", "concurrentDeploymentSyncs", "concurrentDaemonSetSyncs", "concurrentJobSyncs", "concurrentNamespaceSyncs", "concurrentSATokenSyncs", "lookupCacheSizeForRC", "lookupCacheSizeForRS", "lookupCacheSizeForDaemonSet", "serviceSyncPeriod", "nodeSyncPeriod", "routeReconciliationPeriod", "resourceQuotaSyncPeriod", "namespaceSyncPeriod", "pvClaimBinderSyncPeriod", "minResyncPeriod", "terminatedPodGCThreshold", "horizontalPodAutoscalerSyncPeriod", "deploymentControllerSyncPeriod", "podEvictionTimeout", "deletingPodsQps", "deletingPodsBurst", "nodeMonitorGracePeriod", "registerRetryCount", "nodeStartupGracePeriod", "nodeMonitorPeriod", "serviceAccountKeyFile", "clusterSigningCertFile", "clusterSigningKeyFile", "approveAllKubeletCSRsForGroup", "enableProfiling", "clusterName", "clusterCIDR", "serviceCIDR", "nodeCIDRMaskSize", "allocateNodeCIDRs", "configureCloudRoutes", "rootCAFile", "contentType", "kubeAPIQPS", "kubeAPIBurst", "leaderElection", "volumeConfiguration", "controllerStartInterval", "enableGarbageCollector", "concurrentGCSyncs", "nodeEvictionRate", "secondaryNodeEvictionRate", "largeClusterSizeThreshold", "unhealthyZoneThreshold", "disableAttachDetachReconcilerSync", "reconcilerSyncLoopPeriod"}, }, }, Dependencies: []string{ "componentconfig.LeaderElectionConfiguration", "componentconfig.VolumeConfiguration", "unversioned.Duration", "unversioned.TypeMeta"}, }, "componentconfig.KubeProxyConfiguration": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "bindAddress": { SchemaProps: spec.SchemaProps{ Description: "bindAddress is the IP address for the proxy server to serve on (set to 0.0.0.0 for all interfaces)", Type: []string{"string"}, Format: "", }, }, "clusterCIDR": { SchemaProps: spec.SchemaProps{ Description: "clusterCIDR is the CIDR range of the pods in the cluster. It is used to bridge traffic coming from outside of the cluster. If not provided, no off-cluster bridging will be performed.", Type: []string{"string"}, Format: "", }, }, "healthzBindAddress": { SchemaProps: spec.SchemaProps{ Description: "healthzBindAddress is the IP address for the health check server to serve on, defaulting to 127.0.0.1 (set to 0.0.0.0 for all interfaces)", Type: []string{"string"}, Format: "", }, }, "healthzPort": { SchemaProps: spec.SchemaProps{ Description: "healthzPort is the port to bind the health check server. Use 0 to disable.", Type: []string{"integer"}, Format: "int32", }, }, "hostnameOverride": { SchemaProps: spec.SchemaProps{ Description: "hostnameOverride, if non-empty, will be used as the identity instead of the actual hostname.", Type: []string{"string"}, Format: "", }, }, "iptablesMasqueradeBit": { SchemaProps: spec.SchemaProps{ Description: "iptablesMasqueradeBit is the bit of the iptables fwmark space to use for SNAT if using the pure iptables proxy mode. Values must be within the range [0, 31].", Type: []string{"integer"}, Format: "int32", }, }, "iptablesSyncPeriodSeconds": { SchemaProps: spec.SchemaProps{ Description: "iptablesSyncPeriod is the period that iptables rules are refreshed (e.g. '5s', '1m', '2h22m'). Must be greater than 0.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "iptablesMinSyncPeriodSeconds": { SchemaProps: spec.SchemaProps{ Description: "iptablesMinSyncPeriod is the minimum period that iptables rules are refreshed (e.g. '5s', '1m', '2h22m').", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "kubeconfigPath": { SchemaProps: spec.SchemaProps{ Description: "kubeconfigPath is the path to the kubeconfig file with authorization information (the master location is set by the master flag).", Type: []string{"string"}, Format: "", }, }, "masqueradeAll": { SchemaProps: spec.SchemaProps{ Description: "masqueradeAll tells kube-proxy to SNAT everything if using the pure iptables proxy mode.", Type: []string{"boolean"}, Format: "", }, }, "master": { SchemaProps: spec.SchemaProps{ Description: "master is the address of the Kubernetes API server (overrides any value in kubeconfig)", Type: []string{"string"}, Format: "", }, }, "oomScoreAdj": { SchemaProps: spec.SchemaProps{ Description: "oomScoreAdj is the oom-score-adj value for kube-proxy process. Values must be within the range [-1000, 1000]", Type: []string{"integer"}, Format: "int32", }, }, "mode": { SchemaProps: spec.SchemaProps{ Description: "mode specifies which proxy mode to use.", Type: []string{"string"}, Format: "", }, }, "portRange": { SchemaProps: spec.SchemaProps{ Description: "portRange is the range of host ports (beginPort-endPort, inclusive) that may be consumed in order to proxy service traffic. If unspecified (0-0) then ports will be randomly chosen.", Type: []string{"string"}, Format: "", }, }, "resourceContainer": { SchemaProps: spec.SchemaProps{ Description: "resourceContainer is the absolute name of the resource-only container to create and run the Kube-proxy in (Default: /kube-proxy).", Type: []string{"string"}, Format: "", }, }, "udpTimeoutMilliseconds": { SchemaProps: spec.SchemaProps{ Description: "udpIdleTimeout is how long an idle UDP connection will be kept open (e.g. '250ms', '2s'). Must be greater than 0. Only applicable for proxyMode=userspace.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "conntrackMax": { SchemaProps: spec.SchemaProps{ Description: "conntrackMax is the maximum number of NAT connections to track (0 to leave as-is). This takes precedence over conntrackMaxPerCore and conntrackMin.", Type: []string{"integer"}, Format: "int32", }, }, "conntrackMaxPerCore": { SchemaProps: spec.SchemaProps{ Description: "conntrackMaxPerCore is the maximum number of NAT connections to track per CPU core (0 to leave the limit as-is and ignore conntrackMin).", Type: []string{"integer"}, Format: "int32", }, }, "conntrackMin": { SchemaProps: spec.SchemaProps{ Description: "conntrackMin is the minimum value of connect-tracking records to allocate, regardless of conntrackMaxPerCore (set conntrackMaxPerCore=0 to leave the limit as-is).", Type: []string{"integer"}, Format: "int32", }, }, "conntrackTCPEstablishedTimeout": { SchemaProps: spec.SchemaProps{ Description: "conntrackTCPEstablishedTimeout is how long an idle TCP connection will be kept open (e.g. '2s'). Must be greater than 0.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "conntrackTCPCloseWaitTimeout": { SchemaProps: spec.SchemaProps{ Description: "conntrackTCPCloseWaitTimeout is how long an idle conntrack entry in CLOSE_WAIT state will remain in the conntrack table. (e.g. '60s'). Must be greater than 0 to set.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, }, Required: []string{"TypeMeta", "bindAddress", "clusterCIDR", "healthzBindAddress", "healthzPort", "hostnameOverride", "iptablesMasqueradeBit", "iptablesSyncPeriodSeconds", "iptablesMinSyncPeriodSeconds", "kubeconfigPath", "masqueradeAll", "master", "oomScoreAdj", "mode", "portRange", "resourceContainer", "udpTimeoutMilliseconds", "conntrackMax", "conntrackMaxPerCore", "conntrackMin", "conntrackTCPEstablishedTimeout", "conntrackTCPCloseWaitTimeout"}, }, }, Dependencies: []string{ "unversioned.Duration", "unversioned.TypeMeta"}, }, "componentconfig.KubeSchedulerConfiguration": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "port": { SchemaProps: spec.SchemaProps{ Description: "port is the port that the scheduler's http service runs on.", Type: []string{"integer"}, Format: "int32", }, }, "address": { SchemaProps: spec.SchemaProps{ Description: "address is the IP address to serve on.", Type: []string{"string"}, Format: "", }, }, "algorithmProvider": { SchemaProps: spec.SchemaProps{ Description: "algorithmProvider is the scheduling algorithm provider to use.", Type: []string{"string"}, Format: "", }, }, "policyConfigFile": { SchemaProps: spec.SchemaProps{ Description: "policyConfigFile is the filepath to the scheduler policy configuration.", Type: []string{"string"}, Format: "", }, }, "enableProfiling": { SchemaProps: spec.SchemaProps{ Description: "enableProfiling enables profiling via web interface.", Type: []string{"boolean"}, Format: "", }, }, "contentType": { SchemaProps: spec.SchemaProps{ Description: "contentType is contentType of requests sent to apiserver.", Type: []string{"string"}, Format: "", }, }, "kubeAPIQPS": { SchemaProps: spec.SchemaProps{ Description: "kubeAPIQPS is the QPS to use while talking with kubernetes apiserver.", Type: []string{"number"}, Format: "float", }, }, "kubeAPIBurst": { SchemaProps: spec.SchemaProps{ Description: "kubeAPIBurst is the QPS burst to use while talking with kubernetes apiserver.", Type: []string{"integer"}, Format: "int32", }, }, "schedulerName": { SchemaProps: spec.SchemaProps{ Description: "schedulerName is name of the scheduler, used to select which pods will be processed by this scheduler, based on pod's annotation with key 'scheduler.alpha.kubernetes.io/name'.", Type: []string{"string"}, Format: "", }, }, "hardPodAffinitySymmetricWeight": { SchemaProps: spec.SchemaProps{ Description: "RequiredDuringScheduling affinity is not symmetric, but there is an implicit PreferredDuringScheduling affinity rule corresponding to every RequiredDuringScheduling affinity rule. HardPodAffinitySymmetricWeight represents the weight of implicit PreferredDuringScheduling affinity rule, in the range 0-100.", Type: []string{"integer"}, Format: "int32", }, }, "failureDomains": { SchemaProps: spec.SchemaProps{ Description: "Indicate the \"all topologies\" set for empty topologyKey when it's used for PreferredDuringScheduling pod anti-affinity.", Type: []string{"string"}, Format: "", }, }, "leaderElection": { SchemaProps: spec.SchemaProps{ Description: "leaderElection defines the configuration of leader election client.", Ref: spec.MustCreateRef("#/definitions/componentconfig.LeaderElectionConfiguration"), }, }, }, Required: []string{"TypeMeta", "port", "address", "algorithmProvider", "policyConfigFile", "enableProfiling", "contentType", "kubeAPIQPS", "kubeAPIBurst", "schedulerName", "hardPodAffinitySymmetricWeight", "failureDomains", "leaderElection"}, }, }, Dependencies: []string{ "componentconfig.LeaderElectionConfiguration", "unversioned.TypeMeta"}, }, "componentconfig.KubeletAnonymousAuthentication": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "enabled": { SchemaProps: spec.SchemaProps{ Description: "enabled allows anonymous requests to the kubelet server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated.", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"enabled"}, }, }, Dependencies: []string{}, }, "componentconfig.KubeletAuthentication": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "x509": { SchemaProps: spec.SchemaProps{ Description: "x509 contains settings related to x509 client certificate authentication", Ref: spec.MustCreateRef("#/definitions/componentconfig.KubeletX509Authentication"), }, }, "webhook": { SchemaProps: spec.SchemaProps{ Description: "webhook contains settings related to webhook bearer token authentication", Ref: spec.MustCreateRef("#/definitions/componentconfig.KubeletWebhookAuthentication"), }, }, "anonymous": { SchemaProps: spec.SchemaProps{ Description: "anonymous contains settings related to anonymous authentication", Ref: spec.MustCreateRef("#/definitions/componentconfig.KubeletAnonymousAuthentication"), }, }, }, Required: []string{"x509", "webhook", "anonymous"}, }, }, Dependencies: []string{ "componentconfig.KubeletAnonymousAuthentication", "componentconfig.KubeletWebhookAuthentication", "componentconfig.KubeletX509Authentication"}, }, "componentconfig.KubeletAuthorization": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "mode": { SchemaProps: spec.SchemaProps{ Description: "mode is the authorization mode to apply to requests to the kubelet server. Valid values are AlwaysAllow and Webhook. Webhook mode uses the SubjectAccessReview API to determine authorization.", Type: []string{"string"}, Format: "", }, }, "webhook": { SchemaProps: spec.SchemaProps{ Description: "webhook contains settings related to Webhook authorization.", Ref: spec.MustCreateRef("#/definitions/componentconfig.KubeletWebhookAuthorization"), }, }, }, Required: []string{"mode", "webhook"}, }, }, Dependencies: []string{ "componentconfig.KubeletWebhookAuthorization"}, }, "componentconfig.KubeletConfiguration": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "podManifestPath": { SchemaProps: spec.SchemaProps{ Description: "podManifestPath is the path to the directory containing pod manifests to run, or the path to a single manifest file", Type: []string{"string"}, Format: "", }, }, "syncFrequency": { SchemaProps: spec.SchemaProps{ Description: "syncFrequency is the max period between synchronizing running containers and config", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "fileCheckFrequency": { SchemaProps: spec.SchemaProps{ Description: "fileCheckFrequency is the duration between checking config files for new data", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "httpCheckFrequency": { SchemaProps: spec.SchemaProps{ Description: "httpCheckFrequency is the duration between checking http for new data", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "manifestURL": { SchemaProps: spec.SchemaProps{ Description: "manifestURL is the URL for accessing the container manifest", Type: []string{"string"}, Format: "", }, }, "manifestURLHeader": { SchemaProps: spec.SchemaProps{ Description: "manifestURLHeader is the HTTP header to use when accessing the manifest URL, with the key separated from the value with a ':', as in 'key:value'", Type: []string{"string"}, Format: "", }, }, "enableServer": { SchemaProps: spec.SchemaProps{ Description: "enableServer enables the Kubelet's server", Type: []string{"boolean"}, Format: "", }, }, "address": { SchemaProps: spec.SchemaProps{ Description: "address is the IP address for the Kubelet to serve on (set to 0.0.0.0 for all interfaces)", Type: []string{"string"}, Format: "", }, }, "port": { SchemaProps: spec.SchemaProps{ Description: "port is the port for the Kubelet to serve on.", Type: []string{"integer"}, Format: "int32", }, }, "readOnlyPort": { SchemaProps: spec.SchemaProps{ Description: "readOnlyPort is the read-only port for the Kubelet to serve on with no authentication/authorization (set to 0 to disable)", Type: []string{"integer"}, Format: "int32", }, }, "tlsCertFile": { SchemaProps: spec.SchemaProps{ Description: "tlsCertFile is the file containing x509 Certificate for HTTPS. (CA cert, if any, concatenated after server cert). If tlsCertFile and tlsPrivateKeyFile are not provided, a self-signed certificate and key are generated for the public address and saved to the directory passed to certDir.", Type: []string{"string"}, Format: "", }, }, "tlsPrivateKeyFile": { SchemaProps: spec.SchemaProps{ Description: "tlsPrivateKeyFile is the ile containing x509 private key matching tlsCertFile.", Type: []string{"string"}, Format: "", }, }, "certDirectory": { SchemaProps: spec.SchemaProps{ Description: "certDirectory is the directory where the TLS certs are located (by default /var/run/kubernetes). If tlsCertFile and tlsPrivateKeyFile are provided, this flag will be ignored.", Type: []string{"string"}, Format: "", }, }, "authentication": { SchemaProps: spec.SchemaProps{ Description: "authentication specifies how requests to the Kubelet's server are authenticated", Ref: spec.MustCreateRef("#/definitions/componentconfig.KubeletAuthentication"), }, }, "authorization": { SchemaProps: spec.SchemaProps{ Description: "authorization specifies how requests to the Kubelet's server are authorized", Ref: spec.MustCreateRef("#/definitions/componentconfig.KubeletAuthorization"), }, }, "hostnameOverride": { SchemaProps: spec.SchemaProps{ Description: "hostnameOverride is the hostname used to identify the kubelet instead of the actual hostname.", Type: []string{"string"}, Format: "", }, }, "podInfraContainerImage": { SchemaProps: spec.SchemaProps{ Description: "podInfraContainerImage is the image whose network/ipc namespaces containers in each pod will use.", Type: []string{"string"}, Format: "", }, }, "dockerEndpoint": { SchemaProps: spec.SchemaProps{ Description: "dockerEndpoint is the path to the docker endpoint to communicate with.", Type: []string{"string"}, Format: "", }, }, "rootDirectory": { SchemaProps: spec.SchemaProps{ Description: "rootDirectory is the directory path to place kubelet files (volume mounts,etc).", Type: []string{"string"}, Format: "", }, }, "seccompProfileRoot": { SchemaProps: spec.SchemaProps{ Description: "seccompProfileRoot is the directory path for seccomp profiles.", Type: []string{"string"}, Format: "", }, }, "allowPrivileged": { SchemaProps: spec.SchemaProps{ Description: "allowPrivileged enables containers to request privileged mode. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "hostNetworkSources": { SchemaProps: spec.SchemaProps{ Description: "hostNetworkSources is a comma-separated list of sources from which the Kubelet allows pods to use of host network. Defaults to \"*\". Valid options are \"file\", \"http\", \"api\", and \"*\" (all sources).", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "hostPIDSources": { SchemaProps: spec.SchemaProps{ Description: "hostPIDSources is a comma-separated list of sources from which the Kubelet allows pods to use the host pid namespace. Defaults to \"*\".", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "hostIPCSources": { SchemaProps: spec.SchemaProps{ Description: "hostIPCSources is a comma-separated list of sources from which the Kubelet allows pods to use the host ipc namespace. Defaults to \"*\".", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "registryPullQPS": { SchemaProps: spec.SchemaProps{ Description: "registryPullQPS is the limit of registry pulls per second. If 0, unlimited. Set to 0 for no limit. Defaults to 5.0.", Type: []string{"integer"}, Format: "int32", }, }, "registryBurst": { SchemaProps: spec.SchemaProps{ Description: "registryBurst is the maximum size of a bursty pulls, temporarily allows pulls to burst to this number, while still not exceeding registryQps. Only used if registryQPS > 0.", Type: []string{"integer"}, Format: "int32", }, }, "eventRecordQPS": { SchemaProps: spec.SchemaProps{ Description: "eventRecordQPS is the maximum event creations per second. If 0, there is no limit enforced.", Type: []string{"integer"}, Format: "int32", }, }, "eventBurst": { SchemaProps: spec.SchemaProps{ Description: "eventBurst is the maximum size of a bursty event records, temporarily allows event records to burst to this number, while still not exceeding event-qps. Only used if eventQps > 0", Type: []string{"integer"}, Format: "int32", }, }, "enableDebuggingHandlers": { SchemaProps: spec.SchemaProps{ Description: "enableDebuggingHandlers enables server endpoints for log collection and local running of containers and commands", Type: []string{"boolean"}, Format: "", }, }, "minimumGCAge": { SchemaProps: spec.SchemaProps{ Description: "minimumGCAge is the minimum age for a finished container before it is garbage collected.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "maxPerPodContainerCount": { SchemaProps: spec.SchemaProps{ Description: "maxPerPodContainerCount is the maximum number of old instances to retain per container. Each container takes up some disk space.", Type: []string{"integer"}, Format: "int32", }, }, "maxContainerCount": { SchemaProps: spec.SchemaProps{ Description: "maxContainerCount is the maximum number of old instances of containers to retain globally. Each container takes up some disk space.", Type: []string{"integer"}, Format: "int32", }, }, "cAdvisorPort": { SchemaProps: spec.SchemaProps{ Description: "cAdvisorPort is the port of the localhost cAdvisor endpoint", Type: []string{"integer"}, Format: "int32", }, }, "healthzPort": { SchemaProps: spec.SchemaProps{ Description: "healthzPort is the port of the localhost healthz endpoint", Type: []string{"integer"}, Format: "int32", }, }, "healthzBindAddress": { SchemaProps: spec.SchemaProps{ Description: "healthzBindAddress is the IP address for the healthz server to serve on.", Type: []string{"string"}, Format: "", }, }, "oomScoreAdj": { SchemaProps: spec.SchemaProps{ Description: "oomScoreAdj is The oom-score-adj value for kubelet process. Values must be within the range [-1000, 1000].", Type: []string{"integer"}, Format: "int32", }, }, "registerNode": { SchemaProps: spec.SchemaProps{ Description: "registerNode enables automatic registration with the apiserver.", Type: []string{"boolean"}, Format: "", }, }, "clusterDomain": { SchemaProps: spec.SchemaProps{ Description: "clusterDomain is the DNS domain for this cluster. If set, kubelet will configure all containers to search this domain in addition to the host's search domains.", Type: []string{"string"}, Format: "", }, }, "masterServiceNamespace": { SchemaProps: spec.SchemaProps{ Description: "masterServiceNamespace is The namespace from which the kubernetes master services should be injected into pods.", Type: []string{"string"}, Format: "", }, }, "clusterDNS": { SchemaProps: spec.SchemaProps{ Description: "clusterDNS is the IP address for a cluster DNS server. If set, kubelet will configure all containers to use this for DNS resolution in addition to the host's DNS servers", Type: []string{"string"}, Format: "", }, }, "streamingConnectionIdleTimeout": { SchemaProps: spec.SchemaProps{ Description: "streamingConnectionIdleTimeout is the maximum time a streaming connection can be idle before the connection is automatically closed.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "nodeStatusUpdateFrequency": { SchemaProps: spec.SchemaProps{ Description: "nodeStatusUpdateFrequency is the frequency that kubelet posts node status to master. Note: be cautious when changing the constant, it must work with nodeMonitorGracePeriod in nodecontroller.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "imageMinimumGCAge": { SchemaProps: spec.SchemaProps{ Description: "imageMinimumGCAge is the minimum age for an unused image before it is garbage collected.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "imageGCHighThresholdPercent": { SchemaProps: spec.SchemaProps{ Description: "imageGCHighThresholdPercent is the percent of disk usage after which image garbage collection is always run.", Type: []string{"integer"}, Format: "int32", }, }, "imageGCLowThresholdPercent": { SchemaProps: spec.SchemaProps{ Description: "imageGCLowThresholdPercent is the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to.", Type: []string{"integer"}, Format: "int32", }, }, "lowDiskSpaceThresholdMB": { SchemaProps: spec.SchemaProps{ Description: "lowDiskSpaceThresholdMB is the absolute free disk space, in MB, to maintain. When disk space falls below this threshold, new pods would be rejected.", Type: []string{"integer"}, Format: "int32", }, }, "volumeStatsAggPeriod": { SchemaProps: spec.SchemaProps{ Description: "How frequently to calculate and cache volume disk usage for all pods", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "networkPluginName": { SchemaProps: spec.SchemaProps{ Description: "networkPluginName is the name of the network plugin to be invoked for various events in kubelet/pod lifecycle", Type: []string{"string"}, Format: "", }, }, "networkPluginMTU": { SchemaProps: spec.SchemaProps{ Description: "networkPluginMTU is the MTU to be passed to the network plugin, and overrides the default MTU for cases where it cannot be automatically computed (such as IPSEC).", Type: []string{"integer"}, Format: "int32", }, }, "networkPluginDir": { SchemaProps: spec.SchemaProps{ Description: "networkPluginDir is the full path of the directory in which to search for network plugins (and, for backwards-compat, CNI config files)", Type: []string{"string"}, Format: "", }, }, "cniConfDir": { SchemaProps: spec.SchemaProps{ Description: "CNIConfDir is the full path of the directory in which to search for CNI config files", Type: []string{"string"}, Format: "", }, }, "cniBinDir": { SchemaProps: spec.SchemaProps{ Description: "CNIBinDir is the full path of the directory in which to search for CNI plugin binaries", Type: []string{"string"}, Format: "", }, }, "volumePluginDir": { SchemaProps: spec.SchemaProps{ Description: "volumePluginDir is the full path of the directory in which to search for additional third party volume plugins", Type: []string{"string"}, Format: "", }, }, "cloudProvider": { SchemaProps: spec.SchemaProps{ Description: "cloudProvider is the provider for cloud services.", Type: []string{"string"}, Format: "", }, }, "cloudConfigFile": { SchemaProps: spec.SchemaProps{ Description: "cloudConfigFile is the path to the cloud provider configuration file.", Type: []string{"string"}, Format: "", }, }, "kubeletCgroups": { SchemaProps: spec.SchemaProps{ Description: "KubeletCgroups is the absolute name of cgroups to isolate the kubelet in.", Type: []string{"string"}, Format: "", }, }, "experimentalCgroupsPerQOS": { SchemaProps: spec.SchemaProps{ Description: "Enable QoS based Cgroup hierarchy: top level cgroups for QoS Classes And all Burstable and BestEffort pods are brought up under their specific top level QoS cgroup.", Type: []string{"boolean"}, Format: "", }, }, "cgroupDriver": { SchemaProps: spec.SchemaProps{ Description: "driver that the kubelet uses to manipulate cgroups on the host (cgroupfs or systemd)", Type: []string{"string"}, Format: "", }, }, "runtimeCgroups": { SchemaProps: spec.SchemaProps{ Description: "Cgroups that container runtime is expected to be isolated in.", Type: []string{"string"}, Format: "", }, }, "systemCgroups": { SchemaProps: spec.SchemaProps{ Description: "SystemCgroups is absolute name of cgroups in which to place all non-kernel processes that are not already in a container. Empty for no container. Rolling back the flag requires a reboot.", Type: []string{"string"}, Format: "", }, }, "cgroupRoot": { SchemaProps: spec.SchemaProps{ Description: "CgroupRoot is the root cgroup to use for pods. If ExperimentalCgroupsPerQOS is enabled, this is the root of the QoS cgroup hierarchy.", Type: []string{"string"}, Format: "", }, }, "containerRuntime": { SchemaProps: spec.SchemaProps{ Description: "containerRuntime is the container runtime to use.", Type: []string{"string"}, Format: "", }, }, "remoteRuntimeEndpoint": { SchemaProps: spec.SchemaProps{ Description: "remoteRuntimeEndpoint is the endpoint of remote runtime service", Type: []string{"string"}, Format: "", }, }, "remoteImageEndpoint": { SchemaProps: spec.SchemaProps{ Description: "remoteImageEndpoint is the endpoint of remote image service", Type: []string{"string"}, Format: "", }, }, "runtimeRequestTimeout": { SchemaProps: spec.SchemaProps{ Description: "runtimeRequestTimeout is the timeout for all runtime requests except long running requests - pull, logs, exec and attach.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "rktPath": { SchemaProps: spec.SchemaProps{ Description: "rktPath is the path of rkt binary. Leave empty to use the first rkt in $PATH.", Type: []string{"string"}, Format: "", }, }, "experimentalMounterPath": { SchemaProps: spec.SchemaProps{ Description: "experimentalMounterPath is the path of mounter binary. Leave empty to use the default mount path", Type: []string{"string"}, Format: "", }, }, "rktAPIEndpoint": { SchemaProps: spec.SchemaProps{ Description: "rktApiEndpoint is the endpoint of the rkt API service to communicate with.", Type: []string{"string"}, Format: "", }, }, "rktStage1Image": { SchemaProps: spec.SchemaProps{ Description: "rktStage1Image is the image to use as stage1. Local paths and http/https URLs are supported.", Type: []string{"string"}, Format: "", }, }, "lockFilePath": { SchemaProps: spec.SchemaProps{ Description: "lockFilePath is the path that kubelet will use to as a lock file. It uses this file as a lock to synchronize with other kubelet processes that may be running.", Type: []string{"string"}, Format: "", }, }, "exitOnLockContention": { SchemaProps: spec.SchemaProps{ Description: "ExitOnLockContention is a flag that signifies to the kubelet that it is running in \"bootstrap\" mode. This requires that 'LockFilePath' has been set. This will cause the kubelet to listen to inotify events on the lock file, releasing it and exiting when another process tries to open that file.", Type: []string{"boolean"}, Format: "", }, }, "hairpinMode": { SchemaProps: spec.SchemaProps{ Description: "How should the kubelet configure the container bridge for hairpin packets. Setting this flag allows endpoints in a Service to loadbalance back to themselves if they should try to access their own Service. Values:\n \"promiscuous-bridge\": make the container bridge promiscuous.\n \"hairpin-veth\": set the hairpin flag on container veth interfaces.\n \"none\": do nothing.\nGenerally, one must set --hairpin-mode=veth-flag to achieve hairpin NAT, because promiscous-bridge assumes the existence of a container bridge named cbr0.", Type: []string{"string"}, Format: "", }, }, "babysitDaemons": { SchemaProps: spec.SchemaProps{ Description: "The node has babysitter process monitoring docker and kubelet.", Type: []string{"boolean"}, Format: "", }, }, "maxPods": { SchemaProps: spec.SchemaProps{ Description: "maxPods is the number of pods that can run on this Kubelet.", Type: []string{"integer"}, Format: "int32", }, }, "nvidiaGPUs": { SchemaProps: spec.SchemaProps{ Description: "nvidiaGPUs is the number of NVIDIA GPU devices on this node.", Type: []string{"integer"}, Format: "int32", }, }, "dockerExecHandlerName": { SchemaProps: spec.SchemaProps{ Description: "dockerExecHandlerName is the handler to use when executing a command in a container. Valid values are 'native' and 'nsenter'. Defaults to 'native'.", Type: []string{"string"}, Format: "", }, }, "podCIDR": { SchemaProps: spec.SchemaProps{ Description: "The CIDR to use for pod IP addresses, only used in standalone mode. In cluster mode, this is obtained from the master.", Type: []string{"string"}, Format: "", }, }, "resolvConf": { SchemaProps: spec.SchemaProps{ Description: "ResolverConfig is the resolver configuration file used as the basis for the container DNS resolution configuration.\"), []", Type: []string{"string"}, Format: "", }, }, "cpuCFSQuota": { SchemaProps: spec.SchemaProps{ Description: "cpuCFSQuota is Enable CPU CFS quota enforcement for containers that specify CPU limits", Type: []string{"boolean"}, Format: "", }, }, "containerized": { SchemaProps: spec.SchemaProps{ Description: "containerized should be set to true if kubelet is running in a container.", Type: []string{"boolean"}, Format: "", }, }, "maxOpenFiles": { SchemaProps: spec.SchemaProps{ Description: "maxOpenFiles is Number of files that can be opened by Kubelet process.", Type: []string{"integer"}, Format: "int64", }, }, "reconcileCIDR": { SchemaProps: spec.SchemaProps{ Description: "reconcileCIDR is Reconcile node CIDR with the CIDR specified by the API server. Won't have any effect if register-node is false.", Type: []string{"boolean"}, Format: "", }, }, "registerSchedulable": { SchemaProps: spec.SchemaProps{ Description: "registerSchedulable tells the kubelet to register the node as schedulable. Won't have any effect if register-node is false.", Type: []string{"boolean"}, Format: "", }, }, "contentType": { SchemaProps: spec.SchemaProps{ Description: "contentType is contentType of requests sent to apiserver.", Type: []string{"string"}, Format: "", }, }, "kubeAPIQPS": { SchemaProps: spec.SchemaProps{ Description: "kubeAPIQPS is the QPS to use while talking with kubernetes apiserver", Type: []string{"integer"}, Format: "int32", }, }, "kubeAPIBurst": { SchemaProps: spec.SchemaProps{ Description: "kubeAPIBurst is the burst to allow while talking with kubernetes apiserver", Type: []string{"integer"}, Format: "int32", }, }, "serializeImagePulls": { SchemaProps: spec.SchemaProps{ Description: "serializeImagePulls when enabled, tells the Kubelet to pull images one at a time. We recommend *not* changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Issue #10959 has more details.", Type: []string{"boolean"}, Format: "", }, }, "outOfDiskTransitionFrequency": { SchemaProps: spec.SchemaProps{ Description: "outOfDiskTransitionFrequency is duration for which the kubelet has to wait before transitioning out of out-of-disk node condition status.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "nodeIP": { SchemaProps: spec.SchemaProps{ Description: "nodeIP is IP address of the node. If set, kubelet will use this IP address for the node.", Type: []string{"string"}, Format: "", }, }, "nodeLabels": { SchemaProps: spec.SchemaProps{ Description: "nodeLabels to add when registering the node in the cluster.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "nonMasqueradeCIDR": { SchemaProps: spec.SchemaProps{ Description: "nonMasqueradeCIDR configures masquerading: traffic to IPs outside this range will use IP masquerade.", Type: []string{"string"}, Format: "", }, }, "enableCustomMetrics": { SchemaProps: spec.SchemaProps{ Description: "enable gathering custom metrics.", Type: []string{"boolean"}, Format: "", }, }, "evictionHard": { SchemaProps: spec.SchemaProps{ Description: "Comma-delimited list of hard eviction expressions. For example, 'memory.available<300Mi'.", Type: []string{"string"}, Format: "", }, }, "evictionSoft": { SchemaProps: spec.SchemaProps{ Description: "Comma-delimited list of soft eviction expressions. For example, 'memory.available<300Mi'.", Type: []string{"string"}, Format: "", }, }, "evictionSoftGracePeriod": { SchemaProps: spec.SchemaProps{ Description: "Comma-delimeted list of grace periods for each soft eviction signal. For example, 'memory.available=30s'.", Type: []string{"string"}, Format: "", }, }, "evictionPressureTransitionPeriod": { SchemaProps: spec.SchemaProps{ Description: "Duration for which the kubelet has to wait before transitioning out of an eviction pressure condition.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "evictionMaxPodGracePeriod": { SchemaProps: spec.SchemaProps{ Description: "Maximum allowed grace period (in seconds) to use when terminating pods in response to a soft eviction threshold being met.", Type: []string{"integer"}, Format: "int32", }, }, "evictionMinimumReclaim": { SchemaProps: spec.SchemaProps{ Description: "Comma-delimited list of minimum reclaims (e.g. imagefs.available=2Gi) that describes the minimum amount of resource the kubelet will reclaim when performing a pod eviction if that resource is under pressure.", Type: []string{"string"}, Format: "", }, }, "experimentalKernelMemcgNotification": { SchemaProps: spec.SchemaProps{ Description: "If enabled, the kubelet will integrate with the kernel memcg notification to determine if memory eviction thresholds are crossed rather than polling.", Type: []string{"boolean"}, Format: "", }, }, "podsPerCore": { SchemaProps: spec.SchemaProps{ Description: "Maximum number of pods per core. Cannot exceed MaxPods", Type: []string{"integer"}, Format: "int32", }, }, "enableControllerAttachDetach": { SchemaProps: spec.SchemaProps{ Description: "enableControllerAttachDetach enables the Attach/Detach controller to manage attachment/detachment of volumes scheduled to this node, and disables kubelet from executing any attach/detach operations", Type: []string{"boolean"}, Format: "", }, }, "systemReserved": { SchemaProps: spec.SchemaProps{ Description: "A set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for non-kubernetes components. Currently only cpu and memory are supported. [default=none] See http://kubernetes.io/docs/user-guide/compute-resources for more detail.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "kubeReserved": { SchemaProps: spec.SchemaProps{ Description: "A set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently only cpu and memory are supported. [default=none] See http://kubernetes.io/docs/user-guide/compute-resources for more detail.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "protectKernelDefaults": { SchemaProps: spec.SchemaProps{ Description: "Default behaviour for kernel tuning", Type: []string{"boolean"}, Format: "", }, }, "makeIPTablesUtilChains": { SchemaProps: spec.SchemaProps{ Description: "If true, Kubelet ensures a set of iptables rules are present on host. These rules will serve as utility for various components, e.g. kube-proxy. The rules will be created based on IPTablesMasqueradeBit and IPTablesDropBit.", Type: []string{"boolean"}, Format: "", }, }, "iptablesMasqueradeBit": { SchemaProps: spec.SchemaProps{ Description: "iptablesMasqueradeBit is the bit of the iptables fwmark space to use for SNAT Values must be within the range [0, 31]. Warning: Please match the value of corresponding parameter in kube-proxy", Type: []string{"integer"}, Format: "int32", }, }, "iptablesDropBit": { SchemaProps: spec.SchemaProps{ Description: "iptablesDropBit is the bit of the iptables fwmark space to use for dropping packets. Kubelet will ensure iptables mark and drop rules. Values must be within the range [0, 31]. Must be different from IPTablesMasqueradeBit", Type: []string{"integer"}, Format: "int32", }, }, "experimentalAllowedUnsafeSysctls": { SchemaProps: spec.SchemaProps{ Description: "Whitelist of unsafe sysctls or sysctl patterns (ending in *).", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "featureGates": { SchemaProps: spec.SchemaProps{ Description: "featureGates is a string of comma-separated key=value pairs that describe feature gates for alpha/experimental features.", Type: []string{"string"}, Format: "", }, }, "enableCRI": { SchemaProps: spec.SchemaProps{ Description: "Enable Container Runtime Interface (CRI) integration.", Type: []string{"boolean"}, Format: "", }, }, "experimentalFailSwapOn": { SchemaProps: spec.SchemaProps{ Description: "Tells the Kubelet to fail to start if swap is enabled on the node.", Type: []string{"boolean"}, Format: "", }, }, "ExperimentalCheckNodeCapabilitiesBeforeMount": { SchemaProps: spec.SchemaProps{ Description: "This flag, if set, enables a check prior to mount operations to verify that the required components (binaries, etc.) to mount the volume are available on the underlying node. If the check is enabled and fails the mount operation fails.", Type: []string{"boolean"}, Format: "", }, }, "keepTerminatedPodVolumes": { SchemaProps: spec.SchemaProps{ Description: "This flag, if set, instructs the kubelet to keep volumes from terminated pods mounted to the node. This can be useful for debugging volume related issues.", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"TypeMeta", "podManifestPath", "syncFrequency", "fileCheckFrequency", "httpCheckFrequency", "manifestURL", "manifestURLHeader", "enableServer", "address", "port", "readOnlyPort", "tlsCertFile", "tlsPrivateKeyFile", "certDirectory", "authentication", "authorization", "hostnameOverride", "podInfraContainerImage", "dockerEndpoint", "rootDirectory", "seccompProfileRoot", "allowPrivileged", "hostNetworkSources", "hostPIDSources", "hostIPCSources", "registryPullQPS", "registryBurst", "eventRecordQPS", "eventBurst", "enableDebuggingHandlers", "minimumGCAge", "maxPerPodContainerCount", "maxContainerCount", "cAdvisorPort", "healthzPort", "healthzBindAddress", "oomScoreAdj", "registerNode", "clusterDomain", "masterServiceNamespace", "clusterDNS", "streamingConnectionIdleTimeout", "nodeStatusUpdateFrequency", "imageMinimumGCAge", "imageGCHighThresholdPercent", "imageGCLowThresholdPercent", "lowDiskSpaceThresholdMB", "volumeStatsAggPeriod", "networkPluginName", "networkPluginMTU", "networkPluginDir", "cniConfDir", "cniBinDir", "volumePluginDir", "containerRuntime", "remoteRuntimeEndpoint", "remoteImageEndpoint", "lockFilePath", "exitOnLockContention", "hairpinMode", "babysitDaemons", "maxPods", "nvidiaGPUs", "dockerExecHandlerName", "podCIDR", "resolvConf", "cpuCFSQuota", "containerized", "maxOpenFiles", "reconcileCIDR", "registerSchedulable", "contentType", "kubeAPIQPS", "kubeAPIBurst", "serializeImagePulls", "nodeLabels", "nonMasqueradeCIDR", "enableCustomMetrics", "podsPerCore", "enableControllerAttachDetach", "systemReserved", "kubeReserved", "protectKernelDefaults", "makeIPTablesUtilChains", "iptablesMasqueradeBit", "iptablesDropBit", "featureGates"}, }, }, Dependencies: []string{ "componentconfig.KubeletAuthentication", "componentconfig.KubeletAuthorization", "unversioned.Duration", "unversioned.TypeMeta"}, }, "componentconfig.KubeletWebhookAuthentication": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "enabled": { SchemaProps: spec.SchemaProps{ Description: "enabled allows bearer token authentication backed by the tokenreviews.authentication.k8s.io API", Type: []string{"boolean"}, Format: "", }, }, "cacheTTL": { SchemaProps: spec.SchemaProps{ Description: "cacheTTL enables caching of authentication results", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, }, Required: []string{"enabled", "cacheTTL"}, }, }, Dependencies: []string{ "unversioned.Duration"}, }, "componentconfig.KubeletWebhookAuthorization": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "cacheAuthorizedTTL": { SchemaProps: spec.SchemaProps{ Description: "cacheAuthorizedTTL is the duration to cache 'authorized' responses from the webhook authorizer.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "cacheUnauthorizedTTL": { SchemaProps: spec.SchemaProps{ Description: "cacheUnauthorizedTTL is the duration to cache 'unauthorized' responses from the webhook authorizer.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, }, Required: []string{"cacheAuthorizedTTL", "cacheUnauthorizedTTL"}, }, }, Dependencies: []string{ "unversioned.Duration"}, }, "componentconfig.KubeletX509Authentication": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "clientCAFile": { SchemaProps: spec.SchemaProps{ Description: "clientCAFile is the path to a PEM-encoded certificate bundle. If set, any request presenting a client certificate signed by one of the authorities in the bundle is authenticated with a username corresponding to the CommonName, and groups corresponding to the Organization in the client certificate.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"clientCAFile"}, }, }, Dependencies: []string{}, }, "componentconfig.LeaderElectionConfiguration": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "LeaderElectionConfiguration defines the configuration of leader election clients for components that can run with leader election enabled.", Properties: map[string]spec.Schema{ "leaderElect": { SchemaProps: spec.SchemaProps{ Description: "leaderElect enables a leader election client to gain leadership before executing the main loop. Enable this when running replicated components for high availability.", Type: []string{"boolean"}, Format: "", }, }, "leaseDuration": { SchemaProps: spec.SchemaProps{ Description: "leaseDuration is the duration that non-leader candidates will wait after observing a leadership renewal until attempting to acquire leadership of a led but unrenewed leader slot. This is effectively the maximum duration that a leader can be stopped before it is replaced by another candidate. This is only applicable if leader election is enabled.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "renewDeadline": { SchemaProps: spec.SchemaProps{ Description: "renewDeadline is the interval between attempts by the acting master to renew a leadership slot before it stops leading. This must be less than or equal to the lease duration. This is only applicable if leader election is enabled.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "retryPeriod": { SchemaProps: spec.SchemaProps{ Description: "retryPeriod is the duration the clients should wait between attempting acquisition and renewal of a leadership. This is only applicable if leader election is enabled.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, }, Required: []string{"leaderElect", "leaseDuration", "renewDeadline", "retryPeriod"}, }, }, Dependencies: []string{ "unversioned.Duration"}, }, "componentconfig.PersistentVolumeRecyclerConfiguration": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "maximumRetry": { SchemaProps: spec.SchemaProps{ Description: "maximumRetry is number of retries the PV recycler will execute on failure to recycle PV.", Type: []string{"integer"}, Format: "int32", }, }, "minimumTimeoutNFS": { SchemaProps: spec.SchemaProps{ Description: "minimumTimeoutNFS is the minimum ActiveDeadlineSeconds to use for an NFS Recycler pod.", Type: []string{"integer"}, Format: "int32", }, }, "podTemplateFilePathNFS": { SchemaProps: spec.SchemaProps{ Description: "podTemplateFilePathNFS is the file path to a pod definition used as a template for NFS persistent volume recycling", Type: []string{"string"}, Format: "", }, }, "incrementTimeoutNFS": { SchemaProps: spec.SchemaProps{ Description: "incrementTimeoutNFS is the increment of time added per Gi to ActiveDeadlineSeconds for an NFS scrubber pod.", Type: []string{"integer"}, Format: "int32", }, }, "podTemplateFilePathHostPath": { SchemaProps: spec.SchemaProps{ Description: "podTemplateFilePathHostPath is the file path to a pod definition used as a template for HostPath persistent volume recycling. This is for development and testing only and will not work in a multi-node cluster.", Type: []string{"string"}, Format: "", }, }, "minimumTimeoutHostPath": { SchemaProps: spec.SchemaProps{ Description: "minimumTimeoutHostPath is the minimum ActiveDeadlineSeconds to use for a HostPath Recycler pod. This is for development and testing only and will not work in a multi-node cluster.", Type: []string{"integer"}, Format: "int32", }, }, "incrementTimeoutHostPath": { SchemaProps: spec.SchemaProps{ Description: "incrementTimeoutHostPath is the increment of time added per Gi to ActiveDeadlineSeconds for a HostPath scrubber pod. This is for development and testing only and will not work in a multi-node cluster.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"maximumRetry", "minimumTimeoutNFS", "podTemplateFilePathNFS", "incrementTimeoutNFS", "podTemplateFilePathHostPath", "minimumTimeoutHostPath", "incrementTimeoutHostPath"}, }, }, Dependencies: []string{}, }, "componentconfig.PortRangeVar": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "Val": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Val"}, }, }, Dependencies: []string{}, }, "componentconfig.VolumeConfiguration": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "VolumeConfiguration contains *all* enumerated flags meant to configure all volume plugins. From this config, the controller-manager binary will create many instances of volume.VolumeConfig, each containing only the configuration needed for that plugin which are then passed to the appropriate plugin. The ControllerManager binary is the only part of the code which knows what plugins are supported and which flags correspond to each plugin.", Properties: map[string]spec.Schema{ "enableHostPathProvisioning": { SchemaProps: spec.SchemaProps{ Description: "enableHostPathProvisioning enables HostPath PV provisioning when running without a cloud provider. This allows testing and development of provisioning features. HostPath provisioning is not supported in any way, won't work in a multi-node cluster, and should not be used for anything other than testing or development.", Type: []string{"boolean"}, Format: "", }, }, "enableDynamicProvisioning": { SchemaProps: spec.SchemaProps{ Description: "enableDynamicProvisioning enables the provisioning of volumes when running within an environment that supports dynamic provisioning. Defaults to true.", Type: []string{"boolean"}, Format: "", }, }, "persitentVolumeRecyclerConfiguration": { SchemaProps: spec.SchemaProps{ Description: "persistentVolumeRecyclerConfiguration holds configuration for persistent volume plugins.", Ref: spec.MustCreateRef("#/definitions/componentconfig.PersistentVolumeRecyclerConfiguration"), }, }, "flexVolumePluginDir": { SchemaProps: spec.SchemaProps{ Description: "volumePluginDir is the full path of the directory in which the flex volume plugin should search for additional third party volume plugins", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"enableHostPathProvisioning", "enableDynamicProvisioning", "persitentVolumeRecyclerConfiguration", "flexVolumePluginDir"}, }, }, Dependencies: []string{ "componentconfig.PersistentVolumeRecyclerConfiguration"}, }, "extensions.APIVersion": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "An APIVersion represents a single concrete version of an object model.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name of this version (e.g. 'v1').", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "extensions.CustomMetricCurrentStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Custom Metric name.", Type: []string{"string"}, Format: "", }, }, "value": { SchemaProps: spec.SchemaProps{ Description: "Custom Metric value (average).", Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, Required: []string{"name", "value"}, }, }, Dependencies: []string{ "resource.Quantity"}, }, "extensions.CustomMetricCurrentStatusList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "items": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.CustomMetricCurrentStatus"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "extensions.CustomMetricCurrentStatus"}, }, "extensions.CustomMetricTarget": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Alpha-level support for Custom Metrics in HPA (as annotations).", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Custom Metric name.", Type: []string{"string"}, Format: "", }, }, "value": { SchemaProps: spec.SchemaProps{ Description: "Custom Metric value (average).", Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, Required: []string{"name", "value"}, }, }, Dependencies: []string{ "resource.Quantity"}, }, "extensions.CustomMetricTargetList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "items": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.CustomMetricTarget"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "extensions.CustomMetricTarget"}, }, "extensions.DaemonSet": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DaemonSet represents the configuration of a daemon set.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the desired behavior of this daemon set. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/extensions.DaemonSetSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is the current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/extensions.DaemonSetStatus"), }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "extensions.DaemonSetSpec", "extensions.DaemonSetStatus"}, }, "extensions.DaemonSetList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DaemonSetList is a collection of daemon sets.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of daemon sets.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.DaemonSet"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "extensions.DaemonSet", "unversioned.ListMeta"}, }, "extensions.DaemonSetSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DaemonSetSpec is the specification of a daemon set.", Properties: map[string]spec.Schema{ "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template is the object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template", Ref: spec.MustCreateRef("#/definitions/api.PodTemplateSpec"), }, }, }, Required: []string{"template"}, }, }, Dependencies: []string{ "api.PodTemplateSpec", "unversioned.LabelSelector"}, }, "extensions.DaemonSetStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DaemonSetStatus represents the current status of a daemon set.", Properties: map[string]spec.Schema{ "currentNumberScheduled": { SchemaProps: spec.SchemaProps{ Description: "CurrentNumberScheduled is the number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod.", Type: []string{"integer"}, Format: "int32", }, }, "numberMisscheduled": { SchemaProps: spec.SchemaProps{ Description: "NumberMisscheduled is the number of nodes that are running the daemon pod, but are not supposed to run the daemon pod.", Type: []string{"integer"}, Format: "int32", }, }, "desiredNumberScheduled": { SchemaProps: spec.SchemaProps{ Description: "DesiredNumberScheduled is the total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod).", Type: []string{"integer"}, Format: "int32", }, }, "numberReady": { SchemaProps: spec.SchemaProps{ Description: "NumberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"currentNumberScheduled", "numberMisscheduled", "desiredNumberScheduled", "numberReady"}, }, }, Dependencies: []string{}, }, "extensions.Deployment": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Specification of the desired behavior of the Deployment.", Ref: spec.MustCreateRef("#/definitions/extensions.DeploymentSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Most recently observed status of the Deployment.", Ref: spec.MustCreateRef("#/definitions/extensions.DeploymentStatus"), }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "extensions.DeploymentSpec", "extensions.DeploymentStatus"}, }, "extensions.DeploymentCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentCondition describes the state of a deployment at a certain point.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of deployment condition.", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False, Unknown.", Type: []string{"string"}, Format: "", }, }, "lastUpdateTime": { SchemaProps: spec.SchemaProps{ Description: "The last time this condition was updated.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition transitioned from one status to another.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "The reason for the condition's last transition.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "A human readable message indicating details about the transition.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "status"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "extensions.DeploymentList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of deployments.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.Deployment"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "extensions.Deployment", "unversioned.ListMeta"}, }, "extensions.DeploymentRollback": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentRollback stores the information required to rollback a deployment.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "name": { SchemaProps: spec.SchemaProps{ Description: "Required: This must match the Name of a deployment.", Type: []string{"string"}, Format: "", }, }, "updatedAnnotations": { SchemaProps: spec.SchemaProps{ Description: "The annotations to be updated to a deployment", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "rollbackTo": { SchemaProps: spec.SchemaProps{ Description: "The config of this deployment rollback.", Ref: spec.MustCreateRef("#/definitions/extensions.RollbackConfig"), }, }, }, Required: []string{"name", "rollbackTo"}, }, }, Dependencies: []string{ "extensions.RollbackConfig"}, }, "extensions.DeploymentSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", Type: []string{"integer"}, Format: "int32", }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template describes the pods that will be created.", Ref: spec.MustCreateRef("#/definitions/api.PodTemplateSpec"), }, }, "strategy": { SchemaProps: spec.SchemaProps{ Description: "The deployment strategy to use to replace existing pods with new ones.", Ref: spec.MustCreateRef("#/definitions/extensions.DeploymentStrategy"), }, }, "minReadySeconds": { SchemaProps: spec.SchemaProps{ Description: "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", Type: []string{"integer"}, Format: "int32", }, }, "revisionHistoryLimit": { SchemaProps: spec.SchemaProps{ Description: "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", Type: []string{"integer"}, Format: "int32", }, }, "paused": { SchemaProps: spec.SchemaProps{ Description: "Indicates that the deployment is paused and will not be processed by the deployment controller.", Type: []string{"boolean"}, Format: "", }, }, "rollbackTo": { SchemaProps: spec.SchemaProps{ Description: "The config this deployment is rolling back to. Will be cleared after rollback is done.", Ref: spec.MustCreateRef("#/definitions/extensions.RollbackConfig"), }, }, "progressDeadlineSeconds": { SchemaProps: spec.SchemaProps{ Description: "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"template"}, }, }, Dependencies: []string{ "api.PodTemplateSpec", "extensions.DeploymentStrategy", "extensions.RollbackConfig", "unversioned.LabelSelector"}, }, "extensions.DeploymentStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "observedGeneration": { SchemaProps: spec.SchemaProps{ Description: "The generation observed by the deployment controller.", Type: []string{"integer"}, Format: "int64", }, }, "replicas": { SchemaProps: spec.SchemaProps{ Description: "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", Type: []string{"integer"}, Format: "int32", }, }, "updatedReplicas": { SchemaProps: spec.SchemaProps{ Description: "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", Type: []string{"integer"}, Format: "int32", }, }, "availableReplicas": { SchemaProps: spec.SchemaProps{ Description: "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", Type: []string{"integer"}, Format: "int32", }, }, "unavailableReplicas": { SchemaProps: spec.SchemaProps{ Description: "Total number of unavailable pods targeted by this deployment.", Type: []string{"integer"}, Format: "int32", }, }, "conditions": { SchemaProps: spec.SchemaProps{ Description: "Represents the latest available observations of a deployment's current state.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.DeploymentCondition"), }, }, }, }, }, }, }, }, Dependencies: []string{ "extensions.DeploymentCondition"}, }, "extensions.DeploymentStrategy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.", Type: []string{"string"}, Format: "", }, }, "rollingUpdate": { SchemaProps: spec.SchemaProps{ Description: "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.", Ref: spec.MustCreateRef("#/definitions/extensions.RollingUpdateDeployment"), }, }, }, }, }, Dependencies: []string{ "extensions.RollingUpdateDeployment"}, }, "extensions.FSGroupStrategyOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", Properties: map[string]spec.Schema{ "rule": { SchemaProps: spec.SchemaProps{ Description: "Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", Type: []string{"string"}, Format: "", }, }, "ranges": { SchemaProps: spec.SchemaProps{ Description: "Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.IDRange"), }, }, }, }, }, }, }, }, Dependencies: []string{ "extensions.IDRange"}, }, "extensions.HTTPIngressPath": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", Properties: map[string]spec.Schema{ "path": { SchemaProps: spec.SchemaProps{ Description: "Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend.", Type: []string{"string"}, Format: "", }, }, "backend": { SchemaProps: spec.SchemaProps{ Description: "Backend defines the referenced service endpoint to which the traffic will be forwarded to.", Ref: spec.MustCreateRef("#/definitions/extensions.IngressBackend"), }, }, }, Required: []string{"backend"}, }, }, Dependencies: []string{ "extensions.IngressBackend"}, }, "extensions.HTTPIngressRuleValue": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.", Properties: map[string]spec.Schema{ "paths": { SchemaProps: spec.SchemaProps{ Description: "A collection of paths that map requests to backends.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.HTTPIngressPath"), }, }, }, }, }, }, Required: []string{"paths"}, }, }, Dependencies: []string{ "extensions.HTTPIngressPath"}, }, "extensions.HostPortRange": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", Properties: map[string]spec.Schema{ "min": { SchemaProps: spec.SchemaProps{ Description: "Min is the start of the range, inclusive.", Type: []string{"integer"}, Format: "int32", }, }, "max": { SchemaProps: spec.SchemaProps{ Description: "Max is the end of the range, inclusive.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"min", "max"}, }, }, Dependencies: []string{}, }, "extensions.IDRange": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IDRange provides a min/max of an allowed range of IDs.", Properties: map[string]spec.Schema{ "min": { SchemaProps: spec.SchemaProps{ Description: "Min is the start of the range, inclusive.", Type: []string{"integer"}, Format: "int64", }, }, "max": { SchemaProps: spec.SchemaProps{ Description: "Max is the end of the range, inclusive.", Type: []string{"integer"}, Format: "int64", }, }, }, Required: []string{"min", "max"}, }, }, Dependencies: []string{}, }, "extensions.Ingress": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "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.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec is the desired state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/extensions.IngressSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is the current state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/extensions.IngressStatus"), }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "extensions.IngressSpec", "extensions.IngressStatus"}, }, "extensions.IngressBackend": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IngressBackend describes all endpoints for a given service and port.", Properties: map[string]spec.Schema{ "serviceName": { SchemaProps: spec.SchemaProps{ Description: "Specifies the name of the referenced service.", Type: []string{"string"}, Format: "", }, }, "servicePort": { SchemaProps: spec.SchemaProps{ Description: "Specifies the port of the referenced service.", Ref: spec.MustCreateRef("#/definitions/intstr.IntOrString"), }, }, }, Required: []string{"serviceName", "servicePort"}, }, }, Dependencies: []string{ "intstr.IntOrString"}, }, "extensions.IngressList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IngressList is a collection of Ingress.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of Ingress.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.Ingress"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "extensions.Ingress", "unversioned.ListMeta"}, }, "extensions.IngressRule": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", Properties: map[string]spec.Schema{ "host": { SchemaProps: spec.SchemaProps{ Description: "Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the\n\t IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.", Type: []string{"string"}, Format: "", }, }, "http": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.HTTPIngressRuleValue"), }, }, }, }, }, Dependencies: []string{ "extensions.HTTPIngressRuleValue"}, }, "extensions.IngressRuleValue": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IngressRuleValue represents a rule to apply against incoming requests. If the rule is satisfied, the request is routed to the specified backend. Currently mixing different types of rules in a single Ingress is disallowed, so exactly one of the following must be set.", Properties: map[string]spec.Schema{ "http": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.HTTPIngressRuleValue"), }, }, }, }, }, Dependencies: []string{ "extensions.HTTPIngressRuleValue"}, }, "extensions.IngressSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IngressSpec describes the Ingress the user wishes to exist.", Properties: map[string]spec.Schema{ "backend": { SchemaProps: spec.SchemaProps{ Description: "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.", Ref: spec.MustCreateRef("#/definitions/extensions.IngressBackend"), }, }, "tls": { SchemaProps: spec.SchemaProps{ Description: "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.IngressTLS"), }, }, }, }, }, "rules": { SchemaProps: spec.SchemaProps{ Description: "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.IngressRule"), }, }, }, }, }, }, }, }, Dependencies: []string{ "extensions.IngressBackend", "extensions.IngressRule", "extensions.IngressTLS"}, }, "extensions.IngressStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IngressStatus describe the current state of the Ingress.", Properties: map[string]spec.Schema{ "loadBalancer": { SchemaProps: spec.SchemaProps{ Description: "LoadBalancer contains the current status of the load-balancer.", Ref: spec.MustCreateRef("#/definitions/api.LoadBalancerStatus"), }, }, }, }, }, Dependencies: []string{ "api.LoadBalancerStatus"}, }, "extensions.IngressTLS": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IngressTLS describes the transport layer security associated with an Ingress.", Properties: map[string]spec.Schema{ "hosts": { SchemaProps: spec.SchemaProps{ Description: "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "secretName": { SchemaProps: spec.SchemaProps{ Description: "SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "extensions.NetworkPolicy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Specification of the desired behavior for this NetworkPolicy.", Ref: spec.MustCreateRef("#/definitions/extensions.NetworkPolicySpec"), }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "extensions.NetworkPolicySpec"}, }, "extensions.NetworkPolicyIngressRule": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.", Properties: map[string]spec.Schema{ "ports": { SchemaProps: spec.SchemaProps{ Description: "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is not provided, this rule matches all ports (traffic not restricted by port). If this field is empty, this rule matches no ports (no traffic matches). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.NetworkPolicyPort"), }, }, }, }, }, "from": { SchemaProps: spec.SchemaProps{ Description: "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is not provided, this rule matches all sources (traffic not restricted by source). If this field is empty, this rule matches no sources (no traffic matches). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.NetworkPolicyPeer"), }, }, }, }, }, }, }, }, Dependencies: []string{ "extensions.NetworkPolicyPeer", "extensions.NetworkPolicyPort"}, }, "extensions.NetworkPolicyList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NetworkPolicyList is a list of NetworkPolicy objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.NetworkPolicy"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "extensions.NetworkPolicy", "unversioned.ListMeta"}, }, "extensions.NetworkPolicyPeer": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "podSelector": { SchemaProps: spec.SchemaProps{ Description: "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If not provided, this selector selects no pods. If present but empty, this selector selects all pods in this namespace.", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "namespaceSelector": { SchemaProps: spec.SchemaProps{ Description: "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If omitted, this selector selects no namespaces. If present but empty, this selector selects all namespaces.", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, }, }, }, Dependencies: []string{ "unversioned.LabelSelector"}, }, "extensions.NetworkPolicyPort": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "protocol": { SchemaProps: spec.SchemaProps{ Description: "Optional. The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.", Type: []string{"string"}, Format: "", }, }, "port": { SchemaProps: spec.SchemaProps{ Description: "If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.", Ref: spec.MustCreateRef("#/definitions/intstr.IntOrString"), }, }, }, }, }, Dependencies: []string{ "intstr.IntOrString"}, }, "extensions.NetworkPolicySpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "podSelector": { SchemaProps: spec.SchemaProps{ Description: "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "ingress": { SchemaProps: spec.SchemaProps{ Description: "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if namespace.networkPolicy.ingress.isolation is undefined and cluster policy allows it, OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not affect ingress isolation. If this field is present and contains at least one rule, this policy allows any traffic which matches at least one of the ingress rules in this list.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.NetworkPolicyIngressRule"), }, }, }, }, }, }, Required: []string{"podSelector"}, }, }, Dependencies: []string{ "extensions.NetworkPolicyIngressRule", "unversioned.LabelSelector"}, }, "extensions.PodSecurityPolicy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodSecurityPolicy governs the ability to make requests that affect the SecurityContext that will be applied to a pod and container.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the policy enforced.", Ref: spec.MustCreateRef("#/definitions/extensions.PodSecurityPolicySpec"), }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "extensions.PodSecurityPolicySpec"}, }, "extensions.PodSecurityPolicyList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodSecurityPolicyList is a list of PodSecurityPolicy objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.PodSecurityPolicy"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "extensions.PodSecurityPolicy", "unversioned.ListMeta"}, }, "extensions.PodSecurityPolicySpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodSecurityPolicySpec defines the policy enforced.", Properties: map[string]spec.Schema{ "privileged": { SchemaProps: spec.SchemaProps{ Description: "Privileged determines if a pod can request to be run as privileged.", Type: []string{"boolean"}, Format: "", }, }, "defaultAddCapabilities": { SchemaProps: spec.SchemaProps{ Description: "DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both DefaultAddCapabilities and RequiredDropCapabilities.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "requiredDropCapabilities": { SchemaProps: spec.SchemaProps{ Description: "RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "allowedCapabilities": { SchemaProps: spec.SchemaProps{ Description: "AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "volumes": { SchemaProps: spec.SchemaProps{ Description: "Volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "hostNetwork": { SchemaProps: spec.SchemaProps{ Description: "HostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", Type: []string{"boolean"}, Format: "", }, }, "hostPorts": { SchemaProps: spec.SchemaProps{ Description: "HostPorts determines which host port ranges are allowed to be exposed.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.HostPortRange"), }, }, }, }, }, "hostPID": { SchemaProps: spec.SchemaProps{ Description: "HostPID determines if the policy allows the use of HostPID in the pod spec.", Type: []string{"boolean"}, Format: "", }, }, "hostIPC": { SchemaProps: spec.SchemaProps{ Description: "HostIPC determines if the policy allows the use of HostIPC in the pod spec.", Type: []string{"boolean"}, Format: "", }, }, "seLinux": { SchemaProps: spec.SchemaProps{ Description: "SELinux is the strategy that will dictate the allowable labels that may be set.", Ref: spec.MustCreateRef("#/definitions/extensions.SELinuxStrategyOptions"), }, }, "runAsUser": { SchemaProps: spec.SchemaProps{ Description: "RunAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.", Ref: spec.MustCreateRef("#/definitions/extensions.RunAsUserStrategyOptions"), }, }, "supplementalGroups": { SchemaProps: spec.SchemaProps{ Description: "SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", Ref: spec.MustCreateRef("#/definitions/extensions.SupplementalGroupsStrategyOptions"), }, }, "fsGroup": { SchemaProps: spec.SchemaProps{ Description: "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", Ref: spec.MustCreateRef("#/definitions/extensions.FSGroupStrategyOptions"), }, }, "readOnlyRootFilesystem": { SchemaProps: spec.SchemaProps{ Description: "ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"seLinux", "runAsUser", "supplementalGroups", "fsGroup"}, }, }, Dependencies: []string{ "extensions.FSGroupStrategyOptions", "extensions.HostPortRange", "extensions.RunAsUserStrategyOptions", "extensions.SELinuxStrategyOptions", "extensions.SupplementalGroupsStrategyOptions"}, }, "extensions.ReplicaSet": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ReplicaSet represents the configuration of a replica set.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the desired behavior of this ReplicaSet.", Ref: spec.MustCreateRef("#/definitions/extensions.ReplicaSetSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is the current status of this ReplicaSet. This data may be out of date by some window of time.", Ref: spec.MustCreateRef("#/definitions/extensions.ReplicaSetStatus"), }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "extensions.ReplicaSetSpec", "extensions.ReplicaSetStatus"}, }, "extensions.ReplicaSetCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ReplicaSetCondition describes the state of a replica set at a certain point.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of replica set condition.", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False, Unknown.", Type: []string{"string"}, Format: "", }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "The last time the condition transitioned from one status to another.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "The reason for the condition's last transition.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "A human readable message indicating details about the transition.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "status"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "extensions.ReplicaSetList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ReplicaSetList is a collection of ReplicaSets.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.ReplicaSet"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "extensions.ReplicaSet", "unversioned.ListMeta"}, }, "extensions.ReplicaSetSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ReplicaSetSpec is the specification of a ReplicaSet. As the internal representation of a ReplicaSet, it must have a Template set.", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "Replicas is the number of desired replicas.", Type: []string{"integer"}, Format: "int32", }, }, "minReadySeconds": { SchemaProps: spec.SchemaProps{ Description: "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", Type: []string{"integer"}, Format: "int32", }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that should match the replica count. Must match in order to be controlled. If empty, defaulted to labels on pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template is the object that describes the pod that will be created if insufficient replicas are detected.", Ref: spec.MustCreateRef("#/definitions/api.PodTemplateSpec"), }, }, }, Required: []string{"replicas"}, }, }, Dependencies: []string{ "api.PodTemplateSpec", "unversioned.LabelSelector"}, }, "extensions.ReplicaSetStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ReplicaSetStatus represents the current status of a ReplicaSet.", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "Replicas is the number of actual replicas.", Type: []string{"integer"}, Format: "int32", }, }, "fullyLabeledReplicas": { SchemaProps: spec.SchemaProps{ Description: "The number of pods that have labels matching the labels of the pod template of the replicaset.", Type: []string{"integer"}, Format: "int32", }, }, "readyReplicas": { SchemaProps: spec.SchemaProps{ Description: "The number of ready replicas for this replica set.", Type: []string{"integer"}, Format: "int32", }, }, "availableReplicas": { SchemaProps: spec.SchemaProps{ Description: "The number of available replicas (ready for at least minReadySeconds) for this replica set.", Type: []string{"integer"}, Format: "int32", }, }, "observedGeneration": { SchemaProps: spec.SchemaProps{ Description: "ObservedGeneration is the most recent generation observed by the controller.", Type: []string{"integer"}, Format: "int64", }, }, "conditions": { SchemaProps: spec.SchemaProps{ Description: "Represents the latest available observations of a replica set's current state.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.ReplicaSetCondition"), }, }, }, }, }, }, Required: []string{"replicas"}, }, }, Dependencies: []string{ "extensions.ReplicaSetCondition"}, }, "extensions.ReplicationControllerDummy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Dummy definition", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "extensions.RollbackConfig": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "revision": { SchemaProps: spec.SchemaProps{ Description: "The revision to rollback to. If set to 0, rollbck to the last revision.", Type: []string{"integer"}, Format: "int64", }, }, }, }, }, Dependencies: []string{}, }, "extensions.RollingUpdateDeployment": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Spec to control the desired behavior of rolling update.", Properties: map[string]spec.Schema{ "maxUnavailable": { SchemaProps: spec.SchemaProps{ Description: "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total pods at the start of update (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0 if MaxSurge is 0. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down by 30% immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that at least 70% of original number of pods are available at all times during the update.", Ref: spec.MustCreateRef("#/definitions/intstr.IntOrString"), }, }, "maxSurge": { SchemaProps: spec.SchemaProps{ Description: "The maximum number of pods that can be scheduled above the original number of pods. Value can be an absolute number (ex: 5) or a percentage of total pods at the start of the update (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. By default, a value of 1 is used. Example: when this is set to 30%, the new RC can be scaled up by 30% immediately when the rolling update starts. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of original pods.", Ref: spec.MustCreateRef("#/definitions/intstr.IntOrString"), }, }, }, }, }, Dependencies: []string{ "intstr.IntOrString"}, }, "extensions.RunAsUserStrategyOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.", Properties: map[string]spec.Schema{ "rule": { SchemaProps: spec.SchemaProps{ Description: "Rule is the strategy that will dictate the allowable RunAsUser values that may be set.", Type: []string{"string"}, Format: "", }, }, "ranges": { SchemaProps: spec.SchemaProps{ Description: "Ranges are the allowed ranges of uids that may be used.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.IDRange"), }, }, }, }, }, }, Required: []string{"rule"}, }, }, Dependencies: []string{ "extensions.IDRange"}, }, "extensions.SELinuxStrategyOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.", Properties: map[string]spec.Schema{ "rule": { SchemaProps: spec.SchemaProps{ Description: "Rule is the strategy that will dictate the allowable labels that may be set.", Type: []string{"string"}, Format: "", }, }, "seLinuxOptions": { SchemaProps: spec.SchemaProps{ Description: "seLinuxOptions required to run as; required for MustRunAs More info: http://releases.k8s.io/HEAD/docs/design/security_context.md#security-context", Ref: spec.MustCreateRef("#/definitions/api.SELinuxOptions"), }, }, }, Required: []string{"rule"}, }, }, Dependencies: []string{ "api.SELinuxOptions"}, }, "extensions.Scale": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "represents a scaling request for a resource.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.", Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.", Ref: spec.MustCreateRef("#/definitions/extensions.ScaleSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.", Ref: spec.MustCreateRef("#/definitions/extensions.ScaleStatus"), }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "extensions.ScaleSpec", "extensions.ScaleStatus"}, }, "extensions.ScaleSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "describes the attributes of a scale subresource", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "desired number of instances for the scaled object.", Type: []string{"integer"}, Format: "int32", }, }, }, }, }, Dependencies: []string{}, }, "extensions.ScaleStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "represents the current status of a scale subresource.", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "actual number of observed instances of the scaled object.", Type: []string{"integer"}, Format: "int32", }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, }, Required: []string{"replicas"}, }, }, Dependencies: []string{ "unversioned.LabelSelector"}, }, "extensions.SupplementalGroupsStrategyOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", Properties: map[string]spec.Schema{ "rule": { SchemaProps: spec.SchemaProps{ Description: "Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", Type: []string{"string"}, Format: "", }, }, "ranges": { SchemaProps: spec.SchemaProps{ Description: "Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.IDRange"), }, }, }, }, }, }, }, }, Dependencies: []string{ "extensions.IDRange"}, }, "extensions.ThirdPartyResource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "A ThirdPartyResource is a generic representation of a resource, it is used by add-ons and plugins to add new resource types to the API. It consists of one or more Versions of the api.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata", Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "description": { SchemaProps: spec.SchemaProps{ Description: "Description is the description of this object.", Type: []string{"string"}, Format: "", }, }, "versions": { SchemaProps: spec.SchemaProps{ Description: "Versions are versions for this third party object", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.APIVersion"), }, }, }, }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "extensions.APIVersion"}, }, "extensions.ThirdPartyResourceData": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "An internal object, used for versioned storage in etcd. Not exposed to the end user.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata.", Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "data": { SchemaProps: spec.SchemaProps{ Description: "Data is the raw JSON data for this data.", Type: []string{"string"}, Format: "byte", }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta"}, }, "extensions.ThirdPartyResourceDataList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of third party objects", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.ThirdPartyResourceData"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "extensions.ThirdPartyResourceData", "unversioned.ListMeta"}, }, "extensions.ThirdPartyResourceList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of horizontal pod autoscalers.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/extensions.ThirdPartyResource"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "extensions.ThirdPartyResource", "unversioned.ListMeta"}, }, "imagepolicy.ImageReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageReview checks if the set of images in a pod are allowed.", Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "ObjectMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "Spec": { SchemaProps: spec.SchemaProps{ Description: "Spec holds information about the pod being evaluated", Ref: spec.MustCreateRef("#/definitions/imagepolicy.ImageReviewSpec"), }, }, "Status": { SchemaProps: spec.SchemaProps{ Description: "Status is filled in by the backend and indicates whether the pod should be allowed.", Ref: spec.MustCreateRef("#/definitions/imagepolicy.ImageReviewStatus"), }, }, }, Required: []string{"TypeMeta", "ObjectMeta", "Spec", "Status"}, }, }, Dependencies: []string{ "api.ObjectMeta", "imagepolicy.ImageReviewSpec", "imagepolicy.ImageReviewStatus", "unversioned.TypeMeta"}, }, "imagepolicy.ImageReviewContainerSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageReviewContainerSpec is a description of a container within the pod creation request.", Properties: map[string]spec.Schema{ "Image": { SchemaProps: spec.SchemaProps{ Description: "This can be in the form image:tag or image@SHA:012345679abcdef.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Image"}, }, }, Dependencies: []string{}, }, "imagepolicy.ImageReviewSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageReviewSpec is a description of the pod creation request.", Properties: map[string]spec.Schema{ "Containers": { SchemaProps: spec.SchemaProps{ Description: "Containers is a list of a subset of the information in each container of the Pod being created.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/imagepolicy.ImageReviewContainerSpec"), }, }, }, }, }, "Annotations": { SchemaProps: spec.SchemaProps{ Description: "Annotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern `*.image-policy.k8s.io/*`. It is up to each webhook backend to determine how to interpret these annotations, if at all.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "Namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace is the namespace the pod is being created in.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Containers", "Annotations", "Namespace"}, }, }, Dependencies: []string{ "imagepolicy.ImageReviewContainerSpec"}, }, "imagepolicy.ImageReviewStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageReviewStatus is the result of the token authentication request.", Properties: map[string]spec.Schema{ "Allowed": { SchemaProps: spec.SchemaProps{ Description: "Allowed indicates that all images were allowed to be run.", Type: []string{"boolean"}, Format: "", }, }, "Reason": { SchemaProps: spec.SchemaProps{ Description: "Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Allowed", "Reason"}, }, }, Dependencies: []string{}, }, "intstr.IntOrString": intstr.IntOrString{}.OpenAPIDefinition(), "policy.Eviction": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/eviction.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "ObjectMeta describes the pod that is being evicted.", Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "deleteOptions": { SchemaProps: spec.SchemaProps{ Description: "DeleteOptions may be provided", Ref: spec.MustCreateRef("#/definitions/api.DeleteOptions"), }, }, }, }, }, Dependencies: []string{ "api.DeleteOptions", "api.ObjectMeta"}, }, "policy.PodDisruptionBudget": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Specification of the desired behavior of the PodDisruptionBudget.", Ref: spec.MustCreateRef("#/definitions/policy.PodDisruptionBudgetSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Most recently observed status of the PodDisruptionBudget.", Ref: spec.MustCreateRef("#/definitions/policy.PodDisruptionBudgetStatus"), }, }, }, }, }, Dependencies: []string{ "api.ObjectMeta", "policy.PodDisruptionBudgetSpec", "policy.PodDisruptionBudgetStatus"}, }, "policy.PodDisruptionBudgetList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/policy.PodDisruptionBudget"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "policy.PodDisruptionBudget", "unversioned.ListMeta"}, }, "policy.PodDisruptionBudgetSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", Properties: map[string]spec.Schema{ "minAvailable": { SchemaProps: spec.SchemaProps{ Description: "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\".", Ref: spec.MustCreateRef("#/definitions/intstr.IntOrString"), }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "Label query over pods whose evictions are managed by the disruption budget.", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, }, }, }, Dependencies: []string{ "intstr.IntOrString", "unversioned.LabelSelector"}, }, "policy.PodDisruptionBudgetStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", Properties: map[string]spec.Schema{ "observedGeneration": { SchemaProps: spec.SchemaProps{ Description: "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", Type: []string{"integer"}, Format: "int64", }, }, "disruptedPods": { SchemaProps: spec.SchemaProps{ Description: "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, }, }, }, "disruptionsAllowed": { SchemaProps: spec.SchemaProps{ Description: "Number of pod disruptions that are currently allowed.", Type: []string{"integer"}, Format: "int32", }, }, "currentHealthy": { SchemaProps: spec.SchemaProps{ Description: "current number of healthy pods", Type: []string{"integer"}, Format: "int32", }, }, "desiredHealthy": { SchemaProps: spec.SchemaProps{ Description: "minimum desired number of healthy pods", Type: []string{"integer"}, Format: "int32", }, }, "expectedPods": { SchemaProps: spec.SchemaProps{ Description: "total number of pods counted by this disruption budget", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"disruptedPods", "disruptionsAllowed", "currentHealthy", "desiredHealthy", "expectedPods"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "rbac.ClusterRole": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "ObjectMeta": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "Rules": { SchemaProps: spec.SchemaProps{ Description: "Rules holds all the PolicyRules for this ClusterRole", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/rbac.PolicyRule"), }, }, }, }, }, }, Required: []string{"TypeMeta", "ObjectMeta", "Rules"}, }, }, Dependencies: []string{ "api.ObjectMeta", "rbac.PolicyRule", "unversioned.TypeMeta"}, }, "rbac.ClusterRoleBinding": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "ObjectMeta": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "Subjects": { SchemaProps: spec.SchemaProps{ Description: "Subjects holds references to the objects the role applies to.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/rbac.Subject"), }, }, }, }, }, "RoleRef": { SchemaProps: spec.SchemaProps{ Description: "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.", Ref: spec.MustCreateRef("#/definitions/rbac.RoleRef"), }, }, }, Required: []string{"TypeMeta", "ObjectMeta", "Subjects", "RoleRef"}, }, }, Dependencies: []string{ "api.ObjectMeta", "rbac.RoleRef", "rbac.Subject", "unversioned.TypeMeta"}, }, "rbac.ClusterRoleBindingBuilder": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterRoleBindingBuilder let's us attach methods. A no-no for API types. We use it to construct bindings in code. It's more compact than trying to write them out in a literal.", Properties: map[string]spec.Schema{ "ClusterRoleBinding": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/rbac.ClusterRoleBinding"), }, }, }, Required: []string{"ClusterRoleBinding"}, }, }, Dependencies: []string{ "rbac.ClusterRoleBinding"}, }, "rbac.ClusterRoleBindingList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterRoleBindingList is a collection of ClusterRoleBindings", Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "ListMeta": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "Items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of ClusterRoleBindings", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/rbac.ClusterRoleBinding"), }, }, }, }, }, }, Required: []string{"TypeMeta", "ListMeta", "Items"}, }, }, Dependencies: []string{ "rbac.ClusterRoleBinding", "unversioned.ListMeta", "unversioned.TypeMeta"}, }, "rbac.ClusterRoleList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterRoleList is a collection of ClusterRoles", Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "ListMeta": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "Items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of ClusterRoles", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/rbac.ClusterRole"), }, }, }, }, }, }, Required: []string{"TypeMeta", "ListMeta", "Items"}, }, }, Dependencies: []string{ "rbac.ClusterRole", "unversioned.ListMeta", "unversioned.TypeMeta"}, }, "rbac.PolicyRule": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", Properties: map[string]spec.Schema{ "Verbs": { SchemaProps: spec.SchemaProps{ Description: "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "AttributeRestrictions": { SchemaProps: spec.SchemaProps{ Description: "AttributeRestrictions will vary depending on what the Authorizer/AuthorizationAttributeBuilder pair supports. If the Authorizer does not recognize how to handle the AttributeRestrictions, the Authorizer should report an error.", Ref: spec.MustCreateRef("#/definitions/runtime.Object"), }, }, "APIGroups": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "Resources": { SchemaProps: spec.SchemaProps{ Description: "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "ResourceNames": { SchemaProps: spec.SchemaProps{ Description: "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "NonResourceURLs": { SchemaProps: spec.SchemaProps{ Description: "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path If an action is not a resource API request, then the URL is split on '/' and is checked against the NonResourceURLs to look for a match. Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"Verbs", "AttributeRestrictions", "APIGroups", "Resources", "ResourceNames", "NonResourceURLs"}, }, }, Dependencies: []string{ "runtime.Object"}, }, "rbac.PolicyRuleBuilder": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PolicyRuleBuilder let's us attach methods. A no-no for API types. We use it to construct rules in code. It's more compact than trying to write them out in a literal and allows us to perform some basic checking during construction", Properties: map[string]spec.Schema{ "PolicyRule": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/rbac.PolicyRule"), }, }, }, Required: []string{"PolicyRule"}, }, }, Dependencies: []string{ "rbac.PolicyRule"}, }, "rbac.Role": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "ObjectMeta": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "Rules": { SchemaProps: spec.SchemaProps{ Description: "Rules holds all the PolicyRules for this Role", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/rbac.PolicyRule"), }, }, }, }, }, }, Required: []string{"TypeMeta", "ObjectMeta", "Rules"}, }, }, Dependencies: []string{ "api.ObjectMeta", "rbac.PolicyRule", "unversioned.TypeMeta"}, }, "rbac.RoleBinding": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "ObjectMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/api.ObjectMeta"), }, }, "Subjects": { SchemaProps: spec.SchemaProps{ Description: "Subjects holds references to the objects the role applies to.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/rbac.Subject"), }, }, }, }, }, "RoleRef": { SchemaProps: spec.SchemaProps{ Description: "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.", Ref: spec.MustCreateRef("#/definitions/rbac.RoleRef"), }, }, }, Required: []string{"TypeMeta", "ObjectMeta", "Subjects", "RoleRef"}, }, }, Dependencies: []string{ "api.ObjectMeta", "rbac.RoleRef", "rbac.Subject", "unversioned.TypeMeta"}, }, "rbac.RoleBindingList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RoleBindingList is a collection of RoleBindings", Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "ListMeta": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "Items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of roleBindings", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/rbac.RoleBinding"), }, }, }, }, }, }, Required: []string{"TypeMeta", "ListMeta", "Items"}, }, }, Dependencies: []string{ "rbac.RoleBinding", "unversioned.ListMeta", "unversioned.TypeMeta"}, }, "rbac.RoleList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RoleList is a collection of Roles", Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "ListMeta": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "Items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of roles", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/rbac.Role"), }, }, }, }, }, }, Required: []string{"TypeMeta", "ListMeta", "Items"}, }, }, Dependencies: []string{ "rbac.Role", "unversioned.ListMeta", "unversioned.TypeMeta"}, }, "rbac.RoleRef": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RoleRef contains information that points to the role being used", Properties: map[string]spec.Schema{ "APIGroup": { SchemaProps: spec.SchemaProps{ Description: "APIGroup is the group for the resource being referenced", Type: []string{"string"}, Format: "", }, }, "Kind": { SchemaProps: spec.SchemaProps{ Description: "Kind is the type of resource being referenced", Type: []string{"string"}, Format: "", }, }, "Name": { SchemaProps: spec.SchemaProps{ Description: "Name is the name of resource being referenced", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"APIGroup", "Kind", "Name"}, }, }, Dependencies: []string{}, }, "rbac.Subject": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", Properties: map[string]spec.Schema{ "Kind": { SchemaProps: spec.SchemaProps{ Description: "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.", Type: []string{"string"}, Format: "", }, }, "APIVersion": { SchemaProps: spec.SchemaProps{ Description: "APIVersion holds the API group and version of the referenced object. For non-object references such as \"Group\" and \"User\" this is expected to be API version of this API group. For example, \"rbac/v1alpha1\".", Type: []string{"string"}, Format: "", }, }, "Name": { SchemaProps: spec.SchemaProps{ Description: "Name of the object being referenced.", Type: []string{"string"}, Format: "", }, }, "Namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Kind", "APIVersion", "Name", "Namespace"}, }, }, Dependencies: []string{}, }, "resource.Quantity": resource.Quantity{}.OpenAPIDefinition(), "resource.int64Amount": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "int64Amount represents a fixed precision numerator and arbitrary scale exponent. It is faster than operations on inf.Dec for values that can be represented as int64.", Properties: map[string]spec.Schema{ "value": { SchemaProps: spec.SchemaProps{ Type: []string{"integer"}, Format: "int64", }, }, "scale": { SchemaProps: spec.SchemaProps{ Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"value", "scale"}, }, }, Dependencies: []string{}, }, "runtime.RawExtension": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)", Properties: map[string]spec.Schema{ "Raw": { SchemaProps: spec.SchemaProps{ Description: "Raw is the underlying serialization of this object.", Type: []string{"string"}, Format: "byte", }, }, }, Required: []string{"Raw"}, }, }, Dependencies: []string{}, }, "runtime.TypeMeta": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this: type MyAwesomeAPIObject struct {\n runtime.TypeMeta `json:\",inline\"`\n ... // other fields\n} func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *unversioned.GroupVersionKind) { unversioned.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.", Properties: map[string]spec.Schema{ "apiVersion": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "kind": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "runtime.Unknown": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Unknown allows api objects with unknown types to be passed-through. This can be used to deal with the API objects from a plug-in. Unknown objects still have functioning TypeMeta features-- kind, version, etc. metadata and field mutatation.", Properties: map[string]spec.Schema{ "apiVersion": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "kind": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "Raw": { SchemaProps: spec.SchemaProps{ Description: "Raw will hold the complete serialized object which couldn't be matched with a registered type. Most likely, nothing should be done with this except for passing it through the system.", Type: []string{"string"}, Format: "byte", }, }, "ContentEncoding": { SchemaProps: spec.SchemaProps{ Description: "ContentEncoding is encoding used to encode 'Raw' data. Unspecified means no encoding.", Type: []string{"string"}, Format: "", }, }, "ContentType": { SchemaProps: spec.SchemaProps{ Description: "ContentType is serialization method used to serialize 'Raw'. Unspecified means ContentTypeJSON.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Raw", "ContentEncoding", "ContentType"}, }, }, Dependencies: []string{}, }, "unversioned.APIGroup": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "APIGroup contains the name, the supported versions, and the preferred version of a group.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "name": { SchemaProps: spec.SchemaProps{ Description: "name is the name of the group.", Type: []string{"string"}, Format: "", }, }, "versions": { SchemaProps: spec.SchemaProps{ Description: "versions are the versions supported in this group.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.GroupVersionForDiscovery"), }, }, }, }, }, "preferredVersion": { SchemaProps: spec.SchemaProps{ Description: "preferredVersion is the version preferred by the API server, which probably is the storage version.", Ref: spec.MustCreateRef("#/definitions/unversioned.GroupVersionForDiscovery"), }, }, "serverAddressByClientCIDRs": { SchemaProps: spec.SchemaProps{ Description: "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.ServerAddressByClientCIDR"), }, }, }, }, }, }, Required: []string{"name", "versions", "serverAddressByClientCIDRs"}, }, }, Dependencies: []string{ "unversioned.GroupVersionForDiscovery", "unversioned.ServerAddressByClientCIDR"}, }, "unversioned.APIGroupList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "groups": { SchemaProps: spec.SchemaProps{ Description: "groups is a list of APIGroup.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.APIGroup"), }, }, }, }, }, }, Required: []string{"groups"}, }, }, Dependencies: []string{ "unversioned.APIGroup"}, }, "unversioned.APIResource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "APIResource specifies the name of a resource and whether it is namespaced.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "name is the name of the resource.", Type: []string{"string"}, Format: "", }, }, "namespaced": { SchemaProps: spec.SchemaProps{ Description: "namespaced indicates if a resource is namespaced or not.", Type: []string{"boolean"}, Format: "", }, }, "kind": { SchemaProps: spec.SchemaProps{ Description: "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"name", "namespaced", "kind"}, }, }, Dependencies: []string{}, }, "unversioned.APIResourceList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "groupVersion": { SchemaProps: spec.SchemaProps{ Description: "groupVersion is the group and version this APIResourceList is for.", Type: []string{"string"}, Format: "", }, }, "resources": { SchemaProps: spec.SchemaProps{ Description: "resources contains the name of the resources and if they are namespaced.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.APIResource"), }, }, }, }, }, }, Required: []string{"groupVersion", "resources"}, }, }, Dependencies: []string{ "unversioned.APIResource"}, }, "unversioned.APIVersions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "versions": { SchemaProps: spec.SchemaProps{ Description: "versions are the api versions that are available.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "serverAddressByClientCIDRs": { SchemaProps: spec.SchemaProps{ Description: "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.ServerAddressByClientCIDR"), }, }, }, }, }, }, Required: []string{"versions", "serverAddressByClientCIDRs"}, }, }, Dependencies: []string{ "unversioned.ServerAddressByClientCIDR"}, }, "unversioned.Duration": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Duration is a wrapper around time.Duration which supports correct marshaling to YAML and JSON. In particular, it marshals into strings, which can be used as map keys in json.", Properties: map[string]spec.Schema{ "Duration": { SchemaProps: spec.SchemaProps{ Type: []string{"integer"}, Format: "int64", }, }, }, Required: []string{"Duration"}, }, }, Dependencies: []string{}, }, "unversioned.ExportOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ExportOptions is the query options to the standard REST get call.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "export": { SchemaProps: spec.SchemaProps{ Description: "Should this value be exported. Export strips fields that a user can not specify.`", Type: []string{"boolean"}, Format: "", }, }, "exact": { SchemaProps: spec.SchemaProps{ Description: "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"export", "exact"}, }, }, Dependencies: []string{}, }, "unversioned.GroupKind": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "GroupKind specifies a Group and a Kind, but does not force a version. This is useful for identifying concepts during lookup stages without having partially valid types", Properties: map[string]spec.Schema{ "Group": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "Kind": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Group", "Kind"}, }, }, Dependencies: []string{}, }, "unversioned.GroupResource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "GroupResource specifies a Group and a Resource, but does not force a version. This is useful for identifying concepts during lookup stages without having partially valid types", Properties: map[string]spec.Schema{ "Group": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "Resource": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Group", "Resource"}, }, }, Dependencies: []string{}, }, "unversioned.GroupVersion": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "GroupVersion contains the \"group\" and the \"version\", which uniquely identifies the API.", Properties: map[string]spec.Schema{ "Group": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "Version": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Group", "Version"}, }, }, Dependencies: []string{}, }, "unversioned.GroupVersionForDiscovery": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", Properties: map[string]spec.Schema{ "groupVersion": { SchemaProps: spec.SchemaProps{ Description: "groupVersion specifies the API group and version in the form \"group/version\"", Type: []string{"string"}, Format: "", }, }, "version": { SchemaProps: spec.SchemaProps{ Description: "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"groupVersion", "version"}, }, }, Dependencies: []string{}, }, "unversioned.GroupVersionKind": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "GroupVersionKind unambiguously identifies a kind. It doesn't anonymously include GroupVersion to avoid automatic coersion. It doesn't use a GroupVersion to avoid custom marshalling", Properties: map[string]spec.Schema{ "Group": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "Version": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "Kind": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Group", "Version", "Kind"}, }, }, Dependencies: []string{}, }, "unversioned.GroupVersionResource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "GroupVersionResource unambiguously identifies a resource. It doesn't anonymously include GroupVersion to avoid automatic coersion. It doesn't use a GroupVersion to avoid custom marshalling", Properties: map[string]spec.Schema{ "Group": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "Version": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "Resource": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Group", "Version", "Resource"}, }, }, Dependencies: []string{}, }, "unversioned.LabelSelector": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", Properties: map[string]spec.Schema{ "matchLabels": { SchemaProps: spec.SchemaProps{ Description: "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "matchExpressions": { SchemaProps: spec.SchemaProps{ Description: "matchExpressions is a list of label selector requirements. The requirements are ANDed.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelectorRequirement"), }, }, }, }, }, }, }, }, Dependencies: []string{ "unversioned.LabelSelectorRequirement"}, }, "unversioned.LabelSelectorRequirement": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", Properties: map[string]spec.Schema{ "key": { SchemaProps: spec.SchemaProps{ Description: "key is the label key that the selector applies to.", Type: []string{"string"}, Format: "", }, }, "operator": { SchemaProps: spec.SchemaProps{ Description: "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.", Type: []string{"string"}, Format: "", }, }, "values": { SchemaProps: spec.SchemaProps{ Description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"key", "operator"}, }, }, Dependencies: []string{}, }, "unversioned.ListMeta": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", Properties: map[string]spec.Schema{ "selfLink": { SchemaProps: spec.SchemaProps{ Description: "SelfLink is a URL representing this object. Populated by the system. Read-only.", Type: []string{"string"}, Format: "", }, }, "resourceVersion": { SchemaProps: spec.SchemaProps{ Description: "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "unversioned.Patch": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", Properties: map[string]spec.Schema{}, }, }, Dependencies: []string{}, }, "unversioned.RootPaths": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RootPaths lists the paths available at root. For example: \"/healthz\", \"/apis\".", Properties: map[string]spec.Schema{ "paths": { SchemaProps: spec.SchemaProps{ Description: "paths are the paths available at root.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"paths"}, }, }, Dependencies: []string{}, }, "unversioned.ServerAddressByClientCIDR": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", Properties: map[string]spec.Schema{ "clientCIDR": { SchemaProps: spec.SchemaProps{ Description: "The CIDR with which clients can match their IP to figure out the server address that they should use.", Type: []string{"string"}, Format: "", }, }, "serverAddress": { SchemaProps: spec.SchemaProps{ Description: "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"clientCIDR", "serverAddress"}, }, }, Dependencies: []string{}, }, "unversioned.Status": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Status is a return value for calls that don't return other objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the operation. One of: \"Success\" or \"Failure\". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "A human-readable description of the status of this operation.", Type: []string{"string"}, Format: "", }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.", Type: []string{"string"}, Format: "", }, }, "details": { SchemaProps: spec.SchemaProps{ Description: "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.", Ref: spec.MustCreateRef("#/definitions/unversioned.StatusDetails"), }, }, "code": { SchemaProps: spec.SchemaProps{ Description: "Suggested HTTP return code for this status, 0 if not set.", Type: []string{"integer"}, Format: "int32", }, }, }, }, }, Dependencies: []string{ "unversioned.ListMeta", "unversioned.StatusDetails"}, }, "unversioned.StatusCause": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", Properties: map[string]spec.Schema{ "reason": { SchemaProps: spec.SchemaProps{ Description: "A machine-readable description of the cause of the error. If this value is empty there is no information available.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "A human-readable description of the cause of the error. This field may be presented as-is to a reader.", Type: []string{"string"}, Format: "", }, }, "field": { SchemaProps: spec.SchemaProps{ Description: "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "unversioned.StatusDetails": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).", Type: []string{"string"}, Format: "", }, }, "group": { SchemaProps: spec.SchemaProps{ Description: "The group attribute of the resource associated with the status StatusReason.", Type: []string{"string"}, Format: "", }, }, "kind": { SchemaProps: spec.SchemaProps{ Description: "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "causes": { SchemaProps: spec.SchemaProps{ Description: "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.StatusCause"), }, }, }, }, }, "retryAfterSeconds": { SchemaProps: spec.SchemaProps{ Description: "If specified, the time in seconds before the operation should be retried.", Type: []string{"integer"}, Format: "int32", }, }, }, }, }, Dependencies: []string{ "unversioned.StatusCause"}, }, "unversioned.Time": unversioned.Time{}.OpenAPIDefinition(), "unversioned.Timestamp": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Timestamp is a struct that is equivalent to Time, but intended for protobuf marshalling/unmarshalling. It is generated into a serialization that matches Time. Do not use in Go structs.", Properties: map[string]spec.Schema{ "seconds": { SchemaProps: spec.SchemaProps{ Description: "Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.", Type: []string{"integer"}, Format: "int64", }, }, "nanos": { SchemaProps: spec.SchemaProps{ Description: "Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"seconds", "nanos"}, }, }, Dependencies: []string{}, }, "unversioned.TypeMeta": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TypeMeta describes an individual object in an API response or request with strings representing the type of the object and its API schema version. Structures that are versioned or persisted should inline TypeMeta.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "unversioned.emptyObjectKind": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{}, }, }, Dependencies: []string{}, }, "v1.AWSElasticBlockStoreVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", Properties: map[string]spec.Schema{ "volumeID": { SchemaProps: spec.SchemaProps{ Description: "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", Type: []string{"string"}, Format: "", }, }, "fsType": { SchemaProps: spec.SchemaProps{ Description: "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", Type: []string{"string"}, Format: "", }, }, "partition": { SchemaProps: spec.SchemaProps{ Description: "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", Type: []string{"integer"}, Format: "int32", }, }, "readOnly": { SchemaProps: spec.SchemaProps{ Description: "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"volumeID"}, }, }, Dependencies: []string{}, }, "v1.Action": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Action describes a request to the API server", Properties: map[string]spec.Schema{ "namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces", Type: []string{"string"}, Format: "", }, }, "verb": { SchemaProps: spec.SchemaProps{ Description: "Verb is one of: get, list, watch, create, update, delete", Type: []string{"string"}, Format: "", }, }, "resourceAPIGroup": { SchemaProps: spec.SchemaProps{ Description: "Group is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined", Type: []string{"string"}, Format: "", }, }, "resourceAPIVersion": { SchemaProps: spec.SchemaProps{ Description: "Version is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined", Type: []string{"string"}, Format: "", }, }, "resource": { SchemaProps: spec.SchemaProps{ Description: "Resource is one of the existing resource types", Type: []string{"string"}, Format: "", }, }, "resourceName": { SchemaProps: spec.SchemaProps{ Description: "ResourceName is the name of the resource being requested for a \"get\" or deleted for a \"delete\"", Type: []string{"string"}, Format: "", }, }, "path": { SchemaProps: spec.SchemaProps{ Description: "Path is the path of a non resource URL", Type: []string{"string"}, Format: "", }, }, "isNonResourceURL": { SchemaProps: spec.SchemaProps{ Description: "IsNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hieraarchy)", Type: []string{"boolean"}, Format: "", }, }, "content": { SchemaProps: spec.SchemaProps{ Description: "Content is the actual content of the request for create and update", Ref: spec.MustCreateRef("#/definitions/runtime.RawExtension"), }, }, }, Required: []string{"namespace", "verb", "resourceAPIGroup", "resourceAPIVersion", "resource", "resourceName", "path", "isNonResourceURL"}, }, }, Dependencies: []string{ "runtime.RawExtension"}, }, "v1.Affinity": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Affinity is a group of affinity scheduling rules.", Properties: map[string]spec.Schema{ "nodeAffinity": { SchemaProps: spec.SchemaProps{ Description: "Describes node affinity scheduling rules for the pod.", Ref: spec.MustCreateRef("#/definitions/v1.NodeAffinity"), }, }, "podAffinity": { SchemaProps: spec.SchemaProps{ Description: "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", Ref: spec.MustCreateRef("#/definitions/v1.PodAffinity"), }, }, "podAntiAffinity": { SchemaProps: spec.SchemaProps{ Description: "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", Ref: spec.MustCreateRef("#/definitions/v1.PodAntiAffinity"), }, }, }, }, }, Dependencies: []string{ "v1.NodeAffinity", "v1.PodAffinity", "v1.PodAntiAffinity"}, }, "v1.AppliedClusterResourceQuota": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "AppliedClusterResourceQuota mirrors ClusterResourceQuota at a project scope, for projection into a project. It allows a project-admin to know which ClusterResourceQuotas are applied to his project and their associated usage.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the desired quota", Ref: spec.MustCreateRef("#/definitions/v1.ClusterResourceQuotaSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status defines the actual enforced quota and its current usage", Ref: spec.MustCreateRef("#/definitions/v1.ClusterResourceQuotaStatus"), }, }, }, Required: []string{"metadata", "spec"}, }, }, Dependencies: []string{ "v1.ClusterResourceQuotaSpec", "v1.ClusterResourceQuotaStatus", "v1.ObjectMeta"}, }, "v1.AppliedClusterResourceQuotaList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "AppliedClusterResourceQuotaList is a collection of AppliedClusterResourceQuotas", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of AppliedClusterResourceQuota", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.AppliedClusterResourceQuota"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.AppliedClusterResourceQuota"}, }, "v1.AttachedVolume": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "AttachedVolume describes a volume attached to a node", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the attached volume", Type: []string{"string"}, Format: "", }, }, "devicePath": { SchemaProps: spec.SchemaProps{ Description: "DevicePath represents the device path where the volume should be available", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"name", "devicePath"}, }, }, Dependencies: []string{}, }, "v1.AvoidPods": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "AvoidPods describes pods that should avoid this node. This is the value for a Node annotation with key scheduler.alpha.kubernetes.io/preferAvoidPods and will eventually become a field of NodeStatus.", Properties: map[string]spec.Schema{ "preferAvoidPods": { SchemaProps: spec.SchemaProps{ Description: "Bounded-sized list of signatures of pods that should avoid this node, sorted in timestamp order from oldest to newest. Size of the slice is unspecified.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.PreferAvoidPodsEntry"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.PreferAvoidPodsEntry"}, }, "v1.AzureDiskVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", Properties: map[string]spec.Schema{ "diskName": { SchemaProps: spec.SchemaProps{ Description: "The Name of the data disk in the blob storage", Type: []string{"string"}, Format: "", }, }, "diskURI": { SchemaProps: spec.SchemaProps{ Description: "The URI the data disk in the blob storage", Type: []string{"string"}, Format: "", }, }, "cachingMode": { SchemaProps: spec.SchemaProps{ Description: "Host Caching mode: None, Read Only, Read Write.", Type: []string{"string"}, Format: "", }, }, "fsType": { SchemaProps: spec.SchemaProps{ Description: "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", Type: []string{"string"}, Format: "", }, }, "readOnly": { SchemaProps: spec.SchemaProps{ Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"diskName", "diskURI"}, }, }, Dependencies: []string{}, }, "v1.AzureFileVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", Properties: map[string]spec.Schema{ "secretName": { SchemaProps: spec.SchemaProps{ Description: "the name of secret that contains Azure Storage Account Name and Key", Type: []string{"string"}, Format: "", }, }, "shareName": { SchemaProps: spec.SchemaProps{ Description: "Share Name", Type: []string{"string"}, Format: "", }, }, "readOnly": { SchemaProps: spec.SchemaProps{ Description: "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"secretName", "shareName"}, }, }, Dependencies: []string{}, }, "v1.BinaryBuildRequestOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BinaryBuildRequestOptions are the options required to fully speficy a binary build request", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "metadata for BinaryBuildRequestOptions.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "asFile": { SchemaProps: spec.SchemaProps{ Description: "asFile determines if the binary should be created as a file within the source rather than extracted as an archive", Type: []string{"string"}, Format: "", }, }, "revision.commit": { SchemaProps: spec.SchemaProps{ Description: "revision.commit is the value identifying a specific commit", Type: []string{"string"}, Format: "", }, }, "revision.message": { SchemaProps: spec.SchemaProps{ Description: "revision.message is the description of a specific commit", Type: []string{"string"}, Format: "", }, }, "revision.authorName": { SchemaProps: spec.SchemaProps{ Description: "revision.authorName of the source control user", Type: []string{"string"}, Format: "", }, }, "revision.authorEmail": { SchemaProps: spec.SchemaProps{ Description: "revision.authorEmail of the source control user", Type: []string{"string"}, Format: "", }, }, "revision.committerName": { SchemaProps: spec.SchemaProps{ Description: "revision.committerName of the source control user", Type: []string{"string"}, Format: "", }, }, "revision.committerEmail": { SchemaProps: spec.SchemaProps{ Description: "revision.committerEmail of the source control user", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta"}, }, "v1.BinaryBuildSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BinaryBuildSource describes a binary file to be used for the Docker and Source build strategies, where the file will be extracted and used as the build source.", Properties: map[string]spec.Schema{ "asFile": { SchemaProps: spec.SchemaProps{ Description: "asFile indicates that the provided binary input should be considered a single file within the build input. For example, specifying \"webapp.war\" would place the provided binary as `/webapp.war` for the builder. If left empty, the Docker and Source build strategies assume this file is a zip, tar, or tar.gz file and extract it as the source. The custom strategy receives this binary as standard input. This filename may not contain slashes or be '..' or '.'.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.Binding": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Binding ties one object to another. For example, a pod is bound to a node by a scheduler.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "target": { SchemaProps: spec.SchemaProps{ Description: "The target object that you want to bind to the standard object.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, }, Required: []string{"target"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.ObjectReference"}, }, "v1.BitbucketWebHookCause": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BitbucketWebHookCause has information about a Bitbucket webhook that triggered a build.", Properties: map[string]spec.Schema{ "revision": { SchemaProps: spec.SchemaProps{ Description: "Revision is the git source revision information of the trigger.", Ref: spec.MustCreateRef("#/definitions/v1.SourceRevision"), }, }, "secret": { SchemaProps: spec.SchemaProps{ Description: "Secret is the obfuscated webhook secret that triggered a build.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1.SourceRevision"}, }, "v1.BrokerTemplateInstance": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BrokerTemplateInstance holds the service broker-related state associated with a TemplateInstance. BrokerTemplateInstance is part of an experimental API.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "spec describes the state of this BrokerTemplateInstance.", Ref: spec.MustCreateRef("#/definitions/v1.BrokerTemplateInstanceSpec"), }, }, }, Required: []string{"spec"}, }, }, Dependencies: []string{ "v1.BrokerTemplateInstanceSpec", "v1.ObjectMeta"}, }, "v1.BrokerTemplateInstanceList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BrokerTemplateInstanceList is a list of BrokerTemplateInstance objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "items is a list of BrokerTemplateInstances", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.BrokerTemplateInstance"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.BrokerTemplateInstance"}, }, "v1.BrokerTemplateInstanceSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BrokerTemplateInstanceSpec describes the state of a BrokerTemplateInstance.", Properties: map[string]spec.Schema{ "templateInstance": { SchemaProps: spec.SchemaProps{ Description: "templateinstance is a reference to a TemplateInstance object residing in a namespace.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "secret": { SchemaProps: spec.SchemaProps{ Description: "secret is a reference to a Secret object residing in a namespace, containing the necessary template parameters.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "bindingIDs": { SchemaProps: spec.SchemaProps{ Description: "bindingids is a list of 'binding_id's provided during successive bind calls to the template service broker.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"templateInstance", "secret", "bindingIDs"}, }, }, Dependencies: []string{ "v1.ObjectReference"}, }, "v1.Build": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Build encapsulates the inputs needed to produce a new deployable image, as well as the status of the execution and a reference to the Pod which executed the build.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "spec is all the inputs used to execute the build.", Ref: spec.MustCreateRef("#/definitions/v1.BuildSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "status is the current status of the build.", Ref: spec.MustCreateRef("#/definitions/v1.BuildStatus"), }, }, }, }, }, Dependencies: []string{ "v1.BuildSpec", "v1.BuildStatus", "v1.ObjectMeta"}, }, "v1.BuildConfig": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Build configurations define a build process for new Docker images. There are three types of builds possible - a Docker build using a Dockerfile, a Source-to-Image build that uses a specially prepared base image that accepts source code that it can make runnable, and a custom build that can run // arbitrary Docker images as a base and accept the build parameters. Builds run on the cluster and on completion are pushed to the Docker registry specified in the \"output\" section. A build can be triggered via a webhook, when the base image changes, or when a user manually requests a new build be // created.\n\nEach build created by a build configuration is numbered and refers back to its parent configuration. Multiple builds can be triggered at once. Builds that do not have \"output\" set can be used to test code or run a verification build.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "metadata for BuildConfig.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "spec holds all the input necessary to produce a new build, and the conditions when to trigger them.", Ref: spec.MustCreateRef("#/definitions/v1.BuildConfigSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "status holds any relevant information about a build config", Ref: spec.MustCreateRef("#/definitions/v1.BuildConfigStatus"), }, }, }, Required: []string{"spec", "status"}, }, }, Dependencies: []string{ "v1.BuildConfigSpec", "v1.BuildConfigStatus", "v1.ObjectMeta"}, }, "v1.BuildConfigList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BuildConfigList is a collection of BuildConfigs.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "metadata for BuildConfigList.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "items is a list of build configs", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.BuildConfig"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.BuildConfig"}, }, "v1.BuildConfigSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BuildConfigSpec describes when and how builds are created", Properties: map[string]spec.Schema{ "triggers": { SchemaProps: spec.SchemaProps{ Description: "triggers determine how new Builds can be launched from a BuildConfig. If no triggers are defined, a new build can only occur as a result of an explicit client build creation.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.BuildTriggerPolicy"), }, }, }, }, }, "runPolicy": { SchemaProps: spec.SchemaProps{ Description: "RunPolicy describes how the new build created from this build configuration will be scheduled for execution. This is optional, if not specified we default to \"Serial\".", Type: []string{"string"}, Format: "", }, }, "serviceAccount": { SchemaProps: spec.SchemaProps{ Description: "serviceAccount is the name of the ServiceAccount to use to run the pod created by this build. The pod will be allowed to use secrets referenced by the ServiceAccount", Type: []string{"string"}, Format: "", }, }, "source": { SchemaProps: spec.SchemaProps{ Description: "source describes the SCM in use.", Ref: spec.MustCreateRef("#/definitions/v1.BuildSource"), }, }, "revision": { SchemaProps: spec.SchemaProps{ Description: "revision is the information from the source for a specific repo snapshot. This is optional.", Ref: spec.MustCreateRef("#/definitions/v1.SourceRevision"), }, }, "strategy": { SchemaProps: spec.SchemaProps{ Description: "strategy defines how to perform a build.", Ref: spec.MustCreateRef("#/definitions/v1.BuildStrategy"), }, }, "output": { SchemaProps: spec.SchemaProps{ Description: "output describes the Docker image the Strategy should produce.", Ref: spec.MustCreateRef("#/definitions/v1.BuildOutput"), }, }, "resources": { SchemaProps: spec.SchemaProps{ Description: "resources computes resource requirements to execute the build.", Ref: spec.MustCreateRef("#/definitions/v1.ResourceRequirements"), }, }, "postCommit": { SchemaProps: spec.SchemaProps{ Description: "postCommit is a build hook executed after the build output image is committed, before it is pushed to a registry.", Ref: spec.MustCreateRef("#/definitions/v1.BuildPostCommitSpec"), }, }, "completionDeadlineSeconds": { SchemaProps: spec.SchemaProps{ Description: "completionDeadlineSeconds is an optional duration in seconds, counted from the time when a build pod gets scheduled in the system, that the build may be active on a node before the system actively tries to terminate the build; value must be positive integer", Type: []string{"integer"}, Format: "int64", }, }, "nodeSelector": { SchemaProps: spec.SchemaProps{ Description: "nodeSelector is a selector which must be true for the build pod to fit on a node If nil, it can be overridden by default build nodeselector values for the cluster. If set to an empty map or a map with any values, default build nodeselector values are ignored.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"triggers", "strategy", "nodeSelector"}, }, }, Dependencies: []string{ "v1.BuildOutput", "v1.BuildPostCommitSpec", "v1.BuildSource", "v1.BuildStrategy", "v1.BuildTriggerPolicy", "v1.ResourceRequirements", "v1.SourceRevision"}, }, "v1.BuildConfigStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BuildConfigStatus contains current state of the build config object.", Properties: map[string]spec.Schema{ "lastVersion": { SchemaProps: spec.SchemaProps{ Description: "lastVersion is used to inform about number of last triggered build.", Type: []string{"integer"}, Format: "int64", }, }, }, Required: []string{"lastVersion"}, }, }, Dependencies: []string{}, }, "v1.BuildList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BuildList is a collection of Builds.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "metadata for BuildList.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "items is a list of builds", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Build"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Build"}, }, "v1.BuildLog": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BuildLog is the (unused) resource associated with the build log redirector", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.BuildLogOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BuildLogOptions is the REST options for a build log", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "container": { SchemaProps: spec.SchemaProps{ Description: "cointainer for which to stream logs. Defaults to only container if there is one container in the pod.", Type: []string{"string"}, Format: "", }, }, "follow": { SchemaProps: spec.SchemaProps{ Description: "follow if true indicates that the build log should be streamed until the build terminates.", Type: []string{"boolean"}, Format: "", }, }, "previous": { SchemaProps: spec.SchemaProps{ Description: "previous returns previous build logs. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "sinceSeconds": { SchemaProps: spec.SchemaProps{ Description: "sinceSeconds is a relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.", Type: []string{"integer"}, Format: "int64", }, }, "sinceTime": { SchemaProps: spec.SchemaProps{ Description: "sinceTime is an RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "timestamps": { SchemaProps: spec.SchemaProps{ Description: "timestamps, If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "tailLines": { SchemaProps: spec.SchemaProps{ Description: "tailLines, If set, is the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime", Type: []string{"integer"}, Format: "int64", }, }, "limitBytes": { SchemaProps: spec.SchemaProps{ Description: "limitBytes, If set, is the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.", Type: []string{"integer"}, Format: "int64", }, }, "nowait": { SchemaProps: spec.SchemaProps{ Description: "noWait if true causes the call to return immediately even if the build is not available yet. Otherwise the server will wait until the build has started.", Type: []string{"boolean"}, Format: "", }, }, "version": { SchemaProps: spec.SchemaProps{ Description: "version of the build for which to view logs.", Type: []string{"integer"}, Format: "int64", }, }, }, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1.BuildOutput": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BuildOutput is input to a build strategy and describes the Docker image that the strategy should produce.", Properties: map[string]spec.Schema{ "to": { SchemaProps: spec.SchemaProps{ Description: "to defines an optional location to push the output of this build to. Kind must be one of 'ImageStreamTag' or 'DockerImage'. This value will be used to look up a Docker image repository to push to. In the case of an ImageStreamTag, the ImageStreamTag will be looked for in the namespace of the build unless Namespace is specified.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "pushSecret": { SchemaProps: spec.SchemaProps{ Description: "PushSecret is the name of a Secret that would be used for setting up the authentication for executing the Docker push to authentication enabled Docker Registry (or Docker Hub).", Ref: spec.MustCreateRef("#/definitions/v1.LocalObjectReference"), }, }, "imageLabels": { SchemaProps: spec.SchemaProps{ Description: "imageLabels define a list of labels that are applied to the resulting image. If there are multiple labels with the same name then the last one in the list is used.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ImageLabel"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.ImageLabel", "v1.LocalObjectReference", "v1.ObjectReference"}, }, "v1.BuildPostCommitSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "A BuildPostCommitSpec holds a build post commit hook specification. The hook executes a command in a temporary container running the build output image, immediately after the last layer of the image is committed and before the image is pushed to a registry. The command is executed with the current working directory ($PWD) set to the image's WORKDIR.\n\nThe build will be marked as failed if the hook execution fails. It will fail if the script or command return a non-zero exit code, or if there is any other error related to starting the temporary container.\n\nThere are five different ways to configure the hook. As an example, all forms below are equivalent and will execute `rake test --verbose`.\n\n1. Shell script:\n\n \"postCommit\": {\n \"script\": \"rake test --verbose\",\n }\n\n The above is a convenient form which is equivalent to:\n\n \"postCommit\": {\n \"command\": [\"/bin/sh\", \"-ic\"],\n \"args\": [\"rake test --verbose\"]\n }\n\n2. A command as the image entrypoint:\n\n \"postCommit\": {\n \"commit\": [\"rake\", \"test\", \"--verbose\"]\n }\n\n Command overrides the image entrypoint in the exec form, as documented in\n Docker: https://docs.docker.com/engine/reference/builder/#entrypoint.\n\n3. Pass arguments to the default entrypoint:\n\n \"postCommit\": {\n\t\t \"args\": [\"rake\", \"test\", \"--verbose\"]\n\t }\n\n This form is only useful if the image entrypoint can handle arguments.\n\n4. Shell script with arguments:\n\n \"postCommit\": {\n \"script\": \"rake test $1\",\n \"args\": [\"--verbose\"]\n }\n\n This form is useful if you need to pass arguments that would otherwise be\n hard to quote properly in the shell script. In the script, $0 will be\n \"/bin/sh\" and $1, $2, etc, are the positional arguments from Args.\n\n5. Command with arguments:\n\n \"postCommit\": {\n \"command\": [\"rake\", \"test\"],\n \"args\": [\"--verbose\"]\n }\n\n This form is equivalent to appending the arguments to the Command slice.\n\nIt is invalid to provide both Script and Command simultaneously. If none of the fields are specified, the hook is not executed.", Properties: map[string]spec.Schema{ "command": { SchemaProps: spec.SchemaProps{ Description: "command is the command to run. It may not be specified with Script. This might be needed if the image doesn't have `/bin/sh`, or if you do not want to use a shell. In all other cases, using Script might be more convenient.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "args": { SchemaProps: spec.SchemaProps{ Description: "args is a list of arguments that are provided to either Command, Script or the Docker image's default entrypoint. The arguments are placed immediately after the command to be run.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "script": { SchemaProps: spec.SchemaProps{ Description: "script is a shell script to be run with `/bin/sh -ic`. It may not be specified with Command. Use Script when a shell script is appropriate to execute the post build hook, for example for running unit tests with `rake test`. If you need control over the image entrypoint, or if the image does not have `/bin/sh`, use Command and/or Args. The `-i` flag is needed to support CentOS and RHEL images that use Software Collections (SCL), in order to have the appropriate collections enabled in the shell. E.g., in the Ruby image, this is necessary to make `ruby`, `bundle` and other binaries available in the PATH.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.BuildRequest": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BuildRequest is the resource used to pass parameters to build generator", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "metadata for BuildRequest.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "revision": { SchemaProps: spec.SchemaProps{ Description: "revision is the information from the source for a specific repo snapshot.", Ref: spec.MustCreateRef("#/definitions/v1.SourceRevision"), }, }, "triggeredByImage": { SchemaProps: spec.SchemaProps{ Description: "triggeredByImage is the Image that triggered this build.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "from": { SchemaProps: spec.SchemaProps{ Description: "from is the reference to the ImageStreamTag that triggered the build.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "binary": { SchemaProps: spec.SchemaProps{ Description: "binary indicates a request to build from a binary provided to the builder", Ref: spec.MustCreateRef("#/definitions/v1.BinaryBuildSource"), }, }, "lastVersion": { SchemaProps: spec.SchemaProps{ Description: "lastVersion (optional) is the LastVersion of the BuildConfig that was used to generate the build. If the BuildConfig in the generator doesn't match, a build will not be generated.", Type: []string{"integer"}, Format: "int64", }, }, "env": { SchemaProps: spec.SchemaProps{ Description: "env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EnvVar"), }, }, }, }, }, "triggeredBy": { SchemaProps: spec.SchemaProps{ Description: "triggeredBy describes which triggers started the most recent update to the build configuration and contains information about those triggers.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.BuildTriggerCause"), }, }, }, }, }, "dockerStrategyOptions": { SchemaProps: spec.SchemaProps{ Description: "DockerStrategyOptions contains additional docker-strategy specific options for the build", Ref: spec.MustCreateRef("#/definitions/v1.DockerStrategyOptions"), }, }, }, Required: []string{"triggeredBy"}, }, }, Dependencies: []string{ "v1.BinaryBuildSource", "v1.BuildTriggerCause", "v1.DockerStrategyOptions", "v1.EnvVar", "v1.ObjectMeta", "v1.ObjectReference", "v1.SourceRevision"}, }, "v1.BuildSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BuildSource is the SCM used for the build.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "type of build input to accept", Type: []string{"string"}, Format: "", }, }, "binary": { SchemaProps: spec.SchemaProps{ Description: "binary builds accept a binary as their input. The binary is generally assumed to be a tar, gzipped tar, or zip file depending on the strategy. For Docker builds, this is the build context and an optional Dockerfile may be specified to override any Dockerfile in the build context. For Source builds, this is assumed to be an archive as described above. For Source and Docker builds, if binary.asFile is set the build will receive a directory with a single file. contextDir may be used when an archive is provided. Custom builds will receive this binary as input on STDIN.", Ref: spec.MustCreateRef("#/definitions/v1.BinaryBuildSource"), }, }, "dockerfile": { SchemaProps: spec.SchemaProps{ Description: "dockerfile is the raw contents of a Dockerfile which should be built. When this option is specified, the FROM may be modified based on your strategy base image and additional ENV stanzas from your strategy environment will be added after the FROM, but before the rest of your Dockerfile stanzas. The Dockerfile source type may be used with other options like git - in those cases the Git repo will have any innate Dockerfile replaced in the context dir.", Type: []string{"string"}, Format: "", }, }, "git": { SchemaProps: spec.SchemaProps{ Description: "git contains optional information about git build source", Ref: spec.MustCreateRef("#/definitions/v1.GitBuildSource"), }, }, "images": { SchemaProps: spec.SchemaProps{ Description: "images describes a set of images to be used to provide source for the build", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ImageSource"), }, }, }, }, }, "contextDir": { SchemaProps: spec.SchemaProps{ Description: "contextDir specifies the sub-directory where the source code for the application exists. This allows to have buildable sources in directory other than root of repository.", Type: []string{"string"}, Format: "", }, }, "sourceSecret": { SchemaProps: spec.SchemaProps{ Description: "sourceSecret is the name of a Secret that would be used for setting up the authentication for cloning private repository. The secret contains valid credentials for remote repository, where the data's key represent the authentication method to be used and value is the base64 encoded credentials. Supported auth methods are: ssh-privatekey.", Ref: spec.MustCreateRef("#/definitions/v1.LocalObjectReference"), }, }, "secrets": { SchemaProps: spec.SchemaProps{ Description: "secrets represents a list of secrets and their destinations that will be used only for the build.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.SecretBuildSource"), }, }, }, }, }, }, Required: []string{"type"}, }, }, Dependencies: []string{ "v1.BinaryBuildSource", "v1.GitBuildSource", "v1.ImageSource", "v1.LocalObjectReference", "v1.SecretBuildSource"}, }, "v1.BuildSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BuildSpec has the information to represent a build and also additional information about a build", Properties: map[string]spec.Schema{ "serviceAccount": { SchemaProps: spec.SchemaProps{ Description: "serviceAccount is the name of the ServiceAccount to use to run the pod created by this build. The pod will be allowed to use secrets referenced by the ServiceAccount", Type: []string{"string"}, Format: "", }, }, "source": { SchemaProps: spec.SchemaProps{ Description: "source describes the SCM in use.", Ref: spec.MustCreateRef("#/definitions/v1.BuildSource"), }, }, "revision": { SchemaProps: spec.SchemaProps{ Description: "revision is the information from the source for a specific repo snapshot. This is optional.", Ref: spec.MustCreateRef("#/definitions/v1.SourceRevision"), }, }, "strategy": { SchemaProps: spec.SchemaProps{ Description: "strategy defines how to perform a build.", Ref: spec.MustCreateRef("#/definitions/v1.BuildStrategy"), }, }, "output": { SchemaProps: spec.SchemaProps{ Description: "output describes the Docker image the Strategy should produce.", Ref: spec.MustCreateRef("#/definitions/v1.BuildOutput"), }, }, "resources": { SchemaProps: spec.SchemaProps{ Description: "resources computes resource requirements to execute the build.", Ref: spec.MustCreateRef("#/definitions/v1.ResourceRequirements"), }, }, "postCommit": { SchemaProps: spec.SchemaProps{ Description: "postCommit is a build hook executed after the build output image is committed, before it is pushed to a registry.", Ref: spec.MustCreateRef("#/definitions/v1.BuildPostCommitSpec"), }, }, "completionDeadlineSeconds": { SchemaProps: spec.SchemaProps{ Description: "completionDeadlineSeconds is an optional duration in seconds, counted from the time when a build pod gets scheduled in the system, that the build may be active on a node before the system actively tries to terminate the build; value must be positive integer", Type: []string{"integer"}, Format: "int64", }, }, "nodeSelector": { SchemaProps: spec.SchemaProps{ Description: "nodeSelector is a selector which must be true for the build pod to fit on a node If nil, it can be overridden by default build nodeselector values for the cluster. If set to an empty map or a map with any values, default build nodeselector values are ignored.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "triggeredBy": { SchemaProps: spec.SchemaProps{ Description: "triggeredBy describes which triggers started the most recent update to the build configuration and contains information about those triggers.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.BuildTriggerCause"), }, }, }, }, }, }, Required: []string{"strategy", "nodeSelector", "triggeredBy"}, }, }, Dependencies: []string{ "v1.BuildOutput", "v1.BuildPostCommitSpec", "v1.BuildSource", "v1.BuildStrategy", "v1.BuildTriggerCause", "v1.ResourceRequirements", "v1.SourceRevision"}, }, "v1.BuildStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BuildStatus contains the status of a build", Properties: map[string]spec.Schema{ "phase": { SchemaProps: spec.SchemaProps{ Description: "phase is the point in the build lifecycle.", Type: []string{"string"}, Format: "", }, }, "cancelled": { SchemaProps: spec.SchemaProps{ Description: "cancelled describes if a cancel event was triggered for the build.", Type: []string{"boolean"}, Format: "", }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "message is a human-readable message indicating details about why the build has this status.", Type: []string{"string"}, Format: "", }, }, "startTimestamp": { SchemaProps: spec.SchemaProps{ Description: "startTimestamp is a timestamp representing the server time when this Build started running in a Pod. It is represented in RFC3339 form and is in UTC.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "completionTimestamp": { SchemaProps: spec.SchemaProps{ Description: "completionTimestamp is a timestamp representing the server time when this Build was finished, whether that build failed or succeeded. It reflects the time at which the Pod running the Build terminated. It is represented in RFC3339 form and is in UTC.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "duration": { SchemaProps: spec.SchemaProps{ Description: "duration contains time.Duration object describing build time.", Type: []string{"integer"}, Format: "int64", }, }, "outputDockerImageReference": { SchemaProps: spec.SchemaProps{ Description: "outputDockerImageReference contains a reference to the Docker image that will be built by this build. Its value is computed from Build.Spec.Output.To, and should include the registry address, so that it can be used to push and pull the image.", Type: []string{"string"}, Format: "", }, }, "config": { SchemaProps: spec.SchemaProps{ Description: "config is an ObjectReference to the BuildConfig this Build is based on.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "output": { SchemaProps: spec.SchemaProps{ Description: "output describes the Docker image the build has produced.", Ref: spec.MustCreateRef("#/definitions/v1.BuildStatusOutput"), }, }, }, Required: []string{"phase"}, }, }, Dependencies: []string{ "unversioned.Time", "v1.BuildStatusOutput", "v1.ObjectReference"}, }, "v1.BuildStatusOutput": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BuildStatusOutput contains the status of the built image.", Properties: map[string]spec.Schema{ "to": { SchemaProps: spec.SchemaProps{ Description: "to describes the status of the built image being pushed to a registry.", Ref: spec.MustCreateRef("#/definitions/v1.BuildStatusOutputTo"), }, }, }, }, }, Dependencies: []string{ "v1.BuildStatusOutputTo"}, }, "v1.BuildStatusOutputTo": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BuildStatusOutputTo describes the status of the built image with regards to image registry to which it was supposed to be pushed.", Properties: map[string]spec.Schema{ "imageDigest": { SchemaProps: spec.SchemaProps{ Description: "imageDigest is the digest of the built Docker image. The digest uniquely identifies the image in the registry to which it was pushed.\n\nPlease note that this field may not always be set even if the push completes successfully - e.g. when the registry returns no digest or returns it in a format that the builder doesn't understand.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.BuildStrategy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BuildStrategy contains the details of how to perform a build.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "type is the kind of build strategy.", Type: []string{"string"}, Format: "", }, }, "dockerStrategy": { SchemaProps: spec.SchemaProps{ Description: "dockerStrategy holds the parameters to the Docker build strategy.", Ref: spec.MustCreateRef("#/definitions/v1.DockerBuildStrategy"), }, }, "sourceStrategy": { SchemaProps: spec.SchemaProps{ Description: "sourceStrategy holds the parameters to the Source build strategy.", Ref: spec.MustCreateRef("#/definitions/v1.SourceBuildStrategy"), }, }, "customStrategy": { SchemaProps: spec.SchemaProps{ Description: "customStrategy holds the parameters to the Custom build strategy", Ref: spec.MustCreateRef("#/definitions/v1.CustomBuildStrategy"), }, }, "jenkinsPipelineStrategy": { SchemaProps: spec.SchemaProps{ Description: "JenkinsPipelineStrategy holds the parameters to the Jenkins Pipeline build strategy. This strategy is in tech preview.", Ref: spec.MustCreateRef("#/definitions/v1.JenkinsPipelineBuildStrategy"), }, }, }, Required: []string{"type"}, }, }, Dependencies: []string{ "v1.CustomBuildStrategy", "v1.DockerBuildStrategy", "v1.JenkinsPipelineBuildStrategy", "v1.SourceBuildStrategy"}, }, "v1.BuildTriggerCause": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BuildTriggerCause holds information about a triggered build. It is used for displaying build trigger data for each build and build configuration in oc describe. It is also used to describe which triggers led to the most recent update in the build configuration.", Properties: map[string]spec.Schema{ "message": { SchemaProps: spec.SchemaProps{ Description: "message is used to store a human readable message for why the build was triggered. E.g.: \"Manually triggered by user\", \"Configuration change\",etc.", Type: []string{"string"}, Format: "", }, }, "genericWebHook": { SchemaProps: spec.SchemaProps{ Description: "genericWebHook holds data about a builds generic webhook trigger.", Ref: spec.MustCreateRef("#/definitions/v1.GenericWebHookCause"), }, }, "githubWebHook": { SchemaProps: spec.SchemaProps{ Description: "gitHubWebHook represents data for a GitHub webhook that fired a specific build.", Ref: spec.MustCreateRef("#/definitions/v1.GitHubWebHookCause"), }, }, "imageChangeBuild": { SchemaProps: spec.SchemaProps{ Description: "imageChangeBuild stores information about an imagechange event that triggered a new build.", Ref: spec.MustCreateRef("#/definitions/v1.ImageChangeCause"), }, }, "gitlabWebHook": { SchemaProps: spec.SchemaProps{ Description: "GitLabWebHook represents data for a GitLab webhook that fired a specific build.", Ref: spec.MustCreateRef("#/definitions/v1.GitLabWebHookCause"), }, }, "bitbucketWebHook": { SchemaProps: spec.SchemaProps{ Description: "BitbucketWebHook represents data for a Bitbucket webhook that fired a specific build.", Ref: spec.MustCreateRef("#/definitions/v1.BitbucketWebHookCause"), }, }, }, }, }, Dependencies: []string{ "v1.BitbucketWebHookCause", "v1.GenericWebHookCause", "v1.GitHubWebHookCause", "v1.GitLabWebHookCause", "v1.ImageChangeCause"}, }, "v1.BuildTriggerPolicy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "BuildTriggerPolicy describes a policy for a single trigger that results in a new Build.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "type is the type of build trigger", Type: []string{"string"}, Format: "", }, }, "github": { SchemaProps: spec.SchemaProps{ Description: "github contains the parameters for a GitHub webhook type of trigger", Ref: spec.MustCreateRef("#/definitions/v1.WebHookTrigger"), }, }, "generic": { SchemaProps: spec.SchemaProps{ Description: "generic contains the parameters for a Generic webhook type of trigger", Ref: spec.MustCreateRef("#/definitions/v1.WebHookTrigger"), }, }, "imageChange": { SchemaProps: spec.SchemaProps{ Description: "imageChange contains parameters for an ImageChange type of trigger", Ref: spec.MustCreateRef("#/definitions/v1.ImageChangeTrigger"), }, }, "gitlab": { SchemaProps: spec.SchemaProps{ Description: "GitLabWebHook contains the parameters for a GitLab webhook type of trigger", Ref: spec.MustCreateRef("#/definitions/v1.WebHookTrigger"), }, }, "bitbucket": { SchemaProps: spec.SchemaProps{ Description: "BitbucketWebHook contains the parameters for a Bitbucket webhook type of trigger", Ref: spec.MustCreateRef("#/definitions/v1.WebHookTrigger"), }, }, }, Required: []string{"type"}, }, }, Dependencies: []string{ "v1.ImageChangeTrigger", "v1.WebHookTrigger"}, }, "v1.Capabilities": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Adds and removes POSIX capabilities from running containers.", Properties: map[string]spec.Schema{ "add": { SchemaProps: spec.SchemaProps{ Description: "Added capabilities", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "drop": { SchemaProps: spec.SchemaProps{ Description: "Removed capabilities", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, }, }, Dependencies: []string{}, }, "v1.CephFSVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", Properties: map[string]spec.Schema{ "monitors": { SchemaProps: spec.SchemaProps{ Description: "Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "path": { SchemaProps: spec.SchemaProps{ Description: "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", Type: []string{"string"}, Format: "", }, }, "user": { SchemaProps: spec.SchemaProps{ Description: "Optional: User is the rados user name, default is admin More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", Type: []string{"string"}, Format: "", }, }, "secretFile": { SchemaProps: spec.SchemaProps{ Description: "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", Type: []string{"string"}, Format: "", }, }, "secretRef": { SchemaProps: spec.SchemaProps{ Description: "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", Ref: spec.MustCreateRef("#/definitions/v1.LocalObjectReference"), }, }, "readOnly": { SchemaProps: spec.SchemaProps{ Description: "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"monitors"}, }, }, Dependencies: []string{ "v1.LocalObjectReference"}, }, "v1.CinderVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", Properties: map[string]spec.Schema{ "volumeID": { SchemaProps: spec.SchemaProps{ Description: "volume id used to identify the volume in cinder More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", Type: []string{"string"}, Format: "", }, }, "fsType": { SchemaProps: spec.SchemaProps{ Description: "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", Type: []string{"string"}, Format: "", }, }, "readOnly": { SchemaProps: spec.SchemaProps{ Description: "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"volumeID"}, }, }, Dependencies: []string{}, }, "v1.ClusterNetwork": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterNetwork describes the cluster network. There is normally only one object of this type, named \"default\", which is created by the SDN network plugin based on the master configuration when the cluster is brought up for the first time.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "network": { SchemaProps: spec.SchemaProps{ Description: "Network is a CIDR string specifying the global overlay network's L3 space", Type: []string{"string"}, Format: "", }, }, "hostsubnetlength": { SchemaProps: spec.SchemaProps{ Description: "HostSubnetLength is the number of bits of network to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods", Type: []string{"integer"}, Format: "int64", }, }, "serviceNetwork": { SchemaProps: spec.SchemaProps{ Description: "ServiceNetwork is the CIDR range that Service IP addresses are allocated from", Type: []string{"string"}, Format: "", }, }, "pluginName": { SchemaProps: spec.SchemaProps{ Description: "PluginName is the name of the network plugin being used", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"network", "hostsubnetlength", "serviceNetwork"}, }, }, Dependencies: []string{ "v1.ObjectMeta"}, }, "v1.ClusterNetworkList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterNetworkList is a collection of ClusterNetworks", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of cluster networks", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ClusterNetwork"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.ClusterNetwork"}, }, "v1.ClusterPolicy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterPolicy is a object that holds all the ClusterRoles for a particular namespace. There is at most one ClusterPolicy document per namespace.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "lastModified": { SchemaProps: spec.SchemaProps{ Description: "LastModified is the last time that any part of the ClusterPolicy was created, updated, or deleted", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "roles": { SchemaProps: spec.SchemaProps{ Description: "Roles holds all the ClusterRoles held by this ClusterPolicy, mapped by ClusterRole.Name", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.NamedClusterRole"), }, }, }, }, }, }, Required: []string{"lastModified", "roles"}, }, }, Dependencies: []string{ "unversioned.Time", "v1.NamedClusterRole", "v1.ObjectMeta"}, }, "v1.ClusterPolicyBinding": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterPolicyBinding is a object that holds all the ClusterRoleBindings for a particular namespace. There is one ClusterPolicyBinding document per referenced ClusterPolicy namespace", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "lastModified": { SchemaProps: spec.SchemaProps{ Description: "LastModified is the last time that any part of the ClusterPolicyBinding was created, updated, or deleted", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "policyRef": { SchemaProps: spec.SchemaProps{ Description: "PolicyRef is a reference to the ClusterPolicy that contains all the ClusterRoles that this ClusterPolicyBinding's RoleBindings may reference", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "roleBindings": { SchemaProps: spec.SchemaProps{ Description: "RoleBindings holds all the ClusterRoleBindings held by this ClusterPolicyBinding, mapped by ClusterRoleBinding.Name", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.NamedClusterRoleBinding"), }, }, }, }, }, }, Required: []string{"lastModified", "policyRef", "roleBindings"}, }, }, Dependencies: []string{ "unversioned.Time", "v1.NamedClusterRoleBinding", "v1.ObjectMeta", "v1.ObjectReference"}, }, "v1.ClusterPolicyBindingList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterPolicyBindingList is a collection of ClusterPolicyBindings", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of ClusterPolicyBindings", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ClusterPolicyBinding"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.ClusterPolicyBinding"}, }, "v1.ClusterPolicyList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterPolicyList is a collection of ClusterPolicies", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of ClusterPolicies", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ClusterPolicy"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.ClusterPolicy"}, }, "v1.ClusterResourceQuota": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterResourceQuota mirrors ResourceQuota at a cluster scope. This object is easily convertible to synthetic ResourceQuota object to allow quota evaluation re-use.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the desired quota", Ref: spec.MustCreateRef("#/definitions/v1.ClusterResourceQuotaSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status defines the actual enforced quota and its current usage", Ref: spec.MustCreateRef("#/definitions/v1.ClusterResourceQuotaStatus"), }, }, }, Required: []string{"metadata", "spec"}, }, }, Dependencies: []string{ "v1.ClusterResourceQuotaSpec", "v1.ClusterResourceQuotaStatus", "v1.ObjectMeta"}, }, "v1.ClusterResourceQuotaList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterResourceQuotaList is a collection of ClusterResourceQuotas", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of ClusterResourceQuotas", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ClusterResourceQuota"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.ClusterResourceQuota"}, }, "v1.ClusterResourceQuotaSelector": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterResourceQuotaSelector is used to select projects. At least one of LabelSelector or AnnotationSelector must present. If only one is present, it is the only selection criteria. If both are specified, the project must match both restrictions.", Properties: map[string]spec.Schema{ "labels": { SchemaProps: spec.SchemaProps{ Description: "LabelSelector is used to select projects by label.", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "annotations": { SchemaProps: spec.SchemaProps{ Description: "AnnotationSelector is used to select projects by annotation.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"labels", "annotations"}, }, }, Dependencies: []string{ "unversioned.LabelSelector"}, }, "v1.ClusterResourceQuotaSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterResourceQuotaSpec defines the desired quota restrictions", Properties: map[string]spec.Schema{ "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is the selector used to match projects. It should only select active projects on the scale of dozens (though it can select many more less active projects). These projects will contend on object creation through this resource.", Ref: spec.MustCreateRef("#/definitions/v1.ClusterResourceQuotaSelector"), }, }, "quota": { SchemaProps: spec.SchemaProps{ Description: "Quota defines the desired quota", Ref: spec.MustCreateRef("#/definitions/v1.ResourceQuotaSpec"), }, }, }, Required: []string{"selector", "quota"}, }, }, Dependencies: []string{ "v1.ClusterResourceQuotaSelector", "v1.ResourceQuotaSpec"}, }, "v1.ClusterResourceQuotaStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterResourceQuotaStatus defines the actual enforced quota and its current usage", Properties: map[string]spec.Schema{ "total": { SchemaProps: spec.SchemaProps{ Description: "Total defines the actual enforced quota and its current usage across all projects", Ref: spec.MustCreateRef("#/definitions/v1.ResourceQuotaStatus"), }, }, "namespaces": { SchemaProps: spec.SchemaProps{ Description: "Namespaces slices the usage by project. This division allows for quick resolution of deletion reconciliation inside of a single project without requiring a recalculation across all projects. This can be used to pull the deltas for a given project.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ResourceQuotaStatusByNamespace"), }, }, }, }, }, }, Required: []string{"total", "namespaces"}, }, }, Dependencies: []string{ "v1.ResourceQuotaStatus", "v1.ResourceQuotaStatusByNamespace"}, }, "v1.ClusterRole": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterRole is a logical grouping of PolicyRules that can be referenced as a unit by ClusterRoleBindings.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "rules": { SchemaProps: spec.SchemaProps{ Description: "Rules holds all the PolicyRules for this ClusterRole", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.PolicyRule"), }, }, }, }, }, }, Required: []string{"rules"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.PolicyRule"}, }, "v1.ClusterRoleBinding": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference any ClusterRole in the same namespace or in the global namespace. It adds who information via (Users and Groups) OR Subjects and namespace information by which namespace it exists in. ClusterRoleBindings in a given namespace only have effect in that namespace (excepting the master namespace which has power in all namespaces).", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "userNames": { SchemaProps: spec.SchemaProps{ Description: "UserNames holds all the usernames directly bound to the role. This field should only be specified when supporting legacy clients and servers. See Subjects for further details.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "groupNames": { SchemaProps: spec.SchemaProps{ Description: "GroupNames holds all the groups directly bound to the role. This field should only be specified when supporting legacy clients and servers. See Subjects for further details.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "subjects": { SchemaProps: spec.SchemaProps{ Description: "Subjects hold object references to authorize with this rule. This field is ignored if UserNames or GroupNames are specified to support legacy clients and servers. Thus newer clients that do not need to support backwards compatibility should send only fully qualified Subjects and should omit the UserNames and GroupNames fields. Clients that need to support backwards compatibility can use this field to build the UserNames and GroupNames.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, }, }, }, "roleRef": { SchemaProps: spec.SchemaProps{ Description: "RoleRef can only reference the current namespace and the global namespace. If the ClusterRoleRef cannot be resolved, the Authorizer must return an error. Since Policy is a singleton, this is sufficient knowledge to locate a role.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, }, Required: []string{"userNames", "groupNames", "subjects", "roleRef"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.ObjectReference"}, }, "v1.ClusterRoleBindingList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterRoleBindingList is a collection of ClusterRoleBindings", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of ClusterRoleBindings", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ClusterRoleBinding"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.ClusterRoleBinding"}, }, "v1.ClusterRoleList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterRoleList is a collection of ClusterRoles", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of ClusterRoles", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ClusterRole"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.ClusterRole"}, }, "v1.ClusterRoleScopeRestriction": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterRoleScopeRestriction describes restrictions on cluster role scopes", Properties: map[string]spec.Schema{ "roleNames": { SchemaProps: spec.SchemaProps{ Description: "RoleNames is the list of cluster roles that can referenced. * means anything", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "namespaces": { SchemaProps: spec.SchemaProps{ Description: "Namespaces is the list of namespaces that can be referenced. * means any of them (including *)", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "allowEscalation": { SchemaProps: spec.SchemaProps{ Description: "AllowEscalation indicates whether you can request roles and their escalating resources", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"roleNames", "namespaces", "allowEscalation"}, }, }, Dependencies: []string{}, }, "v1.CommonSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "CommonSpec encapsulates all the inputs necessary to represent a build.", Properties: map[string]spec.Schema{ "serviceAccount": { SchemaProps: spec.SchemaProps{ Description: "serviceAccount is the name of the ServiceAccount to use to run the pod created by this build. The pod will be allowed to use secrets referenced by the ServiceAccount", Type: []string{"string"}, Format: "", }, }, "source": { SchemaProps: spec.SchemaProps{ Description: "source describes the SCM in use.", Ref: spec.MustCreateRef("#/definitions/v1.BuildSource"), }, }, "revision": { SchemaProps: spec.SchemaProps{ Description: "revision is the information from the source for a specific repo snapshot. This is optional.", Ref: spec.MustCreateRef("#/definitions/v1.SourceRevision"), }, }, "strategy": { SchemaProps: spec.SchemaProps{ Description: "strategy defines how to perform a build.", Ref: spec.MustCreateRef("#/definitions/v1.BuildStrategy"), }, }, "output": { SchemaProps: spec.SchemaProps{ Description: "output describes the Docker image the Strategy should produce.", Ref: spec.MustCreateRef("#/definitions/v1.BuildOutput"), }, }, "resources": { SchemaProps: spec.SchemaProps{ Description: "resources computes resource requirements to execute the build.", Ref: spec.MustCreateRef("#/definitions/v1.ResourceRequirements"), }, }, "postCommit": { SchemaProps: spec.SchemaProps{ Description: "postCommit is a build hook executed after the build output image is committed, before it is pushed to a registry.", Ref: spec.MustCreateRef("#/definitions/v1.BuildPostCommitSpec"), }, }, "completionDeadlineSeconds": { SchemaProps: spec.SchemaProps{ Description: "completionDeadlineSeconds is an optional duration in seconds, counted from the time when a build pod gets scheduled in the system, that the build may be active on a node before the system actively tries to terminate the build; value must be positive integer", Type: []string{"integer"}, Format: "int64", }, }, "nodeSelector": { SchemaProps: spec.SchemaProps{ Description: "nodeSelector is a selector which must be true for the build pod to fit on a node If nil, it can be overridden by default build nodeselector values for the cluster. If set to an empty map or a map with any values, default build nodeselector values are ignored.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"strategy", "nodeSelector"}, }, }, Dependencies: []string{ "v1.BuildOutput", "v1.BuildPostCommitSpec", "v1.BuildSource", "v1.BuildStrategy", "v1.ResourceRequirements", "v1.SourceRevision"}, }, "v1.CommonWebHookCause": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "CommonWebHookCause factors out the identical format of these webhook causes into struct so we can share it in the specific causes; it is too late for GitHub and Generic but we can leverage this pattern with GitLab and Bitbucket.", Properties: map[string]spec.Schema{ "revision": { SchemaProps: spec.SchemaProps{ Description: "Revision is the git source revision information of the trigger.", Ref: spec.MustCreateRef("#/definitions/v1.SourceRevision"), }, }, "secret": { SchemaProps: spec.SchemaProps{ Description: "Secret is the obfuscated webhook secret that triggered a build.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1.SourceRevision"}, }, "v1.ComponentCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Information about the condition of a component.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of condition for a component. Valid value: \"Healthy\"", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "Message about the condition for a component. For example, information about a health check.", Type: []string{"string"}, Format: "", }, }, "error": { SchemaProps: spec.SchemaProps{ Description: "Condition error code for a component. For example, a health check error code.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "status"}, }, }, Dependencies: []string{}, }, "v1.ComponentStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ComponentStatus (and ComponentStatusList) holds the cluster validation info.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "conditions": { SchemaProps: spec.SchemaProps{ Description: "List of component conditions observed", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ComponentCondition"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.ComponentCondition", "v1.ObjectMeta"}, }, "v1.ComponentStatusList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Status of all the conditions for the component as a list of ComponentStatus objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "List of ComponentStatus objects.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ComponentStatus"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.ComponentStatus"}, }, "v1.ConfigMap": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ConfigMap holds configuration data for pods to consume.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "data": { SchemaProps: spec.SchemaProps{ Description: "Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta"}, }, "v1.ConfigMapKeySelector": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Selects a key from a ConfigMap.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", Type: []string{"string"}, Format: "", }, }, "key": { SchemaProps: spec.SchemaProps{ Description: "The key to select.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"key"}, }, }, Dependencies: []string{}, }, "v1.ConfigMapList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ConfigMapList is a resource containing a list of ConfigMap objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of ConfigMaps.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ConfigMap"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.ConfigMap"}, }, "v1.ConfigMapVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", Type: []string{"string"}, Format: "", }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.KeyToPath"), }, }, }, }, }, "defaultMode": { SchemaProps: spec.SchemaProps{ Description: "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", Type: []string{"integer"}, Format: "int32", }, }, }, }, }, Dependencies: []string{ "v1.KeyToPath"}, }, "v1.Container": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "A single application container that you want to run within a pod.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", Type: []string{"string"}, Format: "", }, }, "image": { SchemaProps: spec.SchemaProps{ Description: "Docker image name. More info: http://kubernetes.io/docs/user-guide/images", Type: []string{"string"}, Format: "", }, }, "command": { SchemaProps: spec.SchemaProps{ Description: "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "args": { SchemaProps: spec.SchemaProps{ Description: "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "workingDir": { SchemaProps: spec.SchemaProps{ Description: "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", Type: []string{"string"}, Format: "", }, }, "ports": { SchemaProps: spec.SchemaProps{ Description: "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ContainerPort"), }, }, }, }, }, "env": { SchemaProps: spec.SchemaProps{ Description: "List of environment variables to set in the container. Cannot be updated.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EnvVar"), }, }, }, }, }, "resources": { SchemaProps: spec.SchemaProps{ Description: "Compute Resources required by this container. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources", Ref: spec.MustCreateRef("#/definitions/v1.ResourceRequirements"), }, }, "volumeMounts": { SchemaProps: spec.SchemaProps{ Description: "Pod volumes to mount into the container's filesystem. Cannot be updated.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.VolumeMount"), }, }, }, }, }, "livenessProbe": { SchemaProps: spec.SchemaProps{ Description: "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes", Ref: spec.MustCreateRef("#/definitions/v1.Probe"), }, }, "readinessProbe": { SchemaProps: spec.SchemaProps{ Description: "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes", Ref: spec.MustCreateRef("#/definitions/v1.Probe"), }, }, "lifecycle": { SchemaProps: spec.SchemaProps{ Description: "Actions that the management system should take in response to container lifecycle events. Cannot be updated.", Ref: spec.MustCreateRef("#/definitions/v1.Lifecycle"), }, }, "terminationMessagePath": { SchemaProps: spec.SchemaProps{ Description: "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated.", Type: []string{"string"}, Format: "", }, }, "imagePullPolicy": { SchemaProps: spec.SchemaProps{ Description: "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/images#updating-images", Type: []string{"string"}, Format: "", }, }, "securityContext": { SchemaProps: spec.SchemaProps{ Description: "Security options the pod should run with. More info: http://releases.k8s.io/HEAD/docs/design/security_context.md", Ref: spec.MustCreateRef("#/definitions/v1.SecurityContext"), }, }, "stdin": { SchemaProps: spec.SchemaProps{ Description: "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", Type: []string{"boolean"}, Format: "", }, }, "stdinOnce": { SchemaProps: spec.SchemaProps{ Description: "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", Type: []string{"boolean"}, Format: "", }, }, "tty": { SchemaProps: spec.SchemaProps{ Description: "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"name"}, }, }, Dependencies: []string{ "v1.ContainerPort", "v1.EnvVar", "v1.Lifecycle", "v1.Probe", "v1.ResourceRequirements", "v1.SecurityContext", "v1.VolumeMount"}, }, "v1.ContainerImage": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Describe a container image", Properties: map[string]spec.Schema{ "names": { SchemaProps: spec.SchemaProps{ Description: "Names by which this image is known. e.g. [\"gcr.io/google_containers/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "sizeBytes": { SchemaProps: spec.SchemaProps{ Description: "The size of the image in bytes.", Type: []string{"integer"}, Format: "int64", }, }, }, Required: []string{"names"}, }, }, Dependencies: []string{}, }, "v1.ContainerPort": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ContainerPort represents a network port in a single container.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", Type: []string{"string"}, Format: "", }, }, "hostPort": { SchemaProps: spec.SchemaProps{ Description: "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", Type: []string{"integer"}, Format: "int32", }, }, "containerPort": { SchemaProps: spec.SchemaProps{ Description: "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", Type: []string{"integer"}, Format: "int32", }, }, "protocol": { SchemaProps: spec.SchemaProps{ Description: "Protocol for port. Must be UDP or TCP. Defaults to \"TCP\".", Type: []string{"string"}, Format: "", }, }, "hostIP": { SchemaProps: spec.SchemaProps{ Description: "What host IP to bind the external port to.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"containerPort"}, }, }, Dependencies: []string{}, }, "v1.ContainerState": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.", Properties: map[string]spec.Schema{ "waiting": { SchemaProps: spec.SchemaProps{ Description: "Details about a waiting container", Ref: spec.MustCreateRef("#/definitions/v1.ContainerStateWaiting"), }, }, "running": { SchemaProps: spec.SchemaProps{ Description: "Details about a running container", Ref: spec.MustCreateRef("#/definitions/v1.ContainerStateRunning"), }, }, "terminated": { SchemaProps: spec.SchemaProps{ Description: "Details about a terminated container", Ref: spec.MustCreateRef("#/definitions/v1.ContainerStateTerminated"), }, }, }, }, }, Dependencies: []string{ "v1.ContainerStateRunning", "v1.ContainerStateTerminated", "v1.ContainerStateWaiting"}, }, "v1.ContainerStateRunning": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ContainerStateRunning is a running state of a container.", Properties: map[string]spec.Schema{ "startedAt": { SchemaProps: spec.SchemaProps{ Description: "Time at which the container was last (re-)started", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, }, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1.ContainerStateTerminated": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ContainerStateTerminated is a terminated state of a container.", Properties: map[string]spec.Schema{ "exitCode": { SchemaProps: spec.SchemaProps{ Description: "Exit status from the last termination of the container", Type: []string{"integer"}, Format: "int32", }, }, "signal": { SchemaProps: spec.SchemaProps{ Description: "Signal from the last termination of the container", Type: []string{"integer"}, Format: "int32", }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "(brief) reason from the last termination of the container", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "Message regarding the last termination of the container", Type: []string{"string"}, Format: "", }, }, "startedAt": { SchemaProps: spec.SchemaProps{ Description: "Time at which previous execution of the container started", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "finishedAt": { SchemaProps: spec.SchemaProps{ Description: "Time at which the container last terminated", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "containerID": { SchemaProps: spec.SchemaProps{ Description: "Container's ID in the format 'docker://<container_id>'", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"exitCode"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1.ContainerStateWaiting": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ContainerStateWaiting is a waiting state of a container.", Properties: map[string]spec.Schema{ "reason": { SchemaProps: spec.SchemaProps{ Description: "(brief) reason the container is not yet running.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "Message regarding why the container is not yet running.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.ContainerStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ContainerStatus contains details for the current status of this container.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.", Type: []string{"string"}, Format: "", }, }, "state": { SchemaProps: spec.SchemaProps{ Description: "Details about the container's current condition.", Ref: spec.MustCreateRef("#/definitions/v1.ContainerState"), }, }, "lastState": { SchemaProps: spec.SchemaProps{ Description: "Details about the container's last termination condition.", Ref: spec.MustCreateRef("#/definitions/v1.ContainerState"), }, }, "ready": { SchemaProps: spec.SchemaProps{ Description: "Specifies whether the container has passed its readiness probe.", Type: []string{"boolean"}, Format: "", }, }, "restartCount": { SchemaProps: spec.SchemaProps{ Description: "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", Type: []string{"integer"}, Format: "int32", }, }, "image": { SchemaProps: spec.SchemaProps{ Description: "The image the container is running. More info: http://kubernetes.io/docs/user-guide/images", Type: []string{"string"}, Format: "", }, }, "imageID": { SchemaProps: spec.SchemaProps{ Description: "ImageID of the container's image.", Type: []string{"string"}, Format: "", }, }, "containerID": { SchemaProps: spec.SchemaProps{ Description: "Container's ID in the format 'docker://<container_id>'. More info: http://kubernetes.io/docs/user-guide/container-environment#container-information", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"name", "ready", "restartCount", "image", "imageID"}, }, }, Dependencies: []string{ "v1.ContainerState"}, }, "v1.CrossVersionObjectReference": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "CrossVersionObjectReference contains enough information to let you identify the referred resource.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\"", Type: []string{"string"}, Format: "", }, }, "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "API version of the referent", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"kind", "name"}, }, }, Dependencies: []string{}, }, "v1.CustomBuildStrategy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "CustomBuildStrategy defines input parameters specific to Custom build.", Properties: map[string]spec.Schema{ "from": { SchemaProps: spec.SchemaProps{ Description: "from is reference to an DockerImage, ImageStreamTag, or ImageStreamImage from which the docker image should be pulled", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "pullSecret": { SchemaProps: spec.SchemaProps{ Description: "pullSecret is the name of a Secret that would be used for setting up the authentication for pulling the Docker images from the private Docker registries", Ref: spec.MustCreateRef("#/definitions/v1.LocalObjectReference"), }, }, "env": { SchemaProps: spec.SchemaProps{ Description: "env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EnvVar"), }, }, }, }, }, "exposeDockerSocket": { SchemaProps: spec.SchemaProps{ Description: "exposeDockerSocket will allow running Docker commands (and build Docker images) from inside the Docker container.", Type: []string{"boolean"}, Format: "", }, }, "forcePull": { SchemaProps: spec.SchemaProps{ Description: "forcePull describes if the controller should configure the build pod to always pull the images for the builder or only pull if it is not present locally", Type: []string{"boolean"}, Format: "", }, }, "secrets": { SchemaProps: spec.SchemaProps{ Description: "secrets is a list of additional secrets that will be included in the build pod", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.SecretSpec"), }, }, }, }, }, "buildAPIVersion": { SchemaProps: spec.SchemaProps{ Description: "buildAPIVersion is the requested API version for the Build object serialized and passed to the custom builder", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"from"}, }, }, Dependencies: []string{ "v1.EnvVar", "v1.LocalObjectReference", "v1.ObjectReference", "v1.SecretSpec"}, }, "v1.CustomDeploymentStrategyParams": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "CustomDeploymentStrategyParams are the input to the Custom deployment strategy.", Properties: map[string]spec.Schema{ "image": { SchemaProps: spec.SchemaProps{ Description: "Image specifies a Docker image which can carry out a deployment.", Type: []string{"string"}, Format: "", }, }, "environment": { SchemaProps: spec.SchemaProps{ Description: "Environment holds the environment which will be given to the container for Image.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EnvVar"), }, }, }, }, }, "command": { SchemaProps: spec.SchemaProps{ Description: "Command is optional and overrides CMD in the container Image.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.EnvVar"}, }, "v1.DaemonEndpoint": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DaemonEndpoint contains information about a single Daemon endpoint.", Properties: map[string]spec.Schema{ "Port": { SchemaProps: spec.SchemaProps{ Description: "Port number of the given endpoint.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"Port"}, }, }, Dependencies: []string{}, }, "v1.DeleteOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeleteOptions may be provided when deleting an API object", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "gracePeriodSeconds": { SchemaProps: spec.SchemaProps{ Description: "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", Type: []string{"integer"}, Format: "int64", }, }, "preconditions": { SchemaProps: spec.SchemaProps{ Description: "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", Ref: spec.MustCreateRef("#/definitions/v1.Preconditions"), }, }, "orphanDependents": { SchemaProps: spec.SchemaProps{ Description: "Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list.", Type: []string{"boolean"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1.Preconditions"}, }, "v1.DeploymentCause": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentCause captures information about a particular cause of a deployment.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of the trigger that resulted in the creation of a new deployment", Type: []string{"string"}, Format: "", }, }, "imageTrigger": { SchemaProps: spec.SchemaProps{ Description: "ImageTrigger contains the image trigger details, if this trigger was fired based on an image change", Ref: spec.MustCreateRef("#/definitions/v1.DeploymentCauseImageTrigger"), }, }, }, Required: []string{"type"}, }, }, Dependencies: []string{ "v1.DeploymentCauseImageTrigger"}, }, "v1.DeploymentCauseImageTrigger": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentCauseImageTrigger represents details about the cause of a deployment originating from an image change trigger", Properties: map[string]spec.Schema{ "from": { SchemaProps: spec.SchemaProps{ Description: "From is a reference to the changed object which triggered a deployment. The field may have the kinds DockerImage, ImageStreamTag, or ImageStreamImage.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, }, Required: []string{"from"}, }, }, Dependencies: []string{ "v1.ObjectReference"}, }, "v1.DeploymentCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentCondition describes the state of a deployment config at a certain point.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of deployment condition.", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False, Unknown.", Type: []string{"string"}, Format: "", }, }, "lastUpdateTime": { SchemaProps: spec.SchemaProps{ Description: "The last time this condition was updated.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "The last time the condition transitioned from one status to another.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "The reason for the condition's last transition.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "A human readable message indicating details about the transition.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "status"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1.DeploymentConfig": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Deployment Configs define the template for a pod and manages deploying new images or configuration changes. A single deployment configuration is usually analogous to a single micro-service. Can support many different deployment patterns, including full restart, customizable rolling updates, and fully custom behaviors, as well as pre- and post- deployment hooks. Each individual deployment is represented as a replication controller.\n\nA deployment is \"triggered\" when its configuration is changed or a tag in an Image Stream is changed. Triggers can be disabled to allow manual control over a deployment. The \"strategy\" determines how the deployment is carried out and may be changed at any time. The `latestVersion` field is updated when a new deployment is triggered by any means.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec represents a desired deployment state and how to deploy to it.", Ref: spec.MustCreateRef("#/definitions/v1.DeploymentConfigSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status represents the current deployment state.", Ref: spec.MustCreateRef("#/definitions/v1.DeploymentConfigStatus"), }, }, }, Required: []string{"spec", "status"}, }, }, Dependencies: []string{ "v1.DeploymentConfigSpec", "v1.DeploymentConfigStatus", "v1.ObjectMeta"}, }, "v1.DeploymentConfigList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentConfigList is a collection of deployment configs.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of deployment configs", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.DeploymentConfig"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.DeploymentConfig"}, }, "v1.DeploymentConfigRollback": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentConfigRollback provides the input to rollback generation.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the deployment config that will be rolled back.", Type: []string{"string"}, Format: "", }, }, "updatedAnnotations": { SchemaProps: spec.SchemaProps{ Description: "UpdatedAnnotations is a set of new annotations that will be added in the deployment config.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the options to rollback generation.", Ref: spec.MustCreateRef("#/definitions/v1.DeploymentConfigRollbackSpec"), }, }, }, Required: []string{"name", "spec"}, }, }, Dependencies: []string{ "v1.DeploymentConfigRollbackSpec"}, }, "v1.DeploymentConfigRollbackSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentConfigRollbackSpec represents the options for rollback generation.", Properties: map[string]spec.Schema{ "from": { SchemaProps: spec.SchemaProps{ Description: "From points to a ReplicationController which is a deployment.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "revision": { SchemaProps: spec.SchemaProps{ Description: "Revision to rollback to. If set to 0, rollback to the last revision.", Type: []string{"integer"}, Format: "int64", }, }, "includeTriggers": { SchemaProps: spec.SchemaProps{ Description: "IncludeTriggers specifies whether to include config Triggers.", Type: []string{"boolean"}, Format: "", }, }, "includeTemplate": { SchemaProps: spec.SchemaProps{ Description: "IncludeTemplate specifies whether to include the PodTemplateSpec.", Type: []string{"boolean"}, Format: "", }, }, "includeReplicationMeta": { SchemaProps: spec.SchemaProps{ Description: "IncludeReplicationMeta specifies whether to include the replica count and selector.", Type: []string{"boolean"}, Format: "", }, }, "includeStrategy": { SchemaProps: spec.SchemaProps{ Description: "IncludeStrategy specifies whether to include the deployment Strategy.", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"from", "includeTriggers", "includeTemplate", "includeReplicationMeta", "includeStrategy"}, }, }, Dependencies: []string{ "v1.ObjectReference"}, }, "v1.DeploymentConfigSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentConfigSpec represents the desired state of the deployment.", Properties: map[string]spec.Schema{ "strategy": { SchemaProps: spec.SchemaProps{ Description: "Strategy describes how a deployment is executed.", Ref: spec.MustCreateRef("#/definitions/v1.DeploymentStrategy"), }, }, "minReadySeconds": { SchemaProps: spec.SchemaProps{ Description: "MinReadySeconds is the minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", Type: []string{"integer"}, Format: "int32", }, }, "triggers": { SchemaProps: spec.SchemaProps{ Description: "Triggers determine how updates to a DeploymentConfig result in new deployments. If no triggers are defined, a new deployment can only occur as a result of an explicit client update to the DeploymentConfig with a new LatestVersion. If null, defaults to having a config change trigger.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.DeploymentTriggerPolicy"), }, }, }, }, }, "replicas": { SchemaProps: spec.SchemaProps{ Description: "Replicas is the number of desired replicas.", Type: []string{"integer"}, Format: "int32", }, }, "revisionHistoryLimit": { SchemaProps: spec.SchemaProps{ Description: "RevisionHistoryLimit is the number of old ReplicationControllers to retain to allow for rollbacks. This field is a pointer to allow for differentiation between an explicit zero and not specified.", Type: []string{"integer"}, Format: "int32", }, }, "test": { SchemaProps: spec.SchemaProps{ Description: "Test ensures that this deployment config will have zero replicas except while a deployment is running. This allows the deployment config to be used as a continuous deployment test - triggering on images, running the deployment, and then succeeding or failing. Post strategy hooks and After actions can be used to integrate successful deployment with an action.", Type: []string{"boolean"}, Format: "", }, }, "paused": { SchemaProps: spec.SchemaProps{ Description: "Paused indicates that the deployment config is paused resulting in no new deployments on template changes or changes in the template caused by other triggers.", Type: []string{"boolean"}, Format: "", }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that should match the Replicas count.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template is the object that describes the pod that will be created if insufficient replicas are detected.", Ref: spec.MustCreateRef("#/definitions/v1.PodTemplateSpec"), }, }, }, Required: []string{"strategy", "triggers", "replicas", "test"}, }, }, Dependencies: []string{ "v1.DeploymentStrategy", "v1.DeploymentTriggerPolicy", "v1.PodTemplateSpec"}, }, "v1.DeploymentConfigStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentConfigStatus represents the current deployment state.", Properties: map[string]spec.Schema{ "latestVersion": { SchemaProps: spec.SchemaProps{ Description: "LatestVersion is used to determine whether the current deployment associated with a deployment config is out of sync.", Type: []string{"integer"}, Format: "int64", }, }, "observedGeneration": { SchemaProps: spec.SchemaProps{ Description: "ObservedGeneration is the most recent generation observed by the deployment config controller.", Type: []string{"integer"}, Format: "int64", }, }, "replicas": { SchemaProps: spec.SchemaProps{ Description: "Replicas is the total number of pods targeted by this deployment config.", Type: []string{"integer"}, Format: "int32", }, }, "updatedReplicas": { SchemaProps: spec.SchemaProps{ Description: "UpdatedReplicas is the total number of non-terminated pods targeted by this deployment config that have the desired template spec.", Type: []string{"integer"}, Format: "int32", }, }, "availableReplicas": { SchemaProps: spec.SchemaProps{ Description: "AvailableReplicas is the total number of available pods targeted by this deployment config.", Type: []string{"integer"}, Format: "int32", }, }, "unavailableReplicas": { SchemaProps: spec.SchemaProps{ Description: "UnavailableReplicas is the total number of unavailable pods targeted by this deployment config.", Type: []string{"integer"}, Format: "int32", }, }, "details": { SchemaProps: spec.SchemaProps{ Description: "Details are the reasons for the update to this deployment config. This could be based on a change made by the user or caused by an automatic trigger", Ref: spec.MustCreateRef("#/definitions/v1.DeploymentDetails"), }, }, "conditions": { SchemaProps: spec.SchemaProps{ Description: "Conditions represents the latest available observations of a deployment config's current state.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.DeploymentCondition"), }, }, }, }, }, "readyReplicas": { SchemaProps: spec.SchemaProps{ Description: "Total number of ready pods targeted by this deployment.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"latestVersion", "observedGeneration", "replicas", "updatedReplicas", "availableReplicas", "unavailableReplicas"}, }, }, Dependencies: []string{ "v1.DeploymentCondition", "v1.DeploymentDetails"}, }, "v1.DeploymentDetails": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentDetails captures information about the causes of a deployment.", Properties: map[string]spec.Schema{ "message": { SchemaProps: spec.SchemaProps{ Description: "Message is the user specified change message, if this deployment was triggered manually by the user", Type: []string{"string"}, Format: "", }, }, "causes": { SchemaProps: spec.SchemaProps{ Description: "Causes are extended data associated with all the causes for creating a new deployment", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.DeploymentCause"), }, }, }, }, }, }, Required: []string{"causes"}, }, }, Dependencies: []string{ "v1.DeploymentCause"}, }, "v1.DeploymentLog": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentLog represents the logs for a deployment", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.DeploymentLogOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentLogOptions is the REST options for a deployment log", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "container": { SchemaProps: spec.SchemaProps{ Description: "The container for which to stream logs. Defaults to only container if there is one container in the pod.", Type: []string{"string"}, Format: "", }, }, "follow": { SchemaProps: spec.SchemaProps{ Description: "Follow if true indicates that the build log should be streamed until the build terminates.", Type: []string{"boolean"}, Format: "", }, }, "previous": { SchemaProps: spec.SchemaProps{ Description: "Return previous deployment logs. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "sinceSeconds": { SchemaProps: spec.SchemaProps{ Description: "A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.", Type: []string{"integer"}, Format: "int64", }, }, "sinceTime": { SchemaProps: spec.SchemaProps{ Description: "An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "timestamps": { SchemaProps: spec.SchemaProps{ Description: "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "tailLines": { SchemaProps: spec.SchemaProps{ Description: "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime", Type: []string{"integer"}, Format: "int64", }, }, "limitBytes": { SchemaProps: spec.SchemaProps{ Description: "If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.", Type: []string{"integer"}, Format: "int64", }, }, "nowait": { SchemaProps: spec.SchemaProps{ Description: "NoWait if true causes the call to return immediately even if the deployment is not available yet. Otherwise the server will wait until the deployment has started.", Type: []string{"boolean"}, Format: "", }, }, "version": { SchemaProps: spec.SchemaProps{ Description: "Version of the deployment for which to view logs.", Type: []string{"integer"}, Format: "int64", }, }, }, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1.DeploymentRequest": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentRequest is a request to a deployment config for a new deployment.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the deployment config for requesting a new deployment.", Type: []string{"string"}, Format: "", }, }, "latest": { SchemaProps: spec.SchemaProps{ Description: "Latest will update the deployment config with the latest state from all triggers.", Type: []string{"boolean"}, Format: "", }, }, "force": { SchemaProps: spec.SchemaProps{ Description: "Force will try to force a new deployment to run. If the deployment config is paused, then setting this to true will return an Invalid error.", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"name", "latest", "force"}, }, }, Dependencies: []string{}, }, "v1.DeploymentStrategy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentStrategy describes how to perform a deployment.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type is the name of a deployment strategy.", Type: []string{"string"}, Format: "", }, }, "customParams": { SchemaProps: spec.SchemaProps{ Description: "CustomParams are the input to the Custom deployment strategy, and may also be specified for the Recreate and Rolling strategies to customize the execution process that runs the deployment.", Ref: spec.MustCreateRef("#/definitions/v1.CustomDeploymentStrategyParams"), }, }, "recreateParams": { SchemaProps: spec.SchemaProps{ Description: "RecreateParams are the input to the Recreate deployment strategy.", Ref: spec.MustCreateRef("#/definitions/v1.RecreateDeploymentStrategyParams"), }, }, "rollingParams": { SchemaProps: spec.SchemaProps{ Description: "RollingParams are the input to the Rolling deployment strategy.", Ref: spec.MustCreateRef("#/definitions/v1.RollingDeploymentStrategyParams"), }, }, "resources": { SchemaProps: spec.SchemaProps{ Description: "Resources contains resource requirements to execute the deployment and any hooks.", Ref: spec.MustCreateRef("#/definitions/v1.ResourceRequirements"), }, }, "labels": { SchemaProps: spec.SchemaProps{ Description: "Labels is a set of key, value pairs added to custom deployer and lifecycle pre/post hook pods.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "annotations": { SchemaProps: spec.SchemaProps{ Description: "Annotations is a set of key, value pairs added to custom deployer and lifecycle pre/post hook pods.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "activeDeadlineSeconds": { SchemaProps: spec.SchemaProps{ Description: "ActiveDeadlineSeconds is the duration in seconds that the deployer pods for this deployment config may be active on a node before the system actively tries to terminate them.", Type: []string{"integer"}, Format: "int64", }, }, }, }, }, Dependencies: []string{ "v1.CustomDeploymentStrategyParams", "v1.RecreateDeploymentStrategyParams", "v1.ResourceRequirements", "v1.RollingDeploymentStrategyParams"}, }, "v1.DeploymentTriggerImageChangeParams": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentTriggerImageChangeParams represents the parameters to the ImageChange trigger.", Properties: map[string]spec.Schema{ "automatic": { SchemaProps: spec.SchemaProps{ Description: "Automatic means that the detection of a new tag value should result in an image update inside the pod template.", Type: []string{"boolean"}, Format: "", }, }, "containerNames": { SchemaProps: spec.SchemaProps{ Description: "ContainerNames is used to restrict tag updates to the specified set of container names in a pod.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "from": { SchemaProps: spec.SchemaProps{ Description: "From is a reference to an image stream tag to watch for changes. From.Name is the only required subfield - if From.Namespace is blank, the namespace of the current deployment trigger will be used.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "lastTriggeredImage": { SchemaProps: spec.SchemaProps{ Description: "LastTriggeredImage is the last image to be triggered.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"from"}, }, }, Dependencies: []string{ "v1.ObjectReference"}, }, "v1.DeploymentTriggerPolicy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentTriggerPolicy describes a policy for a single trigger that results in a new deployment.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of the trigger", Type: []string{"string"}, Format: "", }, }, "imageChangeParams": { SchemaProps: spec.SchemaProps{ Description: "ImageChangeParams represents the parameters for the ImageChange trigger.", Ref: spec.MustCreateRef("#/definitions/v1.DeploymentTriggerImageChangeParams"), }, }, }, }, }, Dependencies: []string{ "v1.DeploymentTriggerImageChangeParams"}, }, "v1.DeprecatedDownwardAPIVolumeFile": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeprecatedDownwardAPIVolumeFile represents information to create the file containing the pod field This type is deprecated and should be replaced by use of the downwardAPI volume source.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Required: Name is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", Type: []string{"string"}, Format: "", }, }, "fieldRef": { SchemaProps: spec.SchemaProps{ Description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectFieldSelector"), }, }, "resourceFieldRef": { SchemaProps: spec.SchemaProps{ Description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", Ref: spec.MustCreateRef("#/definitions/v1.ResourceFieldSelector"), }, }, "mode": { SchemaProps: spec.SchemaProps{ Description: "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"name"}, }, }, Dependencies: []string{ "v1.ObjectFieldSelector", "v1.ResourceFieldSelector"}, }, "v1.DeprecatedDownwardAPIVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeprecatedDownwardAPIVolumeSource represents a volume containing downward API info. This type is deprecated and should be replaced by use of the downwardAPI volume source.", Properties: map[string]spec.Schema{ "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of downward API volume file", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.DeprecatedDownwardAPIVolumeFile"), }, }, }, }, }, "defaultMode": { SchemaProps: spec.SchemaProps{ Description: "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", Type: []string{"integer"}, Format: "int32", }, }, }, }, }, Dependencies: []string{ "v1.DeprecatedDownwardAPIVolumeFile"}, }, "v1.DockerBuildStrategy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DockerBuildStrategy defines input parameters specific to Docker build.", Properties: map[string]spec.Schema{ "from": { SchemaProps: spec.SchemaProps{ Description: "from is reference to an DockerImage, ImageStreamTag, or ImageStreamImage from which the docker image should be pulled the resulting image will be used in the FROM line of the Dockerfile for this build.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "pullSecret": { SchemaProps: spec.SchemaProps{ Description: "pullSecret is the name of a Secret that would be used for setting up the authentication for pulling the Docker images from the private Docker registries", Ref: spec.MustCreateRef("#/definitions/v1.LocalObjectReference"), }, }, "noCache": { SchemaProps: spec.SchemaProps{ Description: "noCache if set to true indicates that the docker build must be executed with the --no-cache=true flag", Type: []string{"boolean"}, Format: "", }, }, "env": { SchemaProps: spec.SchemaProps{ Description: "env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EnvVar"), }, }, }, }, }, "forcePull": { SchemaProps: spec.SchemaProps{ Description: "forcePull describes if the builder should pull the images from registry prior to building.", Type: []string{"boolean"}, Format: "", }, }, "dockerfilePath": { SchemaProps: spec.SchemaProps{ Description: "dockerfilePath is the path of the Dockerfile that will be used to build the Docker image, relative to the root of the context (contextDir).", Type: []string{"string"}, Format: "", }, }, "buildArgs": { SchemaProps: spec.SchemaProps{ Description: "buildArgs contains build arguments that will be resolved in the Dockerfile. See https://docs.docker.com/engine/reference/builder/#/arg for more details.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EnvVar"), }, }, }, }, }, "imageOptimizationPolicy": { SchemaProps: spec.SchemaProps{ Description: "imageOptimizationPolicy describes what optimizations the system can use when building images to reduce the final size or time spent building the image. The default policy is 'None' which means the final build image will be equivalent to an image created by the Docker build API. The experimental policy 'SkipLayers' will avoid commiting new layers in between each image step, and will fail if the Dockerfile cannot provide compatibility with the 'None' policy. An additional experimental policy 'SkipLayersAndWarn' is the same as 'SkipLayers' but simply warns if compatibility cannot be preserved.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1.EnvVar", "v1.LocalObjectReference", "v1.ObjectReference"}, }, "v1.DockerImageReference": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DockerImageReference points to a Docker image.", Properties: map[string]spec.Schema{ "Registry": { SchemaProps: spec.SchemaProps{ Description: "Registry is the registry that contains the Docker image", Type: []string{"string"}, Format: "", }, }, "Namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace is the namespace that contains the Docker image", Type: []string{"string"}, Format: "", }, }, "Name": { SchemaProps: spec.SchemaProps{ Description: "Name is the name of the Docker image", Type: []string{"string"}, Format: "", }, }, "Tag": { SchemaProps: spec.SchemaProps{ Description: "Tag is which tag of the Docker image is being referenced", Type: []string{"string"}, Format: "", }, }, "ID": { SchemaProps: spec.SchemaProps{ Description: "ID is the identifier for the Docker image", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Registry", "Namespace", "Name", "Tag", "ID"}, }, }, Dependencies: []string{}, }, "v1.DockerStrategyOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DockerStrategyOptions contains extra strategy options for Docker builds", Properties: map[string]spec.Schema{ "buildArgs": { SchemaProps: spec.SchemaProps{ Description: "Args contains any build arguments that are to be passed to Docker. See https://docs.docker.com/engine/reference/builder/#/arg for more details", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EnvVar"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.EnvVar"}, }, "v1.DownwardAPIVolumeFile": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DownwardAPIVolumeFile represents information to create the file containing the pod field", Properties: map[string]spec.Schema{ "path": { SchemaProps: spec.SchemaProps{ Description: "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", Type: []string{"string"}, Format: "", }, }, "fieldRef": { SchemaProps: spec.SchemaProps{ Description: "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectFieldSelector"), }, }, "resourceFieldRef": { SchemaProps: spec.SchemaProps{ Description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", Ref: spec.MustCreateRef("#/definitions/v1.ResourceFieldSelector"), }, }, "mode": { SchemaProps: spec.SchemaProps{ Description: "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"path"}, }, }, Dependencies: []string{ "v1.ObjectFieldSelector", "v1.ResourceFieldSelector"}, }, "v1.DownwardAPIVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.", Properties: map[string]spec.Schema{ "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of downward API volume file", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.DownwardAPIVolumeFile"), }, }, }, }, }, "defaultMode": { SchemaProps: spec.SchemaProps{ Description: "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", Type: []string{"integer"}, Format: "int32", }, }, }, }, }, Dependencies: []string{ "v1.DownwardAPIVolumeFile"}, }, "v1.EgressNetworkPolicy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "EgressNetworkPolicy describes the current egress network policy for a Namespace. When using the 'redhat/openshift-ovs-multitenant' network plugin, traffic from a pod to an IP address outside the cluster will be checked against each EgressNetworkPolicyRule in the pod's namespace's EgressNetworkPolicy, in order. If no rule matches (or no EgressNetworkPolicy is present) then the traffic will be allowed by default.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "metadata for EgressNetworkPolicy", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "spec is the specification of the current egress network policy", Ref: spec.MustCreateRef("#/definitions/v1.EgressNetworkPolicySpec"), }, }, }, Required: []string{"spec"}, }, }, Dependencies: []string{ "v1.EgressNetworkPolicySpec", "v1.ObjectMeta"}, }, "v1.EgressNetworkPolicyList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "EgressNetworkPolicyList is a collection of EgressNetworkPolicy", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "metadata for EgressNetworkPolicyList", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "items is the list of policies", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EgressNetworkPolicy"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.EgressNetworkPolicy"}, }, "v1.EgressNetworkPolicyPeer": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "EgressNetworkPolicyPeer specifies a target to apply egress network policy to", Properties: map[string]spec.Schema{ "cidrSelector": { SchemaProps: spec.SchemaProps{ Description: "cidrSelector is the CIDR range to allow/deny traffic to", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"cidrSelector"}, }, }, Dependencies: []string{}, }, "v1.EgressNetworkPolicyRule": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "EgressNetworkPolicyRule contains a single egress network policy rule", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "type marks this as an \"Allow\" or \"Deny\" rule", Type: []string{"string"}, Format: "", }, }, "to": { SchemaProps: spec.SchemaProps{ Description: "to is the target that traffic is allowed/denied to", Ref: spec.MustCreateRef("#/definitions/v1.EgressNetworkPolicyPeer"), }, }, }, Required: []string{"type", "to"}, }, }, Dependencies: []string{ "v1.EgressNetworkPolicyPeer"}, }, "v1.EgressNetworkPolicySpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "EgressNetworkPolicySpec provides a list of policies on outgoing network traffic", Properties: map[string]spec.Schema{ "egress": { SchemaProps: spec.SchemaProps{ Description: "egress contains the list of egress policy rules", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EgressNetworkPolicyRule"), }, }, }, }, }, }, Required: []string{"egress"}, }, }, Dependencies: []string{ "v1.EgressNetworkPolicyRule"}, }, "v1.EmptyDirVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", Properties: map[string]spec.Schema{ "medium": { SchemaProps: spec.SchemaProps{ Description: "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.EndpointAddress": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "EndpointAddress is a tuple that describes single IP address.", Properties: map[string]spec.Schema{ "ip": { SchemaProps: spec.SchemaProps{ Description: "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.", Type: []string{"string"}, Format: "", }, }, "hostname": { SchemaProps: spec.SchemaProps{ Description: "The Hostname of this endpoint", Type: []string{"string"}, Format: "", }, }, "nodeName": { SchemaProps: spec.SchemaProps{ Description: "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.", Type: []string{"string"}, Format: "", }, }, "targetRef": { SchemaProps: spec.SchemaProps{ Description: "Reference to object providing the endpoint.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, }, Required: []string{"ip"}, }, }, Dependencies: []string{ "v1.ObjectReference"}, }, "v1.EndpointPort": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "EndpointPort is a tuple that describes a single port.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined.", Type: []string{"string"}, Format: "", }, }, "port": { SchemaProps: spec.SchemaProps{ Description: "The port number of the endpoint.", Type: []string{"integer"}, Format: "int32", }, }, "protocol": { SchemaProps: spec.SchemaProps{ Description: "The IP protocol for this port. Must be UDP or TCP. Default is TCP.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"port"}, }, }, Dependencies: []string{}, }, "v1.EndpointSubset": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n }\nThe resulting set of endpoints can be viewed as:\n a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n b: [ 10.10.1.1:309, 10.10.2.2:309 ]", Properties: map[string]spec.Schema{ "addresses": { SchemaProps: spec.SchemaProps{ Description: "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EndpointAddress"), }, }, }, }, }, "notReadyAddresses": { SchemaProps: spec.SchemaProps{ Description: "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EndpointAddress"), }, }, }, }, }, "ports": { SchemaProps: spec.SchemaProps{ Description: "Port numbers available on the related IP addresses.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EndpointPort"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.EndpointAddress", "v1.EndpointPort"}, }, "v1.Endpoints": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Endpoints is a collection of endpoints that implement the actual service. Example:\n Name: \"mysvc\",\n Subsets: [\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n },\n {\n Addresses: [{\"ip\": \"10.10.3.3\"}],\n Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n },\n ]", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "subsets": { SchemaProps: spec.SchemaProps{ Description: "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EndpointSubset"), }, }, }, }, }, }, Required: []string{"subsets"}, }, }, Dependencies: []string{ "v1.EndpointSubset", "v1.ObjectMeta"}, }, "v1.EndpointsList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "EndpointsList is a list of endpoints.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "List of endpoints.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Endpoints"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Endpoints"}, }, "v1.EnvVar": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "EnvVar represents an environment variable present in a Container.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the environment variable. Must be a C_IDENTIFIER.", Type: []string{"string"}, Format: "", }, }, "value": { SchemaProps: spec.SchemaProps{ Description: "Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", Type: []string{"string"}, Format: "", }, }, "valueFrom": { SchemaProps: spec.SchemaProps{ Description: "Source for the environment variable's value. Cannot be used if value is not empty.", Ref: spec.MustCreateRef("#/definitions/v1.EnvVarSource"), }, }, }, Required: []string{"name"}, }, }, Dependencies: []string{ "v1.EnvVarSource"}, }, "v1.EnvVarSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "EnvVarSource represents a source for the value of an EnvVar.", Properties: map[string]spec.Schema{ "fieldRef": { SchemaProps: spec.SchemaProps{ Description: "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.podIP.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectFieldSelector"), }, }, "resourceFieldRef": { SchemaProps: spec.SchemaProps{ Description: "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", Ref: spec.MustCreateRef("#/definitions/v1.ResourceFieldSelector"), }, }, "configMapKeyRef": { SchemaProps: spec.SchemaProps{ Description: "Selects a key of a ConfigMap.", Ref: spec.MustCreateRef("#/definitions/v1.ConfigMapKeySelector"), }, }, "secretKeyRef": { SchemaProps: spec.SchemaProps{ Description: "Selects a key of a secret in the pod's namespace", Ref: spec.MustCreateRef("#/definitions/v1.SecretKeySelector"), }, }, }, }, }, Dependencies: []string{ "v1.ConfigMapKeySelector", "v1.ObjectFieldSelector", "v1.ResourceFieldSelector", "v1.SecretKeySelector"}, }, "v1.Event": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Event is a report of an event somewhere in the cluster.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "involvedObject": { SchemaProps: spec.SchemaProps{ Description: "The object that this event is about.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "A human-readable description of the status of this operation.", Type: []string{"string"}, Format: "", }, }, "source": { SchemaProps: spec.SchemaProps{ Description: "The component reporting this event. Should be a short machine understandable string.", Ref: spec.MustCreateRef("#/definitions/v1.EventSource"), }, }, "firstTimestamp": { SchemaProps: spec.SchemaProps{ Description: "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "lastTimestamp": { SchemaProps: spec.SchemaProps{ Description: "The time at which the most recent occurrence of this event was recorded.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "count": { SchemaProps: spec.SchemaProps{ Description: "The number of times this event has occurred.", Type: []string{"integer"}, Format: "int32", }, }, "type": { SchemaProps: spec.SchemaProps{ Description: "Type of this event (Normal, Warning), new types could be added in the future", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"metadata", "involvedObject"}, }, }, Dependencies: []string{ "unversioned.Time", "v1.EventSource", "v1.ObjectMeta", "v1.ObjectReference"}, }, "v1.EventList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "EventList is a list of events.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "List of events", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Event"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Event"}, }, "v1.EventSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "EventSource contains information for an event.", Properties: map[string]spec.Schema{ "component": { SchemaProps: spec.SchemaProps{ Description: "Component from which the event is generated.", Type: []string{"string"}, Format: "", }, }, "host": { SchemaProps: spec.SchemaProps{ Description: "Node name on which the event is generated.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.ExecAction": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ExecAction describes a \"run in container\" action.", Properties: map[string]spec.Schema{ "command": { SchemaProps: spec.SchemaProps{ Description: "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, }, }, Dependencies: []string{}, }, "v1.ExecNewPodHook": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ExecNewPodHook is a hook implementation which runs a command in a new pod based on the specified container which is assumed to be part of the deployment template.", Properties: map[string]spec.Schema{ "command": { SchemaProps: spec.SchemaProps{ Description: "Command is the action command and its arguments.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "env": { SchemaProps: spec.SchemaProps{ Description: "Env is a set of environment variables to supply to the hook pod's container.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EnvVar"), }, }, }, }, }, "containerName": { SchemaProps: spec.SchemaProps{ Description: "ContainerName is the name of a container in the deployment pod template whose Docker image will be used for the hook pod's container.", Type: []string{"string"}, Format: "", }, }, "volumes": { SchemaProps: spec.SchemaProps{ Description: "Volumes is a list of named volumes from the pod template which should be copied to the hook pod. Volumes names not found in pod spec are ignored. An empty list means no volumes will be copied.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"command", "containerName"}, }, }, Dependencies: []string{ "v1.EnvVar"}, }, "v1.ExportOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ExportOptions is the query options to the standard REST get call.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "export": { SchemaProps: spec.SchemaProps{ Description: "Should this value be exported. Export strips fields that a user can not specify.", Type: []string{"boolean"}, Format: "", }, }, "exact": { SchemaProps: spec.SchemaProps{ Description: "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"export", "exact"}, }, }, Dependencies: []string{}, }, "v1.FCVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.", Properties: map[string]spec.Schema{ "targetWWNs": { SchemaProps: spec.SchemaProps{ Description: "Required: FC target worldwide names (WWNs)", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "lun": { SchemaProps: spec.SchemaProps{ Description: "Required: FC target lun number", Type: []string{"integer"}, Format: "int32", }, }, "fsType": { SchemaProps: spec.SchemaProps{ Description: "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", Type: []string{"string"}, Format: "", }, }, "readOnly": { SchemaProps: spec.SchemaProps{ Description: "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"targetWWNs", "lun"}, }, }, Dependencies: []string{}, }, "v1.FSGroupStrategyOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type is the strategy that will dictate what FSGroup is used in the SecurityContext.", Type: []string{"string"}, Format: "", }, }, "ranges": { SchemaProps: spec.SchemaProps{ Description: "Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.IDRange"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.IDRange"}, }, "v1.FlexVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", Properties: map[string]spec.Schema{ "driver": { SchemaProps: spec.SchemaProps{ Description: "Driver is the name of the driver to use for this volume.", Type: []string{"string"}, Format: "", }, }, "fsType": { SchemaProps: spec.SchemaProps{ Description: "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", Type: []string{"string"}, Format: "", }, }, "secretRef": { SchemaProps: spec.SchemaProps{ Description: "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", Ref: spec.MustCreateRef("#/definitions/v1.LocalObjectReference"), }, }, "readOnly": { SchemaProps: spec.SchemaProps{ Description: "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", Type: []string{"boolean"}, Format: "", }, }, "options": { SchemaProps: spec.SchemaProps{ Description: "Optional: Extra command options if any.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"driver"}, }, }, Dependencies: []string{ "v1.LocalObjectReference"}, }, "v1.FlockerVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.", Properties: map[string]spec.Schema{ "datasetName": { SchemaProps: spec.SchemaProps{ Description: "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated", Type: []string{"string"}, Format: "", }, }, "datasetUUID": { SchemaProps: spec.SchemaProps{ Description: "UUID of the dataset. This is unique identifier of a Flocker dataset", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.GCEPersistentDiskVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.", Properties: map[string]spec.Schema{ "pdName": { SchemaProps: spec.SchemaProps{ Description: "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", Type: []string{"string"}, Format: "", }, }, "fsType": { SchemaProps: spec.SchemaProps{ Description: "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", Type: []string{"string"}, Format: "", }, }, "partition": { SchemaProps: spec.SchemaProps{ Description: "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", Type: []string{"integer"}, Format: "int32", }, }, "readOnly": { SchemaProps: spec.SchemaProps{ Description: "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"pdName"}, }, }, Dependencies: []string{}, }, "v1.GenericWebHookCause": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "GenericWebHookCause holds information about a generic WebHook that triggered a build.", Properties: map[string]spec.Schema{ "revision": { SchemaProps: spec.SchemaProps{ Description: "revision is an optional field that stores the git source revision information of the generic webhook trigger when it is available.", Ref: spec.MustCreateRef("#/definitions/v1.SourceRevision"), }, }, "secret": { SchemaProps: spec.SchemaProps{ Description: "secret is the obfuscated webhook secret that triggered a build.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1.SourceRevision"}, }, "v1.GenericWebHookEvent": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "GenericWebHookEvent is the payload expected for a generic webhook post", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "type is the type of source repository", Type: []string{"string"}, Format: "", }, }, "git": { SchemaProps: spec.SchemaProps{ Description: "git is the git information if the Type is BuildSourceGit", Ref: spec.MustCreateRef("#/definitions/v1.GitInfo"), }, }, "env": { SchemaProps: spec.SchemaProps{ Description: "env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EnvVar"), }, }, }, }, }, "dockerStrategyOptions": { SchemaProps: spec.SchemaProps{ Description: "DockerStrategyOptions contains additional docker-strategy specific options for the build", Ref: spec.MustCreateRef("#/definitions/v1.DockerStrategyOptions"), }, }, }, }, }, Dependencies: []string{ "v1.DockerStrategyOptions", "v1.EnvVar", "v1.GitInfo"}, }, "v1.GitBuildSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "GitBuildSource defines the parameters of a Git SCM", Properties: map[string]spec.Schema{ "uri": { SchemaProps: spec.SchemaProps{ Description: "uri points to the source that will be built. The structure of the source will depend on the type of build to run", Type: []string{"string"}, Format: "", }, }, "ref": { SchemaProps: spec.SchemaProps{ Description: "ref is the branch/tag/ref to build.", Type: []string{"string"}, Format: "", }, }, "httpProxy": { SchemaProps: spec.SchemaProps{ Description: "httpProxy is a proxy used to reach the git repository over http", Type: []string{"string"}, Format: "", }, }, "httpsProxy": { SchemaProps: spec.SchemaProps{ Description: "httpsProxy is a proxy used to reach the git repository over https", Type: []string{"string"}, Format: "", }, }, "noProxy": { SchemaProps: spec.SchemaProps{ Description: "noProxy is the list of domains for which the proxy should not be used", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"uri"}, }, }, Dependencies: []string{}, }, "v1.GitHubWebHookCause": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "GitHubWebHookCause has information about a GitHub webhook that triggered a build.", Properties: map[string]spec.Schema{ "revision": { SchemaProps: spec.SchemaProps{ Description: "revision is the git revision information of the trigger.", Ref: spec.MustCreateRef("#/definitions/v1.SourceRevision"), }, }, "secret": { SchemaProps: spec.SchemaProps{ Description: "secret is the obfuscated webhook secret that triggered a build.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1.SourceRevision"}, }, "v1.GitInfo": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "GitInfo is the aggregated git information for a generic webhook post", Properties: map[string]spec.Schema{ "uri": { SchemaProps: spec.SchemaProps{ Description: "uri points to the source that will be built. The structure of the source will depend on the type of build to run", Type: []string{"string"}, Format: "", }, }, "ref": { SchemaProps: spec.SchemaProps{ Description: "ref is the branch/tag/ref to build.", Type: []string{"string"}, Format: "", }, }, "httpProxy": { SchemaProps: spec.SchemaProps{ Description: "httpProxy is a proxy used to reach the git repository over http", Type: []string{"string"}, Format: "", }, }, "httpsProxy": { SchemaProps: spec.SchemaProps{ Description: "httpsProxy is a proxy used to reach the git repository over https", Type: []string{"string"}, Format: "", }, }, "noProxy": { SchemaProps: spec.SchemaProps{ Description: "noProxy is the list of domains for which the proxy should not be used", Type: []string{"string"}, Format: "", }, }, "commit": { SchemaProps: spec.SchemaProps{ Description: "commit is the commit hash identifying a specific commit", Type: []string{"string"}, Format: "", }, }, "author": { SchemaProps: spec.SchemaProps{ Description: "author is the author of a specific commit", Ref: spec.MustCreateRef("#/definitions/v1.SourceControlUser"), }, }, "committer": { SchemaProps: spec.SchemaProps{ Description: "committer is the committer of a specific commit", Ref: spec.MustCreateRef("#/definitions/v1.SourceControlUser"), }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "message is the description of a specific commit", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"uri"}, }, }, Dependencies: []string{ "v1.SourceControlUser"}, }, "v1.GitLabWebHookCause": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "GitLabWebHookCause has information about a GitLab webhook that triggered a build.", Properties: map[string]spec.Schema{ "revision": { SchemaProps: spec.SchemaProps{ Description: "Revision is the git source revision information of the trigger.", Ref: spec.MustCreateRef("#/definitions/v1.SourceRevision"), }, }, "secret": { SchemaProps: spec.SchemaProps{ Description: "Secret is the obfuscated webhook secret that triggered a build.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1.SourceRevision"}, }, "v1.GitRepoVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.", Properties: map[string]spec.Schema{ "repository": { SchemaProps: spec.SchemaProps{ Description: "Repository URL", Type: []string{"string"}, Format: "", }, }, "revision": { SchemaProps: spec.SchemaProps{ Description: "Commit hash for the specified revision.", Type: []string{"string"}, Format: "", }, }, "directory": { SchemaProps: spec.SchemaProps{ Description: "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"repository"}, }, }, Dependencies: []string{}, }, "v1.GitSourceRevision": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "GitSourceRevision is the commit information from a git source for a build", Properties: map[string]spec.Schema{ "commit": { SchemaProps: spec.SchemaProps{ Description: "commit is the commit hash identifying a specific commit", Type: []string{"string"}, Format: "", }, }, "author": { SchemaProps: spec.SchemaProps{ Description: "author is the author of a specific commit", Ref: spec.MustCreateRef("#/definitions/v1.SourceControlUser"), }, }, "committer": { SchemaProps: spec.SchemaProps{ Description: "committer is the committer of a specific commit", Ref: spec.MustCreateRef("#/definitions/v1.SourceControlUser"), }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "message is the description of a specific commit", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1.SourceControlUser"}, }, "v1.GlusterfsVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", Properties: map[string]spec.Schema{ "endpoints": { SchemaProps: spec.SchemaProps{ Description: "EndpointsName is the endpoint name that details Glusterfs topology. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", Type: []string{"string"}, Format: "", }, }, "path": { SchemaProps: spec.SchemaProps{ Description: "Path is the Glusterfs volume path. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", Type: []string{"string"}, Format: "", }, }, "readOnly": { SchemaProps: spec.SchemaProps{ Description: "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"endpoints", "path"}, }, }, Dependencies: []string{}, }, "v1.Group": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Group represents a referenceable set of Users", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "users": { SchemaProps: spec.SchemaProps{ Description: "Users is the list of users in this group.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"users"}, }, }, Dependencies: []string{ "v1.ObjectMeta"}, }, "v1.GroupList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "GroupList is a collection of Groups", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of groups", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Group"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Group"}, }, "v1.GroupRestriction": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "GroupRestriction matches a group either by a string match on the group name or a label selector applied to group labels.", Properties: map[string]spec.Schema{ "groups": { SchemaProps: spec.SchemaProps{ Description: "Groups is a list of groups used to match against an individual user's groups. If the user is a member of one of the whitelisted groups, the user is allowed to be bound to a role.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "labels": { SchemaProps: spec.SchemaProps{ Description: "Selectors specifies a list of label selectors over group labels.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, }, }, }, }, Required: []string{"groups", "labels"}, }, }, Dependencies: []string{ "unversioned.LabelSelector"}, }, "v1.HTTPGetAction": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "HTTPGetAction describes an action based on HTTP Get requests.", Properties: map[string]spec.Schema{ "path": { SchemaProps: spec.SchemaProps{ Description: "Path to access on the HTTP server.", Type: []string{"string"}, Format: "", }, }, "port": { SchemaProps: spec.SchemaProps{ Description: "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", Ref: spec.MustCreateRef("#/definitions/intstr.IntOrString"), }, }, "host": { SchemaProps: spec.SchemaProps{ Description: "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", Type: []string{"string"}, Format: "", }, }, "scheme": { SchemaProps: spec.SchemaProps{ Description: "Scheme to use for connecting to the host. Defaults to HTTP.", Type: []string{"string"}, Format: "", }, }, "httpHeaders": { SchemaProps: spec.SchemaProps{ Description: "Custom headers to set in the request. HTTP allows repeated headers.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.HTTPHeader"), }, }, }, }, }, }, Required: []string{"port"}, }, }, Dependencies: []string{ "intstr.IntOrString", "v1.HTTPHeader"}, }, "v1.HTTPHeader": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "HTTPHeader describes a custom header to be used in HTTP probes", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "The header field name", Type: []string{"string"}, Format: "", }, }, "value": { SchemaProps: spec.SchemaProps{ Description: "The header field value", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"name", "value"}, }, }, Dependencies: []string{}, }, "v1.Handler": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Handler defines a specific action that should be taken", Properties: map[string]spec.Schema{ "exec": { SchemaProps: spec.SchemaProps{ Description: "One and only one of the following should be specified. Exec specifies the action to take.", Ref: spec.MustCreateRef("#/definitions/v1.ExecAction"), }, }, "httpGet": { SchemaProps: spec.SchemaProps{ Description: "HTTPGet specifies the http request to perform.", Ref: spec.MustCreateRef("#/definitions/v1.HTTPGetAction"), }, }, "tcpSocket": { SchemaProps: spec.SchemaProps{ Description: "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported", Ref: spec.MustCreateRef("#/definitions/v1.TCPSocketAction"), }, }, }, }, }, Dependencies: []string{ "v1.ExecAction", "v1.HTTPGetAction", "v1.TCPSocketAction"}, }, "v1.HorizontalPodAutoscaler": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "configuration of a horizontal pod autoscaler.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.", Ref: spec.MustCreateRef("#/definitions/v1.HorizontalPodAutoscalerSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "current information about the autoscaler.", Ref: spec.MustCreateRef("#/definitions/v1.HorizontalPodAutoscalerStatus"), }, }, }, }, }, Dependencies: []string{ "v1.HorizontalPodAutoscalerSpec", "v1.HorizontalPodAutoscalerStatus", "v1.ObjectMeta"}, }, "v1.HorizontalPodAutoscalerList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "list of horizontal pod autoscaler objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "list of horizontal pod autoscaler objects.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.HorizontalPodAutoscaler"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.HorizontalPodAutoscaler"}, }, "v1.HorizontalPodAutoscalerSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "specification of a horizontal pod autoscaler.", Properties: map[string]spec.Schema{ "scaleTargetRef": { SchemaProps: spec.SchemaProps{ Description: "reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.", Ref: spec.MustCreateRef("#/definitions/v1.CrossVersionObjectReference"), }, }, "minReplicas": { SchemaProps: spec.SchemaProps{ Description: "lower limit for the number of pods that can be set by the autoscaler, default 1.", Type: []string{"integer"}, Format: "int32", }, }, "maxReplicas": { SchemaProps: spec.SchemaProps{ Description: "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", Type: []string{"integer"}, Format: "int32", }, }, "targetCPUUtilizationPercentage": { SchemaProps: spec.SchemaProps{ Description: "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"scaleTargetRef", "maxReplicas"}, }, }, Dependencies: []string{ "v1.CrossVersionObjectReference"}, }, "v1.HorizontalPodAutoscalerStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "current status of a horizontal pod autoscaler", Properties: map[string]spec.Schema{ "observedGeneration": { SchemaProps: spec.SchemaProps{ Description: "most recent generation observed by this autoscaler.", Type: []string{"integer"}, Format: "int64", }, }, "lastScaleTime": { SchemaProps: spec.SchemaProps{ Description: "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "currentReplicas": { SchemaProps: spec.SchemaProps{ Description: "current number of replicas of pods managed by this autoscaler.", Type: []string{"integer"}, Format: "int32", }, }, "desiredReplicas": { SchemaProps: spec.SchemaProps{ Description: "desired number of replicas of pods managed by this autoscaler.", Type: []string{"integer"}, Format: "int32", }, }, "currentCPUUtilizationPercentage": { SchemaProps: spec.SchemaProps{ Description: "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"currentReplicas", "desiredReplicas"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1.HostPathVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.", Properties: map[string]spec.Schema{ "path": { SchemaProps: spec.SchemaProps{ Description: "Path of the directory on the host. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"path"}, }, }, Dependencies: []string{}, }, "v1.HostSubnet": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "HostSubnet describes the container subnet network on a node. The HostSubnet object must have the same name as the Node object it corresponds to.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "host": { SchemaProps: spec.SchemaProps{ Description: "Host is the name of the node. (This is the same as the object's name, but both fields must be set.)", Type: []string{"string"}, Format: "", }, }, "hostIP": { SchemaProps: spec.SchemaProps{ Description: "HostIP is the IP address to be used as a VTEP by other nodes in the overlay network", Type: []string{"string"}, Format: "", }, }, "subnet": { SchemaProps: spec.SchemaProps{ Description: "Subnet is the CIDR range of the overlay network assigned to the node for its pods", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"host", "hostIP", "subnet"}, }, }, Dependencies: []string{ "v1.ObjectMeta"}, }, "v1.HostSubnetList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "HostSubnetList is a collection of HostSubnets", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of host subnets", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.HostSubnet"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.HostSubnet"}, }, "v1.IDRange": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IDRange provides a min/max of an allowed range of IDs.", Properties: map[string]spec.Schema{ "min": { SchemaProps: spec.SchemaProps{ Description: "Min is the start of the range, inclusive.", Type: []string{"integer"}, Format: "int64", }, }, "max": { SchemaProps: spec.SchemaProps{ Description: "Max is the end of the range, inclusive.", Type: []string{"integer"}, Format: "int64", }, }, }, }, }, Dependencies: []string{}, }, "v1.ISCSIVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", Properties: map[string]spec.Schema{ "targetPortal": { SchemaProps: spec.SchemaProps{ Description: "iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", Type: []string{"string"}, Format: "", }, }, "iqn": { SchemaProps: spec.SchemaProps{ Description: "Target iSCSI Qualified Name.", Type: []string{"string"}, Format: "", }, }, "lun": { SchemaProps: spec.SchemaProps{ Description: "iSCSI target lun number.", Type: []string{"integer"}, Format: "int32", }, }, "iscsiInterface": { SchemaProps: spec.SchemaProps{ Description: "Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport.", Type: []string{"string"}, Format: "", }, }, "fsType": { SchemaProps: spec.SchemaProps{ Description: "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#iscsi", Type: []string{"string"}, Format: "", }, }, "readOnly": { SchemaProps: spec.SchemaProps{ Description: "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"targetPortal", "iqn", "lun"}, }, }, Dependencies: []string{}, }, "v1.Identity": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Identity records a successful authentication of a user with an identity provider. The information about the source of authentication is stored on the identity, and the identity is then associated with a single user object. Multiple identities can reference a single user. Information retrieved from the authentication provider is stored in the extra field using a schema determined by the provider.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "providerName": { SchemaProps: spec.SchemaProps{ Description: "ProviderName is the source of identity information", Type: []string{"string"}, Format: "", }, }, "providerUserName": { SchemaProps: spec.SchemaProps{ Description: "ProviderUserName uniquely represents this identity in the scope of the provider", Type: []string{"string"}, Format: "", }, }, "user": { SchemaProps: spec.SchemaProps{ Description: "User is a reference to the user this identity is associated with Both Name and UID must be set", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "extra": { SchemaProps: spec.SchemaProps{ Description: "Extra holds extra information about this identity", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"providerName", "providerUserName", "user"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.ObjectReference"}, }, "v1.IdentityList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IdentityList is a collection of Identities", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of identities", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Identity"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Identity"}, }, "v1.Image": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Image is an immutable representation of a Docker image and metadata at a point in time.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "dockerImageReference": { SchemaProps: spec.SchemaProps{ Description: "DockerImageReference is the string that can be used to pull this image.", Type: []string{"string"}, Format: "", }, }, "dockerImageMetadata": { SchemaProps: spec.SchemaProps{ Description: "DockerImageMetadata contains metadata about this image", Ref: spec.MustCreateRef("#/definitions/runtime.RawExtension"), }, }, "dockerImageMetadataVersion": { SchemaProps: spec.SchemaProps{ Description: "DockerImageMetadataVersion conveys the version of the object, which if empty defaults to \"1.0\"", Type: []string{"string"}, Format: "", }, }, "dockerImageManifest": { SchemaProps: spec.SchemaProps{ Description: "DockerImageManifest is the raw JSON of the manifest", Type: []string{"string"}, Format: "", }, }, "dockerImageLayers": { SchemaProps: spec.SchemaProps{ Description: "DockerImageLayers represents the layers in the image. May not be set if the image does not define that data.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ImageLayer"), }, }, }, }, }, "signatures": { SchemaProps: spec.SchemaProps{ Description: "Signatures holds all signatures of the image.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ImageSignature"), }, }, }, }, }, "dockerImageSignatures": { SchemaProps: spec.SchemaProps{ Description: "DockerImageSignatures provides the signatures as opaque blobs. This is a part of manifest schema v1.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "byte", }, }, }, }, }, "dockerImageManifestMediaType": { SchemaProps: spec.SchemaProps{ Description: "DockerImageManifestMediaType specifies the mediaType of manifest. This is a part of manifest schema v2.", Type: []string{"string"}, Format: "", }, }, "dockerImageConfig": { SchemaProps: spec.SchemaProps{ Description: "DockerImageConfig is a JSON blob that the runtime uses to set up the container. This is a part of manifest schema v2.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"dockerImageLayers"}, }, }, Dependencies: []string{ "runtime.RawExtension", "v1.ImageLayer", "v1.ImageSignature", "v1.ObjectMeta"}, }, "v1.ImageChangeCause": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageChangeCause contains information about the image that triggered a build", Properties: map[string]spec.Schema{ "imageID": { SchemaProps: spec.SchemaProps{ Description: "imageID is the ID of the image that triggered a a new build.", Type: []string{"string"}, Format: "", }, }, "fromRef": { SchemaProps: spec.SchemaProps{ Description: "fromRef contains detailed information about an image that triggered a build.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectReference"}, }, "v1.ImageChangeTrigger": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageChangeTrigger allows builds to be triggered when an ImageStream changes", Properties: map[string]spec.Schema{ "lastTriggeredImageID": { SchemaProps: spec.SchemaProps{ Description: "lastTriggeredImageID is used internally by the ImageChangeController to save last used image ID for build", Type: []string{"string"}, Format: "", }, }, "from": { SchemaProps: spec.SchemaProps{ Description: "from is a reference to an ImageStreamTag that will trigger a build when updated It is optional. If no From is specified, the From image from the build strategy will be used. Only one ImageChangeTrigger with an empty From reference is allowed in a build configuration.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectReference"}, }, "v1.ImageImportSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageImportSpec describes a request to import a specific image.", Properties: map[string]spec.Schema{ "from": { SchemaProps: spec.SchemaProps{ Description: "From is the source of an image to import; only kind DockerImage is allowed", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "to": { SchemaProps: spec.SchemaProps{ Description: "To is a tag in the current image stream to assign the imported image to, if name is not specified the default tag from from.name will be used", Ref: spec.MustCreateRef("#/definitions/v1.LocalObjectReference"), }, }, "importPolicy": { SchemaProps: spec.SchemaProps{ Description: "ImportPolicy is the policy controlling how the image is imported", Ref: spec.MustCreateRef("#/definitions/v1.TagImportPolicy"), }, }, "referencePolicy": { SchemaProps: spec.SchemaProps{ Description: "ReferencePolicy defines how other components should consume the image", Ref: spec.MustCreateRef("#/definitions/v1.TagReferencePolicy"), }, }, "includeManifest": { SchemaProps: spec.SchemaProps{ Description: "IncludeManifest determines if the manifest for each image is returned in the response", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"from"}, }, }, Dependencies: []string{ "v1.LocalObjectReference", "v1.ObjectReference", "v1.TagImportPolicy", "v1.TagReferencePolicy"}, }, "v1.ImageImportStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageImportStatus describes the result of an image import.", Properties: map[string]spec.Schema{ "status": { SchemaProps: spec.SchemaProps{ Description: "Status is the status of the image import, including errors encountered while retrieving the image", Ref: spec.MustCreateRef("#/definitions/unversioned.Status"), }, }, "image": { SchemaProps: spec.SchemaProps{ Description: "Image is the metadata of that image, if the image was located", Ref: spec.MustCreateRef("#/definitions/v1.Image"), }, }, "tag": { SchemaProps: spec.SchemaProps{ Description: "Tag is the tag this image was located under, if any", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"status"}, }, }, Dependencies: []string{ "unversioned.Status", "v1.Image"}, }, "v1.ImageLabel": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageLabel represents a label applied to the resulting image.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "name defines the name of the label. It must have non-zero length.", Type: []string{"string"}, Format: "", }, }, "value": { SchemaProps: spec.SchemaProps{ Description: "value defines the literal value of the label.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"name"}, }, }, Dependencies: []string{}, }, "v1.ImageLayer": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageLayer represents a single layer of the image. Some images may have multiple layers. Some may have none.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the layer as defined by the underlying store.", Type: []string{"string"}, Format: "", }, }, "size": { SchemaProps: spec.SchemaProps{ Description: "Size of the layer in bytes as defined by the underlying store.", Type: []string{"integer"}, Format: "int64", }, }, "mediaType": { SchemaProps: spec.SchemaProps{ Description: "MediaType of the referenced object.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"name", "size", "mediaType"}, }, }, Dependencies: []string{}, }, "v1.ImageList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageList is a list of Image objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of images", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Image"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Image"}, }, "v1.ImageSignature": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageSignature holds a signature of an image. It allows to verify image identity and possibly other claims as long as the signature is trusted. Based on this information it is possible to restrict runnable images to those matching cluster-wide policy. Mandatory fields should be parsed by clients doing image verification. The others are parsed from signature's content by the server. They serve just an informative purpose.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "type": { SchemaProps: spec.SchemaProps{ Description: "Required: Describes a type of stored blob.", Type: []string{"string"}, Format: "", }, }, "content": { SchemaProps: spec.SchemaProps{ Description: "Required: An opaque binary string which is an image's signature.", Type: []string{"string"}, Format: "byte", }, }, "conditions": { SchemaProps: spec.SchemaProps{ Description: "Conditions represent the latest available observations of a signature's current state.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.SignatureCondition"), }, }, }, }, }, "imageIdentity": { SchemaProps: spec.SchemaProps{ Description: "A human readable string representing image's identity. It could be a product name and version, or an image pull spec (e.g. \"registry.access.redhat.com/rhel7/rhel:7.2\").", Type: []string{"string"}, Format: "", }, }, "signedClaims": { SchemaProps: spec.SchemaProps{ Description: "Contains claims from the signature.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "created": { SchemaProps: spec.SchemaProps{ Description: "If specified, it is the time of signature's creation.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "issuedBy": { SchemaProps: spec.SchemaProps{ Description: "If specified, it holds information about an issuer of signing certificate or key (a person or entity who signed the signing certificate or key).", Ref: spec.MustCreateRef("#/definitions/v1.SignatureIssuer"), }, }, "issuedTo": { SchemaProps: spec.SchemaProps{ Description: "If specified, it holds information about a subject of signing certificate or key (a person or entity who signed the image).", Ref: spec.MustCreateRef("#/definitions/v1.SignatureSubject"), }, }, }, Required: []string{"type", "content"}, }, }, Dependencies: []string{ "unversioned.Time", "v1.ObjectMeta", "v1.SignatureCondition", "v1.SignatureIssuer", "v1.SignatureSubject"}, }, "v1.ImageSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageSource is used to describe build source that will be extracted from an image. A reference of type ImageStreamTag, ImageStreamImage or DockerImage may be used. A pull secret can be specified to pull the image from an external registry or override the default service account secret if pulling from the internal registry. A list of paths to copy from the image and their respective destination within the build directory must be specified in the paths array.", Properties: map[string]spec.Schema{ "from": { SchemaProps: spec.SchemaProps{ Description: "from is a reference to an ImageStreamTag, ImageStreamImage, or DockerImage to copy source from.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "paths": { SchemaProps: spec.SchemaProps{ Description: "paths is a list of source and destination paths to copy from the image.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ImageSourcePath"), }, }, }, }, }, "pullSecret": { SchemaProps: spec.SchemaProps{ Description: "pullSecret is a reference to a secret to be used to pull the image from a registry If the image is pulled from the OpenShift registry, this field does not need to be set.", Ref: spec.MustCreateRef("#/definitions/v1.LocalObjectReference"), }, }, }, Required: []string{"from", "paths"}, }, }, Dependencies: []string{ "v1.ImageSourcePath", "v1.LocalObjectReference", "v1.ObjectReference"}, }, "v1.ImageSourcePath": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageSourcePath describes a path to be copied from a source image and its destination within the build directory.", Properties: map[string]spec.Schema{ "sourcePath": { SchemaProps: spec.SchemaProps{ Description: "sourcePath is the absolute path of the file or directory inside the image to copy to the build directory.", Type: []string{"string"}, Format: "", }, }, "destinationDir": { SchemaProps: spec.SchemaProps{ Description: "destinationDir is the relative directory within the build directory where files copied from the image are placed.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"sourcePath", "destinationDir"}, }, }, Dependencies: []string{}, }, "v1.ImageStream": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageStream stores a mapping of tags to images, metadata overrides that are applied when images are tagged in a stream, and an optional reference to a Docker image repository on a registry.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec describes the desired state of this stream", Ref: spec.MustCreateRef("#/definitions/v1.ImageStreamSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status describes the current state of this stream", Ref: spec.MustCreateRef("#/definitions/v1.ImageStreamStatus"), }, }, }, Required: []string{"spec"}, }, }, Dependencies: []string{ "v1.ImageStreamSpec", "v1.ImageStreamStatus", "v1.ObjectMeta"}, }, "v1.ImageStreamImage": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageStreamImage represents an Image that is retrieved by image name from an ImageStream.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "image": { SchemaProps: spec.SchemaProps{ Description: "Image associated with the ImageStream and image name.", Ref: spec.MustCreateRef("#/definitions/v1.Image"), }, }, }, Required: []string{"image"}, }, }, Dependencies: []string{ "v1.Image", "v1.ObjectMeta"}, }, "v1.ImageStreamImport": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "The image stream import resource provides an easy way for a user to find and import Docker images from other Docker registries into the server. Individual images or an entire image repository may be imported, and users may choose to see the results of the import prior to tagging the resulting images into the specified image stream.\n\nThis API is intended for end-user tools that need to see the metadata of the image prior to import (for instance, to generate an application from it). Clients that know the desired image can continue to create spec.tags directly into their image streams.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec is a description of the images that the user wishes to import", Ref: spec.MustCreateRef("#/definitions/v1.ImageStreamImportSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is the the result of importing the image", Ref: spec.MustCreateRef("#/definitions/v1.ImageStreamImportStatus"), }, }, }, Required: []string{"spec", "status"}, }, }, Dependencies: []string{ "v1.ImageStreamImportSpec", "v1.ImageStreamImportStatus", "v1.ObjectMeta"}, }, "v1.ImageStreamImportSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageStreamImportSpec defines what images should be imported.", Properties: map[string]spec.Schema{ "import": { SchemaProps: spec.SchemaProps{ Description: "Import indicates whether to perform an import - if so, the specified tags are set on the spec and status of the image stream defined by the type meta.", Type: []string{"boolean"}, Format: "", }, }, "repository": { SchemaProps: spec.SchemaProps{ Description: "Repository is an optional import of an entire Docker image repository. A maximum limit on the number of tags imported this way is imposed by the server.", Ref: spec.MustCreateRef("#/definitions/v1.RepositoryImportSpec"), }, }, "images": { SchemaProps: spec.SchemaProps{ Description: "Images are a list of individual images to import.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ImageImportSpec"), }, }, }, }, }, }, Required: []string{"import"}, }, }, Dependencies: []string{ "v1.ImageImportSpec", "v1.RepositoryImportSpec"}, }, "v1.ImageStreamImportStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageStreamImportStatus contains information about the status of an image stream import.", Properties: map[string]spec.Schema{ "import": { SchemaProps: spec.SchemaProps{ Description: "Import is the image stream that was successfully updated or created when 'to' was set.", Ref: spec.MustCreateRef("#/definitions/v1.ImageStream"), }, }, "repository": { SchemaProps: spec.SchemaProps{ Description: "Repository is set if spec.repository was set to the outcome of the import", Ref: spec.MustCreateRef("#/definitions/v1.RepositoryImportStatus"), }, }, "images": { SchemaProps: spec.SchemaProps{ Description: "Images is set with the result of importing spec.images", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ImageImportStatus"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.ImageImportStatus", "v1.ImageStream", "v1.RepositoryImportStatus"}, }, "v1.ImageStreamList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageStreamList is a list of ImageStream objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of imageStreams", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ImageStream"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.ImageStream"}, }, "v1.ImageStreamMapping": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageStreamMapping represents a mapping from a single tag to a Docker image as well as the reference to the Docker image stream the image came from.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "image": { SchemaProps: spec.SchemaProps{ Description: "Image is a Docker image.", Ref: spec.MustCreateRef("#/definitions/v1.Image"), }, }, "tag": { SchemaProps: spec.SchemaProps{ Description: "Tag is a string value this image can be located with inside the stream.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"image", "tag"}, }, }, Dependencies: []string{ "v1.Image", "v1.ObjectMeta"}, }, "v1.ImageStreamSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageStreamSpec represents options for ImageStreams.", Properties: map[string]spec.Schema{ "dockerImageRepository": { SchemaProps: spec.SchemaProps{ Description: "DockerImageRepository is optional, if specified this stream is backed by a Docker repository on this server", Type: []string{"string"}, Format: "", }, }, "tags": { SchemaProps: spec.SchemaProps{ Description: "Tags map arbitrary string values to specific image locators", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.TagReference"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.TagReference"}, }, "v1.ImageStreamStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageStreamStatus contains information about the state of this image stream.", Properties: map[string]spec.Schema{ "dockerImageRepository": { SchemaProps: spec.SchemaProps{ Description: "DockerImageRepository represents the effective location this stream may be accessed at. May be empty until the server determines where the repository is located", Type: []string{"string"}, Format: "", }, }, "tags": { SchemaProps: spec.SchemaProps{ Description: "Tags are a historical record of images associated with each tag. The first entry in the TagEvent array is the currently tagged image.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.NamedTagEventList"), }, }, }, }, }, }, Required: []string{"dockerImageRepository"}, }, }, Dependencies: []string{ "v1.NamedTagEventList"}, }, "v1.ImageStreamTag": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageStreamTag represents an Image that is retrieved by tag name from an ImageStream.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "tag": { SchemaProps: spec.SchemaProps{ Description: "Tag is the spec tag associated with this image stream tag, and it may be null if only pushes have occurred to this image stream.", Ref: spec.MustCreateRef("#/definitions/v1.TagReference"), }, }, "generation": { SchemaProps: spec.SchemaProps{ Description: "Generation is the current generation of the tagged image - if tag is provided and this value is not equal to the tag generation, a user has requested an import that has not completed, or Conditions will be filled out indicating any error.", Type: []string{"integer"}, Format: "int64", }, }, "conditions": { SchemaProps: spec.SchemaProps{ Description: "Conditions is an array of conditions that apply to the image stream tag.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.TagEventCondition"), }, }, }, }, }, "image": { SchemaProps: spec.SchemaProps{ Description: "Image associated with the ImageStream and tag.", Ref: spec.MustCreateRef("#/definitions/v1.Image"), }, }, }, Required: []string{"tag", "generation", "image"}, }, }, Dependencies: []string{ "v1.Image", "v1.ObjectMeta", "v1.TagEventCondition", "v1.TagReference"}, }, "v1.ImageStreamTagList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageStreamTagList is a list of ImageStreamTag objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of image stream tags", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ImageStreamTag"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.ImageStreamTag"}, }, "v1.IsPersonalSubjectAccessReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IsPersonalSubjectAccessReview is a marker for PolicyRule.AttributeRestrictions that denotes that subjectaccessreviews on self should be allowed", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.JenkinsPipelineBuildStrategy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JenkinsPipelineBuildStrategy holds parameters specific to a Jenkins Pipeline build. This strategy is in tech preview.", Properties: map[string]spec.Schema{ "jenkinsfilePath": { SchemaProps: spec.SchemaProps{ Description: "JenkinsfilePath is the optional path of the Jenkinsfile that will be used to configure the pipeline relative to the root of the context (contextDir). If both JenkinsfilePath & Jenkinsfile are both not specified, this defaults to Jenkinsfile in the root of the specified contextDir.", Type: []string{"string"}, Format: "", }, }, "jenkinsfile": { SchemaProps: spec.SchemaProps{ Description: "Jenkinsfile defines the optional raw contents of a Jenkinsfile which defines a Jenkins pipeline build.", Type: []string{"string"}, Format: "", }, }, "env": { SchemaProps: spec.SchemaProps{ Description: "env contains additional environment variables you want to pass into a build pipeline. ValueFrom is not supported.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EnvVar"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.EnvVar"}, }, "v1.Job": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Job represents the configuration of a single job.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec is a structure defining the expected behavior of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.JobSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.JobStatus"), }, }, }, }, }, Dependencies: []string{ "v1.JobSpec", "v1.JobStatus", "v1.ObjectMeta"}, }, "v1.JobCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobCondition describes current state of a job.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of job condition, Complete or Failed.", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False, Unknown.", Type: []string{"string"}, Format: "", }, }, "lastProbeTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition was checked.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition transit from one status to another.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "(brief) reason for the condition's last transition.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "Human readable message indicating details about last transition.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "status"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1.JobList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobList is a collection of jobs.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of Job.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Job"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Job"}, }, "v1.JobSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobSpec describes how the job execution will look like.", Properties: map[string]spec.Schema{ "parallelism": { SchemaProps: spec.SchemaProps{ Description: "Parallelism specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: http://kubernetes.io/docs/user-guide/jobs", Type: []string{"integer"}, Format: "int32", }, }, "completions": { SchemaProps: spec.SchemaProps{ Description: "Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: http://kubernetes.io/docs/user-guide/jobs", Type: []string{"integer"}, Format: "int32", }, }, "activeDeadlineSeconds": { SchemaProps: spec.SchemaProps{ Description: "Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", Type: []string{"integer"}, Format: "int64", }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "manualSelector": { SchemaProps: spec.SchemaProps{ Description: "ManualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md", Type: []string{"boolean"}, Format: "", }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs", Ref: spec.MustCreateRef("#/definitions/v1.PodTemplateSpec"), }, }, }, Required: []string{"template"}, }, }, Dependencies: []string{ "unversioned.LabelSelector", "v1.PodTemplateSpec"}, }, "v1.JobStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobStatus represents the current state of a Job.", Properties: map[string]spec.Schema{ "conditions": { SchemaProps: spec.SchemaProps{ Description: "Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.JobCondition"), }, }, }, }, }, "startTime": { SchemaProps: spec.SchemaProps{ Description: "StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "completionTime": { SchemaProps: spec.SchemaProps{ Description: "CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "active": { SchemaProps: spec.SchemaProps{ Description: "Active is the number of actively running pods.", Type: []string{"integer"}, Format: "int32", }, }, "succeeded": { SchemaProps: spec.SchemaProps{ Description: "Succeeded is the number of pods which reached Phase Succeeded.", Type: []string{"integer"}, Format: "int32", }, }, "failed": { SchemaProps: spec.SchemaProps{ Description: "Failed is the number of pods which reached Phase Failed.", Type: []string{"integer"}, Format: "int32", }, }, }, }, }, Dependencies: []string{ "unversioned.Time", "v1.JobCondition"}, }, "v1.KeyToPath": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Maps a string key to a path within a volume.", Properties: map[string]spec.Schema{ "key": { SchemaProps: spec.SchemaProps{ Description: "The key to project.", Type: []string{"string"}, Format: "", }, }, "path": { SchemaProps: spec.SchemaProps{ Description: "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", Type: []string{"string"}, Format: "", }, }, "mode": { SchemaProps: spec.SchemaProps{ Description: "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"key", "path"}, }, }, Dependencies: []string{}, }, "v1.Lifecycle": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", Properties: map[string]spec.Schema{ "postStart": { SchemaProps: spec.SchemaProps{ Description: "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details", Ref: spec.MustCreateRef("#/definitions/v1.Handler"), }, }, "preStop": { SchemaProps: spec.SchemaProps{ Description: "PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details", Ref: spec.MustCreateRef("#/definitions/v1.Handler"), }, }, }, }, }, Dependencies: []string{ "v1.Handler"}, }, "v1.LifecycleHook": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "LifecycleHook defines a specific deployment lifecycle action. Only one type of action may be specified at any time.", Properties: map[string]spec.Schema{ "failurePolicy": { SchemaProps: spec.SchemaProps{ Description: "FailurePolicy specifies what action to take if the hook fails.", Type: []string{"string"}, Format: "", }, }, "execNewPod": { SchemaProps: spec.SchemaProps{ Description: "ExecNewPod specifies the options for a lifecycle hook backed by a pod.", Ref: spec.MustCreateRef("#/definitions/v1.ExecNewPodHook"), }, }, "tagImages": { SchemaProps: spec.SchemaProps{ Description: "TagImages instructs the deployer to tag the current image referenced under a container onto an image stream tag.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.TagImageHook"), }, }, }, }, }, }, Required: []string{"failurePolicy"}, }, }, Dependencies: []string{ "v1.ExecNewPodHook", "v1.TagImageHook"}, }, "v1.LimitRange": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "LimitRange sets resource usage limits for each kind of resource in a Namespace.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the limits enforced. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.LimitRangeSpec"), }, }, }, }, }, Dependencies: []string{ "v1.LimitRangeSpec", "v1.ObjectMeta"}, }, "v1.LimitRangeItem": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of resource that this limit applies to.", Type: []string{"string"}, Format: "", }, }, "max": { SchemaProps: spec.SchemaProps{ Description: "Max usage constraints on this kind by resource name.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, }, }, "min": { SchemaProps: spec.SchemaProps{ Description: "Min usage constraints on this kind by resource name.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, }, }, "default": { SchemaProps: spec.SchemaProps{ Description: "Default resource requirement limit value by resource name if resource limit is omitted.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, }, }, "defaultRequest": { SchemaProps: spec.SchemaProps{ Description: "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, }, }, "maxLimitRequestRatio": { SchemaProps: spec.SchemaProps{ Description: "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, }, }, }, }, }, Dependencies: []string{ "resource.Quantity"}, }, "v1.LimitRangeList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "LimitRangeList is a list of LimitRange items.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of LimitRange objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_limit_range.md", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.LimitRange"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.LimitRange"}, }, "v1.LimitRangeSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "LimitRangeSpec defines a min/max usage limit for resources that match on kind.", Properties: map[string]spec.Schema{ "limits": { SchemaProps: spec.SchemaProps{ Description: "Limits is the list of LimitRangeItem objects that are enforced.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.LimitRangeItem"), }, }, }, }, }, }, Required: []string{"limits"}, }, }, Dependencies: []string{ "v1.LimitRangeItem"}, }, "v1.List": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "List holds a list of objects, which may not be known by the server.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "List of objects", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/runtime.RawExtension"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "runtime.RawExtension", "unversioned.ListMeta"}, }, "v1.ListOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ListOptions is the query options to a standard REST list call.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "labelSelector": { SchemaProps: spec.SchemaProps{ Description: "A selector to restrict the list of returned objects by their labels. Defaults to everything.", Type: []string{"string"}, Format: "", }, }, "fieldSelector": { SchemaProps: spec.SchemaProps{ Description: "A selector to restrict the list of returned objects by their fields. Defaults to everything.", Type: []string{"string"}, Format: "", }, }, "watch": { SchemaProps: spec.SchemaProps{ Description: "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", Type: []string{"boolean"}, Format: "", }, }, "resourceVersion": { SchemaProps: spec.SchemaProps{ Description: "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", Type: []string{"string"}, Format: "", }, }, "timeoutSeconds": { SchemaProps: spec.SchemaProps{ Description: "Timeout for the list/watch call.", Type: []string{"integer"}, Format: "int64", }, }, }, }, }, Dependencies: []string{}, }, "v1.LoadBalancerIngress": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.", Properties: map[string]spec.Schema{ "ip": { SchemaProps: spec.SchemaProps{ Description: "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)", Type: []string{"string"}, Format: "", }, }, "hostname": { SchemaProps: spec.SchemaProps{ Description: "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.LoadBalancerStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "LoadBalancerStatus represents the status of a load-balancer.", Properties: map[string]spec.Schema{ "ingress": { SchemaProps: spec.SchemaProps{ Description: "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.LoadBalancerIngress"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.LoadBalancerIngress"}, }, "v1.LocalObjectReference": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.LocalResourceAccessReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "LocalResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by spec in a particular namespace", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces", Type: []string{"string"}, Format: "", }, }, "verb": { SchemaProps: spec.SchemaProps{ Description: "Verb is one of: get, list, watch, create, update, delete", Type: []string{"string"}, Format: "", }, }, "resourceAPIGroup": { SchemaProps: spec.SchemaProps{ Description: "Group is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined", Type: []string{"string"}, Format: "", }, }, "resourceAPIVersion": { SchemaProps: spec.SchemaProps{ Description: "Version is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined", Type: []string{"string"}, Format: "", }, }, "resource": { SchemaProps: spec.SchemaProps{ Description: "Resource is one of the existing resource types", Type: []string{"string"}, Format: "", }, }, "resourceName": { SchemaProps: spec.SchemaProps{ Description: "ResourceName is the name of the resource being requested for a \"get\" or deleted for a \"delete\"", Type: []string{"string"}, Format: "", }, }, "path": { SchemaProps: spec.SchemaProps{ Description: "Path is the path of a non resource URL", Type: []string{"string"}, Format: "", }, }, "isNonResourceURL": { SchemaProps: spec.SchemaProps{ Description: "IsNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hieraarchy)", Type: []string{"boolean"}, Format: "", }, }, "content": { SchemaProps: spec.SchemaProps{ Description: "Content is the actual content of the request for create and update", Ref: spec.MustCreateRef("#/definitions/runtime.RawExtension"), }, }, }, Required: []string{"namespace", "verb", "resourceAPIGroup", "resourceAPIVersion", "resource", "resourceName", "path", "isNonResourceURL"}, }, }, Dependencies: []string{ "runtime.RawExtension"}, }, "v1.LocalSubjectAccessReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "LocalSubjectAccessReview is an object for requesting information about whether a user or group can perform an action in a particular namespace", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces", Type: []string{"string"}, Format: "", }, }, "verb": { SchemaProps: spec.SchemaProps{ Description: "Verb is one of: get, list, watch, create, update, delete", Type: []string{"string"}, Format: "", }, }, "resourceAPIGroup": { SchemaProps: spec.SchemaProps{ Description: "Group is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined", Type: []string{"string"}, Format: "", }, }, "resourceAPIVersion": { SchemaProps: spec.SchemaProps{ Description: "Version is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined", Type: []string{"string"}, Format: "", }, }, "resource": { SchemaProps: spec.SchemaProps{ Description: "Resource is one of the existing resource types", Type: []string{"string"}, Format: "", }, }, "resourceName": { SchemaProps: spec.SchemaProps{ Description: "ResourceName is the name of the resource being requested for a \"get\" or deleted for a \"delete\"", Type: []string{"string"}, Format: "", }, }, "path": { SchemaProps: spec.SchemaProps{ Description: "Path is the path of a non resource URL", Type: []string{"string"}, Format: "", }, }, "isNonResourceURL": { SchemaProps: spec.SchemaProps{ Description: "IsNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hieraarchy)", Type: []string{"boolean"}, Format: "", }, }, "content": { SchemaProps: spec.SchemaProps{ Description: "Content is the actual content of the request for create and update", Ref: spec.MustCreateRef("#/definitions/runtime.RawExtension"), }, }, "user": { SchemaProps: spec.SchemaProps{ Description: "User is optional. If both User and Groups are empty, the current authenticated user is used.", Type: []string{"string"}, Format: "", }, }, "groups": { SchemaProps: spec.SchemaProps{ Description: "Groups is optional. Groups is the list of groups to which the User belongs.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "scopes": { SchemaProps: spec.SchemaProps{ Description: "Scopes to use for the evaluation. Empty means \"use the unscoped (full) permissions of the user/groups\". Nil for a self-SAR, means \"use the scopes on this request\". Nil for a regular SAR, means the same as empty.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"namespace", "verb", "resourceAPIGroup", "resourceAPIVersion", "resource", "resourceName", "path", "isNonResourceURL", "user", "groups", "scopes"}, }, }, Dependencies: []string{ "runtime.RawExtension"}, }, "v1.NFSVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", Properties: map[string]spec.Schema{ "server": { SchemaProps: spec.SchemaProps{ Description: "Server is the hostname or IP address of the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", Type: []string{"string"}, Format: "", }, }, "path": { SchemaProps: spec.SchemaProps{ Description: "Path that is exported by the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", Type: []string{"string"}, Format: "", }, }, "readOnly": { SchemaProps: spec.SchemaProps{ Description: "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"server", "path"}, }, }, Dependencies: []string{}, }, "v1.NamedClusterRole": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NamedClusterRole relates a name with a cluster role", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name is the name of the cluster role", Type: []string{"string"}, Format: "", }, }, "role": { SchemaProps: spec.SchemaProps{ Description: "Role is the cluster role being named", Ref: spec.MustCreateRef("#/definitions/v1.ClusterRole"), }, }, }, Required: []string{"name", "role"}, }, }, Dependencies: []string{ "v1.ClusterRole"}, }, "v1.NamedClusterRoleBinding": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NamedClusterRoleBinding relates a name with a cluster role binding", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name is the name of the cluster role binding", Type: []string{"string"}, Format: "", }, }, "roleBinding": { SchemaProps: spec.SchemaProps{ Description: "RoleBinding is the cluster role binding being named", Ref: spec.MustCreateRef("#/definitions/v1.ClusterRoleBinding"), }, }, }, Required: []string{"name", "roleBinding"}, }, }, Dependencies: []string{ "v1.ClusterRoleBinding"}, }, "v1.NamedRole": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NamedRole relates a Role with a name", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name is the name of the role", Type: []string{"string"}, Format: "", }, }, "role": { SchemaProps: spec.SchemaProps{ Description: "Role is the role being named", Ref: spec.MustCreateRef("#/definitions/v1.Role"), }, }, }, Required: []string{"name", "role"}, }, }, Dependencies: []string{ "v1.Role"}, }, "v1.NamedRoleBinding": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NamedRoleBinding relates a role binding with a name", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name is the name of the role binding", Type: []string{"string"}, Format: "", }, }, "roleBinding": { SchemaProps: spec.SchemaProps{ Description: "RoleBinding is the role binding being named", Ref: spec.MustCreateRef("#/definitions/v1.RoleBinding"), }, }, }, Required: []string{"name", "roleBinding"}, }, }, Dependencies: []string{ "v1.RoleBinding"}, }, "v1.NamedTagEventList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NamedTagEventList relates a tag to its image history.", Properties: map[string]spec.Schema{ "tag": { SchemaProps: spec.SchemaProps{ Description: "Tag is the tag for which the history is recorded", Type: []string{"string"}, Format: "", }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.TagEvent"), }, }, }, }, }, "conditions": { SchemaProps: spec.SchemaProps{ Description: "Conditions is an array of conditions that apply to the tag event list.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.TagEventCondition"), }, }, }, }, }, }, Required: []string{"tag", "items"}, }, }, Dependencies: []string{ "v1.TagEvent", "v1.TagEventCondition"}, }, "v1.Namespace": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Namespace provides a scope for Names. Use of multiple namespaces is optional.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the behavior of the Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.NamespaceSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status describes the current status of a Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.NamespaceStatus"), }, }, }, }, }, Dependencies: []string{ "v1.NamespaceSpec", "v1.NamespaceStatus", "v1.ObjectMeta"}, }, "v1.NamespaceList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NamespaceList is a list of Namespaces.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of Namespace objects in the list. More info: http://kubernetes.io/docs/user-guide/namespaces", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Namespace"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Namespace"}, }, "v1.NamespaceSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NamespaceSpec describes the attributes on a Namespace.", Properties: map[string]spec.Schema{ "finalizers": { SchemaProps: spec.SchemaProps{ Description: "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#finalizers", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, }, }, Dependencies: []string{}, }, "v1.NamespaceStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NamespaceStatus is information about the current status of a Namespace.", Properties: map[string]spec.Schema{ "phase": { SchemaProps: spec.SchemaProps{ Description: "Phase is the current lifecycle phase of the namespace. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#phases", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.NetNamespace": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NetNamespace describes a single isolated network. When using the redhat/openshift-ovs-multitenant plugin, every Namespace will have a corresponding NetNamespace object with the same name. (When using redhat/openshift-ovs-subnet, NetNamespaces are not used.)", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "netname": { SchemaProps: spec.SchemaProps{ Description: "NetName is the name of the network namespace. (This is the same as the object's name, but both fields must be set.)", Type: []string{"string"}, Format: "", }, }, "netid": { SchemaProps: spec.SchemaProps{ Description: "NetID is the network identifier of the network namespace assigned to each overlay network packet. This can be manipulated with the \"oadm pod-network\" commands.", Type: []string{"integer"}, Format: "int64", }, }, }, Required: []string{"netname", "netid"}, }, }, Dependencies: []string{ "v1.ObjectMeta"}, }, "v1.NetNamespaceList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NetNamespaceList is a collection of NetNamespaces", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of net namespaces", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.NetNamespace"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.NetNamespace"}, }, "v1.Node": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the behavior of a node. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.NodeSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Most recently observed status of the node. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.NodeStatus"), }, }, }, }, }, Dependencies: []string{ "v1.NodeSpec", "v1.NodeStatus", "v1.ObjectMeta"}, }, "v1.NodeAddress": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NodeAddress contains information for the node's address.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Node address type, one of Hostname, ExternalIP or InternalIP.", Type: []string{"string"}, Format: "", }, }, "address": { SchemaProps: spec.SchemaProps{ Description: "The node address.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "address"}, }, }, Dependencies: []string{}, }, "v1.NodeAffinity": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Node affinity is a group of node affinity scheduling rules.", Properties: map[string]spec.Schema{ "requiredDuringSchedulingIgnoredDuringExecution": { SchemaProps: spec.SchemaProps{ Description: "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.", Ref: spec.MustCreateRef("#/definitions/v1.NodeSelector"), }, }, "preferredDuringSchedulingIgnoredDuringExecution": { SchemaProps: spec.SchemaProps{ Description: "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.PreferredSchedulingTerm"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.NodeSelector", "v1.PreferredSchedulingTerm"}, }, "v1.NodeCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NodeCondition contains condition information for a node.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of node condition.", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False, Unknown.", Type: []string{"string"}, Format: "", }, }, "lastHeartbeatTime": { SchemaProps: spec.SchemaProps{ Description: "Last time we got an update on a given condition.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition transit from one status to another.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "(brief) reason for the condition's last transition.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "Human readable message indicating details about last transition.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "status"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1.NodeDaemonEndpoints": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NodeDaemonEndpoints lists ports opened by daemons running on the Node.", Properties: map[string]spec.Schema{ "kubeletEndpoint": { SchemaProps: spec.SchemaProps{ Description: "Endpoint on which Kubelet is listening.", Ref: spec.MustCreateRef("#/definitions/v1.DaemonEndpoint"), }, }, }, }, }, Dependencies: []string{ "v1.DaemonEndpoint"}, }, "v1.NodeList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NodeList is the whole list of all Nodes which have been registered with master.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "List of nodes", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Node"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Node"}, }, "v1.NodeProxyOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NodeProxyOptions is the query options to a Node's proxy call.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "path": { SchemaProps: spec.SchemaProps{ Description: "Path is the URL path to use for the current proxy request to node.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.NodeSelector": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.", Properties: map[string]spec.Schema{ "nodeSelectorTerms": { SchemaProps: spec.SchemaProps{ Description: "Required. A list of node selector terms. The terms are ORed.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.NodeSelectorTerm"), }, }, }, }, }, }, Required: []string{"nodeSelectorTerms"}, }, }, Dependencies: []string{ "v1.NodeSelectorTerm"}, }, "v1.NodeSelectorRequirement": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", Properties: map[string]spec.Schema{ "key": { SchemaProps: spec.SchemaProps{ Description: "The label key that the selector applies to.", Type: []string{"string"}, Format: "", }, }, "operator": { SchemaProps: spec.SchemaProps{ Description: "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", Type: []string{"string"}, Format: "", }, }, "values": { SchemaProps: spec.SchemaProps{ Description: "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"key", "operator"}, }, }, Dependencies: []string{}, }, "v1.NodeSelectorTerm": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "A null or empty node selector term matches no objects.", Properties: map[string]spec.Schema{ "matchExpressions": { SchemaProps: spec.SchemaProps{ Description: "Required. A list of node selector requirements. The requirements are ANDed.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.NodeSelectorRequirement"), }, }, }, }, }, }, Required: []string{"matchExpressions"}, }, }, Dependencies: []string{ "v1.NodeSelectorRequirement"}, }, "v1.NodeSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NodeSpec describes the attributes that a node is created with.", Properties: map[string]spec.Schema{ "podCIDR": { SchemaProps: spec.SchemaProps{ Description: "PodCIDR represents the pod IP range assigned to the node.", Type: []string{"string"}, Format: "", }, }, "externalID": { SchemaProps: spec.SchemaProps{ Description: "External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated.", Type: []string{"string"}, Format: "", }, }, "providerID": { SchemaProps: spec.SchemaProps{ Description: "ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>", Type: []string{"string"}, Format: "", }, }, "unschedulable": { SchemaProps: spec.SchemaProps{ Description: "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#manual-node-administration\"", Type: []string{"boolean"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.NodeStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NodeStatus is information about the current status of a node.", Properties: map[string]spec.Schema{ "capacity": { SchemaProps: spec.SchemaProps{ Description: "Capacity represents the total resources of a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity for more details.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, }, }, "allocatable": { SchemaProps: spec.SchemaProps{ Description: "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, }, }, "phase": { SchemaProps: spec.SchemaProps{ Description: "NodePhase is the recently observed lifecycle phase of the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-phase The field is never populated, and now is deprecated.", Type: []string{"string"}, Format: "", }, }, "conditions": { SchemaProps: spec.SchemaProps{ Description: "Conditions is an array of current observed node conditions. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-condition", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.NodeCondition"), }, }, }, }, }, "addresses": { SchemaProps: spec.SchemaProps{ Description: "List of addresses reachable to the node. Queried from cloud provider, if available. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-addresses", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.NodeAddress"), }, }, }, }, }, "daemonEndpoints": { SchemaProps: spec.SchemaProps{ Description: "Endpoints of daemons running on the Node.", Ref: spec.MustCreateRef("#/definitions/v1.NodeDaemonEndpoints"), }, }, "nodeInfo": { SchemaProps: spec.SchemaProps{ Description: "Set of ids/uuids to uniquely identify the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-info", Ref: spec.MustCreateRef("#/definitions/v1.NodeSystemInfo"), }, }, "images": { SchemaProps: spec.SchemaProps{ Description: "List of container images on this node", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ContainerImage"), }, }, }, }, }, "volumesInUse": { SchemaProps: spec.SchemaProps{ Description: "List of attachable volumes in use (mounted) by the node.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "volumesAttached": { SchemaProps: spec.SchemaProps{ Description: "List of volumes that are attached to the node.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.AttachedVolume"), }, }, }, }, }, }, }, }, Dependencies: []string{ "resource.Quantity", "v1.AttachedVolume", "v1.ContainerImage", "v1.NodeAddress", "v1.NodeCondition", "v1.NodeDaemonEndpoints", "v1.NodeSystemInfo"}, }, "v1.NodeSystemInfo": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", Properties: map[string]spec.Schema{ "machineID": { SchemaProps: spec.SchemaProps{ Description: "MachineID reported by the node. For unique machine identification in the cluster this field is prefered. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html", Type: []string{"string"}, Format: "", }, }, "systemUUID": { SchemaProps: spec.SchemaProps{ Description: "SystemUUID reported by the node. For unique machine identification MachineID is prefered. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html", Type: []string{"string"}, Format: "", }, }, "bootID": { SchemaProps: spec.SchemaProps{ Description: "Boot ID reported by the node.", Type: []string{"string"}, Format: "", }, }, "kernelVersion": { SchemaProps: spec.SchemaProps{ Description: "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).", Type: []string{"string"}, Format: "", }, }, "osImage": { SchemaProps: spec.SchemaProps{ Description: "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).", Type: []string{"string"}, Format: "", }, }, "containerRuntimeVersion": { SchemaProps: spec.SchemaProps{ Description: "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).", Type: []string{"string"}, Format: "", }, }, "kubeletVersion": { SchemaProps: spec.SchemaProps{ Description: "Kubelet Version reported by the node.", Type: []string{"string"}, Format: "", }, }, "kubeProxyVersion": { SchemaProps: spec.SchemaProps{ Description: "KubeProxy Version reported by the node.", Type: []string{"string"}, Format: "", }, }, "operatingSystem": { SchemaProps: spec.SchemaProps{ Description: "The Operating System reported by the node", Type: []string{"string"}, Format: "", }, }, "architecture": { SchemaProps: spec.SchemaProps{ Description: "The Architecture reported by the node", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"machineID", "systemUUID", "bootID", "kernelVersion", "osImage", "containerRuntimeVersion", "kubeletVersion", "kubeProxyVersion", "operatingSystem", "architecture"}, }, }, Dependencies: []string{}, }, "v1.OAuthAccessToken": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "OAuthAccessToken describes an OAuth access token", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "clientName": { SchemaProps: spec.SchemaProps{ Description: "ClientName references the client that created this token.", Type: []string{"string"}, Format: "", }, }, "expiresIn": { SchemaProps: spec.SchemaProps{ Description: "ExpiresIn is the seconds from CreationTime before this token expires.", Type: []string{"integer"}, Format: "int64", }, }, "scopes": { SchemaProps: spec.SchemaProps{ Description: "Scopes is an array of the requested scopes.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "redirectURI": { SchemaProps: spec.SchemaProps{ Description: "RedirectURI is the redirection associated with the token.", Type: []string{"string"}, Format: "", }, }, "userName": { SchemaProps: spec.SchemaProps{ Description: "UserName is the user name associated with this token", Type: []string{"string"}, Format: "", }, }, "userUID": { SchemaProps: spec.SchemaProps{ Description: "UserUID is the unique UID associated with this token", Type: []string{"string"}, Format: "", }, }, "authorizeToken": { SchemaProps: spec.SchemaProps{ Description: "AuthorizeToken contains the token that authorized this token", Type: []string{"string"}, Format: "", }, }, "refreshToken": { SchemaProps: spec.SchemaProps{ Description: "RefreshToken is the value by which this token can be renewed. Can be blank.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta"}, }, "v1.OAuthAccessTokenList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "OAuthAccessTokenList is a collection of OAuth access tokens", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of OAuth access tokens", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.OAuthAccessToken"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.OAuthAccessToken"}, }, "v1.OAuthAuthorizeToken": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "OAuthAuthorizeToken describes an OAuth authorization token", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "clientName": { SchemaProps: spec.SchemaProps{ Description: "ClientName references the client that created this token.", Type: []string{"string"}, Format: "", }, }, "expiresIn": { SchemaProps: spec.SchemaProps{ Description: "ExpiresIn is the seconds from CreationTime before this token expires.", Type: []string{"integer"}, Format: "int64", }, }, "scopes": { SchemaProps: spec.SchemaProps{ Description: "Scopes is an array of the requested scopes.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "redirectURI": { SchemaProps: spec.SchemaProps{ Description: "RedirectURI is the redirection associated with the token.", Type: []string{"string"}, Format: "", }, }, "state": { SchemaProps: spec.SchemaProps{ Description: "State data from request", Type: []string{"string"}, Format: "", }, }, "userName": { SchemaProps: spec.SchemaProps{ Description: "UserName is the user name associated with this token", Type: []string{"string"}, Format: "", }, }, "userUID": { SchemaProps: spec.SchemaProps{ Description: "UserUID is the unique UID associated with this token. UserUID and UserName must both match for this token to be valid.", Type: []string{"string"}, Format: "", }, }, "codeChallenge": { SchemaProps: spec.SchemaProps{ Description: "CodeChallenge is the optional code_challenge associated with this authorization code, as described in rfc7636", Type: []string{"string"}, Format: "", }, }, "codeChallengeMethod": { SchemaProps: spec.SchemaProps{ Description: "CodeChallengeMethod is the optional code_challenge_method associated with this authorization code, as described in rfc7636", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta"}, }, "v1.OAuthAuthorizeTokenList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "OAuthAuthorizeTokenList is a collection of OAuth authorization tokens", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of OAuth authorization tokens", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.OAuthAuthorizeToken"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.OAuthAuthorizeToken"}, }, "v1.OAuthClient": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "OAuthClient describes an OAuth client", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "secret": { SchemaProps: spec.SchemaProps{ Description: "Secret is the unique secret associated with a client", Type: []string{"string"}, Format: "", }, }, "additionalSecrets": { SchemaProps: spec.SchemaProps{ Description: "AdditionalSecrets holds other secrets that may be used to identify the client. This is useful for rotation and for service account token validation", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "respondWithChallenges": { SchemaProps: spec.SchemaProps{ Description: "RespondWithChallenges indicates whether the client wants authentication needed responses made in the form of challenges instead of redirects", Type: []string{"boolean"}, Format: "", }, }, "redirectURIs": { SchemaProps: spec.SchemaProps{ Description: "RedirectURIs is the valid redirection URIs associated with a client", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "grantMethod": { SchemaProps: spec.SchemaProps{ Description: "GrantMethod determines how to handle grants for this client. If no method is provided, the cluster default grant handling method will be used. Valid grant handling methods are:\n - auto: always approves grant requests, useful for trusted clients\n - prompt: prompts the end user for approval of grant requests, useful for third-party clients\n - deny: always denies grant requests, useful for black-listed clients", Type: []string{"string"}, Format: "", }, }, "scopeRestrictions": { SchemaProps: spec.SchemaProps{ Description: "ScopeRestrictions describes which scopes this client can request. Each requested scope is checked against each restriction. If any restriction matches, then the scope is allowed. If no restriction matches, then the scope is denied.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ScopeRestriction"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.ScopeRestriction"}, }, "v1.OAuthClientAuthorization": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "OAuthClientAuthorization describes an authorization created by an OAuth client", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "clientName": { SchemaProps: spec.SchemaProps{ Description: "ClientName references the client that created this authorization", Type: []string{"string"}, Format: "", }, }, "userName": { SchemaProps: spec.SchemaProps{ Description: "UserName is the user name that authorized this client", Type: []string{"string"}, Format: "", }, }, "userUID": { SchemaProps: spec.SchemaProps{ Description: "UserUID is the unique UID associated with this authorization. UserUID and UserName must both match for this authorization to be valid.", Type: []string{"string"}, Format: "", }, }, "scopes": { SchemaProps: spec.SchemaProps{ Description: "Scopes is an array of the granted scopes.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta"}, }, "v1.OAuthClientAuthorizationList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "OAuthClientAuthorizationList is a collection of OAuth client authorizations", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of OAuth client authorizations", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.OAuthClientAuthorization"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.OAuthClientAuthorization"}, }, "v1.OAuthClientList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "OAuthClientList is a collection of OAuth clients", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of OAuth clients", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.OAuthClient"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.OAuthClient"}, }, "v1.OAuthRedirectReference": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "OAuthRedirectReference is a reference to an OAuth redirect object.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "reference": { SchemaProps: spec.SchemaProps{ Description: "The reference to an redirect object in the current namespace.", Ref: spec.MustCreateRef("#/definitions/v1.RedirectReference"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.RedirectReference"}, }, "v1.ObjectFieldSelector": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ObjectFieldSelector selects an APIVersioned field of an object.", Properties: map[string]spec.Schema{ "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", Type: []string{"string"}, Format: "", }, }, "fieldPath": { SchemaProps: spec.SchemaProps{ Description: "Path of the field to select in the specified API version.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"fieldPath"}, }, }, Dependencies: []string{}, }, "v1.ObjectMeta": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names", Type: []string{"string"}, Format: "", }, }, "generateName": { SchemaProps: spec.SchemaProps{ Description: "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#idempotency", Type: []string{"string"}, Format: "", }, }, "namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces", Type: []string{"string"}, Format: "", }, }, "selfLink": { SchemaProps: spec.SchemaProps{ Description: "SelfLink is a URL representing this object. Populated by the system. Read-only.", Type: []string{"string"}, Format: "", }, }, "uid": { SchemaProps: spec.SchemaProps{ Description: "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", Type: []string{"string"}, Format: "", }, }, "resourceVersion": { SchemaProps: spec.SchemaProps{ Description: "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency", Type: []string{"string"}, Format: "", }, }, "generation": { SchemaProps: spec.SchemaProps{ Description: "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", Type: []string{"integer"}, Format: "int64", }, }, "creationTimestamp": { SchemaProps: spec.SchemaProps{ Description: "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "deletionTimestamp": { SchemaProps: spec.SchemaProps{ Description: "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "deletionGracePeriodSeconds": { SchemaProps: spec.SchemaProps{ Description: "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", Type: []string{"integer"}, Format: "int64", }, }, "labels": { SchemaProps: spec.SchemaProps{ Description: "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "annotations": { SchemaProps: spec.SchemaProps{ Description: "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "ownerReferences": { SchemaProps: spec.SchemaProps{ Description: "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.OwnerReference"), }, }, }, }, }, "finalizers": { SchemaProps: spec.SchemaProps{ Description: "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "clusterName": { SchemaProps: spec.SchemaProps{ Description: "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "unversioned.Time", "v1.OwnerReference"}, }, "v1.ObjectReference": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ObjectReference contains enough information to let you inspect or modify the referred object.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace of the referent. More info: http://kubernetes.io/docs/user-guide/namespaces", Type: []string{"string"}, Format: "", }, }, "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", Type: []string{"string"}, Format: "", }, }, "uid": { SchemaProps: spec.SchemaProps{ Description: "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "API version of the referent.", Type: []string{"string"}, Format: "", }, }, "resourceVersion": { SchemaProps: spec.SchemaProps{ Description: "Specific resourceVersion to which this reference is made, if any. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency", Type: []string{"string"}, Format: "", }, }, "fieldPath": { SchemaProps: spec.SchemaProps{ Description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.OwnerReference": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.", Properties: map[string]spec.Schema{ "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "API version of the referent.", Type: []string{"string"}, Format: "", }, }, "kind": { SchemaProps: spec.SchemaProps{ Description: "Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", Type: []string{"string"}, Format: "", }, }, "uid": { SchemaProps: spec.SchemaProps{ Description: "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", Type: []string{"string"}, Format: "", }, }, "controller": { SchemaProps: spec.SchemaProps{ Description: "If true, this reference points to the managing controller.", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"apiVersion", "kind", "name", "uid"}, }, }, Dependencies: []string{}, }, "v1.Parameter": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Parameter defines a name/value variable that is to be processed during the Template to Config transformation.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name must be set and it can be referenced in Template Items using ${PARAMETER_NAME}. Required.", Type: []string{"string"}, Format: "", }, }, "displayName": { SchemaProps: spec.SchemaProps{ Description: "Optional: The name that will show in UI instead of parameter 'Name'", Type: []string{"string"}, Format: "", }, }, "description": { SchemaProps: spec.SchemaProps{ Description: "Description of a parameter. Optional.", Type: []string{"string"}, Format: "", }, }, "value": { SchemaProps: spec.SchemaProps{ Description: "Value holds the Parameter data. If specified, the generator will be ignored. The value replaces all occurrences of the Parameter ${Name} expression during the Template to Config transformation. Optional.", Type: []string{"string"}, Format: "", }, }, "generate": { SchemaProps: spec.SchemaProps{ Description: "generate specifies the generator to be used to generate random string from an input value specified by From field. The result string is stored into Value field. If empty, no generator is being used, leaving the result Value untouched. Optional.\n\nThe only supported generator is \"expression\", which accepts a \"from\" value in the form of a simple regular expression containing the range expression \"[a-zA-Z0-9]\", and the length expression \"a{length}\".\n\nExamples:\n\nfrom | value ----------------------------- \"test[0-9]{1}x\" | \"test7x\" \"[0-1]{8}\" | \"01001100\" \"0x[A-F0-9]{4}\" | \"0xB3AF\" \"[a-zA-Z0-9]{8}\" | \"hW4yQU5i\"", Type: []string{"string"}, Format: "", }, }, "from": { SchemaProps: spec.SchemaProps{ Description: "From is an input value for the generator. Optional.", Type: []string{"string"}, Format: "", }, }, "required": { SchemaProps: spec.SchemaProps{ Description: "Optional: Indicates the parameter must have a value. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"name"}, }, }, Dependencies: []string{}, }, "v1.PersistentVolume": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes", Ref: spec.MustCreateRef("#/definitions/v1.PersistentVolumeSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes", Ref: spec.MustCreateRef("#/definitions/v1.PersistentVolumeStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.PersistentVolumeSpec", "v1.PersistentVolumeStatus"}, }, "v1.PersistentVolumeClaim": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PersistentVolumeClaim is a user's request for and claim to a persistent volume", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the desired characteristics of a volume requested by a pod author. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", Ref: spec.MustCreateRef("#/definitions/v1.PersistentVolumeClaimSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status represents the current information/status of a persistent volume claim. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", Ref: spec.MustCreateRef("#/definitions/v1.PersistentVolumeClaimStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.PersistentVolumeClaimSpec", "v1.PersistentVolumeClaimStatus"}, }, "v1.PersistentVolumeClaimList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "A list of persistent volume claims. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.PersistentVolumeClaim"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.PersistentVolumeClaim"}, }, "v1.PersistentVolumeClaimSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", Properties: map[string]spec.Schema{ "accessModes": { SchemaProps: spec.SchemaProps{ Description: "AccessModes contains the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "A label query over volumes to consider for binding.", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "resources": { SchemaProps: spec.SchemaProps{ Description: "Resources represents the minimum resources the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources", Ref: spec.MustCreateRef("#/definitions/v1.ResourceRequirements"), }, }, "volumeName": { SchemaProps: spec.SchemaProps{ Description: "VolumeName is the binding reference to the PersistentVolume backing this claim.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "unversioned.LabelSelector", "v1.ResourceRequirements"}, }, "v1.PersistentVolumeClaimStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PersistentVolumeClaimStatus is the current status of a persistent volume claim.", Properties: map[string]spec.Schema{ "phase": { SchemaProps: spec.SchemaProps{ Description: "Phase represents the current phase of PersistentVolumeClaim.", Type: []string{"string"}, Format: "", }, }, "accessModes": { SchemaProps: spec.SchemaProps{ Description: "AccessModes contains the actual access modes the volume backing the PVC has. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "capacity": { SchemaProps: spec.SchemaProps{ Description: "Represents the actual resources of the underlying volume.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, }, }, }, }, }, Dependencies: []string{ "resource.Quantity"}, }, "v1.PersistentVolumeClaimVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).", Properties: map[string]spec.Schema{ "claimName": { SchemaProps: spec.SchemaProps{ Description: "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", Type: []string{"string"}, Format: "", }, }, "readOnly": { SchemaProps: spec.SchemaProps{ Description: "Will force the ReadOnly setting in VolumeMounts. Default false.", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"claimName"}, }, }, Dependencies: []string{}, }, "v1.PersistentVolumeList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PersistentVolumeList is a list of PersistentVolume items.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "List of persistent volumes. More info: http://kubernetes.io/docs/user-guide/persistent-volumes", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.PersistentVolume"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.PersistentVolume"}, }, "v1.PersistentVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PersistentVolumeSource is similar to VolumeSource but meant for the administrator who creates PVs. Exactly one of its members must be set.", Properties: map[string]spec.Schema{ "gcePersistentDisk": { SchemaProps: spec.SchemaProps{ Description: "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", Ref: spec.MustCreateRef("#/definitions/v1.GCEPersistentDiskVolumeSource"), }, }, "awsElasticBlockStore": { SchemaProps: spec.SchemaProps{ Description: "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", Ref: spec.MustCreateRef("#/definitions/v1.AWSElasticBlockStoreVolumeSource"), }, }, "hostPath": { SchemaProps: spec.SchemaProps{ Description: "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath", Ref: spec.MustCreateRef("#/definitions/v1.HostPathVolumeSource"), }, }, "glusterfs": { SchemaProps: spec.SchemaProps{ Description: "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md", Ref: spec.MustCreateRef("#/definitions/v1.GlusterfsVolumeSource"), }, }, "nfs": { SchemaProps: spec.SchemaProps{ Description: "NFS represents an NFS mount on the host. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", Ref: spec.MustCreateRef("#/definitions/v1.NFSVolumeSource"), }, }, "rbd": { SchemaProps: spec.SchemaProps{ Description: "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md", Ref: spec.MustCreateRef("#/definitions/v1.RBDVolumeSource"), }, }, "iscsi": { SchemaProps: spec.SchemaProps{ Description: "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.", Ref: spec.MustCreateRef("#/definitions/v1.ISCSIVolumeSource"), }, }, "cinder": { SchemaProps: spec.SchemaProps{ Description: "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", Ref: spec.MustCreateRef("#/definitions/v1.CinderVolumeSource"), }, }, "cephfs": { SchemaProps: spec.SchemaProps{ Description: "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime", Ref: spec.MustCreateRef("#/definitions/v1.CephFSVolumeSource"), }, }, "fc": { SchemaProps: spec.SchemaProps{ Description: "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", Ref: spec.MustCreateRef("#/definitions/v1.FCVolumeSource"), }, }, "flocker": { SchemaProps: spec.SchemaProps{ Description: "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running", Ref: spec.MustCreateRef("#/definitions/v1.FlockerVolumeSource"), }, }, "flexVolume": { SchemaProps: spec.SchemaProps{ Description: "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", Ref: spec.MustCreateRef("#/definitions/v1.FlexVolumeSource"), }, }, "azureFile": { SchemaProps: spec.SchemaProps{ Description: "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", Ref: spec.MustCreateRef("#/definitions/v1.AzureFileVolumeSource"), }, }, "vsphereVolume": { SchemaProps: spec.SchemaProps{ Description: "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", Ref: spec.MustCreateRef("#/definitions/v1.VsphereVirtualDiskVolumeSource"), }, }, "quobyte": { SchemaProps: spec.SchemaProps{ Description: "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime", Ref: spec.MustCreateRef("#/definitions/v1.QuobyteVolumeSource"), }, }, "azureDisk": { SchemaProps: spec.SchemaProps{ Description: "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", Ref: spec.MustCreateRef("#/definitions/v1.AzureDiskVolumeSource"), }, }, "photonPersistentDisk": { SchemaProps: spec.SchemaProps{ Description: "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", Ref: spec.MustCreateRef("#/definitions/v1.PhotonPersistentDiskVolumeSource"), }, }, }, }, }, Dependencies: []string{ "v1.AWSElasticBlockStoreVolumeSource", "v1.AzureDiskVolumeSource", "v1.AzureFileVolumeSource", "v1.CephFSVolumeSource", "v1.CinderVolumeSource", "v1.FCVolumeSource", "v1.FlexVolumeSource", "v1.FlockerVolumeSource", "v1.GCEPersistentDiskVolumeSource", "v1.GlusterfsVolumeSource", "v1.HostPathVolumeSource", "v1.ISCSIVolumeSource", "v1.NFSVolumeSource", "v1.PhotonPersistentDiskVolumeSource", "v1.QuobyteVolumeSource", "v1.RBDVolumeSource", "v1.VsphereVirtualDiskVolumeSource"}, }, "v1.PersistentVolumeSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PersistentVolumeSpec is the specification of a persistent volume.", Properties: map[string]spec.Schema{ "capacity": { SchemaProps: spec.SchemaProps{ Description: "A description of the persistent volume's resources and capacity. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, }, }, "gcePersistentDisk": { SchemaProps: spec.SchemaProps{ Description: "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", Ref: spec.MustCreateRef("#/definitions/v1.GCEPersistentDiskVolumeSource"), }, }, "awsElasticBlockStore": { SchemaProps: spec.SchemaProps{ Description: "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", Ref: spec.MustCreateRef("#/definitions/v1.AWSElasticBlockStoreVolumeSource"), }, }, "hostPath": { SchemaProps: spec.SchemaProps{ Description: "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath", Ref: spec.MustCreateRef("#/definitions/v1.HostPathVolumeSource"), }, }, "glusterfs": { SchemaProps: spec.SchemaProps{ Description: "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md", Ref: spec.MustCreateRef("#/definitions/v1.GlusterfsVolumeSource"), }, }, "nfs": { SchemaProps: spec.SchemaProps{ Description: "NFS represents an NFS mount on the host. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", Ref: spec.MustCreateRef("#/definitions/v1.NFSVolumeSource"), }, }, "rbd": { SchemaProps: spec.SchemaProps{ Description: "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md", Ref: spec.MustCreateRef("#/definitions/v1.RBDVolumeSource"), }, }, "iscsi": { SchemaProps: spec.SchemaProps{ Description: "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.", Ref: spec.MustCreateRef("#/definitions/v1.ISCSIVolumeSource"), }, }, "cinder": { SchemaProps: spec.SchemaProps{ Description: "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", Ref: spec.MustCreateRef("#/definitions/v1.CinderVolumeSource"), }, }, "cephfs": { SchemaProps: spec.SchemaProps{ Description: "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime", Ref: spec.MustCreateRef("#/definitions/v1.CephFSVolumeSource"), }, }, "fc": { SchemaProps: spec.SchemaProps{ Description: "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", Ref: spec.MustCreateRef("#/definitions/v1.FCVolumeSource"), }, }, "flocker": { SchemaProps: spec.SchemaProps{ Description: "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running", Ref: spec.MustCreateRef("#/definitions/v1.FlockerVolumeSource"), }, }, "flexVolume": { SchemaProps: spec.SchemaProps{ Description: "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", Ref: spec.MustCreateRef("#/definitions/v1.FlexVolumeSource"), }, }, "azureFile": { SchemaProps: spec.SchemaProps{ Description: "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", Ref: spec.MustCreateRef("#/definitions/v1.AzureFileVolumeSource"), }, }, "vsphereVolume": { SchemaProps: spec.SchemaProps{ Description: "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", Ref: spec.MustCreateRef("#/definitions/v1.VsphereVirtualDiskVolumeSource"), }, }, "quobyte": { SchemaProps: spec.SchemaProps{ Description: "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime", Ref: spec.MustCreateRef("#/definitions/v1.QuobyteVolumeSource"), }, }, "azureDisk": { SchemaProps: spec.SchemaProps{ Description: "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", Ref: spec.MustCreateRef("#/definitions/v1.AzureDiskVolumeSource"), }, }, "photonPersistentDisk": { SchemaProps: spec.SchemaProps{ Description: "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", Ref: spec.MustCreateRef("#/definitions/v1.PhotonPersistentDiskVolumeSource"), }, }, "accessModes": { SchemaProps: spec.SchemaProps{ Description: "AccessModes contains all ways the volume can be mounted. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "claimRef": { SchemaProps: spec.SchemaProps{ Description: "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#binding", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "persistentVolumeReclaimPolicy": { SchemaProps: spec.SchemaProps{ Description: "What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#recycling-policy", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "resource.Quantity", "v1.AWSElasticBlockStoreVolumeSource", "v1.AzureDiskVolumeSource", "v1.AzureFileVolumeSource", "v1.CephFSVolumeSource", "v1.CinderVolumeSource", "v1.FCVolumeSource", "v1.FlexVolumeSource", "v1.FlockerVolumeSource", "v1.GCEPersistentDiskVolumeSource", "v1.GlusterfsVolumeSource", "v1.HostPathVolumeSource", "v1.ISCSIVolumeSource", "v1.NFSVolumeSource", "v1.ObjectReference", "v1.PhotonPersistentDiskVolumeSource", "v1.QuobyteVolumeSource", "v1.RBDVolumeSource", "v1.VsphereVirtualDiskVolumeSource"}, }, "v1.PersistentVolumeStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PersistentVolumeStatus is the current status of a persistent volume.", Properties: map[string]spec.Schema{ "phase": { SchemaProps: spec.SchemaProps{ Description: "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#phase", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "A human-readable message indicating details about why the volume is in this state.", Type: []string{"string"}, Format: "", }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.PhotonPersistentDiskVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents a Photon Controller persistent disk resource.", Properties: map[string]spec.Schema{ "pdID": { SchemaProps: spec.SchemaProps{ Description: "ID that identifies Photon Controller persistent disk", Type: []string{"string"}, Format: "", }, }, "fsType": { SchemaProps: spec.SchemaProps{ Description: "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"pdID"}, }, }, Dependencies: []string{}, }, "v1.Pod": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.PodSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.PodStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.PodSpec", "v1.PodStatus"}, }, "v1.PodAffinity": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Pod affinity is a group of inter pod affinity scheduling rules.", Properties: map[string]spec.Schema{ "requiredDuringSchedulingIgnoredDuringExecution": { SchemaProps: spec.SchemaProps{ Description: "NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented. If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system will try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:\"requiredDuringSchedulingRequiredDuringExecution,omitempty\"` If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.PodAffinityTerm"), }, }, }, }, }, "preferredDuringSchedulingIgnoredDuringExecution": { SchemaProps: spec.SchemaProps{ Description: "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.WeightedPodAffinityTerm"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.PodAffinityTerm", "v1.WeightedPodAffinityTerm"}, }, "v1.PodAffinityTerm": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> tches that of any node on which a pod of the set of pods is running", Properties: map[string]spec.Schema{ "labelSelector": { SchemaProps: spec.SchemaProps{ Description: "A label query over a set of resources, in this case pods.", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "namespaces": { SchemaProps: spec.SchemaProps{ Description: "namespaces specifies which namespaces the labelSelector applies to (matches against); nil list means \"this pod's namespace,\" empty list means \"all namespaces\" The json tag here is not \"omitempty\" since we need to distinguish nil and empty. See https://golang.org/pkg/encoding/json/#Marshal for more details.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "topologyKey": { SchemaProps: spec.SchemaProps{ Description: "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"namespaces"}, }, }, Dependencies: []string{ "unversioned.LabelSelector"}, }, "v1.PodAntiAffinity": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", Properties: map[string]spec.Schema{ "requiredDuringSchedulingIgnoredDuringExecution": { SchemaProps: spec.SchemaProps{ Description: "NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented. If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system will try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:\"requiredDuringSchedulingRequiredDuringExecution,omitempty\"` If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.PodAffinityTerm"), }, }, }, }, }, "preferredDuringSchedulingIgnoredDuringExecution": { SchemaProps: spec.SchemaProps{ Description: "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.WeightedPodAffinityTerm"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.PodAffinityTerm", "v1.WeightedPodAffinityTerm"}, }, "v1.PodAttachOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodAttachOptions is the query options to a Pod's remote attach call.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "stdin": { SchemaProps: spec.SchemaProps{ Description: "Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "stdout": { SchemaProps: spec.SchemaProps{ Description: "Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.", Type: []string{"boolean"}, Format: "", }, }, "stderr": { SchemaProps: spec.SchemaProps{ Description: "Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.", Type: []string{"boolean"}, Format: "", }, }, "tty": { SchemaProps: spec.SchemaProps{ Description: "TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "container": { SchemaProps: spec.SchemaProps{ Description: "The container in which to execute the command. Defaults to only container if there is only one container in the pod.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.PodCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodCondition contains details for the current condition of this pod.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type is the type of the condition. Currently only Ready. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is the status of the condition. Can be True, False, Unknown. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions", Type: []string{"string"}, Format: "", }, }, "lastProbeTime": { SchemaProps: spec.SchemaProps{ Description: "Last time we probed the condition.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition transitioned from one status to another.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "Unique, one-word, CamelCase reason for the condition's last transition.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "Human-readable message indicating details about last transition.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "status"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1.PodExecOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodExecOptions is the query options to a Pod's remote exec call.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "stdin": { SchemaProps: spec.SchemaProps{ Description: "Redirect the standard input stream of the pod for this call. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "stdout": { SchemaProps: spec.SchemaProps{ Description: "Redirect the standard output stream of the pod for this call. Defaults to true.", Type: []string{"boolean"}, Format: "", }, }, "stderr": { SchemaProps: spec.SchemaProps{ Description: "Redirect the standard error stream of the pod for this call. Defaults to true.", Type: []string{"boolean"}, Format: "", }, }, "tty": { SchemaProps: spec.SchemaProps{ Description: "TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "container": { SchemaProps: spec.SchemaProps{ Description: "Container in which to execute the command. Defaults to only container if there is only one container in the pod.", Type: []string{"string"}, Format: "", }, }, "command": { SchemaProps: spec.SchemaProps{ Description: "Command is the remote command to execute. argv array. Not executed within a shell.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"command"}, }, }, Dependencies: []string{}, }, "v1.PodList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodList is a list of Pods.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "List of pods. More info: http://kubernetes.io/docs/user-guide/pods", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Pod"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Pod"}, }, "v1.PodLogOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodLogOptions is the query options for a Pod's logs REST call.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "container": { SchemaProps: spec.SchemaProps{ Description: "The container for which to stream logs. Defaults to only container if there is one container in the pod.", Type: []string{"string"}, Format: "", }, }, "follow": { SchemaProps: spec.SchemaProps{ Description: "Follow the log stream of the pod. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "previous": { SchemaProps: spec.SchemaProps{ Description: "Return previous terminated container logs. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "sinceSeconds": { SchemaProps: spec.SchemaProps{ Description: "A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.", Type: []string{"integer"}, Format: "int64", }, }, "sinceTime": { SchemaProps: spec.SchemaProps{ Description: "An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "timestamps": { SchemaProps: spec.SchemaProps{ Description: "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "tailLines": { SchemaProps: spec.SchemaProps{ Description: "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime", Type: []string{"integer"}, Format: "int64", }, }, "limitBytes": { SchemaProps: spec.SchemaProps{ Description: "If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.", Type: []string{"integer"}, Format: "int64", }, }, }, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1.PodProxyOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodProxyOptions is the query options to a Pod's proxy call.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "path": { SchemaProps: spec.SchemaProps{ Description: "Path is the URL path to use for the current proxy request to pod.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.PodSecurityContext": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.", Properties: map[string]spec.Schema{ "seLinuxOptions": { SchemaProps: spec.SchemaProps{ Description: "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", Ref: spec.MustCreateRef("#/definitions/v1.SELinuxOptions"), }, }, "runAsUser": { SchemaProps: spec.SchemaProps{ Description: "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", Type: []string{"integer"}, Format: "int64", }, }, "runAsNonRoot": { SchemaProps: spec.SchemaProps{ Description: "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", Type: []string{"boolean"}, Format: "", }, }, "supplementalGroups": { SchemaProps: spec.SchemaProps{ Description: "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"integer"}, Format: "int64", }, }, }, }, }, "fsGroup": { SchemaProps: spec.SchemaProps{ Description: "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", Type: []string{"integer"}, Format: "int64", }, }, }, }, }, Dependencies: []string{ "v1.SELinuxOptions"}, }, "v1.PodSecurityPolicyReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodSecurityPolicyReview checks which service accounts (not users, since that would be cluster-wide) can create the `PodTemplateSpec` in question.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "spec is the PodSecurityPolicy to check.", Ref: spec.MustCreateRef("#/definitions/v1.PodSecurityPolicyReviewSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "status represents the current information/status for the PodSecurityPolicyReview.", Ref: spec.MustCreateRef("#/definitions/v1.PodSecurityPolicyReviewStatus"), }, }, }, Required: []string{"spec"}, }, }, Dependencies: []string{ "v1.PodSecurityPolicyReviewSpec", "v1.PodSecurityPolicyReviewStatus"}, }, "v1.PodSecurityPolicyReviewSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodSecurityPolicyReviewSpec defines specification for PodSecurityPolicyReview", Properties: map[string]spec.Schema{ "template": { SchemaProps: spec.SchemaProps{ Description: "template is the PodTemplateSpec to check. The template.spec.serviceAccountName field is used if serviceAccountNames is empty, unless the template.spec.serviceAccountName is empty, in which case \"default\" is used. If serviceAccountNames is specified, template.spec.serviceAccountName is ignored.", Ref: spec.MustCreateRef("#/definitions/v1.PodTemplateSpec"), }, }, "serviceAccountNames": { SchemaProps: spec.SchemaProps{ Description: "serviceAccountNames is an optional set of ServiceAccounts to run the check with. If serviceAccountNames is empty, the template.spec.serviceAccountName is used, unless it's empty, in which case \"default\" is used instead. If serviceAccountNames is specified, template.spec.serviceAccountName is ignored.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"template"}, }, }, Dependencies: []string{ "v1.PodTemplateSpec"}, }, "v1.PodSecurityPolicyReviewStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodSecurityPolicyReviewStatus represents the status of PodSecurityPolicyReview.", Properties: map[string]spec.Schema{ "allowedServiceAccounts": { SchemaProps: spec.SchemaProps{ Description: "allowedServiceAccounts returns the list of service accounts in *this* namespace that have the power to create the PodTemplateSpec.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ServiceAccountPodSecurityPolicyReviewStatus"), }, }, }, }, }, }, Required: []string{"allowedServiceAccounts"}, }, }, Dependencies: []string{ "v1.ServiceAccountPodSecurityPolicyReviewStatus"}, }, "v1.PodSecurityPolicySelfSubjectReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodSecurityPolicySelfSubjectReview checks whether this user/SA tuple can create the PodTemplateSpec", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "spec defines specification the PodSecurityPolicySelfSubjectReview.", Ref: spec.MustCreateRef("#/definitions/v1.PodSecurityPolicySelfSubjectReviewSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "status represents the current information/status for the PodSecurityPolicySelfSubjectReview.", Ref: spec.MustCreateRef("#/definitions/v1.PodSecurityPolicySubjectReviewStatus"), }, }, }, Required: []string{"spec"}, }, }, Dependencies: []string{ "v1.PodSecurityPolicySelfSubjectReviewSpec", "v1.PodSecurityPolicySubjectReviewStatus"}, }, "v1.PodSecurityPolicySelfSubjectReviewSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodSecurityPolicySelfSubjectReviewSpec contains specification for PodSecurityPolicySelfSubjectReview.", Properties: map[string]spec.Schema{ "template": { SchemaProps: spec.SchemaProps{ Description: "template is the PodTemplateSpec to check.", Ref: spec.MustCreateRef("#/definitions/v1.PodTemplateSpec"), }, }, }, Required: []string{"template"}, }, }, Dependencies: []string{ "v1.PodTemplateSpec"}, }, "v1.PodSecurityPolicySubjectReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodSecurityPolicySubjectReview checks whether a particular user/SA tuple can create the PodTemplateSpec.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "spec defines specification for the PodSecurityPolicySubjectReview.", Ref: spec.MustCreateRef("#/definitions/v1.PodSecurityPolicySubjectReviewSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "status represents the current information/status for the PodSecurityPolicySubjectReview.", Ref: spec.MustCreateRef("#/definitions/v1.PodSecurityPolicySubjectReviewStatus"), }, }, }, Required: []string{"spec"}, }, }, Dependencies: []string{ "v1.PodSecurityPolicySubjectReviewSpec", "v1.PodSecurityPolicySubjectReviewStatus"}, }, "v1.PodSecurityPolicySubjectReviewSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodSecurityPolicySubjectReviewSpec defines specification for PodSecurityPolicySubjectReview", Properties: map[string]spec.Schema{ "template": { SchemaProps: spec.SchemaProps{ Description: "template is the PodTemplateSpec to check. If template.spec.serviceAccountName is empty it will not be defaulted. If its non-empty, it will be checked.", Ref: spec.MustCreateRef("#/definitions/v1.PodTemplateSpec"), }, }, "user": { SchemaProps: spec.SchemaProps{ Description: "user is the user you're testing for. If you specify \"user\" but not \"group\", then is it interpreted as \"What if user were not a member of any groups. If user and groups are empty, then the check is performed using *only* the serviceAccountName in the template.", Type: []string{"string"}, Format: "", }, }, "groups": { SchemaProps: spec.SchemaProps{ Description: "groups is the groups you're testing for.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"template"}, }, }, Dependencies: []string{ "v1.PodTemplateSpec"}, }, "v1.PodSecurityPolicySubjectReviewStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodSecurityPolicySubjectReviewStatus contains information/status for PodSecurityPolicySubjectReview.", Properties: map[string]spec.Schema{ "allowedBy": { SchemaProps: spec.SchemaProps{ Description: "allowedBy is a reference to the rule that allows the PodTemplateSpec. A rule can be a SecurityContextConstraint or a PodSecurityPolicy A `nil`, indicates that it was denied.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available.", Type: []string{"string"}, Format: "", }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "template is the PodTemplateSpec after the defaulting is applied.", Ref: spec.MustCreateRef("#/definitions/v1.PodTemplateSpec"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectReference", "v1.PodTemplateSpec"}, }, "v1.PodSignature": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Describes the class of pods that should avoid this node. Exactly one field should be set.", Properties: map[string]spec.Schema{ "podController": { SchemaProps: spec.SchemaProps{ Description: "Reference to controller whose pods should avoid this node.", Ref: spec.MustCreateRef("#/definitions/v1.OwnerReference"), }, }, }, }, }, Dependencies: []string{ "v1.OwnerReference"}, }, "v1.PodSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodSpec is a description of a pod.", Properties: map[string]spec.Schema{ "volumes": { SchemaProps: spec.SchemaProps{ Description: "List of volumes that can be mounted by containers belonging to the pod. More info: http://kubernetes.io/docs/user-guide/volumes", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Volume"), }, }, }, }, }, "containers": { SchemaProps: spec.SchemaProps{ Description: "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Container"), }, }, }, }, }, "restartPolicy": { SchemaProps: spec.SchemaProps{ Description: "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy", Type: []string{"string"}, Format: "", }, }, "terminationGracePeriodSeconds": { SchemaProps: spec.SchemaProps{ Description: "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", Type: []string{"integer"}, Format: "int64", }, }, "activeDeadlineSeconds": { SchemaProps: spec.SchemaProps{ Description: "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", Type: []string{"integer"}, Format: "int64", }, }, "dnsPolicy": { SchemaProps: spec.SchemaProps{ Description: "Set DNS policy for containers within the pod. One of 'ClusterFirst' or 'Default'. Defaults to \"ClusterFirst\".", Type: []string{"string"}, Format: "", }, }, "nodeSelector": { SchemaProps: spec.SchemaProps{ Description: "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: http://kubernetes.io/docs/user-guide/node-selection/README", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "serviceAccountName": { SchemaProps: spec.SchemaProps{ Description: "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md", Type: []string{"string"}, Format: "", }, }, "serviceAccount": { SchemaProps: spec.SchemaProps{ Description: "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.", Type: []string{"string"}, Format: "", }, }, "nodeName": { SchemaProps: spec.SchemaProps{ Description: "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.", Type: []string{"string"}, Format: "", }, }, "hostNetwork": { SchemaProps: spec.SchemaProps{ Description: "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", Type: []string{"boolean"}, Format: "", }, }, "hostPID": { SchemaProps: spec.SchemaProps{ Description: "Use the host's pid namespace. Optional: Default to false.", Type: []string{"boolean"}, Format: "", }, }, "hostIPC": { SchemaProps: spec.SchemaProps{ Description: "Use the host's ipc namespace. Optional: Default to false.", Type: []string{"boolean"}, Format: "", }, }, "securityContext": { SchemaProps: spec.SchemaProps{ Description: "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.", Ref: spec.MustCreateRef("#/definitions/v1.PodSecurityContext"), }, }, "imagePullSecrets": { SchemaProps: spec.SchemaProps{ Description: "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.LocalObjectReference"), }, }, }, }, }, "hostname": { SchemaProps: spec.SchemaProps{ Description: "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", Type: []string{"string"}, Format: "", }, }, "subdomain": { SchemaProps: spec.SchemaProps{ Description: "If specified, the fully qualified Pod hostname will be \"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>\". If not specified, the pod will not have a domainname at all.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"containers"}, }, }, Dependencies: []string{ "v1.Container", "v1.LocalObjectReference", "v1.PodSecurityContext", "v1.Volume"}, }, "v1.PodStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodStatus represents information about the status of a pod. Status may trail the actual state of a system.", Properties: map[string]spec.Schema{ "phase": { SchemaProps: spec.SchemaProps{ Description: "Current condition of the pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase", Type: []string{"string"}, Format: "", }, }, "conditions": { SchemaProps: spec.SchemaProps{ Description: "Current service state of pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.PodCondition"), }, }, }, }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "A human readable message indicating details about why the pod is in this condition.", Type: []string{"string"}, Format: "", }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'OutOfDisk'", Type: []string{"string"}, Format: "", }, }, "hostIP": { SchemaProps: spec.SchemaProps{ Description: "IP address of the host to which the pod is assigned. Empty if not yet scheduled.", Type: []string{"string"}, Format: "", }, }, "podIP": { SchemaProps: spec.SchemaProps{ Description: "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.", Type: []string{"string"}, Format: "", }, }, "startTime": { SchemaProps: spec.SchemaProps{ Description: "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.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "containerStatuses": { SchemaProps: spec.SchemaProps{ Description: "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ContainerStatus"), }, }, }, }, }, }, }, }, Dependencies: []string{ "unversioned.Time", "v1.ContainerStatus", "v1.PodCondition"}, }, "v1.PodStatusResult": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.PodStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.PodStatus"}, }, "v1.PodTemplate": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodTemplate describes a template for creating copies of a predefined pod.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template defines the pods that will be created from this pod template. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.PodTemplateSpec"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.PodTemplateSpec"}, }, "v1.PodTemplateList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodTemplateList is a list of PodTemplates.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "List of pod templates", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.PodTemplate"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.PodTemplate"}, }, "v1.PodTemplateSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodTemplateSpec describes the data a pod should have when created from a template", Properties: map[string]spec.Schema{ "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.PodSpec"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.PodSpec"}, }, "v1.Policy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Policy is a object that holds all the Roles for a particular namespace. There is at most one Policy document per namespace.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "lastModified": { SchemaProps: spec.SchemaProps{ Description: "LastModified is the last time that any part of the Policy was created, updated, or deleted", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "roles": { SchemaProps: spec.SchemaProps{ Description: "Roles holds all the Roles held by this Policy, mapped by Role.Name", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.NamedRole"), }, }, }, }, }, }, Required: []string{"lastModified", "roles"}, }, }, Dependencies: []string{ "unversioned.Time", "v1.NamedRole", "v1.ObjectMeta"}, }, "v1.PolicyBinding": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PolicyBinding is a object that holds all the RoleBindings for a particular namespace. There is one PolicyBinding document per referenced Policy namespace", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "lastModified": { SchemaProps: spec.SchemaProps{ Description: "LastModified is the last time that any part of the PolicyBinding was created, updated, or deleted", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "policyRef": { SchemaProps: spec.SchemaProps{ Description: "PolicyRef is a reference to the Policy that contains all the Roles that this PolicyBinding's RoleBindings may reference", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "roleBindings": { SchemaProps: spec.SchemaProps{ Description: "RoleBindings holds all the RoleBindings held by this PolicyBinding, mapped by RoleBinding.Name", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.NamedRoleBinding"), }, }, }, }, }, }, Required: []string{"lastModified", "policyRef", "roleBindings"}, }, }, Dependencies: []string{ "unversioned.Time", "v1.NamedRoleBinding", "v1.ObjectMeta", "v1.ObjectReference"}, }, "v1.PolicyBindingList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PolicyBindingList is a collection of PolicyBindings", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of PolicyBindings", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.PolicyBinding"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.PolicyBinding"}, }, "v1.PolicyList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PolicyList is a collection of Policies", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of Policies", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Policy"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Policy"}, }, "v1.PolicyRule": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", Properties: map[string]spec.Schema{ "verbs": { SchemaProps: spec.SchemaProps{ Description: "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "attributeRestrictions": { SchemaProps: spec.SchemaProps{ Description: "AttributeRestrictions will vary depending on what the Authorizer/AuthorizationAttributeBuilder pair supports. If the Authorizer does not recognize how to handle the AttributeRestrictions, the Authorizer should report an error.", Ref: spec.MustCreateRef("#/definitions/runtime.RawExtension"), }, }, "apiGroups": { SchemaProps: spec.SchemaProps{ Description: "APIGroups is the name of the APIGroup that contains the resources. If this field is empty, then both kubernetes and origin API groups are assumed. That means that if an action is requested against one of the enumerated resources in either the kubernetes or the origin API group, the request will be allowed", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "resources": { SchemaProps: spec.SchemaProps{ Description: "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "resourceNames": { SchemaProps: spec.SchemaProps{ Description: "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "nonResourceURLs": { SchemaProps: spec.SchemaProps{ Description: "NonResourceURLsSlice is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"verbs", "apiGroups", "resources"}, }, }, Dependencies: []string{ "runtime.RawExtension"}, }, "v1.Preconditions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", Properties: map[string]spec.Schema{ "uid": { SchemaProps: spec.SchemaProps{ Description: "Specifies the target UID.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.PreferAvoidPodsEntry": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Describes a class of pods that should avoid this node.", Properties: map[string]spec.Schema{ "podSignature": { SchemaProps: spec.SchemaProps{ Description: "The class of pods.", Ref: spec.MustCreateRef("#/definitions/v1.PodSignature"), }, }, "evictionTime": { SchemaProps: spec.SchemaProps{ Description: "Time at which this entry was added to the list.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "(brief) reason why this entry was added to the list.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "Human readable message indicating why this entry was added to the list.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"podSignature"}, }, }, Dependencies: []string{ "unversioned.Time", "v1.PodSignature"}, }, "v1.PreferredSchedulingTerm": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", Properties: map[string]spec.Schema{ "weight": { SchemaProps: spec.SchemaProps{ Description: "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", Type: []string{"integer"}, Format: "int32", }, }, "preference": { SchemaProps: spec.SchemaProps{ Description: "A node selector term, associated with the corresponding weight.", Ref: spec.MustCreateRef("#/definitions/v1.NodeSelectorTerm"), }, }, }, Required: []string{"weight", "preference"}, }, }, Dependencies: []string{ "v1.NodeSelectorTerm"}, }, "v1.Probe": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", Properties: map[string]spec.Schema{ "exec": { SchemaProps: spec.SchemaProps{ Description: "One and only one of the following should be specified. Exec specifies the action to take.", Ref: spec.MustCreateRef("#/definitions/v1.ExecAction"), }, }, "httpGet": { SchemaProps: spec.SchemaProps{ Description: "HTTPGet specifies the http request to perform.", Ref: spec.MustCreateRef("#/definitions/v1.HTTPGetAction"), }, }, "tcpSocket": { SchemaProps: spec.SchemaProps{ Description: "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported", Ref: spec.MustCreateRef("#/definitions/v1.TCPSocketAction"), }, }, "initialDelaySeconds": { SchemaProps: spec.SchemaProps{ Description: "Number of seconds after the container has started before liveness probes are initiated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes", Type: []string{"integer"}, Format: "int32", }, }, "timeoutSeconds": { SchemaProps: spec.SchemaProps{ Description: "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes", Type: []string{"integer"}, Format: "int32", }, }, "periodSeconds": { SchemaProps: spec.SchemaProps{ Description: "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", Type: []string{"integer"}, Format: "int32", }, }, "successThreshold": { SchemaProps: spec.SchemaProps{ Description: "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", Type: []string{"integer"}, Format: "int32", }, }, "failureThreshold": { SchemaProps: spec.SchemaProps{ Description: "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", Type: []string{"integer"}, Format: "int32", }, }, }, }, }, Dependencies: []string{ "v1.ExecAction", "v1.HTTPGetAction", "v1.TCPSocketAction"}, }, "v1.Project": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Projects are the unit of isolation and collaboration in OpenShift. A project has one or more members, a quota on the resources that the project may consume, and the security controls on the resources in the project. Within a project, members may have different roles - project administrators can set membership, editors can create and manage the resources, and viewers can see but not access running containers. In a normal cluster project administrators are not able to alter their quotas - that is restricted to cluster administrators.\n\nListing or watching projects will return only projects the user has the reader role on.\n\nAn OpenShift project is an alternative representation of a Kubernetes namespace. Projects are exposed as editable to end users while namespaces are not. Direct creation of a project is typically restricted to administrators, while end users should use the requestproject resource.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the behavior of the Namespace.", Ref: spec.MustCreateRef("#/definitions/v1.ProjectSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status describes the current status of a Namespace", Ref: spec.MustCreateRef("#/definitions/v1.ProjectStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.ProjectSpec", "v1.ProjectStatus"}, }, "v1.ProjectList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ProjectList is a list of Project objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of projects", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Project"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Project"}, }, "v1.ProjectRequest": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ProjecRequest is the set of options necessary to fully qualify a project request", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "displayName": { SchemaProps: spec.SchemaProps{ Description: "DisplayName is the display name to apply to a project", Type: []string{"string"}, Format: "", }, }, "description": { SchemaProps: spec.SchemaProps{ Description: "Description is the description to apply to a project", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta"}, }, "v1.ProjectSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ProjectSpec describes the attributes on a Project", Properties: map[string]spec.Schema{ "finalizers": { SchemaProps: spec.SchemaProps{ Description: "Finalizers is an opaque list of values that must be empty to permanently remove object from storage", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, }, }, Dependencies: []string{}, }, "v1.ProjectStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ProjectStatus is information about the current status of a Project", Properties: map[string]spec.Schema{ "phase": { SchemaProps: spec.SchemaProps{ Description: "Phase is the current lifecycle phase of the project", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.ProxyConfig": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ProxyConfig defines what proxies to use for an operation", Properties: map[string]spec.Schema{ "httpProxy": { SchemaProps: spec.SchemaProps{ Description: "httpProxy is a proxy used to reach the git repository over http", Type: []string{"string"}, Format: "", }, }, "httpsProxy": { SchemaProps: spec.SchemaProps{ Description: "httpsProxy is a proxy used to reach the git repository over https", Type: []string{"string"}, Format: "", }, }, "noProxy": { SchemaProps: spec.SchemaProps{ Description: "noProxy is the list of domains for which the proxy should not be used", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.QuobyteVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.", Properties: map[string]spec.Schema{ "registry": { SchemaProps: spec.SchemaProps{ Description: "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", Type: []string{"string"}, Format: "", }, }, "volume": { SchemaProps: spec.SchemaProps{ Description: "Volume is a string that references an already created Quobyte volume by name.", Type: []string{"string"}, Format: "", }, }, "readOnly": { SchemaProps: spec.SchemaProps{ Description: "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "user": { SchemaProps: spec.SchemaProps{ Description: "User to map volume access to Defaults to serivceaccount user", Type: []string{"string"}, Format: "", }, }, "group": { SchemaProps: spec.SchemaProps{ Description: "Group to map volume access to Default is no group", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"registry", "volume"}, }, }, Dependencies: []string{}, }, "v1.RBDVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", Properties: map[string]spec.Schema{ "monitors": { SchemaProps: spec.SchemaProps{ Description: "A collection of Ceph monitors. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "image": { SchemaProps: spec.SchemaProps{ Description: "The rados image name. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", Type: []string{"string"}, Format: "", }, }, "fsType": { SchemaProps: spec.SchemaProps{ Description: "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#rbd", Type: []string{"string"}, Format: "", }, }, "pool": { SchemaProps: spec.SchemaProps{ Description: "The rados pool name. Default is rbd. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it.", Type: []string{"string"}, Format: "", }, }, "user": { SchemaProps: spec.SchemaProps{ Description: "The rados user name. Default is admin. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", Type: []string{"string"}, Format: "", }, }, "keyring": { SchemaProps: spec.SchemaProps{ Description: "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", Type: []string{"string"}, Format: "", }, }, "secretRef": { SchemaProps: spec.SchemaProps{ Description: "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", Ref: spec.MustCreateRef("#/definitions/v1.LocalObjectReference"), }, }, "readOnly": { SchemaProps: spec.SchemaProps{ Description: "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"monitors", "image"}, }, }, Dependencies: []string{ "v1.LocalObjectReference"}, }, "v1.RangeAllocation": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RangeAllocation is not a public type.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "range": { SchemaProps: spec.SchemaProps{ Description: "Range is string that identifies the range represented by 'data'.", Type: []string{"string"}, Format: "", }, }, "data": { SchemaProps: spec.SchemaProps{ Description: "Data is a bit array containing all allocated addresses in the previous segment.", Type: []string{"string"}, Format: "byte", }, }, }, Required: []string{"range", "data"}, }, }, Dependencies: []string{ "v1.ObjectMeta"}, }, "v1.RecreateDeploymentStrategyParams": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RecreateDeploymentStrategyParams are the input to the Recreate deployment strategy.", Properties: map[string]spec.Schema{ "timeoutSeconds": { SchemaProps: spec.SchemaProps{ Description: "TimeoutSeconds is the time to wait for updates before giving up. If the value is nil, a default will be used.", Type: []string{"integer"}, Format: "int64", }, }, "pre": { SchemaProps: spec.SchemaProps{ Description: "Pre is a lifecycle hook which is executed before the strategy manipulates the deployment. All LifecycleHookFailurePolicy values are supported.", Ref: spec.MustCreateRef("#/definitions/v1.LifecycleHook"), }, }, "mid": { SchemaProps: spec.SchemaProps{ Description: "Mid is a lifecycle hook which is executed while the deployment is scaled down to zero before the first new pod is created. All LifecycleHookFailurePolicy values are supported.", Ref: spec.MustCreateRef("#/definitions/v1.LifecycleHook"), }, }, "post": { SchemaProps: spec.SchemaProps{ Description: "Post is a lifecycle hook which is executed after the strategy has finished all deployment logic. All LifecycleHookFailurePolicy values are supported.", Ref: spec.MustCreateRef("#/definitions/v1.LifecycleHook"), }, }, }, }, }, Dependencies: []string{ "v1.LifecycleHook"}, }, "v1.RedirectReference": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RedirectReference specifies the target in the current namespace that resolves into redirect URIs. Only the 'Route' kind is currently allowed.", Properties: map[string]spec.Schema{ "group": { SchemaProps: spec.SchemaProps{ Description: "The group of the target that is being referred to.", Type: []string{"string"}, Format: "", }, }, "kind": { SchemaProps: spec.SchemaProps{ Description: "The kind of the target that is being referred to. Currently, only 'Route' is allowed.", Type: []string{"string"}, Format: "", }, }, "name": { SchemaProps: spec.SchemaProps{ Description: "The name of the target that is being referred to. e.g. name of the Route.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"group", "kind", "name"}, }, }, Dependencies: []string{}, }, "v1.ReplicationController": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ReplicationController represents the configuration of a replication controller.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the specification of the desired behavior of the replication controller. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.ReplicationControllerSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.ReplicationControllerStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.ReplicationControllerSpec", "v1.ReplicationControllerStatus"}, }, "v1.ReplicationControllerCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ReplicationControllerCondition describes the state of a replication controller at a certain point.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of replication controller condition.", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False, Unknown.", Type: []string{"string"}, Format: "", }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "The last time the condition transitioned from one status to another.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "The reason for the condition's last transition.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "A human readable message indicating details about the transition.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "status"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1.ReplicationControllerList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ReplicationControllerList is a collection of replication controllers.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "List of replication controllers. More info: http://kubernetes.io/docs/user-guide/replication-controller", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ReplicationController"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.ReplicationController"}, }, "v1.ReplicationControllerSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ReplicationControllerSpec is the specification of a replication controller.", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller", Type: []string{"integer"}, Format: "int32", }, }, "minReadySeconds": { SchemaProps: spec.SchemaProps{ Description: "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", Type: []string{"integer"}, Format: "int32", }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template", Ref: spec.MustCreateRef("#/definitions/v1.PodTemplateSpec"), }, }, }, }, }, Dependencies: []string{ "v1.PodTemplateSpec"}, }, "v1.ReplicationControllerStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ReplicationControllerStatus represents the current status of a replication controller.", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller", Type: []string{"integer"}, Format: "int32", }, }, "fullyLabeledReplicas": { SchemaProps: spec.SchemaProps{ Description: "The number of pods that have labels matching the labels of the pod template of the replication controller.", Type: []string{"integer"}, Format: "int32", }, }, "readyReplicas": { SchemaProps: spec.SchemaProps{ Description: "The number of ready replicas for this replication controller.", Type: []string{"integer"}, Format: "int32", }, }, "availableReplicas": { SchemaProps: spec.SchemaProps{ Description: "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", Type: []string{"integer"}, Format: "int32", }, }, "observedGeneration": { SchemaProps: spec.SchemaProps{ Description: "ObservedGeneration reflects the generation of the most recently observed replication controller.", Type: []string{"integer"}, Format: "int64", }, }, "conditions": { SchemaProps: spec.SchemaProps{ Description: "Represents the latest available observations of a replication controller's current state.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ReplicationControllerCondition"), }, }, }, }, }, }, Required: []string{"replicas"}, }, }, Dependencies: []string{ "v1.ReplicationControllerCondition"}, }, "v1.RepositoryImportSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RepositoryImportSpec describes a request to import images from a Docker image repository.", Properties: map[string]spec.Schema{ "from": { SchemaProps: spec.SchemaProps{ Description: "From is the source for the image repository to import; only kind DockerImage and a name of a Docker image repository is allowed", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "importPolicy": { SchemaProps: spec.SchemaProps{ Description: "ImportPolicy is the policy controlling how the image is imported", Ref: spec.MustCreateRef("#/definitions/v1.TagImportPolicy"), }, }, "referencePolicy": { SchemaProps: spec.SchemaProps{ Description: "ReferencePolicy defines how other components should consume the image", Ref: spec.MustCreateRef("#/definitions/v1.TagReferencePolicy"), }, }, "includeManifest": { SchemaProps: spec.SchemaProps{ Description: "IncludeManifest determines if the manifest for each image is returned in the response", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"from"}, }, }, Dependencies: []string{ "v1.ObjectReference", "v1.TagImportPolicy", "v1.TagReferencePolicy"}, }, "v1.RepositoryImportStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RepositoryImportStatus describes the result of an image repository import", Properties: map[string]spec.Schema{ "status": { SchemaProps: spec.SchemaProps{ Description: "Status reflects whether any failure occurred during import", Ref: spec.MustCreateRef("#/definitions/unversioned.Status"), }, }, "images": { SchemaProps: spec.SchemaProps{ Description: "Images is a list of images successfully retrieved by the import of the repository.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ImageImportStatus"), }, }, }, }, }, "additionalTags": { SchemaProps: spec.SchemaProps{ Description: "AdditionalTags are tags that exist in the repository but were not imported because a maximum limit of automatic imports was applied.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, }, }, Dependencies: []string{ "unversioned.Status", "v1.ImageImportStatus"}, }, "v1.ResourceAccessReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by spec", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces", Type: []string{"string"}, Format: "", }, }, "verb": { SchemaProps: spec.SchemaProps{ Description: "Verb is one of: get, list, watch, create, update, delete", Type: []string{"string"}, Format: "", }, }, "resourceAPIGroup": { SchemaProps: spec.SchemaProps{ Description: "Group is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined", Type: []string{"string"}, Format: "", }, }, "resourceAPIVersion": { SchemaProps: spec.SchemaProps{ Description: "Version is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined", Type: []string{"string"}, Format: "", }, }, "resource": { SchemaProps: spec.SchemaProps{ Description: "Resource is one of the existing resource types", Type: []string{"string"}, Format: "", }, }, "resourceName": { SchemaProps: spec.SchemaProps{ Description: "ResourceName is the name of the resource being requested for a \"get\" or deleted for a \"delete\"", Type: []string{"string"}, Format: "", }, }, "path": { SchemaProps: spec.SchemaProps{ Description: "Path is the path of a non resource URL", Type: []string{"string"}, Format: "", }, }, "isNonResourceURL": { SchemaProps: spec.SchemaProps{ Description: "IsNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hieraarchy)", Type: []string{"boolean"}, Format: "", }, }, "content": { SchemaProps: spec.SchemaProps{ Description: "Content is the actual content of the request for create and update", Ref: spec.MustCreateRef("#/definitions/runtime.RawExtension"), }, }, }, Required: []string{"namespace", "verb", "resourceAPIGroup", "resourceAPIVersion", "resource", "resourceName", "path", "isNonResourceURL"}, }, }, Dependencies: []string{ "runtime.RawExtension"}, }, "v1.ResourceAccessReviewResponse": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ResourceAccessReviewResponse describes who can perform the action", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace is the namespace used for the access review", Type: []string{"string"}, Format: "", }, }, "users": { SchemaProps: spec.SchemaProps{ Description: "UsersSlice is the list of users who can perform the action", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "groups": { SchemaProps: spec.SchemaProps{ Description: "GroupsSlice is the list of groups who can perform the action", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "evalutionError": { SchemaProps: spec.SchemaProps{ Description: "EvaluationError is an indication that some error occurred during resolution, but partial results can still be returned. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. This is most common when a bound role is missing, but enough roles are still present and bound to reason about the request.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"users", "groups", "evalutionError"}, }, }, Dependencies: []string{}, }, "v1.ResourceFieldSelector": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ResourceFieldSelector represents container resources (cpu, memory) and their output format", Properties: map[string]spec.Schema{ "containerName": { SchemaProps: spec.SchemaProps{ Description: "Container name: required for volumes, optional for env vars", Type: []string{"string"}, Format: "", }, }, "resource": { SchemaProps: spec.SchemaProps{ Description: "Required: resource to select", Type: []string{"string"}, Format: "", }, }, "divisor": { SchemaProps: spec.SchemaProps{ Description: "Specifies the output format of the exposed resources, defaults to \"1\"", Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, Required: []string{"resource"}, }, }, Dependencies: []string{ "resource.Quantity"}, }, "v1.ResourceQuota": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ResourceQuota sets aggregate quota restrictions enforced per namespace", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the desired quota. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.ResourceQuotaSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status defines the actual enforced quota and its current usage. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.ResourceQuotaStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.ResourceQuotaSpec", "v1.ResourceQuotaStatus"}, }, "v1.ResourceQuotaList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ResourceQuotaList is a list of ResourceQuota items.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of ResourceQuota objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ResourceQuota"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.ResourceQuota"}, }, "v1.ResourceQuotaSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", Properties: map[string]spec.Schema{ "hard": { SchemaProps: spec.SchemaProps{ Description: "Hard is the set of desired hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, }, }, "scopes": { SchemaProps: spec.SchemaProps{ Description: "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, }, }, Dependencies: []string{ "resource.Quantity"}, }, "v1.ResourceQuotaStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ResourceQuotaStatus defines the enforced hard limits and observed use.", Properties: map[string]spec.Schema{ "hard": { SchemaProps: spec.SchemaProps{ Description: "Hard is the set of enforced hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, }, }, "used": { SchemaProps: spec.SchemaProps{ Description: "Used is the current observed total usage of the resource in the namespace.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, }, }, }, }, }, Dependencies: []string{ "resource.Quantity"}, }, "v1.ResourceQuotaStatusByNamespace": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ResourceQuotaStatusByNamespace gives status for a particular project", Properties: map[string]spec.Schema{ "namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace the project this status applies to", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status indicates how many resources have been consumed by this project", Ref: spec.MustCreateRef("#/definitions/v1.ResourceQuotaStatus"), }, }, }, Required: []string{"namespace", "status"}, }, }, Dependencies: []string{ "v1.ResourceQuotaStatus"}, }, "v1.ResourceRequirements": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ResourceRequirements describes the compute resource requirements.", Properties: map[string]spec.Schema{ "limits": { SchemaProps: spec.SchemaProps{ Description: "Limits describes the maximum amount of compute resources allowed. More info: http://kubernetes.io/docs/user-guide/compute-resources/", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, }, }, "requests": { SchemaProps: spec.SchemaProps{ Description: "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: http://kubernetes.io/docs/user-guide/compute-resources/", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, }, }, }, }, }, Dependencies: []string{ "resource.Quantity"}, }, "v1.Role": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Role is a logical grouping of PolicyRules that can be referenced as a unit by RoleBindings.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "rules": { SchemaProps: spec.SchemaProps{ Description: "Rules holds all the PolicyRules for this Role", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.PolicyRule"), }, }, }, }, }, }, Required: []string{"rules"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.PolicyRule"}, }, "v1.RoleBinding": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RoleBinding references a Role, but not contain it. It can reference any Role in the same namespace or in the global namespace. It adds who information via (Users and Groups) OR Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace (excepting the master namespace which has power in all namespaces).", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "userNames": { SchemaProps: spec.SchemaProps{ Description: "UserNames holds all the usernames directly bound to the role. This field should only be specified when supporting legacy clients and servers. See Subjects for further details.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "groupNames": { SchemaProps: spec.SchemaProps{ Description: "GroupNames holds all the groups directly bound to the role. This field should only be specified when supporting legacy clients and servers. See Subjects for further details.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "subjects": { SchemaProps: spec.SchemaProps{ Description: "Subjects hold object references to authorize with this rule. This field is ignored if UserNames or GroupNames are specified to support legacy clients and servers. Thus newer clients that do not need to support backwards compatibility should send only fully qualified Subjects and should omit the UserNames and GroupNames fields. Clients that need to support backwards compatibility can use this field to build the UserNames and GroupNames.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, }, }, }, "roleRef": { SchemaProps: spec.SchemaProps{ Description: "RoleRef can only reference the current namespace and the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. Since Policy is a singleton, this is sufficient knowledge to locate a role.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, }, Required: []string{"userNames", "groupNames", "subjects", "roleRef"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.ObjectReference"}, }, "v1.RoleBindingList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RoleBindingList is a collection of RoleBindings", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of RoleBindings", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.RoleBinding"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.RoleBinding"}, }, "v1.RoleBindingRestriction": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RoleBindingRestriction is an object that can be matched against a subject (user, group, or service account) to determine whether rolebindings on that subject are allowed in the namespace to which the RoleBindingRestriction belongs. If any one of those RoleBindingRestriction objects matches a subject, rolebindings on that subject in the namespace are allowed.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the matcher.", Ref: spec.MustCreateRef("#/definitions/v1.RoleBindingRestrictionSpec"), }, }, }, Required: []string{"metadata", "spec"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.RoleBindingRestrictionSpec"}, }, "v1.RoleBindingRestrictionList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RoleBindingRestrictionList is a collection of RoleBindingRestriction objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of RoleBindingRestriction objects.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.RoleBindingRestriction"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.RoleBindingRestriction"}, }, "v1.RoleBindingRestrictionSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RoleBindingRestrictionSpec defines a rolebinding restriction. Exactly one field must be non-nil.", Properties: map[string]spec.Schema{ "userrestriction": { SchemaProps: spec.SchemaProps{ Description: "UserRestriction matches against user subjects.", Ref: spec.MustCreateRef("#/definitions/v1.UserRestriction"), }, }, "grouprestriction": { SchemaProps: spec.SchemaProps{ Description: "GroupRestriction matches against group subjects.", Ref: spec.MustCreateRef("#/definitions/v1.GroupRestriction"), }, }, "serviceaccountrestriction": { SchemaProps: spec.SchemaProps{ Description: "ServiceAccountRestriction matches against service-account subjects.", Ref: spec.MustCreateRef("#/definitions/v1.ServiceAccountRestriction"), }, }, }, Required: []string{"userrestriction", "grouprestriction", "serviceaccountrestriction"}, }, }, Dependencies: []string{ "v1.GroupRestriction", "v1.ServiceAccountRestriction", "v1.UserRestriction"}, }, "v1.RoleList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RoleList is a collection of Roles", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of Roles", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Role"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Role"}, }, "v1.RollingDeploymentStrategyParams": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.", Properties: map[string]spec.Schema{ "updatePeriodSeconds": { SchemaProps: spec.SchemaProps{ Description: "UpdatePeriodSeconds is the time to wait between individual pod updates. If the value is nil, a default will be used.", Type: []string{"integer"}, Format: "int64", }, }, "intervalSeconds": { SchemaProps: spec.SchemaProps{ Description: "IntervalSeconds is the time to wait between polling deployment status after update. If the value is nil, a default will be used.", Type: []string{"integer"}, Format: "int64", }, }, "timeoutSeconds": { SchemaProps: spec.SchemaProps{ Description: "TimeoutSeconds is the time to wait for updates before giving up. If the value is nil, a default will be used.", Type: []string{"integer"}, Format: "int64", }, }, "maxUnavailable": { SchemaProps: spec.SchemaProps{ Description: "MaxUnavailable is the maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total pods at the start of update (ex: 10%). Absolute number is calculated from percentage by rounding down.\n\nThis cannot be 0 if MaxSurge is 0. By default, 25% is used.\n\nExample: when this is set to 30%, the old RC can be scaled down by 30% immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that at least 70% of original number of pods are available at all times during the update.", Ref: spec.MustCreateRef("#/definitions/intstr.IntOrString"), }, }, "maxSurge": { SchemaProps: spec.SchemaProps{ Description: "MaxSurge is the maximum number of pods that can be scheduled above the original number of pods. Value can be an absolute number (ex: 5) or a percentage of total pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up.\n\nThis cannot be 0 if MaxUnavailable is 0. By default, 25% is used.\n\nExample: when this is set to 30%, the new RC can be scaled up by 30% immediately when the rolling update starts. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of original pods.", Ref: spec.MustCreateRef("#/definitions/intstr.IntOrString"), }, }, "pre": { SchemaProps: spec.SchemaProps{ Description: "Pre is a lifecycle hook which is executed before the deployment process begins. All LifecycleHookFailurePolicy values are supported.", Ref: spec.MustCreateRef("#/definitions/v1.LifecycleHook"), }, }, "post": { SchemaProps: spec.SchemaProps{ Description: "Post is a lifecycle hook which is executed after the strategy has finished all deployment logic. All LifecycleHookFailurePolicy values are supported.", Ref: spec.MustCreateRef("#/definitions/v1.LifecycleHook"), }, }, }, }, }, Dependencies: []string{ "intstr.IntOrString", "v1.LifecycleHook"}, }, "v1.Route": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "A route allows developers to expose services through an HTTP(S) aware load balancing and proxy layer via a public DNS entry. The route may further specify TLS options and a certificate, or specify a public CNAME that the router should also accept for HTTP and HTTPS traffic. An administrator typically configures their router to be visible outside the cluster firewall, and may also add additional security, caching, or traffic controls on the service content. Routers usually talk directly to the service endpoints.\n\nOnce a route is created, the `host` field may not be changed. Generally, routers use the oldest route with a given host when resolving conflicts.\n\nRouters are subject to additional customization and may support additional controls via the annotations field.\n\nBecause administrators may configure multiple routers, the route status field is used to return information to clients about the names and states of the route under each router. If a client chooses a duplicate name, for instance, the route status conditions are used to indicate the route cannot be chosen.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "spec is the desired state of the route", Ref: spec.MustCreateRef("#/definitions/v1.RouteSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "status is the current state of the route", Ref: spec.MustCreateRef("#/definitions/v1.RouteStatus"), }, }, }, Required: []string{"spec", "status"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.RouteSpec", "v1.RouteStatus"}, }, "v1.RouteIngress": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RouteIngress holds information about the places where a route is exposed.", Properties: map[string]spec.Schema{ "host": { SchemaProps: spec.SchemaProps{ Description: "Host is the host string under which the route is exposed; this value is required", Type: []string{"string"}, Format: "", }, }, "routerName": { SchemaProps: spec.SchemaProps{ Description: "Name is a name chosen by the router to identify itself; this value is required", Type: []string{"string"}, Format: "", }, }, "conditions": { SchemaProps: spec.SchemaProps{ Description: "Conditions is the state of the route, may be empty.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.RouteIngressCondition"), }, }, }, }, }, "wildcardPolicy": { SchemaProps: spec.SchemaProps{ Description: "Wildcard policy is the wildcard policy that was allowed where this route is exposed.", Type: []string{"string"}, Format: "", }, }, "routerCanonicalHostname": { SchemaProps: spec.SchemaProps{ Description: "CanonicalHostname is the external host name for the router that can be used as a CNAME for the host requested for this route. This value is optional and may not be set in all cases.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1.RouteIngressCondition"}, }, "v1.RouteIngressCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RouteIngressCondition contains details for the current condition of this route on a particular router.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type is the type of the condition. Currently only Ready.", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is the status of the condition. Can be True, False, Unknown.", Type: []string{"string"}, Format: "", }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "(brief) reason for the condition's last transition, and is usually a machine and human readable constant", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "Human readable message indicating details about last transition.", Type: []string{"string"}, Format: "", }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "RFC 3339 date and time when this condition last transitioned", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, }, Required: []string{"type", "status"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1.RouteList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RouteList is a collection of Routes.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "items is a list of routes", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Route"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Route"}, }, "v1.RoutePort": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RoutePort defines a port mapping from a router to an endpoint in the service endpoints.", Properties: map[string]spec.Schema{ "targetPort": { SchemaProps: spec.SchemaProps{ Description: "The target port on pods selected by the service this route points to. If this is a string, it will be looked up as a named port in the target endpoints port list. Required", Ref: spec.MustCreateRef("#/definitions/intstr.IntOrString"), }, }, }, Required: []string{"targetPort"}, }, }, Dependencies: []string{ "intstr.IntOrString"}, }, "v1.RouteSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RouteSpec describes the hostname or path the route exposes, any security information, and one or more backends the route points to. Weights on each backend can define the balance of traffic sent to each backend - if all weights are zero the route will be considered to have no backends and return a standard 503 response.\n\nThe `tls` field is optional and allows specific certificates or behavior for the route. Routers typically configure a default certificate on a wildcard domain to terminate routes without explicit certificates, but custom hostnames usually must choose passthrough (send traffic directly to the backend via the TLS Server-Name- Indication field) or provide a certificate.", Properties: map[string]spec.Schema{ "host": { SchemaProps: spec.SchemaProps{ Description: "host is an alias/DNS that points to the service. Optional. If not specified a route name will typically be automatically chosen. Must follow DNS952 subdomain conventions.", Type: []string{"string"}, Format: "", }, }, "path": { SchemaProps: spec.SchemaProps{ Description: "Path that the router watches for, to route traffic for to the service. Optional", Type: []string{"string"}, Format: "", }, }, "to": { SchemaProps: spec.SchemaProps{ Description: "to is an object the route should use as the primary backend. Only the Service kind is allowed, and it will be defaulted to Service. If the weight field is set to zero, no traffic will be sent to this service.", Ref: spec.MustCreateRef("#/definitions/v1.RouteTargetReference"), }, }, "alternateBackends": { SchemaProps: spec.SchemaProps{ Description: "alternateBackends is an extension of the 'to' field. If more than one service needs to be pointed to, then use this field. Use the weight field in RouteTargetReference object to specify relative preference. If the weight field is zero, the backend is ignored.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.RouteTargetReference"), }, }, }, }, }, "port": { SchemaProps: spec.SchemaProps{ Description: "If specified, the port to be used by the router. Most routers will use all endpoints exposed by the service by default - set this value to instruct routers which port to use.", Ref: spec.MustCreateRef("#/definitions/v1.RoutePort"), }, }, "tls": { SchemaProps: spec.SchemaProps{ Description: "The tls field provides the ability to configure certificates and termination for the route.", Ref: spec.MustCreateRef("#/definitions/v1.TLSConfig"), }, }, "wildcardPolicy": { SchemaProps: spec.SchemaProps{ Description: "Wildcard policy if any for the route. Currently only 'Subdomain' or 'None' is allowed.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"host", "to"}, }, }, Dependencies: []string{ "v1.RoutePort", "v1.RouteTargetReference", "v1.TLSConfig"}, }, "v1.RouteStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RouteStatus provides relevant info about the status of a route, including which routers acknowledge it.", Properties: map[string]spec.Schema{ "ingress": { SchemaProps: spec.SchemaProps{ Description: "ingress describes the places where the route may be exposed. The list of ingress points may contain duplicate Host or RouterName values. Routes are considered live once they are `Ready`", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.RouteIngress"), }, }, }, }, }, }, Required: []string{"ingress"}, }, }, Dependencies: []string{ "v1.RouteIngress"}, }, "v1.RouteTargetReference": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RouteTargetReference specifies the target that resolve into endpoints. Only the 'Service' kind is allowed. Use 'weight' field to emphasize one over others.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "The kind of target that the route is referring to. Currently, only 'Service' is allowed", Type: []string{"string"}, Format: "", }, }, "name": { SchemaProps: spec.SchemaProps{ Description: "name of the service/target that is being referred to. e.g. name of the service", Type: []string{"string"}, Format: "", }, }, "weight": { SchemaProps: spec.SchemaProps{ Description: "weight as an integer between 1 and 256 that specifies the target's relative weight against other target reference objects", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"kind", "name", "weight"}, }, }, Dependencies: []string{}, }, "v1.RouterShard": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RouterShard has information of a routing shard and is used to generate host names and routing table entries when a routing shard is allocated for a specific route. Caveat: This is WIP and will likely undergo modifications when sharding\n support is added.", Properties: map[string]spec.Schema{ "shardName": { SchemaProps: spec.SchemaProps{ Description: "shardName uniquely identifies a router shard in the \"set\" of routers used for routing traffic to the services.", Type: []string{"string"}, Format: "", }, }, "dnsSuffix": { SchemaProps: spec.SchemaProps{ Description: "dnsSuffix for the shard ala: shard-1.v3.openshift.com", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"shardName", "dnsSuffix"}, }, }, Dependencies: []string{}, }, "v1.RunAsUserStrategyOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type is the strategy that will dictate what RunAsUser is used in the SecurityContext.", Type: []string{"string"}, Format: "", }, }, "uid": { SchemaProps: spec.SchemaProps{ Description: "UID is the user id that containers must run as. Required for the MustRunAs strategy if not using namespace/service account allocated uids.", Type: []string{"integer"}, Format: "int64", }, }, "uidRangeMin": { SchemaProps: spec.SchemaProps{ Description: "UIDRangeMin defines the min value for a strategy that allocates by range.", Type: []string{"integer"}, Format: "int64", }, }, "uidRangeMax": { SchemaProps: spec.SchemaProps{ Description: "UIDRangeMax defines the max value for a strategy that allocates by range.", Type: []string{"integer"}, Format: "int64", }, }, }, }, }, Dependencies: []string{}, }, "v1.SELinuxContextStrategyOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SELinuxContextStrategyOptions defines the strategy type and any options used to create the strategy.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type is the strategy that will dictate what SELinux context is used in the SecurityContext.", Type: []string{"string"}, Format: "", }, }, "seLinuxOptions": { SchemaProps: spec.SchemaProps{ Description: "seLinuxOptions required to run as; required for MustRunAs", Ref: spec.MustCreateRef("#/definitions/v1.SELinuxOptions"), }, }, }, }, }, Dependencies: []string{ "v1.SELinuxOptions"}, }, "v1.SELinuxOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SELinuxOptions are the labels to be applied to the container", Properties: map[string]spec.Schema{ "user": { SchemaProps: spec.SchemaProps{ Description: "User is a SELinux user label that applies to the container.", Type: []string{"string"}, Format: "", }, }, "role": { SchemaProps: spec.SchemaProps{ Description: "Role is a SELinux role label that applies to the container.", Type: []string{"string"}, Format: "", }, }, "type": { SchemaProps: spec.SchemaProps{ Description: "Type is a SELinux type label that applies to the container.", Type: []string{"string"}, Format: "", }, }, "level": { SchemaProps: spec.SchemaProps{ Description: "Level is SELinux level label that applies to the container.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.Scale": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Scale represents a scaling request for a resource.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.", Ref: spec.MustCreateRef("#/definitions/v1.ScaleSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.", Ref: spec.MustCreateRef("#/definitions/v1.ScaleStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.ScaleSpec", "v1.ScaleStatus"}, }, "v1.ScaleSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ScaleSpec describes the attributes of a scale subresource.", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "desired number of instances for the scaled object.", Type: []string{"integer"}, Format: "int32", }, }, }, }, }, Dependencies: []string{}, }, "v1.ScaleStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ScaleStatus represents the current status of a scale subresource.", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "actual number of observed instances of the scaled object.", Type: []string{"integer"}, Format: "int32", }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"replicas"}, }, }, Dependencies: []string{}, }, "v1.ScopeRestriction": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ScopeRestriction describe one restriction on scopes. Exactly one option must be non-nil.", Properties: map[string]spec.Schema{ "literals": { SchemaProps: spec.SchemaProps{ Description: "ExactValues means the scope has to match a particular set of strings exactly", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "clusterRole": { SchemaProps: spec.SchemaProps{ Description: "ClusterRole describes a set of restrictions for cluster role scoping.", Ref: spec.MustCreateRef("#/definitions/v1.ClusterRoleScopeRestriction"), }, }, }, }, }, Dependencies: []string{ "v1.ClusterRoleScopeRestriction"}, }, "v1.Secret": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "data": { SchemaProps: spec.SchemaProps{ Description: "Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "byte", }, }, }, }, }, "stringData": { SchemaProps: spec.SchemaProps{ Description: "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "type": { SchemaProps: spec.SchemaProps{ Description: "Used to facilitate programmatic handling of secret data.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta"}, }, "v1.SecretBuildSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SecretBuildSource describes a secret and its destination directory that will be used only at the build time. The content of the secret referenced here will be copied into the destination directory instead of mounting.", Properties: map[string]spec.Schema{ "secret": { SchemaProps: spec.SchemaProps{ Description: "secret is a reference to an existing secret that you want to use in your build.", Ref: spec.MustCreateRef("#/definitions/v1.LocalObjectReference"), }, }, "destinationDir": { SchemaProps: spec.SchemaProps{ Description: "destinationDir is the directory where the files from the secret should be available for the build time. For the Source build strategy, these will be injected into a container where the assemble script runs. Later, when the script finishes, all files injected will be truncated to zero length. For the Docker build strategy, these will be copied into the build directory, where the Dockerfile is located, so users can ADD or COPY them during docker build.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"secret"}, }, }, Dependencies: []string{ "v1.LocalObjectReference"}, }, "v1.SecretKeySelector": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SecretKeySelector selects a key of a Secret.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", Type: []string{"string"}, Format: "", }, }, "key": { SchemaProps: spec.SchemaProps{ Description: "The key of the secret to select from. Must be a valid secret key.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"key"}, }, }, Dependencies: []string{}, }, "v1.SecretList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SecretList is a list of Secret.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of secret objects. More info: http://kubernetes.io/docs/user-guide/secrets", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Secret"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Secret"}, }, "v1.SecretSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SecretSpec specifies a secret to be included in a build pod and its corresponding mount point", Properties: map[string]spec.Schema{ "secretSource": { SchemaProps: spec.SchemaProps{ Description: "secretSource is a reference to the secret", Ref: spec.MustCreateRef("#/definitions/v1.LocalObjectReference"), }, }, "mountPath": { SchemaProps: spec.SchemaProps{ Description: "mountPath is the path at which to mount the secret", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"secretSource", "mountPath"}, }, }, Dependencies: []string{ "v1.LocalObjectReference"}, }, "v1.SecretVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.", Properties: map[string]spec.Schema{ "secretName": { SchemaProps: spec.SchemaProps{ Description: "Name of the secret in the pod's namespace to use. More info: http://kubernetes.io/docs/user-guide/volumes#secrets", Type: []string{"string"}, Format: "", }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.KeyToPath"), }, }, }, }, }, "defaultMode": { SchemaProps: spec.SchemaProps{ Description: "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", Type: []string{"integer"}, Format: "int32", }, }, }, }, }, Dependencies: []string{ "v1.KeyToPath"}, }, "v1.SecurityContext": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", Properties: map[string]spec.Schema{ "capabilities": { SchemaProps: spec.SchemaProps{ Description: "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", Ref: spec.MustCreateRef("#/definitions/v1.Capabilities"), }, }, "privileged": { SchemaProps: spec.SchemaProps{ Description: "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "seLinuxOptions": { SchemaProps: spec.SchemaProps{ Description: "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", Ref: spec.MustCreateRef("#/definitions/v1.SELinuxOptions"), }, }, "runAsUser": { SchemaProps: spec.SchemaProps{ Description: "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", Type: []string{"integer"}, Format: "int64", }, }, "runAsNonRoot": { SchemaProps: spec.SchemaProps{ Description: "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", Type: []string{"boolean"}, Format: "", }, }, "readOnlyRootFilesystem": { SchemaProps: spec.SchemaProps{ Description: "Whether this container has a read-only root filesystem. Default is false.", Type: []string{"boolean"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1.Capabilities", "v1.SELinuxOptions"}, }, "v1.SecurityContextConstraints": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SecurityContextConstraints governs the ability to make requests that affect the SecurityContext that will be applied to a container.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "priority": { SchemaProps: spec.SchemaProps{ Description: "Priority influences the sort order of SCCs when evaluating which SCCs to try first for a given pod request based on access in the Users and Groups fields. The higher the int, the higher priority. If scores for multiple SCCs are equal they will be sorted by name.", Type: []string{"integer"}, Format: "int32", }, }, "allowPrivilegedContainer": { SchemaProps: spec.SchemaProps{ Description: "AllowPrivilegedContainer determines if a container can request to be run as privileged.", Type: []string{"boolean"}, Format: "", }, }, "defaultAddCapabilities": { SchemaProps: spec.SchemaProps{ Description: "DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capabiility in both DefaultAddCapabilities and RequiredDropCapabilities.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "requiredDropCapabilities": { SchemaProps: spec.SchemaProps{ Description: "RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "allowedCapabilities": { SchemaProps: spec.SchemaProps{ Description: "AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field maybe added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. To allow all capabilities you may use '*'.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "allowHostDirVolumePlugin": { SchemaProps: spec.SchemaProps{ Description: "AllowHostDirVolumePlugin determines if the policy allow containers to use the HostDir volume plugin", Type: []string{"boolean"}, Format: "", }, }, "volumes": { SchemaProps: spec.SchemaProps{ Description: "Volumes is a white list of allowed volume plugins. FSType corresponds directly with the field names of a VolumeSource (azureFile, configMap, emptyDir). To allow all volumes you may use '*'.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "allowHostNetwork": { SchemaProps: spec.SchemaProps{ Description: "AllowHostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", Type: []string{"boolean"}, Format: "", }, }, "allowHostPorts": { SchemaProps: spec.SchemaProps{ Description: "AllowHostPorts determines if the policy allows host ports in the containers.", Type: []string{"boolean"}, Format: "", }, }, "allowHostPID": { SchemaProps: spec.SchemaProps{ Description: "AllowHostPID determines if the policy allows host pid in the containers.", Type: []string{"boolean"}, Format: "", }, }, "allowHostIPC": { SchemaProps: spec.SchemaProps{ Description: "AllowHostIPC determines if the policy allows host ipc in the containers.", Type: []string{"boolean"}, Format: "", }, }, "seLinuxContext": { SchemaProps: spec.SchemaProps{ Description: "SELinuxContext is the strategy that will dictate what labels will be set in the SecurityContext.", Ref: spec.MustCreateRef("#/definitions/v1.SELinuxContextStrategyOptions"), }, }, "runAsUser": { SchemaProps: spec.SchemaProps{ Description: "RunAsUser is the strategy that will dictate what RunAsUser is used in the SecurityContext.", Ref: spec.MustCreateRef("#/definitions/v1.RunAsUserStrategyOptions"), }, }, "supplementalGroups": { SchemaProps: spec.SchemaProps{ Description: "SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", Ref: spec.MustCreateRef("#/definitions/v1.SupplementalGroupsStrategyOptions"), }, }, "fsGroup": { SchemaProps: spec.SchemaProps{ Description: "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", Ref: spec.MustCreateRef("#/definitions/v1.FSGroupStrategyOptions"), }, }, "readOnlyRootFilesystem": { SchemaProps: spec.SchemaProps{ Description: "ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the SCC should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", Type: []string{"boolean"}, Format: "", }, }, "users": { SchemaProps: spec.SchemaProps{ Description: "The users who have permissions to use this security context constraints", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "groups": { SchemaProps: spec.SchemaProps{ Description: "The groups that have permission to use this security context constraints", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "seccompProfiles": { SchemaProps: spec.SchemaProps{ Description: "SeccompProfiles lists the allowed profiles that may be set for the pod or container's seccomp annotations. An unset (nil) or empty value means that no profiles may be specifid by the pod or container.\tThe wildcard '*' may be used to allow all profiles. When used to generate a value for a pod the first non-wildcard profile will be used as the default.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"priority", "allowPrivilegedContainer", "defaultAddCapabilities", "requiredDropCapabilities", "allowedCapabilities", "allowHostDirVolumePlugin", "volumes", "allowHostNetwork", "allowHostPorts", "allowHostPID", "allowHostIPC", "readOnlyRootFilesystem"}, }, }, Dependencies: []string{ "v1.FSGroupStrategyOptions", "v1.ObjectMeta", "v1.RunAsUserStrategyOptions", "v1.SELinuxContextStrategyOptions", "v1.SupplementalGroupsStrategyOptions"}, }, "v1.SecurityContextConstraintsList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SecurityContextConstraintsList is a list of SecurityContextConstraints objects", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "List of security context constraints.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.SecurityContextConstraints"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.SecurityContextConstraints"}, }, "v1.SelfSubjectRulesReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SelfSubjectRulesReview is a resource you can create to determine which actions you can perform in a namespace", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec adds information about how to conduct the check", Ref: spec.MustCreateRef("#/definitions/v1.SelfSubjectRulesReviewSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is completed by the server to tell which permissions you have", Ref: spec.MustCreateRef("#/definitions/v1.SubjectRulesReviewStatus"), }, }, }, Required: []string{"spec"}, }, }, Dependencies: []string{ "v1.SelfSubjectRulesReviewSpec", "v1.SubjectRulesReviewStatus"}, }, "v1.SelfSubjectRulesReviewSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SelfSubjectRulesReviewSpec adds information about how to conduct the check", Properties: map[string]spec.Schema{ "scopes": { SchemaProps: spec.SchemaProps{ Description: "Scopes to use for the evaluation. Empty means \"use the unscoped (full) permissions of the user/groups\". Nil means \"use the scopes on this request\".", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"scopes"}, }, }, Dependencies: []string{}, }, "v1.SerializedReference": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SerializedReference is a reference to serialized object.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "reference": { SchemaProps: spec.SchemaProps{ Description: "The reference to an object in the system.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectReference"}, }, "v1.Service": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the behavior of a service. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.ServiceSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Most recently observed status of the service. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1.ServiceStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.ServiceSpec", "v1.ServiceStatus"}, }, "v1.ServiceAccount": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "secrets": { SchemaProps: spec.SchemaProps{ Description: "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: http://kubernetes.io/docs/user-guide/secrets", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, }, }, }, "imagePullSecrets": { SchemaProps: spec.SchemaProps{ Description: "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: http://kubernetes.io/docs/user-guide/secrets#manually-specifying-an-imagepullsecret", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.LocalObjectReference"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.LocalObjectReference", "v1.ObjectMeta", "v1.ObjectReference"}, }, "v1.ServiceAccountList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ServiceAccountList is a list of ServiceAccount objects", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "List of ServiceAccounts. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md#service-accounts", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ServiceAccount"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.ServiceAccount"}, }, "v1.ServiceAccountPodSecurityPolicyReviewStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ServiceAccountPodSecurityPolicyReviewStatus represents ServiceAccount name and related review status", Properties: map[string]spec.Schema{ "allowedBy": { SchemaProps: spec.SchemaProps{ Description: "allowedBy is a reference to the rule that allows the PodTemplateSpec. A rule can be a SecurityContextConstraint or a PodSecurityPolicy A `nil`, indicates that it was denied.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available.", Type: []string{"string"}, Format: "", }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "template is the PodTemplateSpec after the defaulting is applied.", Ref: spec.MustCreateRef("#/definitions/v1.PodTemplateSpec"), }, }, "name": { SchemaProps: spec.SchemaProps{ Description: "name contains the allowed and the denied ServiceAccount name", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"name"}, }, }, Dependencies: []string{ "v1.ObjectReference", "v1.PodTemplateSpec"}, }, "v1.ServiceAccountReference": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ServiceAccountReference specifies a service account and namespace by their names.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name is the name of the service account.", Type: []string{"string"}, Format: "", }, }, "namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace is the namespace of the service account. Service accounts from inside the whitelisted namespaces are allowed to be bound to roles. If Namespace is empty, then the namespace of the RoleBindingRestriction in which the ServiceAccountReference is embedded is used.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"name", "namespace"}, }, }, Dependencies: []string{}, }, "v1.ServiceAccountRestriction": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ServiceAccountRestriction matches a service account by a string match on either the service-account name or the name of the service account's namespace.", Properties: map[string]spec.Schema{ "serviceaccounts": { SchemaProps: spec.SchemaProps{ Description: "ServiceAccounts specifies a list of literal service-account names.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ServiceAccountReference"), }, }, }, }, }, "namespaces": { SchemaProps: spec.SchemaProps{ Description: "Namespaces specifies a list of literal namespace names.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"serviceaccounts", "namespaces"}, }, }, Dependencies: []string{ "v1.ServiceAccountReference"}, }, "v1.ServiceList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ServiceList holds a list of services.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "List of services", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Service"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Service"}, }, "v1.ServicePort": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ServicePort contains information on service's port.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. This maps to the 'Name' field in EndpointPort objects. Optional if only one ServicePort is defined on this service.", Type: []string{"string"}, Format: "", }, }, "protocol": { SchemaProps: spec.SchemaProps{ Description: "The IP protocol for this port. Supports \"TCP\" and \"UDP\". Default is TCP.", Type: []string{"string"}, Format: "", }, }, "port": { SchemaProps: spec.SchemaProps{ Description: "The port that will be exposed by this service.", Type: []string{"integer"}, Format: "int32", }, }, "targetPort": { SchemaProps: spec.SchemaProps{ Description: "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: http://kubernetes.io/docs/user-guide/services#defining-a-service", Ref: spec.MustCreateRef("#/definitions/intstr.IntOrString"), }, }, "nodePort": { SchemaProps: spec.SchemaProps{ Description: "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: http://kubernetes.io/docs/user-guide/services#type--nodeport", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"port"}, }, }, Dependencies: []string{ "intstr.IntOrString"}, }, "v1.ServiceProxyOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ServiceProxyOptions is the query options to a Service's proxy call.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "path": { SchemaProps: spec.SchemaProps{ Description: "Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.ServiceSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ServiceSpec describes the attributes that a user creates on a service.", Properties: map[string]spec.Schema{ "ports": { SchemaProps: spec.SchemaProps{ Description: "The list of ports that are exposed by this service. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ServicePort"), }, }, }, }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#overview", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "clusterIP": { SchemaProps: spec.SchemaProps{ Description: "clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies", Type: []string{"string"}, Format: "", }, }, "type": { SchemaProps: spec.SchemaProps{ Description: "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: http://kubernetes.io/docs/user-guide/services#overview", Type: []string{"string"}, Format: "", }, }, "externalIPs": { SchemaProps: spec.SchemaProps{ Description: "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. A previous form of this functionality exists as the deprecatedPublicIPs field. When using this field, callers should also clear the deprecatedPublicIPs field.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "deprecatedPublicIPs": { SchemaProps: spec.SchemaProps{ Description: "deprecatedPublicIPs is deprecated and replaced by the externalIPs field with almost the exact same semantics. This field is retained in the v1 API for compatibility until at least 8/20/2016. It will be removed from any new API revisions. If both deprecatedPublicIPs *and* externalIPs are set, deprecatedPublicIPs is used.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "sessionAffinity": { SchemaProps: spec.SchemaProps{ Description: "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies", Type: []string{"string"}, Format: "", }, }, "loadBalancerIP": { SchemaProps: spec.SchemaProps{ Description: "Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature.", Type: []string{"string"}, Format: "", }, }, "loadBalancerSourceRanges": { SchemaProps: spec.SchemaProps{ Description: "If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: http://kubernetes.io/docs/user-guide/services-firewalls", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "externalName": { SchemaProps: spec.SchemaProps{ Description: "externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid DNS name and requires Type to be ExternalName.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"ports"}, }, }, Dependencies: []string{ "v1.ServicePort"}, }, "v1.ServiceStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ServiceStatus represents the current status of a service.", Properties: map[string]spec.Schema{ "loadBalancer": { SchemaProps: spec.SchemaProps{ Description: "LoadBalancer contains the current status of the load-balancer, if one is present.", Ref: spec.MustCreateRef("#/definitions/v1.LoadBalancerStatus"), }, }, }, }, }, Dependencies: []string{ "v1.LoadBalancerStatus"}, }, "v1.SignatureCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SignatureCondition describes an image signature condition of particular kind at particular probe time.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of signature condition, Complete or Failed.", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False, Unknown.", Type: []string{"string"}, Format: "", }, }, "lastProbeTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition was checked.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition transit from one status to another.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "(brief) reason for the condition's last transition.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "Human readable message indicating details about last transition.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "status"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1.SignatureGenericEntity": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SignatureGenericEntity holds a generic information about a person or entity who is an issuer or a subject of signing certificate or key.", Properties: map[string]spec.Schema{ "organization": { SchemaProps: spec.SchemaProps{ Description: "Organization name.", Type: []string{"string"}, Format: "", }, }, "commonName": { SchemaProps: spec.SchemaProps{ Description: "Common name (e.g. openshift-signing-service).", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.SignatureIssuer": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SignatureIssuer holds information about an issuer of signing certificate or key.", Properties: map[string]spec.Schema{ "organization": { SchemaProps: spec.SchemaProps{ Description: "Organization name.", Type: []string{"string"}, Format: "", }, }, "commonName": { SchemaProps: spec.SchemaProps{ Description: "Common name (e.g. openshift-signing-service).", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.SignatureSubject": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SignatureSubject holds information about a person or entity who created the signature.", Properties: map[string]spec.Schema{ "organization": { SchemaProps: spec.SchemaProps{ Description: "Organization name.", Type: []string{"string"}, Format: "", }, }, "commonName": { SchemaProps: spec.SchemaProps{ Description: "Common name (e.g. openshift-signing-service).", Type: []string{"string"}, Format: "", }, }, "publicKeyID": { SchemaProps: spec.SchemaProps{ Description: "If present, it is a human readable key id of public key belonging to the subject used to verify image signature. It should contain at least 64 lowest bits of public key's fingerprint (e.g. 0x685ebe62bf278440).", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"publicKeyID"}, }, }, Dependencies: []string{}, }, "v1.SourceBuildStrategy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SourceBuildStrategy defines input parameters specific to an Source build.", Properties: map[string]spec.Schema{ "from": { SchemaProps: spec.SchemaProps{ Description: "from is reference to an DockerImage, ImageStreamTag, or ImageStreamImage from which the docker image should be pulled", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "pullSecret": { SchemaProps: spec.SchemaProps{ Description: "pullSecret is the name of a Secret that would be used for setting up the authentication for pulling the Docker images from the private Docker registries", Ref: spec.MustCreateRef("#/definitions/v1.LocalObjectReference"), }, }, "env": { SchemaProps: spec.SchemaProps{ Description: "env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.EnvVar"), }, }, }, }, }, "scripts": { SchemaProps: spec.SchemaProps{ Description: "scripts is the location of Source scripts", Type: []string{"string"}, Format: "", }, }, "incremental": { SchemaProps: spec.SchemaProps{ Description: "incremental flag forces the Source build to do incremental builds if true.", Type: []string{"boolean"}, Format: "", }, }, "forcePull": { SchemaProps: spec.SchemaProps{ Description: "forcePull describes if the builder should pull the images from registry prior to building.", Type: []string{"boolean"}, Format: "", }, }, "runtimeImage": { SchemaProps: spec.SchemaProps{ Description: "runtimeImage is an optional image that is used to run an application without unneeded dependencies installed. The building of the application is still done in the builder image but, post build, you can copy the needed artifacts in the runtime image for use. Deprecated: This feature will be removed in a future release. Use ImageSource to copy binary artifacts created from one build into a separate runtime image.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "runtimeArtifacts": { SchemaProps: spec.SchemaProps{ Description: "runtimeArtifacts specifies a list of source/destination pairs that will be copied from the builder to the runtime image. sourcePath can be a file or directory. destinationDir must be a directory. destinationDir can also be empty or equal to \".\", in this case it just refers to the root of WORKDIR. Deprecated: This feature will be removed in a future release. Use ImageSource to copy binary artifacts created from one build into a separate runtime image.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ImageSourcePath"), }, }, }, }, }, }, Required: []string{"from"}, }, }, Dependencies: []string{ "v1.EnvVar", "v1.ImageSourcePath", "v1.LocalObjectReference", "v1.ObjectReference"}, }, "v1.SourceControlUser": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SourceControlUser defines the identity of a user of source control", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "name of the source control user", Type: []string{"string"}, Format: "", }, }, "email": { SchemaProps: spec.SchemaProps{ Description: "email of the source control user", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.SourceRevision": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SourceRevision is the revision or commit information from the source for the build", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "type of the build source, may be one of 'Source', 'Dockerfile', 'Binary', or 'Images'", Type: []string{"string"}, Format: "", }, }, "git": { SchemaProps: spec.SchemaProps{ Description: "Git contains information about git-based build source", Ref: spec.MustCreateRef("#/definitions/v1.GitSourceRevision"), }, }, }, Required: []string{"type"}, }, }, Dependencies: []string{ "v1.GitSourceRevision"}, }, "v1.SubjectAccessReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SubjectAccessReview is an object for requesting information about whether a user or group can perform an action", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces", Type: []string{"string"}, Format: "", }, }, "verb": { SchemaProps: spec.SchemaProps{ Description: "Verb is one of: get, list, watch, create, update, delete", Type: []string{"string"}, Format: "", }, }, "resourceAPIGroup": { SchemaProps: spec.SchemaProps{ Description: "Group is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined", Type: []string{"string"}, Format: "", }, }, "resourceAPIVersion": { SchemaProps: spec.SchemaProps{ Description: "Version is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined", Type: []string{"string"}, Format: "", }, }, "resource": { SchemaProps: spec.SchemaProps{ Description: "Resource is one of the existing resource types", Type: []string{"string"}, Format: "", }, }, "resourceName": { SchemaProps: spec.SchemaProps{ Description: "ResourceName is the name of the resource being requested for a \"get\" or deleted for a \"delete\"", Type: []string{"string"}, Format: "", }, }, "path": { SchemaProps: spec.SchemaProps{ Description: "Path is the path of a non resource URL", Type: []string{"string"}, Format: "", }, }, "isNonResourceURL": { SchemaProps: spec.SchemaProps{ Description: "IsNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hieraarchy)", Type: []string{"boolean"}, Format: "", }, }, "content": { SchemaProps: spec.SchemaProps{ Description: "Content is the actual content of the request for create and update", Ref: spec.MustCreateRef("#/definitions/runtime.RawExtension"), }, }, "user": { SchemaProps: spec.SchemaProps{ Description: "User is optional. If both User and Groups are empty, the current authenticated user is used.", Type: []string{"string"}, Format: "", }, }, "groups": { SchemaProps: spec.SchemaProps{ Description: "GroupsSlice is optional. Groups is the list of groups to which the User belongs.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "scopes": { SchemaProps: spec.SchemaProps{ Description: "Scopes to use for the evaluation. Empty means \"use the unscoped (full) permissions of the user/groups\". Nil for a self-SAR, means \"use the scopes on this request\". Nil for a regular SAR, means the same as empty.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"namespace", "verb", "resourceAPIGroup", "resourceAPIVersion", "resource", "resourceName", "path", "isNonResourceURL", "user", "groups", "scopes"}, }, }, Dependencies: []string{ "runtime.RawExtension"}, }, "v1.SubjectAccessReviewResponse": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SubjectAccessReviewResponse describes whether or not a user or group can perform an action", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace is the namespace used for the access review", Type: []string{"string"}, Format: "", }, }, "allowed": { SchemaProps: spec.SchemaProps{ Description: "Allowed is required. True if the action would be allowed, false otherwise.", Type: []string{"boolean"}, Format: "", }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "Reason is optional. It indicates why a request was allowed or denied.", Type: []string{"string"}, Format: "", }, }, "evaluationError": { SchemaProps: spec.SchemaProps{ Description: "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. This is most common when a bound role is missing, but enough roles are still present and bound to reason about the request.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"allowed"}, }, }, Dependencies: []string{}, }, "v1.SubjectRulesReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SubjectRulesReview is a resource you can create to determine which actions another user can perform in a namespace", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec adds information about how to conduct the check", Ref: spec.MustCreateRef("#/definitions/v1.SubjectRulesReviewSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is completed by the server to tell which permissions you have", Ref: spec.MustCreateRef("#/definitions/v1.SubjectRulesReviewStatus"), }, }, }, Required: []string{"spec"}, }, }, Dependencies: []string{ "v1.SubjectRulesReviewSpec", "v1.SubjectRulesReviewStatus"}, }, "v1.SubjectRulesReviewSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SubjectRulesReviewSpec adds information about how to conduct the check", Properties: map[string]spec.Schema{ "user": { SchemaProps: spec.SchemaProps{ Description: "User is optional. At least one of User and Groups must be specified.", Type: []string{"string"}, Format: "", }, }, "groups": { SchemaProps: spec.SchemaProps{ Description: "Groups is optional. Groups is the list of groups to which the User belongs. At least one of User and Groups must be specified.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "scopes": { SchemaProps: spec.SchemaProps{ Description: "Scopes to use for the evaluation. Empty means \"use the unscoped (full) permissions of the user/groups\".", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"user", "groups", "scopes"}, }, }, Dependencies: []string{}, }, "v1.SubjectRulesReviewStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SubjectRulesReviewStatus is contains the result of a rules check", Properties: map[string]spec.Schema{ "rules": { SchemaProps: spec.SchemaProps{ Description: "Rules is the list of rules (no particular sort) that are allowed for the subject", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.PolicyRule"), }, }, }, }, }, "evaluationError": { SchemaProps: spec.SchemaProps{ Description: "EvaluationError can appear in combination with Rules. It means some error happened during evaluation that may have prevented additional rules from being populated.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"rules"}, }, }, Dependencies: []string{ "v1.PolicyRule"}, }, "v1.SupplementalGroupsStrategyOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type is the strategy that will dictate what supplemental groups is used in the SecurityContext.", Type: []string{"string"}, Format: "", }, }, "ranges": { SchemaProps: spec.SchemaProps{ Description: "Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.IDRange"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.IDRange"}, }, "v1.TCPSocketAction": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TCPSocketAction describes an action based on opening a socket", Properties: map[string]spec.Schema{ "port": { SchemaProps: spec.SchemaProps{ Description: "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", Ref: spec.MustCreateRef("#/definitions/intstr.IntOrString"), }, }, }, Required: []string{"port"}, }, }, Dependencies: []string{ "intstr.IntOrString"}, }, "v1.TLSConfig": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TLSConfig defines config used to secure a route and provide termination", Properties: map[string]spec.Schema{ "termination": { SchemaProps: spec.SchemaProps{ Description: "termination indicates termination type.", Type: []string{"string"}, Format: "", }, }, "certificate": { SchemaProps: spec.SchemaProps{ Description: "certificate provides certificate contents", Type: []string{"string"}, Format: "", }, }, "key": { SchemaProps: spec.SchemaProps{ Description: "key provides key file contents", Type: []string{"string"}, Format: "", }, }, "caCertificate": { SchemaProps: spec.SchemaProps{ Description: "caCertificate provides the cert authority certificate contents", Type: []string{"string"}, Format: "", }, }, "destinationCACertificate": { SchemaProps: spec.SchemaProps{ Description: "destinationCACertificate provides the contents of the ca certificate of the final destination. When using reencrypt termination this file should be provided in order to have routers use it for health checks on the secure connection", Type: []string{"string"}, Format: "", }, }, "insecureEdgeTerminationPolicy": { SchemaProps: spec.SchemaProps{ Description: "insecureEdgeTerminationPolicy indicates the desired behavior for insecure connections to a route. While each router may make its own decisions on which ports to expose, this is normally port 80.\n\n* Allow - traffic is sent to the server on the insecure port (default) * Disable - no traffic is allowed on the insecure port. * Redirect - clients are redirected to the secure port.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"termination"}, }, }, Dependencies: []string{}, }, "v1.TagEvent": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TagEvent is used by ImageStreamStatus to keep a historical record of images associated with a tag.", Properties: map[string]spec.Schema{ "created": { SchemaProps: spec.SchemaProps{ Description: "Created holds the time the TagEvent was created", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "dockerImageReference": { SchemaProps: spec.SchemaProps{ Description: "DockerImageReference is the string that can be used to pull this image", Type: []string{"string"}, Format: "", }, }, "image": { SchemaProps: spec.SchemaProps{ Description: "Image is the image", Type: []string{"string"}, Format: "", }, }, "generation": { SchemaProps: spec.SchemaProps{ Description: "Generation is the spec tag generation that resulted in this tag being updated", Type: []string{"integer"}, Format: "int64", }, }, }, Required: []string{"created", "dockerImageReference", "image", "generation"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1.TagEventCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TagEventCondition contains condition information for a tag event.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of tag event condition, currently only ImportSuccess", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False, Unknown.", Type: []string{"string"}, Format: "", }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "LastTransitionTIme is the time the condition transitioned from one status to another.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "Reason is a brief machine readable explanation for the condition's last transition.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "Message is a human readable description of the details about last transition, complementing reason.", Type: []string{"string"}, Format: "", }, }, "generation": { SchemaProps: spec.SchemaProps{ Description: "Generation is the spec tag generation that this status corresponds to", Type: []string{"integer"}, Format: "int64", }, }, }, Required: []string{"type", "status", "generation"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1.TagImageHook": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TagImageHook is a request to tag the image in a particular container onto an ImageStreamTag.", Properties: map[string]spec.Schema{ "containerName": { SchemaProps: spec.SchemaProps{ Description: "ContainerName is the name of a container in the deployment config whose image value will be used as the source of the tag. If there is only a single container this value will be defaulted to the name of that container.", Type: []string{"string"}, Format: "", }, }, "to": { SchemaProps: spec.SchemaProps{ Description: "To is the target ImageStreamTag to set the container's image onto.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, }, Required: []string{"containerName", "to"}, }, }, Dependencies: []string{ "v1.ObjectReference"}, }, "v1.TagImportPolicy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TagImportPolicy controls how images related to this tag will be imported.", Properties: map[string]spec.Schema{ "insecure": { SchemaProps: spec.SchemaProps{ Description: "Insecure is true if the server may bypass certificate verification or connect directly over HTTP during image import.", Type: []string{"boolean"}, Format: "", }, }, "scheduled": { SchemaProps: spec.SchemaProps{ Description: "Scheduled indicates to the server that this tag should be periodically checked to ensure it is up to date, and imported", Type: []string{"boolean"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.TagReference": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TagReference specifies optional annotations for images using this tag and an optional reference to an ImageStreamTag, ImageStreamImage, or DockerImage this tag should track.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the tag", Type: []string{"string"}, Format: "", }, }, "annotations": { SchemaProps: spec.SchemaProps{ Description: "Annotations associated with images using this tag", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "from": { SchemaProps: spec.SchemaProps{ Description: "From is a reference to an image stream tag or image stream this tag should track", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "reference": { SchemaProps: spec.SchemaProps{ Description: "Reference states if the tag will be imported. Default value is false, which means the tag will be imported.", Type: []string{"boolean"}, Format: "", }, }, "generation": { SchemaProps: spec.SchemaProps{ Description: "Generation is the image stream generation that updated this tag - setting it to 0 is an indication that the generation must be updated. Legacy clients will send this as nil, which means the client doesn't know or care.", Type: []string{"integer"}, Format: "int64", }, }, "importPolicy": { SchemaProps: spec.SchemaProps{ Description: "Import is information that controls how images may be imported by the server.", Ref: spec.MustCreateRef("#/definitions/v1.TagImportPolicy"), }, }, "referencePolicy": { SchemaProps: spec.SchemaProps{ Description: "ReferencePolicy defines how other components should consume the image", Ref: spec.MustCreateRef("#/definitions/v1.TagReferencePolicy"), }, }, }, Required: []string{"name", "annotations", "generation"}, }, }, Dependencies: []string{ "v1.ObjectReference", "v1.TagImportPolicy", "v1.TagReferencePolicy"}, }, "v1.TagReferencePolicy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TagReferencePolicy describes how pull-specs for images in this image stream tag are generated when image change triggers in deployment configs or builds are resolved. This allows the image stream author to control how images are accessed.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type determines how the image pull spec should be transformed when the image stream tag is used in deployment config triggers or new builds. The default value is `Source`, indicating the original location of the image should be used (if imported). The user may also specify `Local`, indicating that the pull spec should point to the integrated Docker registry and leverage the registry's ability to proxy the pull to an upstream registry. `Local` allows the credentials used to pull this image to be managed from the image stream's namespace, so others on the platform can access a remote image but have no access to the remote secret. It also allows the image layers to be mirrored into the local registry which the images can still be pulled even if the upstream registry is unavailable.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type"}, }, }, Dependencies: []string{}, }, "v1.Taint": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "The node this Taint is attached to has the effect \"effect\" on any pod that that does not tolerate the Taint.", Properties: map[string]spec.Schema{ "key": { SchemaProps: spec.SchemaProps{ Description: "Required. The taint key to be applied to a node.", Type: []string{"string"}, Format: "", }, }, "value": { SchemaProps: spec.SchemaProps{ Description: "Required. The taint value corresponding to the taint key.", Type: []string{"string"}, Format: "", }, }, "effect": { SchemaProps: spec.SchemaProps{ Description: "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule and PreferNoSchedule.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"key", "effect"}, }, }, Dependencies: []string{}, }, "v1.Template": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Template contains the inputs needed to produce a Config.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "message is an optional instructional message that will be displayed when this template is instantiated. This field should inform the user how to utilize the newly created resources. Parameter substitution will be performed on the message before being displayed so that generated credentials and other parameters can be included in the output.", Type: []string{"string"}, Format: "", }, }, "objects": { SchemaProps: spec.SchemaProps{ Description: "objects is an array of resources to include in this template. If a namespace value is hardcoded in the object, it will be removed during template instantiation, however if the namespace value is, or contains, a ${PARAMETER_REFERENCE}, the resolved value after parameter substitution will be respected and the object will be created in that namespace.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/runtime.RawExtension"), }, }, }, }, }, "parameters": { SchemaProps: spec.SchemaProps{ Description: "parameters is an optional array of Parameters used during the Template to Config transformation.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Parameter"), }, }, }, }, }, "labels": { SchemaProps: spec.SchemaProps{ Description: "labels is a optional set of labels that are applied to every object during the Template to Config transformation.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"objects"}, }, }, Dependencies: []string{ "runtime.RawExtension", "v1.ObjectMeta", "v1.Parameter"}, }, "v1.TemplateInstance": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TemplateInstance requests and records the instantiation of a Template. TemplateInstance is part of an experimental API.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "spec describes the desired state of this TemplateInstance.", Ref: spec.MustCreateRef("#/definitions/v1.TemplateInstanceSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "status describes the current state of this TemplateInstance.", Ref: spec.MustCreateRef("#/definitions/v1.TemplateInstanceStatus"), }, }, }, Required: []string{"spec", "status"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.TemplateInstanceSpec", "v1.TemplateInstanceStatus"}, }, "v1.TemplateInstanceCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TemplateInstanceCondition contains condition information for a TemplateInstance.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of the condition, currently Ready or InstantiateFailure.", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False or Unknown.", Type: []string{"string"}, Format: "", }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "LastTransitionTime is the last time a condition status transitioned from one state to another.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "Reason is a brief machine readable explanation for the condition's last transition.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "Message is a human readable description of the details of the last transition, complementing reason.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "status", "lastTransitionTime", "reason", "message"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1.TemplateInstanceList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TemplateInstanceList is a list of TemplateInstance objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "items is a list of Templateinstances", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.TemplateInstance"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.TemplateInstance"}, }, "v1.TemplateInstanceRequester": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TemplateInstanceRequester holds the identity of an agent requesting a template instantiation.", Properties: map[string]spec.Schema{ "username": { SchemaProps: spec.SchemaProps{ Description: "username is the username of the agent requesting a template instantiation.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"username"}, }, }, Dependencies: []string{}, }, "v1.TemplateInstanceSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TemplateInstanceSpec describes the desired state of a TemplateInstance.", Properties: map[string]spec.Schema{ "template": { SchemaProps: spec.SchemaProps{ Description: "template is a full copy of the template for instantiation.", Ref: spec.MustCreateRef("#/definitions/v1.Template"), }, }, "secret": { SchemaProps: spec.SchemaProps{ Description: "secret is a reference to a Secret object containing the necessary template parameters.", Ref: spec.MustCreateRef("#/definitions/v1.LocalObjectReference"), }, }, "requester": { SchemaProps: spec.SchemaProps{ Description: "requester holds the identity of the agent requesting the template instantiation.", Ref: spec.MustCreateRef("#/definitions/v1.TemplateInstanceRequester"), }, }, }, Required: []string{"template", "secret", "requester"}, }, }, Dependencies: []string{ "v1.LocalObjectReference", "v1.Template", "v1.TemplateInstanceRequester"}, }, "v1.TemplateInstanceStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TemplateInstanceStatus describes the current state of a TemplateInstance.", Properties: map[string]spec.Schema{ "conditions": { SchemaProps: spec.SchemaProps{ Description: "conditions represent the latest available observations of a TemplateInstance's current state.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.TemplateInstanceCondition"), }, }, }, }, }, }, Required: []string{"conditions"}, }, }, Dependencies: []string{ "v1.TemplateInstanceCondition"}, }, "v1.TemplateList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TemplateList is a list of Template objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of templates", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.Template"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.Template"}, }, "v1.TestType": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.TestTypeStatus"), }, }, }, }, }, Dependencies: []string{ "v1.TestTypeStatus"}, }, "v1.TestTypeList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.TestType"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.TestType"}, }, "v1.TestTypeStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "Blah": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, Required: []string{"Blah"}, }, }, Dependencies: []string{}, }, "v1.Toleration": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.", Properties: map[string]spec.Schema{ "key": { SchemaProps: spec.SchemaProps{ Description: "Required. Key is the taint key that the toleration applies to.", Type: []string{"string"}, Format: "", }, }, "operator": { SchemaProps: spec.SchemaProps{ Description: "operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.", Type: []string{"string"}, Format: "", }, }, "value": { SchemaProps: spec.SchemaProps{ Description: "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.", Type: []string{"string"}, Format: "", }, }, "effect": { SchemaProps: spec.SchemaProps{ Description: "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and PreferNoSchedule.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.User": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Upon log in, every user of the system receives a User and Identity resource. Administrators may directly manipulate the attributes of the users for their own tracking, or set groups via the API. The user name is unique and is chosen based on the value provided by the identity provider - if a user already exists with the incoming name, the user name may have a number appended to it depending on the configuration of the system.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "fullName": { SchemaProps: spec.SchemaProps{ Description: "FullName is the full name of user", Type: []string{"string"}, Format: "", }, }, "identities": { SchemaProps: spec.SchemaProps{ Description: "Identities are the identities associated with this user", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "groups": { SchemaProps: spec.SchemaProps{ Description: "Groups specifies group names this user is a member of. This field is deprecated and will be removed in a future release. Instead, create a Group object containing the name of this User.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"identities", "groups"}, }, }, Dependencies: []string{ "v1.ObjectMeta"}, }, "v1.UserIdentityMapping": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "UserIdentityMapping maps a user to an identity", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "identity": { SchemaProps: spec.SchemaProps{ Description: "Identity is a reference to an identity", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, "user": { SchemaProps: spec.SchemaProps{ Description: "User is a reference to a user", Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1.ObjectReference"}, }, "v1.UserList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "UserList is a collection of Users", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of users", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.User"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1.User"}, }, "v1.UserRestriction": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "UserRestriction matches a user either by a string match on the user name, a string match on the name of a group to which the user belongs, or a label selector applied to the user labels.", Properties: map[string]spec.Schema{ "users": { SchemaProps: spec.SchemaProps{ Description: "Users specifies a list of literal user names.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "groups": { SchemaProps: spec.SchemaProps{ Description: "Groups specifies a list of literal group names.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "labels": { SchemaProps: spec.SchemaProps{ Description: "Selectors specifies a list of label selectors over user labels.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, }, }, }, }, Required: []string{"users", "groups", "labels"}, }, }, Dependencies: []string{ "unversioned.LabelSelector"}, }, "v1.Volume": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Volume represents a named volume in a pod that may be accessed by any container in the pod.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: http://kubernetes.io/docs/user-guide/identifiers#names", Type: []string{"string"}, Format: "", }, }, "hostPath": { SchemaProps: spec.SchemaProps{ Description: "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath", Ref: spec.MustCreateRef("#/definitions/v1.HostPathVolumeSource"), }, }, "emptyDir": { SchemaProps: spec.SchemaProps{ Description: "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir", Ref: spec.MustCreateRef("#/definitions/v1.EmptyDirVolumeSource"), }, }, "gcePersistentDisk": { SchemaProps: spec.SchemaProps{ Description: "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", Ref: spec.MustCreateRef("#/definitions/v1.GCEPersistentDiskVolumeSource"), }, }, "awsElasticBlockStore": { SchemaProps: spec.SchemaProps{ Description: "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", Ref: spec.MustCreateRef("#/definitions/v1.AWSElasticBlockStoreVolumeSource"), }, }, "gitRepo": { SchemaProps: spec.SchemaProps{ Description: "GitRepo represents a git repository at a particular revision.", Ref: spec.MustCreateRef("#/definitions/v1.GitRepoVolumeSource"), }, }, "secret": { SchemaProps: spec.SchemaProps{ Description: "Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets", Ref: spec.MustCreateRef("#/definitions/v1.SecretVolumeSource"), }, }, "nfs": { SchemaProps: spec.SchemaProps{ Description: "NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs", Ref: spec.MustCreateRef("#/definitions/v1.NFSVolumeSource"), }, }, "iscsi": { SchemaProps: spec.SchemaProps{ Description: "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md", Ref: spec.MustCreateRef("#/definitions/v1.ISCSIVolumeSource"), }, }, "glusterfs": { SchemaProps: spec.SchemaProps{ Description: "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md", Ref: spec.MustCreateRef("#/definitions/v1.GlusterfsVolumeSource"), }, }, "persistentVolumeClaim": { SchemaProps: spec.SchemaProps{ Description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", Ref: spec.MustCreateRef("#/definitions/v1.PersistentVolumeClaimVolumeSource"), }, }, "rbd": { SchemaProps: spec.SchemaProps{ Description: "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md", Ref: spec.MustCreateRef("#/definitions/v1.RBDVolumeSource"), }, }, "flexVolume": { SchemaProps: spec.SchemaProps{ Description: "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", Ref: spec.MustCreateRef("#/definitions/v1.FlexVolumeSource"), }, }, "cinder": { SchemaProps: spec.SchemaProps{ Description: "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", Ref: spec.MustCreateRef("#/definitions/v1.CinderVolumeSource"), }, }, "cephfs": { SchemaProps: spec.SchemaProps{ Description: "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime", Ref: spec.MustCreateRef("#/definitions/v1.CephFSVolumeSource"), }, }, "flocker": { SchemaProps: spec.SchemaProps{ Description: "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running", Ref: spec.MustCreateRef("#/definitions/v1.FlockerVolumeSource"), }, }, "downwardAPI": { SchemaProps: spec.SchemaProps{ Description: "DownwardAPI represents downward API about the pod that should populate this volume", Ref: spec.MustCreateRef("#/definitions/v1.DownwardAPIVolumeSource"), }, }, "fc": { SchemaProps: spec.SchemaProps{ Description: "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", Ref: spec.MustCreateRef("#/definitions/v1.FCVolumeSource"), }, }, "azureFile": { SchemaProps: spec.SchemaProps{ Description: "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", Ref: spec.MustCreateRef("#/definitions/v1.AzureFileVolumeSource"), }, }, "configMap": { SchemaProps: spec.SchemaProps{ Description: "ConfigMap represents a configMap that should populate this volume", Ref: spec.MustCreateRef("#/definitions/v1.ConfigMapVolumeSource"), }, }, "vsphereVolume": { SchemaProps: spec.SchemaProps{ Description: "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", Ref: spec.MustCreateRef("#/definitions/v1.VsphereVirtualDiskVolumeSource"), }, }, "quobyte": { SchemaProps: spec.SchemaProps{ Description: "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime", Ref: spec.MustCreateRef("#/definitions/v1.QuobyteVolumeSource"), }, }, "azureDisk": { SchemaProps: spec.SchemaProps{ Description: "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", Ref: spec.MustCreateRef("#/definitions/v1.AzureDiskVolumeSource"), }, }, "photonPersistentDisk": { SchemaProps: spec.SchemaProps{ Description: "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", Ref: spec.MustCreateRef("#/definitions/v1.PhotonPersistentDiskVolumeSource"), }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Metadata represents metadata about the pod that should populate this volume Deprecated: Use downwardAPI instead.", Ref: spec.MustCreateRef("#/definitions/v1.DeprecatedDownwardAPIVolumeSource"), }, }, }, Required: []string{"name"}, }, }, Dependencies: []string{ "v1.AWSElasticBlockStoreVolumeSource", "v1.AzureDiskVolumeSource", "v1.AzureFileVolumeSource", "v1.CephFSVolumeSource", "v1.CinderVolumeSource", "v1.ConfigMapVolumeSource", "v1.DeprecatedDownwardAPIVolumeSource", "v1.DownwardAPIVolumeSource", "v1.EmptyDirVolumeSource", "v1.FCVolumeSource", "v1.FlexVolumeSource", "v1.FlockerVolumeSource", "v1.GCEPersistentDiskVolumeSource", "v1.GitRepoVolumeSource", "v1.GlusterfsVolumeSource", "v1.HostPathVolumeSource", "v1.ISCSIVolumeSource", "v1.NFSVolumeSource", "v1.PersistentVolumeClaimVolumeSource", "v1.PhotonPersistentDiskVolumeSource", "v1.QuobyteVolumeSource", "v1.RBDVolumeSource", "v1.SecretVolumeSource", "v1.VsphereVirtualDiskVolumeSource"}, }, "v1.VolumeMount": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "VolumeMount describes a mounting of a Volume within a container.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "This must match the Name of a Volume.", Type: []string{"string"}, Format: "", }, }, "readOnly": { SchemaProps: spec.SchemaProps{ Description: "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "mountPath": { SchemaProps: spec.SchemaProps{ Description: "Path within the container at which the volume should be mounted. Must not contain ':'.", Type: []string{"string"}, Format: "", }, }, "subPath": { SchemaProps: spec.SchemaProps{ Description: "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"name", "mountPath"}, }, }, Dependencies: []string{}, }, "v1.VolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents the source of a volume to mount. Only one of its members may be specified.", Properties: map[string]spec.Schema{ "hostPath": { SchemaProps: spec.SchemaProps{ Description: "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath", Ref: spec.MustCreateRef("#/definitions/v1.HostPathVolumeSource"), }, }, "emptyDir": { SchemaProps: spec.SchemaProps{ Description: "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir", Ref: spec.MustCreateRef("#/definitions/v1.EmptyDirVolumeSource"), }, }, "gcePersistentDisk": { SchemaProps: spec.SchemaProps{ Description: "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", Ref: spec.MustCreateRef("#/definitions/v1.GCEPersistentDiskVolumeSource"), }, }, "awsElasticBlockStore": { SchemaProps: spec.SchemaProps{ Description: "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", Ref: spec.MustCreateRef("#/definitions/v1.AWSElasticBlockStoreVolumeSource"), }, }, "gitRepo": { SchemaProps: spec.SchemaProps{ Description: "GitRepo represents a git repository at a particular revision.", Ref: spec.MustCreateRef("#/definitions/v1.GitRepoVolumeSource"), }, }, "secret": { SchemaProps: spec.SchemaProps{ Description: "Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets", Ref: spec.MustCreateRef("#/definitions/v1.SecretVolumeSource"), }, }, "nfs": { SchemaProps: spec.SchemaProps{ Description: "NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs", Ref: spec.MustCreateRef("#/definitions/v1.NFSVolumeSource"), }, }, "iscsi": { SchemaProps: spec.SchemaProps{ Description: "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md", Ref: spec.MustCreateRef("#/definitions/v1.ISCSIVolumeSource"), }, }, "glusterfs": { SchemaProps: spec.SchemaProps{ Description: "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md", Ref: spec.MustCreateRef("#/definitions/v1.GlusterfsVolumeSource"), }, }, "persistentVolumeClaim": { SchemaProps: spec.SchemaProps{ Description: "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", Ref: spec.MustCreateRef("#/definitions/v1.PersistentVolumeClaimVolumeSource"), }, }, "rbd": { SchemaProps: spec.SchemaProps{ Description: "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md", Ref: spec.MustCreateRef("#/definitions/v1.RBDVolumeSource"), }, }, "flexVolume": { SchemaProps: spec.SchemaProps{ Description: "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", Ref: spec.MustCreateRef("#/definitions/v1.FlexVolumeSource"), }, }, "cinder": { SchemaProps: spec.SchemaProps{ Description: "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", Ref: spec.MustCreateRef("#/definitions/v1.CinderVolumeSource"), }, }, "cephfs": { SchemaProps: spec.SchemaProps{ Description: "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime", Ref: spec.MustCreateRef("#/definitions/v1.CephFSVolumeSource"), }, }, "flocker": { SchemaProps: spec.SchemaProps{ Description: "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running", Ref: spec.MustCreateRef("#/definitions/v1.FlockerVolumeSource"), }, }, "downwardAPI": { SchemaProps: spec.SchemaProps{ Description: "DownwardAPI represents downward API about the pod that should populate this volume", Ref: spec.MustCreateRef("#/definitions/v1.DownwardAPIVolumeSource"), }, }, "fc": { SchemaProps: spec.SchemaProps{ Description: "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", Ref: spec.MustCreateRef("#/definitions/v1.FCVolumeSource"), }, }, "azureFile": { SchemaProps: spec.SchemaProps{ Description: "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", Ref: spec.MustCreateRef("#/definitions/v1.AzureFileVolumeSource"), }, }, "configMap": { SchemaProps: spec.SchemaProps{ Description: "ConfigMap represents a configMap that should populate this volume", Ref: spec.MustCreateRef("#/definitions/v1.ConfigMapVolumeSource"), }, }, "vsphereVolume": { SchemaProps: spec.SchemaProps{ Description: "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", Ref: spec.MustCreateRef("#/definitions/v1.VsphereVirtualDiskVolumeSource"), }, }, "quobyte": { SchemaProps: spec.SchemaProps{ Description: "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime", Ref: spec.MustCreateRef("#/definitions/v1.QuobyteVolumeSource"), }, }, "azureDisk": { SchemaProps: spec.SchemaProps{ Description: "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", Ref: spec.MustCreateRef("#/definitions/v1.AzureDiskVolumeSource"), }, }, "photonPersistentDisk": { SchemaProps: spec.SchemaProps{ Description: "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", Ref: spec.MustCreateRef("#/definitions/v1.PhotonPersistentDiskVolumeSource"), }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Metadata represents metadata about the pod that should populate this volume Deprecated: Use downwardAPI instead.", Ref: spec.MustCreateRef("#/definitions/v1.DeprecatedDownwardAPIVolumeSource"), }, }, }, }, }, Dependencies: []string{ "v1.AWSElasticBlockStoreVolumeSource", "v1.AzureDiskVolumeSource", "v1.AzureFileVolumeSource", "v1.CephFSVolumeSource", "v1.CinderVolumeSource", "v1.ConfigMapVolumeSource", "v1.DeprecatedDownwardAPIVolumeSource", "v1.DownwardAPIVolumeSource", "v1.EmptyDirVolumeSource", "v1.FCVolumeSource", "v1.FlexVolumeSource", "v1.FlockerVolumeSource", "v1.GCEPersistentDiskVolumeSource", "v1.GitRepoVolumeSource", "v1.GlusterfsVolumeSource", "v1.HostPathVolumeSource", "v1.ISCSIVolumeSource", "v1.NFSVolumeSource", "v1.PersistentVolumeClaimVolumeSource", "v1.PhotonPersistentDiskVolumeSource", "v1.QuobyteVolumeSource", "v1.RBDVolumeSource", "v1.SecretVolumeSource", "v1.VsphereVirtualDiskVolumeSource"}, }, "v1.VsphereVirtualDiskVolumeSource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Represents a vSphere volume resource.", Properties: map[string]spec.Schema{ "volumePath": { SchemaProps: spec.SchemaProps{ Description: "Path that identifies vSphere volume vmdk", Type: []string{"string"}, Format: "", }, }, "fsType": { SchemaProps: spec.SchemaProps{ Description: "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"volumePath"}, }, }, Dependencies: []string{}, }, "v1.WebHookTrigger": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "WebHookTrigger is a trigger that gets invoked using a webhook type of post", Properties: map[string]spec.Schema{ "secret": { SchemaProps: spec.SchemaProps{ Description: "secret used to validate requests.", Type: []string{"string"}, Format: "", }, }, "allowEnv": { SchemaProps: spec.SchemaProps{ Description: "allowEnv determines whether the webhook can set environment variables; can only be set to true for GenericWebHook.", Type: []string{"boolean"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1.WeightedPodAffinityTerm": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", Properties: map[string]spec.Schema{ "weight": { SchemaProps: spec.SchemaProps{ Description: "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", Type: []string{"integer"}, Format: "int32", }, }, "podAffinityTerm": { SchemaProps: spec.SchemaProps{ Description: "Required. A pod affinity term, associated with the corresponding weight.", Ref: spec.MustCreateRef("#/definitions/v1.PodAffinityTerm"), }, }, }, Required: []string{"weight", "podAffinityTerm"}, }, }, Dependencies: []string{ "v1.PodAffinityTerm"}, }, "v1alpha1.CertificateSigningRequest": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Describes a certificate signing request", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "The certificate request itself and any additional information.", Ref: spec.MustCreateRef("#/definitions/v1alpha1.CertificateSigningRequestSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Derived information about the request.", Ref: spec.MustCreateRef("#/definitions/v1alpha1.CertificateSigningRequestStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1alpha1.CertificateSigningRequestSpec", "v1alpha1.CertificateSigningRequestStatus"}, }, "v1alpha1.CertificateSigningRequestCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "request approval state, currently Approved or Denied.", Type: []string{"string"}, Format: "", }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "brief reason for the request state", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "human readable message with details about the request state", Type: []string{"string"}, Format: "", }, }, "lastUpdateTime": { SchemaProps: spec.SchemaProps{ Description: "timestamp for the last update to this condition", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, }, Required: []string{"type"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1alpha1.CertificateSigningRequestList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1alpha1.CertificateSigningRequest"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1alpha1.CertificateSigningRequest"}, }, "v1alpha1.CertificateSigningRequestSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "This information is immutable after the request is created. Only the Request and ExtraInfo fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users.", Properties: map[string]spec.Schema{ "request": { SchemaProps: spec.SchemaProps{ Description: "Base64-encoded PKCS#10 CSR data", Type: []string{"string"}, Format: "byte", }, }, "username": { SchemaProps: spec.SchemaProps{ Description: "Information about the requesting user (if relevant) See user.Info interface for details", Type: []string{"string"}, Format: "", }, }, "uid": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "groups": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"request"}, }, }, Dependencies: []string{}, }, "v1alpha1.CertificateSigningRequestStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "conditions": { SchemaProps: spec.SchemaProps{ Description: "Conditions applied to the request, such as approval or denial.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1alpha1.CertificateSigningRequestCondition"), }, }, }, }, }, "certificate": { SchemaProps: spec.SchemaProps{ Description: "If request was approved, the controller will place the issued certificate here.", Type: []string{"string"}, Format: "byte", }, }, }, }, }, Dependencies: []string{ "v1alpha1.CertificateSigningRequestCondition"}, }, "v1alpha1.ClusterRole": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "rules": { SchemaProps: spec.SchemaProps{ Description: "Rules holds all the PolicyRules for this ClusterRole", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1alpha1.PolicyRule"), }, }, }, }, }, }, Required: []string{"rules"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1alpha1.PolicyRule"}, }, "v1alpha1.ClusterRoleBinding": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "subjects": { SchemaProps: spec.SchemaProps{ Description: "Subjects holds references to the objects the role applies to.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1alpha1.Subject"), }, }, }, }, }, "roleRef": { SchemaProps: spec.SchemaProps{ Description: "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.", Ref: spec.MustCreateRef("#/definitions/v1alpha1.RoleRef"), }, }, }, Required: []string{"subjects", "roleRef"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1alpha1.RoleRef", "v1alpha1.Subject"}, }, "v1alpha1.ClusterRoleBindingList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterRoleBindingList is a collection of ClusterRoleBindings", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of ClusterRoleBindings", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1alpha1.ClusterRoleBinding"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1alpha1.ClusterRoleBinding"}, }, "v1alpha1.ClusterRoleList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterRoleList is a collection of ClusterRoles", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of ClusterRoles", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1alpha1.ClusterRole"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1alpha1.ClusterRole"}, }, "v1alpha1.ImageReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageReview checks if the set of images in a pod are allowed.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec holds information about the pod being evaluated", Ref: spec.MustCreateRef("#/definitions/v1alpha1.ImageReviewSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is filled in by the backend and indicates whether the pod should be allowed.", Ref: spec.MustCreateRef("#/definitions/v1alpha1.ImageReviewStatus"), }, }, }, Required: []string{"spec"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1alpha1.ImageReviewSpec", "v1alpha1.ImageReviewStatus"}, }, "v1alpha1.ImageReviewContainerSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageReviewContainerSpec is a description of a container within the pod creation request.", Properties: map[string]spec.Schema{ "image": { SchemaProps: spec.SchemaProps{ Description: "This can be in the form image:tag or image@SHA:012345679abcdef.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1alpha1.ImageReviewSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageReviewSpec is a description of the pod creation request.", Properties: map[string]spec.Schema{ "containers": { SchemaProps: spec.SchemaProps{ Description: "Containers is a list of a subset of the information in each container of the Pod being created.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1alpha1.ImageReviewContainerSpec"), }, }, }, }, }, "annotations": { SchemaProps: spec.SchemaProps{ Description: "Annotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern `*.image-policy.k8s.io/*`. It is up to each webhook backend to determine how to interpret these annotations, if at all.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace is the namespace the pod is being created in.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1alpha1.ImageReviewContainerSpec"}, }, "v1alpha1.ImageReviewStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ImageReviewStatus is the result of the token authentication request.", Properties: map[string]spec.Schema{ "allowed": { SchemaProps: spec.SchemaProps{ Description: "Allowed indicates that all images were allowed to be run.", Type: []string{"boolean"}, Format: "", }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"allowed"}, }, }, Dependencies: []string{}, }, "v1alpha1.KubeProxyConfiguration": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "bindAddress": { SchemaProps: spec.SchemaProps{ Description: "bindAddress is the IP address for the proxy server to serve on (set to 0.0.0.0 for all interfaces)", Type: []string{"string"}, Format: "", }, }, "clusterCIDR": { SchemaProps: spec.SchemaProps{ Description: "clusterCIDR is the CIDR range of the pods in the cluster. It is used to bridge traffic coming from outside of the cluster. If not provided, no off-cluster bridging will be performed.", Type: []string{"string"}, Format: "", }, }, "healthzBindAddress": { SchemaProps: spec.SchemaProps{ Description: "healthzBindAddress is the IP address for the health check server to serve on, defaulting to 127.0.0.1 (set to 0.0.0.0 for all interfaces)", Type: []string{"string"}, Format: "", }, }, "healthzPort": { SchemaProps: spec.SchemaProps{ Description: "healthzPort is the port to bind the health check server. Use 0 to disable.", Type: []string{"integer"}, Format: "int32", }, }, "hostnameOverride": { SchemaProps: spec.SchemaProps{ Description: "hostnameOverride, if non-empty, will be used as the identity instead of the actual hostname.", Type: []string{"string"}, Format: "", }, }, "iptablesMasqueradeBit": { SchemaProps: spec.SchemaProps{ Description: "iptablesMasqueradeBit is the bit of the iptables fwmark space to use for SNAT if using the pure iptables proxy mode. Values must be within the range [0, 31].", Type: []string{"integer"}, Format: "int32", }, }, "iptablesSyncPeriodSeconds": { SchemaProps: spec.SchemaProps{ Description: "iptablesSyncPeriod is the period that iptables rules are refreshed (e.g. '5s', '1m', '2h22m'). Must be greater than 0.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "iptablesMinSyncPeriodSeconds": { SchemaProps: spec.SchemaProps{ Description: "iptablesMinSyncPeriod is the minimum period that iptables rules are refreshed (e.g. '5s', '1m', '2h22m').", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "kubeconfigPath": { SchemaProps: spec.SchemaProps{ Description: "kubeconfigPath is the path to the kubeconfig file with authorization information (the master location is set by the master flag).", Type: []string{"string"}, Format: "", }, }, "masqueradeAll": { SchemaProps: spec.SchemaProps{ Description: "masqueradeAll tells kube-proxy to SNAT everything if using the pure iptables proxy mode.", Type: []string{"boolean"}, Format: "", }, }, "master": { SchemaProps: spec.SchemaProps{ Description: "master is the address of the Kubernetes API server (overrides any value in kubeconfig)", Type: []string{"string"}, Format: "", }, }, "oomScoreAdj": { SchemaProps: spec.SchemaProps{ Description: "oomScoreAdj is the oom-score-adj value for kube-proxy process. Values must be within the range [-1000, 1000]", Type: []string{"integer"}, Format: "int32", }, }, "mode": { SchemaProps: spec.SchemaProps{ Description: "mode specifies which proxy mode to use.", Type: []string{"string"}, Format: "", }, }, "portRange": { SchemaProps: spec.SchemaProps{ Description: "portRange is the range of host ports (beginPort-endPort, inclusive) that may be consumed in order to proxy service traffic. If unspecified (0-0) then ports will be randomly chosen.", Type: []string{"string"}, Format: "", }, }, "resourceContainer": { SchemaProps: spec.SchemaProps{ Description: "resourceContainer is the bsolute name of the resource-only container to create and run the Kube-proxy in (Default: /kube-proxy).", Type: []string{"string"}, Format: "", }, }, "udpTimeoutMilliseconds": { SchemaProps: spec.SchemaProps{ Description: "udpIdleTimeout is how long an idle UDP connection will be kept open (e.g. '250ms', '2s'). Must be greater than 0. Only applicable for proxyMode=userspace.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "conntrackMax": { SchemaProps: spec.SchemaProps{ Description: "conntrackMax is the maximum number of NAT connections to track (0 to leave as-is). This takes precedence over conntrackMaxPerCore and conntrackMin.", Type: []string{"integer"}, Format: "int32", }, }, "conntrackMaxPerCore": { SchemaProps: spec.SchemaProps{ Description: "conntrackMaxPerCore is the maximum number of NAT connections to track per CPU core (0 to leave the limit as-is and ignore conntrackMin).", Type: []string{"integer"}, Format: "int32", }, }, "conntrackMin": { SchemaProps: spec.SchemaProps{ Description: "conntrackMin is the minimum value of connect-tracking records to allocate, regardless of conntrackMaxPerCore (set conntrackMaxPerCore=0 to leave the limit as-is).", Type: []string{"integer"}, Format: "int32", }, }, "conntrackTCPEstablishedTimeout": { SchemaProps: spec.SchemaProps{ Description: "conntrackTCPEstablishedTimeout is how long an idle TCP connection will be kept open (e.g. '2s'). Must be greater than 0.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "conntrackTCPCloseWaitTimeout": { SchemaProps: spec.SchemaProps{ Description: "conntrackTCPCloseWaitTimeout is how long an idle conntrack entry in CLOSE_WAIT state will remain in the conntrack table. (e.g. '60s'). Must be greater than 0 to set.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, }, Required: []string{"TypeMeta", "bindAddress", "clusterCIDR", "healthzBindAddress", "healthzPort", "hostnameOverride", "iptablesMasqueradeBit", "iptablesSyncPeriodSeconds", "iptablesMinSyncPeriodSeconds", "kubeconfigPath", "masqueradeAll", "master", "oomScoreAdj", "mode", "portRange", "resourceContainer", "udpTimeoutMilliseconds", "conntrackMax", "conntrackMaxPerCore", "conntrackMin", "conntrackTCPEstablishedTimeout", "conntrackTCPCloseWaitTimeout"}, }, }, Dependencies: []string{ "unversioned.Duration", "unversioned.TypeMeta"}, }, "v1alpha1.KubeSchedulerConfiguration": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "port": { SchemaProps: spec.SchemaProps{ Description: "port is the port that the scheduler's http service runs on.", Type: []string{"integer"}, Format: "int32", }, }, "address": { SchemaProps: spec.SchemaProps{ Description: "address is the IP address to serve on.", Type: []string{"string"}, Format: "", }, }, "algorithmProvider": { SchemaProps: spec.SchemaProps{ Description: "algorithmProvider is the scheduling algorithm provider to use.", Type: []string{"string"}, Format: "", }, }, "policyConfigFile": { SchemaProps: spec.SchemaProps{ Description: "policyConfigFile is the filepath to the scheduler policy configuration.", Type: []string{"string"}, Format: "", }, }, "enableProfiling": { SchemaProps: spec.SchemaProps{ Description: "enableProfiling enables profiling via web interface.", Type: []string{"boolean"}, Format: "", }, }, "contentType": { SchemaProps: spec.SchemaProps{ Description: "contentType is contentType of requests sent to apiserver.", Type: []string{"string"}, Format: "", }, }, "kubeAPIQPS": { SchemaProps: spec.SchemaProps{ Description: "kubeAPIQPS is the QPS to use while talking with kubernetes apiserver.", Type: []string{"number"}, Format: "float", }, }, "kubeAPIBurst": { SchemaProps: spec.SchemaProps{ Description: "kubeAPIBurst is the QPS burst to use while talking with kubernetes apiserver.", Type: []string{"integer"}, Format: "int32", }, }, "schedulerName": { SchemaProps: spec.SchemaProps{ Description: "schedulerName is name of the scheduler, used to select which pods will be processed by this scheduler, based on pod's annotation with key 'scheduler.alpha.kubernetes.io/name'.", Type: []string{"string"}, Format: "", }, }, "hardPodAffinitySymmetricWeight": { SchemaProps: spec.SchemaProps{ Description: "RequiredDuringScheduling affinity is not symmetric, but there is an implicit PreferredDuringScheduling affinity rule corresponding to every RequiredDuringScheduling affinity rule. HardPodAffinitySymmetricWeight represents the weight of implicit PreferredDuringScheduling affinity rule, in the range 0-100.", Type: []string{"integer"}, Format: "int32", }, }, "failureDomains": { SchemaProps: spec.SchemaProps{ Description: "Indicate the \"all topologies\" set for empty topologyKey when it's used for PreferredDuringScheduling pod anti-affinity.", Type: []string{"string"}, Format: "", }, }, "leaderElection": { SchemaProps: spec.SchemaProps{ Description: "leaderElection defines the configuration of leader election client.", Ref: spec.MustCreateRef("#/definitions/v1alpha1.LeaderElectionConfiguration"), }, }, }, Required: []string{"TypeMeta", "port", "address", "algorithmProvider", "policyConfigFile", "enableProfiling", "contentType", "kubeAPIQPS", "kubeAPIBurst", "schedulerName", "hardPodAffinitySymmetricWeight", "failureDomains", "leaderElection"}, }, }, Dependencies: []string{ "unversioned.TypeMeta", "v1alpha1.LeaderElectionConfiguration"}, }, "v1alpha1.KubeletAnonymousAuthentication": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "enabled": { SchemaProps: spec.SchemaProps{ Description: "enabled allows anonymous requests to the kubelet server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated.", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"enabled"}, }, }, Dependencies: []string{}, }, "v1alpha1.KubeletAuthentication": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "x509": { SchemaProps: spec.SchemaProps{ Description: "x509 contains settings related to x509 client certificate authentication", Ref: spec.MustCreateRef("#/definitions/v1alpha1.KubeletX509Authentication"), }, }, "webhook": { SchemaProps: spec.SchemaProps{ Description: "webhook contains settings related to webhook bearer token authentication", Ref: spec.MustCreateRef("#/definitions/v1alpha1.KubeletWebhookAuthentication"), }, }, "anonymous": { SchemaProps: spec.SchemaProps{ Description: "anonymous contains settings related to anonymous authentication", Ref: spec.MustCreateRef("#/definitions/v1alpha1.KubeletAnonymousAuthentication"), }, }, }, Required: []string{"x509", "webhook", "anonymous"}, }, }, Dependencies: []string{ "v1alpha1.KubeletAnonymousAuthentication", "v1alpha1.KubeletWebhookAuthentication", "v1alpha1.KubeletX509Authentication"}, }, "v1alpha1.KubeletAuthorization": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "mode": { SchemaProps: spec.SchemaProps{ Description: "mode is the authorization mode to apply to requests to the kubelet server. Valid values are AlwaysAllow and Webhook. Webhook mode uses the SubjectAccessReview API to determine authorization.", Type: []string{"string"}, Format: "", }, }, "webhook": { SchemaProps: spec.SchemaProps{ Description: "webhook contains settings related to Webhook authorization.", Ref: spec.MustCreateRef("#/definitions/v1alpha1.KubeletWebhookAuthorization"), }, }, }, Required: []string{"mode", "webhook"}, }, }, Dependencies: []string{ "v1alpha1.KubeletWebhookAuthorization"}, }, "v1alpha1.KubeletConfiguration": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "TypeMeta": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.TypeMeta"), }, }, "podManifestPath": { SchemaProps: spec.SchemaProps{ Description: "podManifestPath is the path to the directory containing pod manifests to run, or the path to a single manifest file", Type: []string{"string"}, Format: "", }, }, "syncFrequency": { SchemaProps: spec.SchemaProps{ Description: "syncFrequency is the max period between synchronizing running containers and config", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "fileCheckFrequency": { SchemaProps: spec.SchemaProps{ Description: "fileCheckFrequency is the duration between checking config files for new data", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "httpCheckFrequency": { SchemaProps: spec.SchemaProps{ Description: "httpCheckFrequency is the duration between checking http for new data", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "manifestURL": { SchemaProps: spec.SchemaProps{ Description: "manifestURL is the URL for accessing the container manifest", Type: []string{"string"}, Format: "", }, }, "manifestURLHeader": { SchemaProps: spec.SchemaProps{ Description: "manifestURLHeader is the HTTP header to use when accessing the manifest URL, with the key separated from the value with a ':', as in 'key:value'", Type: []string{"string"}, Format: "", }, }, "enableServer": { SchemaProps: spec.SchemaProps{ Description: "enableServer enables the Kubelet's server", Type: []string{"boolean"}, Format: "", }, }, "address": { SchemaProps: spec.SchemaProps{ Description: "address is the IP address for the Kubelet to serve on (set to 0.0.0.0 for all interfaces)", Type: []string{"string"}, Format: "", }, }, "port": { SchemaProps: spec.SchemaProps{ Description: "port is the port for the Kubelet to serve on.", Type: []string{"integer"}, Format: "int32", }, }, "readOnlyPort": { SchemaProps: spec.SchemaProps{ Description: "readOnlyPort is the read-only port for the Kubelet to serve on with no authentication/authorization (set to 0 to disable)", Type: []string{"integer"}, Format: "int32", }, }, "tlsCertFile": { SchemaProps: spec.SchemaProps{ Description: "tlsCertFile is the file containing x509 Certificate for HTTPS. (CA cert, if any, concatenated after server cert). If tlsCertFile and tlsPrivateKeyFile are not provided, a self-signed certificate and key are generated for the public address and saved to the directory passed to certDir.", Type: []string{"string"}, Format: "", }, }, "tlsPrivateKeyFile": { SchemaProps: spec.SchemaProps{ Description: "tlsPrivateKeyFile is the ile containing x509 private key matching tlsCertFile.", Type: []string{"string"}, Format: "", }, }, "certDirectory": { SchemaProps: spec.SchemaProps{ Description: "certDirectory is the directory where the TLS certs are located (by default /var/run/kubernetes). If tlsCertFile and tlsPrivateKeyFile are provided, this flag will be ignored.", Type: []string{"string"}, Format: "", }, }, "authentication": { SchemaProps: spec.SchemaProps{ Description: "authentication specifies how requests to the Kubelet's server are authenticated", Ref: spec.MustCreateRef("#/definitions/v1alpha1.KubeletAuthentication"), }, }, "authorization": { SchemaProps: spec.SchemaProps{ Description: "authorization specifies how requests to the Kubelet's server are authorized", Ref: spec.MustCreateRef("#/definitions/v1alpha1.KubeletAuthorization"), }, }, "hostnameOverride": { SchemaProps: spec.SchemaProps{ Description: "hostnameOverride is the hostname used to identify the kubelet instead of the actual hostname.", Type: []string{"string"}, Format: "", }, }, "podInfraContainerImage": { SchemaProps: spec.SchemaProps{ Description: "podInfraContainerImage is the image whose network/ipc namespaces containers in each pod will use.", Type: []string{"string"}, Format: "", }, }, "dockerEndpoint": { SchemaProps: spec.SchemaProps{ Description: "dockerEndpoint is the path to the docker endpoint to communicate with.", Type: []string{"string"}, Format: "", }, }, "rootDirectory": { SchemaProps: spec.SchemaProps{ Description: "rootDirectory is the directory path to place kubelet files (volume mounts,etc).", Type: []string{"string"}, Format: "", }, }, "seccompProfileRoot": { SchemaProps: spec.SchemaProps{ Description: "seccompProfileRoot is the directory path for seccomp profiles.", Type: []string{"string"}, Format: "", }, }, "allowPrivileged": { SchemaProps: spec.SchemaProps{ Description: "allowPrivileged enables containers to request privileged mode. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "hostNetworkSources": { SchemaProps: spec.SchemaProps{ Description: "hostNetworkSources is a comma-separated list of sources from which the Kubelet allows pods to use of host network. Defaults to \"*\". Valid options are \"file\", \"http\", \"api\", and \"*\" (all sources).", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "hostPIDSources": { SchemaProps: spec.SchemaProps{ Description: "hostPIDSources is a comma-separated list of sources from which the Kubelet allows pods to use the host pid namespace. Defaults to \"*\".", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "hostIPCSources": { SchemaProps: spec.SchemaProps{ Description: "hostIPCSources is a comma-separated list of sources from which the Kubelet allows pods to use the host ipc namespace. Defaults to \"*\".", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "registryPullQPS": { SchemaProps: spec.SchemaProps{ Description: "registryPullQPS is the limit of registry pulls per second. If 0, unlimited. Set to 0 for no limit. Defaults to 5.0.", Type: []string{"integer"}, Format: "int32", }, }, "registryBurst": { SchemaProps: spec.SchemaProps{ Description: "registryBurst is the maximum size of a bursty pulls, temporarily allows pulls to burst to this number, while still not exceeding registryQps. Only used if registryQPS > 0.", Type: []string{"integer"}, Format: "int32", }, }, "eventRecordQPS": { SchemaProps: spec.SchemaProps{ Description: "eventRecordQPS is the maximum event creations per second. If 0, there is no limit enforced.", Type: []string{"integer"}, Format: "int32", }, }, "eventBurst": { SchemaProps: spec.SchemaProps{ Description: "eventBurst is the maximum size of a bursty event records, temporarily allows event records to burst to this number, while still not exceeding event-qps. Only used if eventQps > 0", Type: []string{"integer"}, Format: "int32", }, }, "enableDebuggingHandlers": { SchemaProps: spec.SchemaProps{ Description: "enableDebuggingHandlers enables server endpoints for log collection and local running of containers and commands", Type: []string{"boolean"}, Format: "", }, }, "minimumGCAge": { SchemaProps: spec.SchemaProps{ Description: "minimumGCAge is the minimum age for a finished container before it is garbage collected.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "maxPerPodContainerCount": { SchemaProps: spec.SchemaProps{ Description: "maxPerPodContainerCount is the maximum number of old instances to retain per container. Each container takes up some disk space.", Type: []string{"integer"}, Format: "int32", }, }, "maxContainerCount": { SchemaProps: spec.SchemaProps{ Description: "maxContainerCount is the maximum number of old instances of containers to retain globally. Each container takes up some disk space.", Type: []string{"integer"}, Format: "int32", }, }, "cAdvisorPort": { SchemaProps: spec.SchemaProps{ Description: "cAdvisorPort is the port of the localhost cAdvisor endpoint", Type: []string{"integer"}, Format: "int32", }, }, "healthzPort": { SchemaProps: spec.SchemaProps{ Description: "healthzPort is the port of the localhost healthz endpoint", Type: []string{"integer"}, Format: "int32", }, }, "healthzBindAddress": { SchemaProps: spec.SchemaProps{ Description: "healthzBindAddress is the IP address for the healthz server to serve on.", Type: []string{"string"}, Format: "", }, }, "oomScoreAdj": { SchemaProps: spec.SchemaProps{ Description: "oomScoreAdj is The oom-score-adj value for kubelet process. Values must be within the range [-1000, 1000].", Type: []string{"integer"}, Format: "int32", }, }, "registerNode": { SchemaProps: spec.SchemaProps{ Description: "registerNode enables automatic registration with the apiserver.", Type: []string{"boolean"}, Format: "", }, }, "clusterDomain": { SchemaProps: spec.SchemaProps{ Description: "clusterDomain is the DNS domain for this cluster. If set, kubelet will configure all containers to search this domain in addition to the host's search domains.", Type: []string{"string"}, Format: "", }, }, "masterServiceNamespace": { SchemaProps: spec.SchemaProps{ Description: "masterServiceNamespace is The namespace from which the kubernetes master services should be injected into pods.", Type: []string{"string"}, Format: "", }, }, "clusterDNS": { SchemaProps: spec.SchemaProps{ Description: "clusterDNS is the IP address for a cluster DNS server. If set, kubelet will configure all containers to use this for DNS resolution in addition to the host's DNS servers", Type: []string{"string"}, Format: "", }, }, "streamingConnectionIdleTimeout": { SchemaProps: spec.SchemaProps{ Description: "streamingConnectionIdleTimeout is the maximum time a streaming connection can be idle before the connection is automatically closed.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "nodeStatusUpdateFrequency": { SchemaProps: spec.SchemaProps{ Description: "nodeStatusUpdateFrequency is the frequency that kubelet posts node status to master. Note: be cautious when changing the constant, it must work with nodeMonitorGracePeriod in nodecontroller.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "imageMinimumGCAge": { SchemaProps: spec.SchemaProps{ Description: "imageMinimumGCAge is the minimum age for an unused image before it is garbage collected.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "imageGCHighThresholdPercent": { SchemaProps: spec.SchemaProps{ Description: "imageGCHighThresholdPercent is the percent of disk usage after which image garbage collection is always run. The percent is calculated as this field value out of 100.", Type: []string{"integer"}, Format: "int32", }, }, "imageGCLowThresholdPercent": { SchemaProps: spec.SchemaProps{ Description: "imageGCLowThresholdPercent is the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. The percent is calculated as this field value out of 100.", Type: []string{"integer"}, Format: "int32", }, }, "lowDiskSpaceThresholdMB": { SchemaProps: spec.SchemaProps{ Description: "lowDiskSpaceThresholdMB is the absolute free disk space, in MB, to maintain. When disk space falls below this threshold, new pods would be rejected.", Type: []string{"integer"}, Format: "int32", }, }, "volumeStatsAggPeriod": { SchemaProps: spec.SchemaProps{ Description: "How frequently to calculate and cache volume disk usage for all pods", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "networkPluginName": { SchemaProps: spec.SchemaProps{ Description: "networkPluginName is the name of the network plugin to be invoked for various events in kubelet/pod lifecycle", Type: []string{"string"}, Format: "", }, }, "networkPluginDir": { SchemaProps: spec.SchemaProps{ Description: "networkPluginDir is the full path of the directory in which to search for network plugins (and, for backwards-compat, CNI config files)", Type: []string{"string"}, Format: "", }, }, "cniConfDir": { SchemaProps: spec.SchemaProps{ Description: "CNIConfDir is the full path of the directory in which to search for CNI config files", Type: []string{"string"}, Format: "", }, }, "cniBinDir": { SchemaProps: spec.SchemaProps{ Description: "CNIBinDir is the full path of the directory in which to search for CNI plugin binaries", Type: []string{"string"}, Format: "", }, }, "networkPluginMTU": { SchemaProps: spec.SchemaProps{ Description: "networkPluginMTU is the MTU to be passed to the network plugin, and overrides the default MTU for cases where it cannot be automatically computed (such as IPSEC).", Type: []string{"integer"}, Format: "int32", }, }, "volumePluginDir": { SchemaProps: spec.SchemaProps{ Description: "volumePluginDir is the full path of the directory in which to search for additional third party volume plugins", Type: []string{"string"}, Format: "", }, }, "cloudProvider": { SchemaProps: spec.SchemaProps{ Description: "cloudProvider is the provider for cloud services.", Type: []string{"string"}, Format: "", }, }, "cloudConfigFile": { SchemaProps: spec.SchemaProps{ Description: "cloudConfigFile is the path to the cloud provider configuration file.", Type: []string{"string"}, Format: "", }, }, "kubeletCgroups": { SchemaProps: spec.SchemaProps{ Description: "kubeletCgroups is the absolute name of cgroups to isolate the kubelet in.", Type: []string{"string"}, Format: "", }, }, "runtimeCgroups": { SchemaProps: spec.SchemaProps{ Description: "runtimeCgroups are cgroups that container runtime is expected to be isolated in.", Type: []string{"string"}, Format: "", }, }, "systemCgroups": { SchemaProps: spec.SchemaProps{ Description: "systemCgroups is absolute name of cgroups in which to place all non-kernel processes that are not already in a container. Empty for no container. Rolling back the flag requires a reboot.", Type: []string{"string"}, Format: "", }, }, "cgroupRoot": { SchemaProps: spec.SchemaProps{ Description: "cgroupRoot is the root cgroup to use for pods. This is handled by the container runtime on a best effort basis.", Type: []string{"string"}, Format: "", }, }, "experimentalCgroupsPerQOS": { SchemaProps: spec.SchemaProps{ Description: "Enable QoS based Cgroup hierarchy: top level cgroups for QoS Classes And all Burstable and BestEffort pods are brought up under their specific top level QoS cgroup.", Type: []string{"boolean"}, Format: "", }, }, "cgroupDriver": { SchemaProps: spec.SchemaProps{ Description: "driver that the kubelet uses to manipulate cgroups on the host (cgroupfs or systemd)", Type: []string{"string"}, Format: "", }, }, "containerRuntime": { SchemaProps: spec.SchemaProps{ Description: "containerRuntime is the container runtime to use.", Type: []string{"string"}, Format: "", }, }, "remoteRuntimeEndpoint": { SchemaProps: spec.SchemaProps{ Description: "remoteRuntimeEndpoint is the endpoint of remote runtime service", Type: []string{"string"}, Format: "", }, }, "remoteImageEndpoint": { SchemaProps: spec.SchemaProps{ Description: "remoteImageEndpoint is the endpoint of remote image service", Type: []string{"string"}, Format: "", }, }, "runtimeRequestTimeout": { SchemaProps: spec.SchemaProps{ Description: "runtimeRequestTimeout is the timeout for all runtime requests except long running requests - pull, logs, exec and attach.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "rktPath": { SchemaProps: spec.SchemaProps{ Description: "rktPath is the path of rkt binary. Leave empty to use the first rkt in $PATH.", Type: []string{"string"}, Format: "", }, }, "experimentalMounterPath": { SchemaProps: spec.SchemaProps{ Description: "experimentalMounterPath is the path to mounter binary. If not set, kubelet will attempt to use mount binary that is available via $PATH,", Type: []string{"string"}, Format: "", }, }, "rktAPIEndpoint": { SchemaProps: spec.SchemaProps{ Description: "rktApiEndpoint is the endpoint of the rkt API service to communicate with.", Type: []string{"string"}, Format: "", }, }, "rktStage1Image": { SchemaProps: spec.SchemaProps{ Description: "rktStage1Image is the image to use as stage1. Local paths and http/https URLs are supported.", Type: []string{"string"}, Format: "", }, }, "lockFilePath": { SchemaProps: spec.SchemaProps{ Description: "lockFilePath is the path that kubelet will use to as a lock file. It uses this file as a lock to synchronize with other kubelet processes that may be running.", Type: []string{"string"}, Format: "", }, }, "exitOnLockContention": { SchemaProps: spec.SchemaProps{ Description: "ExitOnLockContention is a flag that signifies to the kubelet that it is running in \"bootstrap\" mode. This requires that 'LockFilePath' has been set. This will cause the kubelet to listen to inotify events on the lock file, releasing it and exiting when another process tries to open that file.", Type: []string{"boolean"}, Format: "", }, }, "hairpinMode": { SchemaProps: spec.SchemaProps{ Description: "How should the kubelet configure the container bridge for hairpin packets. Setting this flag allows endpoints in a Service to loadbalance back to themselves if they should try to access their own Service. Values:\n \"promiscuous-bridge\": make the container bridge promiscuous.\n \"hairpin-veth\": set the hairpin flag on container veth interfaces.\n \"none\": do nothing.\nGenerally, one must set --hairpin-mode=veth-flag to achieve hairpin NAT, because promiscous-bridge assumes the existence of a container bridge named cbr0.", Type: []string{"string"}, Format: "", }, }, "babysitDaemons": { SchemaProps: spec.SchemaProps{ Description: "The node has babysitter process monitoring docker and kubelet.", Type: []string{"boolean"}, Format: "", }, }, "maxPods": { SchemaProps: spec.SchemaProps{ Description: "maxPods is the number of pods that can run on this Kubelet.", Type: []string{"integer"}, Format: "int32", }, }, "nvidiaGPUs": { SchemaProps: spec.SchemaProps{ Description: "nvidiaGPUs is the number of NVIDIA GPU devices on this node.", Type: []string{"integer"}, Format: "int32", }, }, "dockerExecHandlerName": { SchemaProps: spec.SchemaProps{ Description: "dockerExecHandlerName is the handler to use when executing a command in a container. Valid values are 'native' and 'nsenter'. Defaults to 'native'.", Type: []string{"string"}, Format: "", }, }, "podCIDR": { SchemaProps: spec.SchemaProps{ Description: "The CIDR to use for pod IP addresses, only used in standalone mode. In cluster mode, this is obtained from the master.", Type: []string{"string"}, Format: "", }, }, "resolvConf": { SchemaProps: spec.SchemaProps{ Description: "ResolverConfig is the resolver configuration file used as the basis for the container DNS resolution configuration.\"), []", Type: []string{"string"}, Format: "", }, }, "cpuCFSQuota": { SchemaProps: spec.SchemaProps{ Description: "cpuCFSQuota is Enable CPU CFS quota enforcement for containers that specify CPU limits", Type: []string{"boolean"}, Format: "", }, }, "containerized": { SchemaProps: spec.SchemaProps{ Description: "containerized should be set to true if kubelet is running in a container.", Type: []string{"boolean"}, Format: "", }, }, "maxOpenFiles": { SchemaProps: spec.SchemaProps{ Description: "maxOpenFiles is Number of files that can be opened by Kubelet process.", Type: []string{"integer"}, Format: "int64", }, }, "reconcileCIDR": { SchemaProps: spec.SchemaProps{ Description: "reconcileCIDR is Reconcile node CIDR with the CIDR specified by the API server. Won't have any effect if register-node is false.", Type: []string{"boolean"}, Format: "", }, }, "registerSchedulable": { SchemaProps: spec.SchemaProps{ Description: "registerSchedulable tells the kubelet to register the node as schedulable. Won't have any effect if register-node is false.", Type: []string{"boolean"}, Format: "", }, }, "contentType": { SchemaProps: spec.SchemaProps{ Description: "contentType is contentType of requests sent to apiserver.", Type: []string{"string"}, Format: "", }, }, "kubeAPIQPS": { SchemaProps: spec.SchemaProps{ Description: "kubeAPIQPS is the QPS to use while talking with kubernetes apiserver", Type: []string{"integer"}, Format: "int32", }, }, "kubeAPIBurst": { SchemaProps: spec.SchemaProps{ Description: "kubeAPIBurst is the burst to allow while talking with kubernetes apiserver", Type: []string{"integer"}, Format: "int32", }, }, "serializeImagePulls": { SchemaProps: spec.SchemaProps{ Description: "serializeImagePulls when enabled, tells the Kubelet to pull images one at a time. We recommend *not* changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Issue #10959 has more details.", Type: []string{"boolean"}, Format: "", }, }, "outOfDiskTransitionFrequency": { SchemaProps: spec.SchemaProps{ Description: "outOfDiskTransitionFrequency is duration for which the kubelet has to wait before transitioning out of out-of-disk node condition status.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "nodeIP": { SchemaProps: spec.SchemaProps{ Description: "nodeIP is IP address of the node. If set, kubelet will use this IP address for the node.", Type: []string{"string"}, Format: "", }, }, "nodeLabels": { SchemaProps: spec.SchemaProps{ Description: "nodeLabels to add when registering the node in the cluster.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "nonMasqueradeCIDR": { SchemaProps: spec.SchemaProps{ Description: "nonMasqueradeCIDR configures masquerading: traffic to IPs outside this range will use IP masquerade.", Type: []string{"string"}, Format: "", }, }, "enableCustomMetrics": { SchemaProps: spec.SchemaProps{ Description: "enable gathering custom metrics.", Type: []string{"boolean"}, Format: "", }, }, "evictionHard": { SchemaProps: spec.SchemaProps{ Description: "Comma-delimited list of hard eviction expressions. For example, 'memory.available<300Mi'.", Type: []string{"string"}, Format: "", }, }, "evictionSoft": { SchemaProps: spec.SchemaProps{ Description: "Comma-delimited list of soft eviction expressions. For example, 'memory.available<300Mi'.", Type: []string{"string"}, Format: "", }, }, "evictionSoftGracePeriod": { SchemaProps: spec.SchemaProps{ Description: "Comma-delimeted list of grace periods for each soft eviction signal. For example, 'memory.available=30s'.", Type: []string{"string"}, Format: "", }, }, "evictionPressureTransitionPeriod": { SchemaProps: spec.SchemaProps{ Description: "Duration for which the kubelet has to wait before transitioning out of an eviction pressure condition.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "evictionMaxPodGracePeriod": { SchemaProps: spec.SchemaProps{ Description: "Maximum allowed grace period (in seconds) to use when terminating pods in response to a soft eviction threshold being met.", Type: []string{"integer"}, Format: "int32", }, }, "evictionMinimumReclaim": { SchemaProps: spec.SchemaProps{ Description: "Comma-delimited list of minimum reclaims (e.g. imagefs.available=2Gi) that describes the minimum amount of resource the kubelet will reclaim when performing a pod eviction if that resource is under pressure.", Type: []string{"string"}, Format: "", }, }, "experimentalKernelMemcgNotification": { SchemaProps: spec.SchemaProps{ Description: "If enabled, the kubelet will integrate with the kernel memcg notification to determine if memory eviction thresholds are crossed rather than polling.", Type: []string{"boolean"}, Format: "", }, }, "podsPerCore": { SchemaProps: spec.SchemaProps{ Description: "Maximum number of pods per core. Cannot exceed MaxPods", Type: []string{"integer"}, Format: "int32", }, }, "enableControllerAttachDetach": { SchemaProps: spec.SchemaProps{ Description: "enableControllerAttachDetach enables the Attach/Detach controller to manage attachment/detachment of volumes scheduled to this node, and disables kubelet from executing any attach/detach operations", Type: []string{"boolean"}, Format: "", }, }, "systemReserved": { SchemaProps: spec.SchemaProps{ Description: "A set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for non-kubernetes components. Currently only cpu and memory are supported. [default=none] See http://kubernetes.io/docs/user-guide/compute-resources for more detail.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "kubeReserved": { SchemaProps: spec.SchemaProps{ Description: "A set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently only cpu and memory are supported. [default=none] See http://kubernetes.io/docs/user-guide/compute-resources for more detail.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "protectKernelDefaults": { SchemaProps: spec.SchemaProps{ Description: "Default behaviour for kernel tuning", Type: []string{"boolean"}, Format: "", }, }, "makeIPTablesUtilChains": { SchemaProps: spec.SchemaProps{ Description: "If true, Kubelet ensures a set of iptables rules are present on host. These rules will serve as utility rules for various components, e.g. KubeProxy. The rules will be created based on IPTablesMasqueradeBit and IPTablesDropBit.", Type: []string{"boolean"}, Format: "", }, }, "iptablesMasqueradeBit": { SchemaProps: spec.SchemaProps{ Description: "iptablesMasqueradeBit is the bit of the iptables fwmark space to mark for SNAT Values must be within the range [0, 31]. Must be different from other mark bits. Warning: Please match the value of corresponding parameter in kube-proxy", Type: []string{"integer"}, Format: "int32", }, }, "iptablesDropBit": { SchemaProps: spec.SchemaProps{ Description: "iptablesDropBit is the bit of the iptables fwmark space to mark for dropping packets. Values must be within the range [0, 31]. Must be different from other mark bits.", Type: []string{"integer"}, Format: "int32", }, }, "allowedUnsafeSysctls": { SchemaProps: spec.SchemaProps{ Description: "Whitelist of unsafe sysctls or sysctl patterns (ending in *). Use these at your own risk. Resource isolation might be lacking and pod might influence each other on the same node.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "featureGates": { SchemaProps: spec.SchemaProps{ Description: "featureGates is a string of comma-separated key=value pairs that describe feature gates for alpha/experimental features.", Type: []string{"string"}, Format: "", }, }, "enableCRI": { SchemaProps: spec.SchemaProps{ Description: "Enable Container Runtime Interface (CRI) integration.", Type: []string{"boolean"}, Format: "", }, }, "experimentalFailSwapOn": { SchemaProps: spec.SchemaProps{ Description: "Tells the Kubelet to fail to start if swap is enabled on the node.", Type: []string{"boolean"}, Format: "", }, }, "ExperimentalCheckNodeCapabilitiesBeforeMount": { SchemaProps: spec.SchemaProps{ Description: "This flag, if set, enables a check prior to mount operations to verify that the required components (binaries, etc.) to mount the volume are available on the underlying node. If the check is enabled and fails the mount operation fails.", Type: []string{"boolean"}, Format: "", }, }, "keepTerminatedPodVolumes": { SchemaProps: spec.SchemaProps{ Description: "This flag, if set, instructs the kubelet to keep volumes from terminated pods mounted to the node. This can be useful for debugging volume related issues.", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"TypeMeta", "podManifestPath", "syncFrequency", "fileCheckFrequency", "httpCheckFrequency", "manifestURL", "manifestURLHeader", "enableServer", "address", "port", "readOnlyPort", "tlsCertFile", "tlsPrivateKeyFile", "certDirectory", "authentication", "authorization", "hostnameOverride", "podInfraContainerImage", "dockerEndpoint", "rootDirectory", "seccompProfileRoot", "allowPrivileged", "hostNetworkSources", "hostPIDSources", "hostIPCSources", "registryPullQPS", "registryBurst", "eventRecordQPS", "eventBurst", "enableDebuggingHandlers", "minimumGCAge", "maxPerPodContainerCount", "maxContainerCount", "cAdvisorPort", "healthzPort", "healthzBindAddress", "oomScoreAdj", "registerNode", "clusterDomain", "masterServiceNamespace", "clusterDNS", "streamingConnectionIdleTimeout", "nodeStatusUpdateFrequency", "imageMinimumGCAge", "imageGCHighThresholdPercent", "imageGCLowThresholdPercent", "lowDiskSpaceThresholdMB", "volumeStatsAggPeriod", "networkPluginName", "networkPluginDir", "cniConfDir", "cniBinDir", "networkPluginMTU", "volumePluginDir", "cloudProvider", "cloudConfigFile", "kubeletCgroups", "runtimeCgroups", "systemCgroups", "cgroupRoot", "containerRuntime", "remoteRuntimeEndpoint", "remoteImageEndpoint", "runtimeRequestTimeout", "rktPath", "rktAPIEndpoint", "rktStage1Image", "lockFilePath", "exitOnLockContention", "hairpinMode", "babysitDaemons", "maxPods", "nvidiaGPUs", "dockerExecHandlerName", "podCIDR", "resolvConf", "cpuCFSQuota", "containerized", "maxOpenFiles", "reconcileCIDR", "registerSchedulable", "contentType", "kubeAPIQPS", "kubeAPIBurst", "serializeImagePulls", "outOfDiskTransitionFrequency", "nodeIP", "nodeLabels", "nonMasqueradeCIDR", "enableCustomMetrics", "evictionHard", "evictionSoft", "evictionSoftGracePeriod", "evictionPressureTransitionPeriod", "evictionMaxPodGracePeriod", "evictionMinimumReclaim", "experimentalKernelMemcgNotification", "podsPerCore", "enableControllerAttachDetach", "systemReserved", "kubeReserved", "protectKernelDefaults", "makeIPTablesUtilChains", "iptablesMasqueradeBit", "iptablesDropBit"}, }, }, Dependencies: []string{ "unversioned.Duration", "unversioned.TypeMeta", "v1alpha1.KubeletAuthentication", "v1alpha1.KubeletAuthorization"}, }, "v1alpha1.KubeletWebhookAuthentication": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "enabled": { SchemaProps: spec.SchemaProps{ Description: "enabled allows bearer token authentication backed by the tokenreviews.authentication.k8s.io API", Type: []string{"boolean"}, Format: "", }, }, "cacheTTL": { SchemaProps: spec.SchemaProps{ Description: "cacheTTL enables caching of authentication results", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, }, Required: []string{"enabled", "cacheTTL"}, }, }, Dependencies: []string{ "unversioned.Duration"}, }, "v1alpha1.KubeletWebhookAuthorization": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "cacheAuthorizedTTL": { SchemaProps: spec.SchemaProps{ Description: "cacheAuthorizedTTL is the duration to cache 'authorized' responses from the webhook authorizer.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "cacheUnauthorizedTTL": { SchemaProps: spec.SchemaProps{ Description: "cacheUnauthorizedTTL is the duration to cache 'unauthorized' responses from the webhook authorizer.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, }, Required: []string{"cacheAuthorizedTTL", "cacheUnauthorizedTTL"}, }, }, Dependencies: []string{ "unversioned.Duration"}, }, "v1alpha1.KubeletX509Authentication": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "clientCAFile": { SchemaProps: spec.SchemaProps{ Description: "clientCAFile is the path to a PEM-encoded certificate bundle. If set, any request presenting a client certificate signed by one of the authorities in the bundle is authenticated with a username corresponding to the CommonName, and groups corresponding to the Organization in the client certificate.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"clientCAFile"}, }, }, Dependencies: []string{}, }, "v1alpha1.LeaderElectionConfiguration": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "LeaderElectionConfiguration defines the configuration of leader election clients for components that can run with leader election enabled.", Properties: map[string]spec.Schema{ "leaderElect": { SchemaProps: spec.SchemaProps{ Description: "leaderElect enables a leader election client to gain leadership before executing the main loop. Enable this when running replicated components for high availability.", Type: []string{"boolean"}, Format: "", }, }, "leaseDuration": { SchemaProps: spec.SchemaProps{ Description: "leaseDuration is the duration that non-leader candidates will wait after observing a leadership renewal until attempting to acquire leadership of a led but unrenewed leader slot. This is effectively the maximum duration that a leader can be stopped before it is replaced by another candidate. This is only applicable if leader election is enabled.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "renewDeadline": { SchemaProps: spec.SchemaProps{ Description: "renewDeadline is the interval between attempts by the acting master to renew a leadership slot before it stops leading. This must be less than or equal to the lease duration. This is only applicable if leader election is enabled.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, "retryPeriod": { SchemaProps: spec.SchemaProps{ Description: "retryPeriod is the duration the clients should wait between attempting acquisition and renewal of a leadership. This is only applicable if leader election is enabled.", Ref: spec.MustCreateRef("#/definitions/unversioned.Duration"), }, }, }, Required: []string{"leaderElect", "leaseDuration", "renewDeadline", "retryPeriod"}, }, }, Dependencies: []string{ "unversioned.Duration"}, }, "v1alpha1.PolicyRule": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", Properties: map[string]spec.Schema{ "verbs": { SchemaProps: spec.SchemaProps{ Description: "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "attributeRestrictions": { SchemaProps: spec.SchemaProps{ Description: "AttributeRestrictions will vary depending on what the Authorizer/AuthorizationAttributeBuilder pair supports. If the Authorizer does not recognize how to handle the AttributeRestrictions, the Authorizer should report an error.", Ref: spec.MustCreateRef("#/definitions/runtime.RawExtension"), }, }, "apiGroups": { SchemaProps: spec.SchemaProps{ Description: "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "resources": { SchemaProps: spec.SchemaProps{ Description: "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "resourceNames": { SchemaProps: spec.SchemaProps{ Description: "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "nonResourceURLs": { SchemaProps: spec.SchemaProps{ Description: "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"verbs"}, }, }, Dependencies: []string{ "runtime.RawExtension"}, }, "v1alpha1.Role": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "rules": { SchemaProps: spec.SchemaProps{ Description: "Rules holds all the PolicyRules for this Role", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1alpha1.PolicyRule"), }, }, }, }, }, }, Required: []string{"rules"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1alpha1.PolicyRule"}, }, "v1alpha1.RoleBinding": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "subjects": { SchemaProps: spec.SchemaProps{ Description: "Subjects holds references to the objects the role applies to.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1alpha1.Subject"), }, }, }, }, }, "roleRef": { SchemaProps: spec.SchemaProps{ Description: "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.", Ref: spec.MustCreateRef("#/definitions/v1alpha1.RoleRef"), }, }, }, Required: []string{"subjects", "roleRef"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1alpha1.RoleRef", "v1alpha1.Subject"}, }, "v1alpha1.RoleBindingList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RoleBindingList is a collection of RoleBindings", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of RoleBindings", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1alpha1.RoleBinding"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1alpha1.RoleBinding"}, }, "v1alpha1.RoleList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RoleList is a collection of Roles", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of Roles", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1alpha1.Role"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1alpha1.Role"}, }, "v1alpha1.RoleRef": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "RoleRef contains information that points to the role being used", Properties: map[string]spec.Schema{ "apiGroup": { SchemaProps: spec.SchemaProps{ Description: "APIGroup is the group for the resource being referenced", Type: []string{"string"}, Format: "", }, }, "kind": { SchemaProps: spec.SchemaProps{ Description: "Kind is the type of resource being referenced", Type: []string{"string"}, Format: "", }, }, "name": { SchemaProps: spec.SchemaProps{ Description: "Name is the name of resource being referenced", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"apiGroup", "kind", "name"}, }, }, Dependencies: []string{}, }, "v1alpha1.Subject": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "APIVersion holds the API group and version of the referenced object.", Type: []string{"string"}, Format: "", }, }, "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the object being referenced.", Type: []string{"string"}, Format: "", }, }, "namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"kind", "name"}, }, }, Dependencies: []string{}, }, "v1beta1.APIVersion": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "An APIVersion represents a single concrete version of an object model.", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Name of this version (e.g. 'v1').", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1beta1.CPUTargetUtilization": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "targetPercentage": { SchemaProps: spec.SchemaProps{ Description: "fraction of the requested CPU that should be utilized/used, e.g. 70 means that 70% of the requested CPU should be in use.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"targetPercentage"}, }, }, Dependencies: []string{}, }, "v1beta1.Cluster": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Information about a registered cluster in a federated kubernetes setup. Clusters are not namespaced and have unique names in the federation.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the behavior of the Cluster.", Ref: spec.MustCreateRef("#/definitions/v1beta1.ClusterSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status describes the current status of a Cluster", Ref: spec.MustCreateRef("#/definitions/v1beta1.ClusterStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.ClusterSpec", "v1beta1.ClusterStatus"}, }, "v1beta1.ClusterCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterCondition describes current state of a cluster.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of cluster condition, Complete or Failed.", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False, Unknown.", Type: []string{"string"}, Format: "", }, }, "lastProbeTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition was checked.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition transit from one status to another.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "(brief) reason for the condition's last transition.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "Human readable message indicating details about last transition.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "status"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1beta1.ClusterList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "A list of all the kubernetes clusters registered to the federation", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "List of Cluster objects.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.Cluster"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1beta1.Cluster"}, }, "v1beta1.ClusterSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterSpec describes the attributes of a kubernetes cluster.", Properties: map[string]spec.Schema{ "serverAddressByClientCIDRs": { SchemaProps: spec.SchemaProps{ Description: "A map of client CIDR to server address. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.ServerAddressByClientCIDR"), }, }, }, }, }, "secretRef": { SchemaProps: spec.SchemaProps{ Description: "Name of the secret containing kubeconfig to access this cluster. The secret is read from the kubernetes cluster that is hosting federation control plane. Admin needs to ensure that the required secret exists. Secret should be in the same namespace where federation control plane is hosted and it should have kubeconfig in its data with key \"kubeconfig\". This will later be changed to a reference to secret in federation control plane when the federation control plane supports secrets. This can be left empty if the cluster allows insecure access.", Ref: spec.MustCreateRef("#/definitions/v1.LocalObjectReference"), }, }, }, Required: []string{"serverAddressByClientCIDRs"}, }, }, Dependencies: []string{ "v1.LocalObjectReference", "v1beta1.ServerAddressByClientCIDR"}, }, "v1beta1.ClusterStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally.", Properties: map[string]spec.Schema{ "conditions": { SchemaProps: spec.SchemaProps{ Description: "Conditions is an array of current cluster conditions.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.ClusterCondition"), }, }, }, }, }, "zones": { SchemaProps: spec.SchemaProps{ Description: "Zones is the list of availability zones in which the nodes of the cluster exist, e.g. 'us-east1-a'. These will always be in the same region.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "region": { SchemaProps: spec.SchemaProps{ Description: "Region is the name of the region in which all of the nodes in the cluster exist. e.g. 'us-east1'.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1beta1.ClusterCondition"}, }, "v1beta1.CustomMetricCurrentStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Custom Metric name.", Type: []string{"string"}, Format: "", }, }, "value": { SchemaProps: spec.SchemaProps{ Description: "Custom Metric value (average).", Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, Required: []string{"name", "value"}, }, }, Dependencies: []string{ "resource.Quantity"}, }, "v1beta1.CustomMetricCurrentStatusList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "items": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.CustomMetricCurrentStatus"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "v1beta1.CustomMetricCurrentStatus"}, }, "v1beta1.CustomMetricTarget": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Alpha-level support for Custom Metrics in HPA (as annotations).", Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ Description: "Custom Metric name.", Type: []string{"string"}, Format: "", }, }, "value": { SchemaProps: spec.SchemaProps{ Description: "Custom Metric value (average).", Ref: spec.MustCreateRef("#/definitions/resource.Quantity"), }, }, }, Required: []string{"name", "value"}, }, }, Dependencies: []string{ "resource.Quantity"}, }, "v1beta1.CustomMetricTargetList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "items": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.CustomMetricTarget"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "v1beta1.CustomMetricTarget"}, }, "v1beta1.DaemonSet": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DaemonSet represents the configuration of a daemon set.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the desired behavior of this daemon set. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1beta1.DaemonSetSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is the current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1beta1.DaemonSetStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.DaemonSetSpec", "v1beta1.DaemonSetStatus"}, }, "v1beta1.DaemonSetList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DaemonSetList is a collection of daemon sets.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of daemon sets.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.DaemonSet"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1beta1.DaemonSet"}, }, "v1beta1.DaemonSetSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DaemonSetSpec is the specification of a daemon set.", Properties: map[string]spec.Schema{ "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template is the object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template", Ref: spec.MustCreateRef("#/definitions/v1.PodTemplateSpec"), }, }, }, Required: []string{"template"}, }, }, Dependencies: []string{ "unversioned.LabelSelector", "v1.PodTemplateSpec"}, }, "v1beta1.DaemonSetStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DaemonSetStatus represents the current status of a daemon set.", Properties: map[string]spec.Schema{ "currentNumberScheduled": { SchemaProps: spec.SchemaProps{ Description: "CurrentNumberScheduled is the number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md", Type: []string{"integer"}, Format: "int32", }, }, "numberMisscheduled": { SchemaProps: spec.SchemaProps{ Description: "NumberMisscheduled is the number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md", Type: []string{"integer"}, Format: "int32", }, }, "desiredNumberScheduled": { SchemaProps: spec.SchemaProps{ Description: "DesiredNumberScheduled is the total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md", Type: []string{"integer"}, Format: "int32", }, }, "numberReady": { SchemaProps: spec.SchemaProps{ Description: "NumberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"currentNumberScheduled", "numberMisscheduled", "desiredNumberScheduled", "numberReady"}, }, }, Dependencies: []string{}, }, "v1beta1.Deployment": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Deployment enables declarative updates for Pods and ReplicaSets.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Specification of the desired behavior of the Deployment.", Ref: spec.MustCreateRef("#/definitions/v1beta1.DeploymentSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Most recently observed status of the Deployment.", Ref: spec.MustCreateRef("#/definitions/v1beta1.DeploymentStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.DeploymentSpec", "v1beta1.DeploymentStatus"}, }, "v1beta1.DeploymentCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentCondition describes the state of a deployment at a certain point.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of deployment condition.", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False, Unknown.", Type: []string{"string"}, Format: "", }, }, "lastUpdateTime": { SchemaProps: spec.SchemaProps{ Description: "The last time this condition was updated.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition transitioned from one status to another.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "The reason for the condition's last transition.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "A human readable message indicating details about the transition.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "status"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1beta1.DeploymentList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentList is a list of Deployments.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of Deployments.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.Deployment"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1beta1.Deployment"}, }, "v1beta1.DeploymentRollback": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentRollback stores the information required to rollback a deployment.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "name": { SchemaProps: spec.SchemaProps{ Description: "Required: This must match the Name of a deployment.", Type: []string{"string"}, Format: "", }, }, "updatedAnnotations": { SchemaProps: spec.SchemaProps{ Description: "The annotations to be updated to a deployment", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "rollbackTo": { SchemaProps: spec.SchemaProps{ Description: "The config of this deployment rollback.", Ref: spec.MustCreateRef("#/definitions/v1beta1.RollbackConfig"), }, }, }, Required: []string{"name", "rollbackTo"}, }, }, Dependencies: []string{ "v1beta1.RollbackConfig"}, }, "v1beta1.DeploymentSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentSpec is the specification of the desired behavior of the Deployment.", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", Type: []string{"integer"}, Format: "int32", }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template describes the pods that will be created.", Ref: spec.MustCreateRef("#/definitions/v1.PodTemplateSpec"), }, }, "strategy": { SchemaProps: spec.SchemaProps{ Description: "The deployment strategy to use to replace existing pods with new ones.", Ref: spec.MustCreateRef("#/definitions/v1beta1.DeploymentStrategy"), }, }, "minReadySeconds": { SchemaProps: spec.SchemaProps{ Description: "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", Type: []string{"integer"}, Format: "int32", }, }, "revisionHistoryLimit": { SchemaProps: spec.SchemaProps{ Description: "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", Type: []string{"integer"}, Format: "int32", }, }, "paused": { SchemaProps: spec.SchemaProps{ Description: "Indicates that the deployment is paused and will not be processed by the deployment controller.", Type: []string{"boolean"}, Format: "", }, }, "rollbackTo": { SchemaProps: spec.SchemaProps{ Description: "The config this deployment is rolling back to. Will be cleared after rollback is done.", Ref: spec.MustCreateRef("#/definitions/v1beta1.RollbackConfig"), }, }, "progressDeadlineSeconds": { SchemaProps: spec.SchemaProps{ Description: "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"template"}, }, }, Dependencies: []string{ "unversioned.LabelSelector", "v1.PodTemplateSpec", "v1beta1.DeploymentStrategy", "v1beta1.RollbackConfig"}, }, "v1beta1.DeploymentStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentStatus is the most recently observed status of the Deployment.", Properties: map[string]spec.Schema{ "observedGeneration": { SchemaProps: spec.SchemaProps{ Description: "The generation observed by the deployment controller.", Type: []string{"integer"}, Format: "int64", }, }, "replicas": { SchemaProps: spec.SchemaProps{ Description: "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", Type: []string{"integer"}, Format: "int32", }, }, "updatedReplicas": { SchemaProps: spec.SchemaProps{ Description: "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", Type: []string{"integer"}, Format: "int32", }, }, "availableReplicas": { SchemaProps: spec.SchemaProps{ Description: "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", Type: []string{"integer"}, Format: "int32", }, }, "unavailableReplicas": { SchemaProps: spec.SchemaProps{ Description: "Total number of unavailable pods targeted by this deployment.", Type: []string{"integer"}, Format: "int32", }, }, "conditions": { SchemaProps: spec.SchemaProps{ Description: "Represents the latest available observations of a deployment's current state.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.DeploymentCondition"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1beta1.DeploymentCondition"}, }, "v1beta1.DeploymentStrategy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "DeploymentStrategy describes how to replace existing pods with new ones.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.", Type: []string{"string"}, Format: "", }, }, "rollingUpdate": { SchemaProps: spec.SchemaProps{ Description: "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.", Ref: spec.MustCreateRef("#/definitions/v1beta1.RollingUpdateDeployment"), }, }, }, }, }, Dependencies: []string{ "v1beta1.RollingUpdateDeployment"}, }, "v1beta1.Eviction": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "ObjectMeta describes the pod that is being evicted.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "deleteOptions": { SchemaProps: spec.SchemaProps{ Description: "DeleteOptions may be provided", Ref: spec.MustCreateRef("#/definitions/v1.DeleteOptions"), }, }, }, }, }, Dependencies: []string{ "v1.DeleteOptions", "v1.ObjectMeta"}, }, "v1beta1.ExportOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ExportOptions is the query options to the standard REST get call.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "export": { SchemaProps: spec.SchemaProps{ Description: "Should this value be exported. Export strips fields that a user can not specify.", Type: []string{"boolean"}, Format: "", }, }, "exact": { SchemaProps: spec.SchemaProps{ Description: "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"export", "exact"}, }, }, Dependencies: []string{}, }, "v1beta1.FSGroupStrategyOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", Properties: map[string]spec.Schema{ "rule": { SchemaProps: spec.SchemaProps{ Description: "Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", Type: []string{"string"}, Format: "", }, }, "ranges": { SchemaProps: spec.SchemaProps{ Description: "Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.IDRange"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1beta1.IDRange"}, }, "v1beta1.HTTPIngressPath": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", Properties: map[string]spec.Schema{ "path": { SchemaProps: spec.SchemaProps{ Description: "Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend.", Type: []string{"string"}, Format: "", }, }, "backend": { SchemaProps: spec.SchemaProps{ Description: "Backend defines the referenced service endpoint to which the traffic will be forwarded to.", Ref: spec.MustCreateRef("#/definitions/v1beta1.IngressBackend"), }, }, }, Required: []string{"backend"}, }, }, Dependencies: []string{ "v1beta1.IngressBackend"}, }, "v1beta1.HTTPIngressRuleValue": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.", Properties: map[string]spec.Schema{ "paths": { SchemaProps: spec.SchemaProps{ Description: "A collection of paths that map requests to backends.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.HTTPIngressPath"), }, }, }, }, }, }, Required: []string{"paths"}, }, }, Dependencies: []string{ "v1beta1.HTTPIngressPath"}, }, "v1beta1.HorizontalPodAutoscaler": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "configuration of a horizontal pod autoscaler.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.", Ref: spec.MustCreateRef("#/definitions/v1beta1.HorizontalPodAutoscalerSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "current information about the autoscaler.", Ref: spec.MustCreateRef("#/definitions/v1beta1.HorizontalPodAutoscalerStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.HorizontalPodAutoscalerSpec", "v1beta1.HorizontalPodAutoscalerStatus"}, }, "v1beta1.HorizontalPodAutoscalerList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "list of horizontal pod autoscaler objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "list of horizontal pod autoscaler objects.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.HorizontalPodAutoscaler"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1beta1.HorizontalPodAutoscaler"}, }, "v1beta1.HorizontalPodAutoscalerSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "specification of a horizontal pod autoscaler.", Properties: map[string]spec.Schema{ "scaleRef": { SchemaProps: spec.SchemaProps{ Description: "reference to Scale subresource; horizontal pod autoscaler will learn the current resource consumption from its status, and will set the desired number of pods by modifying its spec.", Ref: spec.MustCreateRef("#/definitions/v1beta1.SubresourceReference"), }, }, "minReplicas": { SchemaProps: spec.SchemaProps{ Description: "lower limit for the number of pods that can be set by the autoscaler, default 1.", Type: []string{"integer"}, Format: "int32", }, }, "maxReplicas": { SchemaProps: spec.SchemaProps{ Description: "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", Type: []string{"integer"}, Format: "int32", }, }, "cpuUtilization": { SchemaProps: spec.SchemaProps{ Description: "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified it defaults to the target CPU utilization at 80% of the requested resources.", Ref: spec.MustCreateRef("#/definitions/v1beta1.CPUTargetUtilization"), }, }, }, Required: []string{"scaleRef", "maxReplicas"}, }, }, Dependencies: []string{ "v1beta1.CPUTargetUtilization", "v1beta1.SubresourceReference"}, }, "v1beta1.HorizontalPodAutoscalerStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "current status of a horizontal pod autoscaler", Properties: map[string]spec.Schema{ "observedGeneration": { SchemaProps: spec.SchemaProps{ Description: "most recent generation observed by this autoscaler.", Type: []string{"integer"}, Format: "int64", }, }, "lastScaleTime": { SchemaProps: spec.SchemaProps{ Description: "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "currentReplicas": { SchemaProps: spec.SchemaProps{ Description: "current number of replicas of pods managed by this autoscaler.", Type: []string{"integer"}, Format: "int32", }, }, "desiredReplicas": { SchemaProps: spec.SchemaProps{ Description: "desired number of replicas of pods managed by this autoscaler.", Type: []string{"integer"}, Format: "int32", }, }, "currentCPUUtilizationPercentage": { SchemaProps: spec.SchemaProps{ Description: "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"currentReplicas", "desiredReplicas"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1beta1.HostPortRange": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Host Port Range defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", Properties: map[string]spec.Schema{ "min": { SchemaProps: spec.SchemaProps{ Description: "min is the start of the range, inclusive.", Type: []string{"integer"}, Format: "int32", }, }, "max": { SchemaProps: spec.SchemaProps{ Description: "max is the end of the range, inclusive.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"min", "max"}, }, }, Dependencies: []string{}, }, "v1beta1.IDRange": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ID Range provides a min/max of an allowed range of IDs.", Properties: map[string]spec.Schema{ "min": { SchemaProps: spec.SchemaProps{ Description: "Min is the start of the range, inclusive.", Type: []string{"integer"}, Format: "int64", }, }, "max": { SchemaProps: spec.SchemaProps{ Description: "Max is the end of the range, inclusive.", Type: []string{"integer"}, Format: "int64", }, }, }, Required: []string{"min", "max"}, }, }, Dependencies: []string{}, }, "v1beta1.Ingress": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "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.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec is the desired state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1beta1.IngressSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is the current state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1beta1.IngressStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.IngressSpec", "v1beta1.IngressStatus"}, }, "v1beta1.IngressBackend": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IngressBackend describes all endpoints for a given service and port.", Properties: map[string]spec.Schema{ "serviceName": { SchemaProps: spec.SchemaProps{ Description: "Specifies the name of the referenced service.", Type: []string{"string"}, Format: "", }, }, "servicePort": { SchemaProps: spec.SchemaProps{ Description: "Specifies the port of the referenced service.", Ref: spec.MustCreateRef("#/definitions/intstr.IntOrString"), }, }, }, Required: []string{"serviceName", "servicePort"}, }, }, Dependencies: []string{ "intstr.IntOrString"}, }, "v1beta1.IngressList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IngressList is a collection of Ingress.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of Ingress.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.Ingress"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1beta1.Ingress"}, }, "v1beta1.IngressRule": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", Properties: map[string]spec.Schema{ "host": { SchemaProps: spec.SchemaProps{ Description: "Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the\n\t IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.", Type: []string{"string"}, Format: "", }, }, "http": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.HTTPIngressRuleValue"), }, }, }, }, }, Dependencies: []string{ "v1beta1.HTTPIngressRuleValue"}, }, "v1beta1.IngressRuleValue": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IngressRuleValue represents a rule to apply against incoming requests. If the rule is satisfied, the request is routed to the specified backend. Currently mixing different types of rules in a single Ingress is disallowed, so exactly one of the following must be set.", Properties: map[string]spec.Schema{ "http": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.HTTPIngressRuleValue"), }, }, }, }, }, Dependencies: []string{ "v1beta1.HTTPIngressRuleValue"}, }, "v1beta1.IngressSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IngressSpec describes the Ingress the user wishes to exist.", Properties: map[string]spec.Schema{ "backend": { SchemaProps: spec.SchemaProps{ Description: "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.", Ref: spec.MustCreateRef("#/definitions/v1beta1.IngressBackend"), }, }, "tls": { SchemaProps: spec.SchemaProps{ Description: "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.IngressTLS"), }, }, }, }, }, "rules": { SchemaProps: spec.SchemaProps{ Description: "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.IngressRule"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1beta1.IngressBackend", "v1beta1.IngressRule", "v1beta1.IngressTLS"}, }, "v1beta1.IngressStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IngressStatus describe the current state of the Ingress.", Properties: map[string]spec.Schema{ "loadBalancer": { SchemaProps: spec.SchemaProps{ Description: "LoadBalancer contains the current status of the load-balancer.", Ref: spec.MustCreateRef("#/definitions/v1.LoadBalancerStatus"), }, }, }, }, }, Dependencies: []string{ "v1.LoadBalancerStatus"}, }, "v1beta1.IngressTLS": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "IngressTLS describes the transport layer security associated with an Ingress.", Properties: map[string]spec.Schema{ "hosts": { SchemaProps: spec.SchemaProps{ Description: "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "secretName": { SchemaProps: spec.SchemaProps{ Description: "SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1beta1.Job": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Job represents the configuration of a single job. DEPRECATED: extensions/v1beta1.Job is deprecated, use batch/v1.Job instead.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec is a structure defining the expected behavior of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1beta1.JobSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1beta1.JobStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.JobSpec", "v1beta1.JobStatus"}, }, "v1beta1.JobCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobCondition describes current state of a job.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of job condition, Complete or Failed.", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False, Unknown.", Type: []string{"string"}, Format: "", }, }, "lastProbeTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition was checked.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition transit from one status to another.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "(brief) reason for the condition's last transition.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "Human readable message indicating details about last transition.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "status"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1beta1.JobList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobList is a collection of jobs. DEPRECATED: extensions/v1beta1.JobList is deprecated, use batch/v1.JobList instead.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of Job.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.Job"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1beta1.Job"}, }, "v1beta1.JobSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobSpec describes how the job execution will look like.", Properties: map[string]spec.Schema{ "parallelism": { SchemaProps: spec.SchemaProps{ Description: "Parallelism specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: http://kubernetes.io/docs/user-guide/jobs", Type: []string{"integer"}, Format: "int32", }, }, "completions": { SchemaProps: spec.SchemaProps{ Description: "Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: http://kubernetes.io/docs/user-guide/jobs", Type: []string{"integer"}, Format: "int32", }, }, "activeDeadlineSeconds": { SchemaProps: spec.SchemaProps{ Description: "Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", Type: []string{"integer"}, Format: "int64", }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "autoSelector": { SchemaProps: spec.SchemaProps{ Description: "AutoSelector controls generation of pod labels and pod selectors. It was not present in the original extensions/v1beta1 Job definition, but exists to allow conversion from batch/v1 Jobs, where it corresponds to, but has the opposite meaning as, ManualSelector. More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md", Type: []string{"boolean"}, Format: "", }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs", Ref: spec.MustCreateRef("#/definitions/v1.PodTemplateSpec"), }, }, }, Required: []string{"template"}, }, }, Dependencies: []string{ "unversioned.LabelSelector", "v1.PodTemplateSpec"}, }, "v1beta1.JobStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobStatus represents the current state of a Job.", Properties: map[string]spec.Schema{ "conditions": { SchemaProps: spec.SchemaProps{ Description: "Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.JobCondition"), }, }, }, }, }, "startTime": { SchemaProps: spec.SchemaProps{ Description: "StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "completionTime": { SchemaProps: spec.SchemaProps{ Description: "CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "active": { SchemaProps: spec.SchemaProps{ Description: "Active is the number of actively running pods.", Type: []string{"integer"}, Format: "int32", }, }, "succeeded": { SchemaProps: spec.SchemaProps{ Description: "Succeeded is the number of pods which reached Phase Succeeded.", Type: []string{"integer"}, Format: "int32", }, }, "failed": { SchemaProps: spec.SchemaProps{ Description: "Failed is the number of pods which reached Phase Failed.", Type: []string{"integer"}, Format: "int32", }, }, }, }, }, Dependencies: []string{ "unversioned.Time", "v1beta1.JobCondition"}, }, "v1beta1.LocalSubjectAccessReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.", Ref: spec.MustCreateRef("#/definitions/v1beta1.SubjectAccessReviewSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is filled in by the server and indicates whether the request is allowed or not", Ref: spec.MustCreateRef("#/definitions/v1beta1.SubjectAccessReviewStatus"), }, }, }, Required: []string{"spec"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.SubjectAccessReviewSpec", "v1beta1.SubjectAccessReviewStatus"}, }, "v1beta1.NetworkPolicy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Specification of the desired behavior for this NetworkPolicy.", Ref: spec.MustCreateRef("#/definitions/v1beta1.NetworkPolicySpec"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.NetworkPolicySpec"}, }, "v1beta1.NetworkPolicyIngressRule": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.", Properties: map[string]spec.Schema{ "ports": { SchemaProps: spec.SchemaProps{ Description: "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is not provided, this rule matches all ports (traffic not restricted by port). If this field is empty, this rule matches no ports (no traffic matches). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.NetworkPolicyPort"), }, }, }, }, }, "from": { SchemaProps: spec.SchemaProps{ Description: "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is not provided, this rule matches all sources (traffic not restricted by source). If this field is empty, this rule matches no sources (no traffic matches). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.NetworkPolicyPeer"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1beta1.NetworkPolicyPeer", "v1beta1.NetworkPolicyPort"}, }, "v1beta1.NetworkPolicyList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Network Policy List is a list of NetworkPolicy objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of schema objects.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.NetworkPolicy"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1beta1.NetworkPolicy"}, }, "v1beta1.NetworkPolicyPeer": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "podSelector": { SchemaProps: spec.SchemaProps{ Description: "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If not provided, this selector selects no pods. If present but empty, this selector selects all pods in this namespace.", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "namespaceSelector": { SchemaProps: spec.SchemaProps{ Description: "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If omitted, this selector selects no namespaces. If present but empty, this selector selects all namespaces.", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, }, }, }, Dependencies: []string{ "unversioned.LabelSelector"}, }, "v1beta1.NetworkPolicyPort": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "protocol": { SchemaProps: spec.SchemaProps{ Description: "Optional. The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.", Type: []string{"string"}, Format: "", }, }, "port": { SchemaProps: spec.SchemaProps{ Description: "If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.", Ref: spec.MustCreateRef("#/definitions/intstr.IntOrString"), }, }, }, }, }, Dependencies: []string{ "intstr.IntOrString"}, }, "v1beta1.NetworkPolicySpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "podSelector": { SchemaProps: spec.SchemaProps{ Description: "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "ingress": { SchemaProps: spec.SchemaProps{ Description: "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if namespace.networkPolicy.ingress.isolation is undefined and cluster policy allows it, OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not affect ingress isolation. If this field is present and contains at least one rule, this policy allows any traffic which matches at least one of the ingress rules in this list.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.NetworkPolicyIngressRule"), }, }, }, }, }, }, Required: []string{"podSelector"}, }, }, Dependencies: []string{ "unversioned.LabelSelector", "v1beta1.NetworkPolicyIngressRule"}, }, "v1beta1.NonResourceAttributes": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", Properties: map[string]spec.Schema{ "path": { SchemaProps: spec.SchemaProps{ Description: "Path is the URL path of the request", Type: []string{"string"}, Format: "", }, }, "verb": { SchemaProps: spec.SchemaProps{ Description: "Verb is the standard HTTP verb", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1beta1.PodDisruptionBudget": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Specification of the desired behavior of the PodDisruptionBudget.", Ref: spec.MustCreateRef("#/definitions/v1beta1.PodDisruptionBudgetSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Most recently observed status of the PodDisruptionBudget.", Ref: spec.MustCreateRef("#/definitions/v1beta1.PodDisruptionBudgetStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.PodDisruptionBudgetSpec", "v1beta1.PodDisruptionBudgetStatus"}, }, "v1beta1.PodDisruptionBudgetList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.PodDisruptionBudget"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1beta1.PodDisruptionBudget"}, }, "v1beta1.PodDisruptionBudgetSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", Properties: map[string]spec.Schema{ "minAvailable": { SchemaProps: spec.SchemaProps{ Description: "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\".", Ref: spec.MustCreateRef("#/definitions/intstr.IntOrString"), }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "Label query over pods whose evictions are managed by the disruption budget.", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, }, }, }, Dependencies: []string{ "intstr.IntOrString", "unversioned.LabelSelector"}, }, "v1beta1.PodDisruptionBudgetStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", Properties: map[string]spec.Schema{ "observedGeneration": { SchemaProps: spec.SchemaProps{ Description: "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", Type: []string{"integer"}, Format: "int64", }, }, "disruptedPods": { SchemaProps: spec.SchemaProps{ Description: "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, }, }, }, "disruptionsAllowed": { SchemaProps: spec.SchemaProps{ Description: "Number of pod disruptions that are currently allowed.", Type: []string{"integer"}, Format: "int32", }, }, "currentHealthy": { SchemaProps: spec.SchemaProps{ Description: "current number of healthy pods", Type: []string{"integer"}, Format: "int32", }, }, "desiredHealthy": { SchemaProps: spec.SchemaProps{ Description: "minimum desired number of healthy pods", Type: []string{"integer"}, Format: "int32", }, }, "expectedPods": { SchemaProps: spec.SchemaProps{ Description: "total number of pods counted by this disruption budget", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"disruptedPods", "disruptionsAllowed", "currentHealthy", "desiredHealthy", "expectedPods"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1beta1.PodSecurityPolicy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "spec defines the policy enforced.", Ref: spec.MustCreateRef("#/definitions/v1beta1.PodSecurityPolicySpec"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.PodSecurityPolicySpec"}, }, "v1beta1.PodSecurityPolicyList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Pod Security Policy List is a list of PodSecurityPolicy objects.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is a list of schema objects.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.PodSecurityPolicy"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1beta1.PodSecurityPolicy"}, }, "v1beta1.PodSecurityPolicySpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Pod Security Policy Spec defines the policy enforced.", Properties: map[string]spec.Schema{ "privileged": { SchemaProps: spec.SchemaProps{ Description: "privileged determines if a pod can request to be run as privileged.", Type: []string{"boolean"}, Format: "", }, }, "defaultAddCapabilities": { SchemaProps: spec.SchemaProps{ Description: "DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capabiility in both DefaultAddCapabilities and RequiredDropCapabilities.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "requiredDropCapabilities": { SchemaProps: spec.SchemaProps{ Description: "RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "allowedCapabilities": { SchemaProps: spec.SchemaProps{ Description: "AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "volumes": { SchemaProps: spec.SchemaProps{ Description: "volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "hostNetwork": { SchemaProps: spec.SchemaProps{ Description: "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", Type: []string{"boolean"}, Format: "", }, }, "hostPorts": { SchemaProps: spec.SchemaProps{ Description: "hostPorts determines which host port ranges are allowed to be exposed.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.HostPortRange"), }, }, }, }, }, "hostPID": { SchemaProps: spec.SchemaProps{ Description: "hostPID determines if the policy allows the use of HostPID in the pod spec.", Type: []string{"boolean"}, Format: "", }, }, "hostIPC": { SchemaProps: spec.SchemaProps{ Description: "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", Type: []string{"boolean"}, Format: "", }, }, "seLinux": { SchemaProps: spec.SchemaProps{ Description: "seLinux is the strategy that will dictate the allowable labels that may be set.", Ref: spec.MustCreateRef("#/definitions/v1beta1.SELinuxStrategyOptions"), }, }, "runAsUser": { SchemaProps: spec.SchemaProps{ Description: "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.", Ref: spec.MustCreateRef("#/definitions/v1beta1.RunAsUserStrategyOptions"), }, }, "supplementalGroups": { SchemaProps: spec.SchemaProps{ Description: "SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", Ref: spec.MustCreateRef("#/definitions/v1beta1.SupplementalGroupsStrategyOptions"), }, }, "fsGroup": { SchemaProps: spec.SchemaProps{ Description: "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", Ref: spec.MustCreateRef("#/definitions/v1beta1.FSGroupStrategyOptions"), }, }, "readOnlyRootFilesystem": { SchemaProps: spec.SchemaProps{ Description: "ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", Type: []string{"boolean"}, Format: "", }, }, }, Required: []string{"seLinux", "runAsUser", "supplementalGroups", "fsGroup"}, }, }, Dependencies: []string{ "v1beta1.FSGroupStrategyOptions", "v1beta1.HostPortRange", "v1beta1.RunAsUserStrategyOptions", "v1beta1.SELinuxStrategyOptions", "v1beta1.SupplementalGroupsStrategyOptions"}, }, "v1beta1.ReplicaSet": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ReplicaSet represents the configuration of a ReplicaSet.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the specification of the desired behavior of the ReplicaSet. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1beta1.ReplicaSetSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v1beta1.ReplicaSetStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.ReplicaSetSpec", "v1beta1.ReplicaSetStatus"}, }, "v1beta1.ReplicaSetCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ReplicaSetCondition describes the state of a replica set at a certain point.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of replica set condition.", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False, Unknown.", Type: []string{"string"}, Format: "", }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "The last time the condition transitioned from one status to another.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "The reason for the condition's last transition.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "A human readable message indicating details about the transition.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "status"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v1beta1.ReplicaSetList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ReplicaSetList is a collection of ReplicaSets.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "List of ReplicaSets. More info: http://kubernetes.io/docs/user-guide/replication-controller", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.ReplicaSet"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1beta1.ReplicaSet"}, }, "v1beta1.ReplicaSetSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ReplicaSetSpec is the specification of a ReplicaSet.", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller", Type: []string{"integer"}, Format: "int32", }, }, "minReadySeconds": { SchemaProps: spec.SchemaProps{ Description: "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", Type: []string{"integer"}, Format: "int32", }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template", Ref: spec.MustCreateRef("#/definitions/v1.PodTemplateSpec"), }, }, }, }, }, Dependencies: []string{ "unversioned.LabelSelector", "v1.PodTemplateSpec"}, }, "v1beta1.ReplicaSetStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ReplicaSetStatus represents the current status of a ReplicaSet.", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller", Type: []string{"integer"}, Format: "int32", }, }, "fullyLabeledReplicas": { SchemaProps: spec.SchemaProps{ Description: "The number of pods that have labels matching the labels of the pod template of the replicaset.", Type: []string{"integer"}, Format: "int32", }, }, "readyReplicas": { SchemaProps: spec.SchemaProps{ Description: "The number of ready replicas for this replica set.", Type: []string{"integer"}, Format: "int32", }, }, "availableReplicas": { SchemaProps: spec.SchemaProps{ Description: "The number of available replicas (ready for at least minReadySeconds) for this replica set.", Type: []string{"integer"}, Format: "int32", }, }, "observedGeneration": { SchemaProps: spec.SchemaProps{ Description: "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", Type: []string{"integer"}, Format: "int64", }, }, "conditions": { SchemaProps: spec.SchemaProps{ Description: "Represents the latest available observations of a replica set's current state.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.ReplicaSetCondition"), }, }, }, }, }, }, Required: []string{"replicas"}, }, }, Dependencies: []string{ "v1beta1.ReplicaSetCondition"}, }, "v1beta1.ReplicationControllerDummy": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Dummy definition", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1beta1.ResourceAttributes": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", Properties: map[string]spec.Schema{ "namespace": { SchemaProps: spec.SchemaProps{ Description: "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview", Type: []string{"string"}, Format: "", }, }, "verb": { SchemaProps: spec.SchemaProps{ Description: "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", Type: []string{"string"}, Format: "", }, }, "group": { SchemaProps: spec.SchemaProps{ Description: "Group is the API Group of the Resource. \"*\" means all.", Type: []string{"string"}, Format: "", }, }, "version": { SchemaProps: spec.SchemaProps{ Description: "Version is the API Version of the Resource. \"*\" means all.", Type: []string{"string"}, Format: "", }, }, "resource": { SchemaProps: spec.SchemaProps{ Description: "Resource is one of the existing resource types. \"*\" means all.", Type: []string{"string"}, Format: "", }, }, "subresource": { SchemaProps: spec.SchemaProps{ Description: "Subresource is one of the existing resource types. \"\" means none.", Type: []string{"string"}, Format: "", }, }, "name": { SchemaProps: spec.SchemaProps{ Description: "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1beta1.RollbackConfig": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Properties: map[string]spec.Schema{ "revision": { SchemaProps: spec.SchemaProps{ Description: "The revision to rollback to. If set to 0, rollbck to the last revision.", Type: []string{"integer"}, Format: "int64", }, }, }, }, }, Dependencies: []string{}, }, "v1beta1.RollingUpdateDeployment": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Spec to control the desired behavior of rolling update.", Properties: map[string]spec.Schema{ "maxUnavailable": { SchemaProps: spec.SchemaProps{ Description: "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0 if MaxSurge is 0. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", Ref: spec.MustCreateRef("#/definitions/intstr.IntOrString"), }, }, "maxSurge": { SchemaProps: spec.SchemaProps{ Description: "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. By default, a value of 1 is used. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", Ref: spec.MustCreateRef("#/definitions/intstr.IntOrString"), }, }, }, }, }, Dependencies: []string{ "intstr.IntOrString"}, }, "v1beta1.RunAsUserStrategyOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Run A sUser Strategy Options defines the strategy type and any options used to create the strategy.", Properties: map[string]spec.Schema{ "rule": { SchemaProps: spec.SchemaProps{ Description: "Rule is the strategy that will dictate the allowable RunAsUser values that may be set.", Type: []string{"string"}, Format: "", }, }, "ranges": { SchemaProps: spec.SchemaProps{ Description: "Ranges are the allowed ranges of uids that may be used.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.IDRange"), }, }, }, }, }, }, Required: []string{"rule"}, }, }, Dependencies: []string{ "v1beta1.IDRange"}, }, "v1beta1.SELinuxStrategyOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SELinux Strategy Options defines the strategy type and any options used to create the strategy.", Properties: map[string]spec.Schema{ "rule": { SchemaProps: spec.SchemaProps{ Description: "type is the strategy that will dictate the allowable labels that may be set.", Type: []string{"string"}, Format: "", }, }, "seLinuxOptions": { SchemaProps: spec.SchemaProps{ Description: "seLinuxOptions required to run as; required for MustRunAs More info: http://releases.k8s.io/HEAD/docs/design/security_context.md#security-context", Ref: spec.MustCreateRef("#/definitions/v1.SELinuxOptions"), }, }, }, Required: []string{"rule"}, }, }, Dependencies: []string{ "v1.SELinuxOptions"}, }, "v1beta1.Scale": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "represents a scaling request for a resource.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.", Ref: spec.MustCreateRef("#/definitions/v1beta1.ScaleSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.", Ref: spec.MustCreateRef("#/definitions/v1beta1.ScaleStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.ScaleSpec", "v1beta1.ScaleStatus"}, }, "v1beta1.ScaleSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "describes the attributes of a scale subresource", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "desired number of instances for the scaled object.", Type: []string{"integer"}, Format: "int32", }, }, }, }, }, Dependencies: []string{}, }, "v1beta1.ScaleStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "represents the current status of a scale subresource.", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "actual number of observed instances of the scaled object.", Type: []string{"integer"}, Format: "int32", }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "targetSelector": { SchemaProps: spec.SchemaProps{ Description: "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"replicas"}, }, }, Dependencies: []string{}, }, "v1beta1.SelfSubjectAccessReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec holds information about the request being evaluated. user and groups must be empty", Ref: spec.MustCreateRef("#/definitions/v1beta1.SelfSubjectAccessReviewSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is filled in by the server and indicates whether the request is allowed or not", Ref: spec.MustCreateRef("#/definitions/v1beta1.SubjectAccessReviewStatus"), }, }, }, Required: []string{"spec"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.SelfSubjectAccessReviewSpec", "v1beta1.SubjectAccessReviewStatus"}, }, "v1beta1.SelfSubjectAccessReviewSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", Properties: map[string]spec.Schema{ "resourceAttributes": { SchemaProps: spec.SchemaProps{ Description: "ResourceAuthorizationAttributes describes information for a resource access request", Ref: spec.MustCreateRef("#/definitions/v1beta1.ResourceAttributes"), }, }, "nonResourceAttributes": { SchemaProps: spec.SchemaProps{ Description: "NonResourceAttributes describes information for a non-resource access request", Ref: spec.MustCreateRef("#/definitions/v1beta1.NonResourceAttributes"), }, }, }, }, }, Dependencies: []string{ "v1beta1.NonResourceAttributes", "v1beta1.ResourceAttributes"}, }, "v1beta1.ServerAddressByClientCIDR": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", Properties: map[string]spec.Schema{ "clientCIDR": { SchemaProps: spec.SchemaProps{ Description: "The CIDR with which clients can match their IP to figure out the server address that they should use.", Type: []string{"string"}, Format: "", }, }, "serverAddress": { SchemaProps: spec.SchemaProps{ Description: "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"clientCIDR", "serverAddress"}, }, }, Dependencies: []string{}, }, "v1beta1.StatefulSet": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec defines the desired identities of pods in this set.", Ref: spec.MustCreateRef("#/definitions/v1beta1.StatefulSetSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.", Ref: spec.MustCreateRef("#/definitions/v1beta1.StatefulSetStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.StatefulSetSpec", "v1beta1.StatefulSetStatus"}, }, "v1beta1.StatefulSetList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "StatefulSetList is a collection of StatefulSets.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.StatefulSet"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1beta1.StatefulSet"}, }, "v1beta1.StatefulSetSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "A StatefulSetSpec is the specification of a StatefulSet.", Properties: map[string]spec.Schema{ "replicas": { SchemaProps: spec.SchemaProps{ Description: "Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", Type: []string{"integer"}, Format: "int32", }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.", Ref: spec.MustCreateRef("#/definitions/v1.PodTemplateSpec"), }, }, "volumeClaimTemplates": { SchemaProps: spec.SchemaProps{ Description: "VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.PersistentVolumeClaim"), }, }, }, }, }, "serviceName": { SchemaProps: spec.SchemaProps{ Description: "ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"template", "serviceName"}, }, }, Dependencies: []string{ "unversioned.LabelSelector", "v1.PersistentVolumeClaim", "v1.PodTemplateSpec"}, }, "v1beta1.StatefulSetStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "StatefulSetStatus represents the current state of a StatefulSet.", Properties: map[string]spec.Schema{ "observedGeneration": { SchemaProps: spec.SchemaProps{ Description: "most recent generation observed by this autoscaler.", Type: []string{"integer"}, Format: "int64", }, }, "replicas": { SchemaProps: spec.SchemaProps{ Description: "Replicas is the number of actual replicas.", Type: []string{"integer"}, Format: "int32", }, }, }, Required: []string{"replicas"}, }, }, Dependencies: []string{}, }, "v1beta1.StorageClass": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "provisioner": { SchemaProps: spec.SchemaProps{ Description: "Provisioner indicates the type of the provisioner.", Type: []string{"string"}, Format: "", }, }, "parameters": { SchemaProps: spec.SchemaProps{ Description: "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, Required: []string{"provisioner"}, }, }, Dependencies: []string{ "v1.ObjectMeta"}, }, "v1beta1.StorageClassList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "StorageClassList is a collection of storage classes.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of StorageClasses", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.StorageClass"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1beta1.StorageClass"}, }, "v1beta1.SubjectAccessReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SubjectAccessReview checks whether or not a user or group can perform an action.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec holds information about the request being evaluated", Ref: spec.MustCreateRef("#/definitions/v1beta1.SubjectAccessReviewSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is filled in by the server and indicates whether the request is allowed or not", Ref: spec.MustCreateRef("#/definitions/v1beta1.SubjectAccessReviewStatus"), }, }, }, Required: []string{"spec"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.SubjectAccessReviewSpec", "v1beta1.SubjectAccessReviewStatus"}, }, "v1beta1.SubjectAccessReviewSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", Properties: map[string]spec.Schema{ "resourceAttributes": { SchemaProps: spec.SchemaProps{ Description: "ResourceAuthorizationAttributes describes information for a resource access request", Ref: spec.MustCreateRef("#/definitions/v1beta1.ResourceAttributes"), }, }, "nonResourceAttributes": { SchemaProps: spec.SchemaProps{ Description: "NonResourceAttributes describes information for a non-resource access request", Ref: spec.MustCreateRef("#/definitions/v1beta1.NonResourceAttributes"), }, }, "user": { SchemaProps: spec.SchemaProps{ Description: "User is the user you're testing for. If you specify \"User\" but not \"Group\", then is it interpreted as \"What if User were not a member of any groups", Type: []string{"string"}, Format: "", }, }, "group": { SchemaProps: spec.SchemaProps{ Description: "Groups is the groups you're testing for.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "extra": { SchemaProps: spec.SchemaProps{ Description: "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, }, }, }, }, }, Dependencies: []string{ "v1beta1.NonResourceAttributes", "v1beta1.ResourceAttributes"}, }, "v1beta1.SubjectAccessReviewStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SubjectAccessReviewStatus", Properties: map[string]spec.Schema{ "allowed": { SchemaProps: spec.SchemaProps{ Description: "Allowed is required. True if the action would be allowed, false otherwise.", Type: []string{"boolean"}, Format: "", }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "Reason is optional. It indicates why a request was allowed or denied.", Type: []string{"string"}, Format: "", }, }, "evaluationError": { SchemaProps: spec.SchemaProps{ Description: "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"allowed"}, }, }, Dependencies: []string{}, }, "v1beta1.SubresourceReference": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SubresourceReference contains enough information to let you inspect or modify the referred subresource.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "API version of the referent", Type: []string{"string"}, Format: "", }, }, "subresource": { SchemaProps: spec.SchemaProps{ Description: "Subresource name of the referent", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1beta1.SupplementalGroupsStrategyOptions": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", Properties: map[string]spec.Schema{ "rule": { SchemaProps: spec.SchemaProps{ Description: "Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", Type: []string{"string"}, Format: "", }, }, "ranges": { SchemaProps: spec.SchemaProps{ Description: "Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.IDRange"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1beta1.IDRange"}, }, "v1beta1.ThirdPartyResource": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "A ThirdPartyResource is a generic representation of a resource, it is used by add-ons and plugins to add new resource types to the API. It consists of one or more Versions of the api.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "description": { SchemaProps: spec.SchemaProps{ Description: "Description is the description of this object.", Type: []string{"string"}, Format: "", }, }, "versions": { SchemaProps: spec.SchemaProps{ Description: "Versions are versions for this third party object", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.APIVersion"), }, }, }, }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.APIVersion"}, }, "v1beta1.ThirdPartyResourceData": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "An internal object, used for versioned storage in etcd. Not exposed to the end user.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object metadata.", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "data": { SchemaProps: spec.SchemaProps{ Description: "Data is the raw JSON data for this data.", Type: []string{"string"}, Format: "byte", }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta"}, }, "v1beta1.ThirdPartyResourceDataList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ThirdPartyResrouceDataList is a list of ThirdPartyResourceData.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of ThirdpartyResourceData.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.ThirdPartyResourceData"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1beta1.ThirdPartyResourceData"}, }, "v1beta1.ThirdPartyResourceList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "ThirdPartyResourceList is a list of ThirdPartyResources.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata.", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of ThirdPartyResources.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1beta1.ThirdPartyResource"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v1beta1.ThirdPartyResource"}, }, "v1beta1.TokenReview": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec holds information about the request being evaluated", Ref: spec.MustCreateRef("#/definitions/v1beta1.TokenReviewSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is filled in by the server and indicates whether the request can be authenticated.", Ref: spec.MustCreateRef("#/definitions/v1beta1.TokenReviewStatus"), }, }, }, Required: []string{"spec"}, }, }, Dependencies: []string{ "v1.ObjectMeta", "v1beta1.TokenReviewSpec", "v1beta1.TokenReviewStatus"}, }, "v1beta1.TokenReviewSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TokenReviewSpec is a description of the token authentication request.", Properties: map[string]spec.Schema{ "token": { SchemaProps: spec.SchemaProps{ Description: "Token is the opaque bearer token.", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{}, }, "v1beta1.TokenReviewStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "TokenReviewStatus is the result of the token authentication request.", Properties: map[string]spec.Schema{ "authenticated": { SchemaProps: spec.SchemaProps{ Description: "Authenticated indicates that the token was associated with a known user.", Type: []string{"boolean"}, Format: "", }, }, "user": { SchemaProps: spec.SchemaProps{ Description: "User is the UserInfo associated with the provided token.", Ref: spec.MustCreateRef("#/definitions/v1beta1.UserInfo"), }, }, "error": { SchemaProps: spec.SchemaProps{ Description: "Error indicates that the token couldn't be checked", Type: []string{"string"}, Format: "", }, }, }, }, }, Dependencies: []string{ "v1beta1.UserInfo"}, }, "v1beta1.UserInfo": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "UserInfo holds the information about the user needed to implement the user.Info interface.", Properties: map[string]spec.Schema{ "username": { SchemaProps: spec.SchemaProps{ Description: "The name that uniquely identifies this user among all active users.", Type: []string{"string"}, Format: "", }, }, "uid": { SchemaProps: spec.SchemaProps{ Description: "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.", Type: []string{"string"}, Format: "", }, }, "groups": { SchemaProps: spec.SchemaProps{ Description: "The names of groups this user is a part of.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, "extra": { SchemaProps: spec.SchemaProps{ Description: "Any additional information provided by the authenticator.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, }, }, }, }, }, }, }, }, Dependencies: []string{}, }, "v2alpha1.CronJob": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "CronJob represents the configuration of a single cron job.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec is a structure defining the expected behavior of a job, including the schedule. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v2alpha1.CronJobSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v2alpha1.CronJobStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v2alpha1.CronJobSpec", "v2alpha1.CronJobStatus"}, }, "v2alpha1.CronJobList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "CronJobList is a collection of cron jobs.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of CronJob.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v2alpha1.CronJob"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v2alpha1.CronJob"}, }, "v2alpha1.CronJobSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "CronJobSpec describes how the job execution will look like and when it will actually run.", Properties: map[string]spec.Schema{ "schedule": { SchemaProps: spec.SchemaProps{ Description: "Schedule contains the schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", Type: []string{"string"}, Format: "", }, }, "startingDeadlineSeconds": { SchemaProps: spec.SchemaProps{ Description: "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", Type: []string{"integer"}, Format: "int64", }, }, "concurrencyPolicy": { SchemaProps: spec.SchemaProps{ Description: "ConcurrencyPolicy specifies how to treat concurrent executions of a Job.", Type: []string{"string"}, Format: "", }, }, "suspend": { SchemaProps: spec.SchemaProps{ Description: "Suspend flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", Type: []string{"boolean"}, Format: "", }, }, "jobTemplate": { SchemaProps: spec.SchemaProps{ Description: "JobTemplate is the object that describes the job that will be created when executing a CronJob.", Ref: spec.MustCreateRef("#/definitions/v2alpha1.JobTemplateSpec"), }, }, }, Required: []string{"schedule", "jobTemplate"}, }, }, Dependencies: []string{ "v2alpha1.JobTemplateSpec"}, }, "v2alpha1.CronJobStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "CronJobStatus represents the current state of a cron job.", Properties: map[string]spec.Schema{ "active": { SchemaProps: spec.SchemaProps{ Description: "Active holds pointers to currently running jobs.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"), }, }, }, }, }, "lastScheduleTime": { SchemaProps: spec.SchemaProps{ Description: "LastScheduleTime keeps information of when was the last time the job was successfully scheduled.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, }, }, }, Dependencies: []string{ "unversioned.Time", "v1.ObjectReference"}, }, "v2alpha1.Job": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Job represents the configuration of a single job.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Spec is a structure defining the expected behavior of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v2alpha1.JobSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v2alpha1.JobStatus"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v2alpha1.JobSpec", "v2alpha1.JobStatus"}, }, "v2alpha1.JobCondition": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobCondition describes current state of a job.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Description: "Type of job condition, Complete or Failed.", Type: []string{"string"}, Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False, Unknown.", Type: []string{"string"}, Format: "", }, }, "lastProbeTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition was checked.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition transit from one status to another.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "(brief) reason for the condition's last transition.", Type: []string{"string"}, Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ Description: "Human readable message indicating details about last transition.", Type: []string{"string"}, Format: "", }, }, }, Required: []string{"type", "status"}, }, }, Dependencies: []string{ "unversioned.Time"}, }, "v2alpha1.JobList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobList is a collection of jobs.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/unversioned.ListMeta"), }, }, "items": { SchemaProps: spec.SchemaProps{ Description: "Items is the list of Job.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v2alpha1.Job"), }, }, }, }, }, }, Required: []string{"items"}, }, }, Dependencies: []string{ "unversioned.ListMeta", "v2alpha1.Job"}, }, "v2alpha1.JobSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobSpec describes how the job execution will look like.", Properties: map[string]spec.Schema{ "parallelism": { SchemaProps: spec.SchemaProps{ Description: "Parallelism specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: http://kubernetes.io/docs/user-guide/jobs", Type: []string{"integer"}, Format: "int32", }, }, "completions": { SchemaProps: spec.SchemaProps{ Description: "Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: http://kubernetes.io/docs/user-guide/jobs", Type: []string{"integer"}, Format: "int32", }, }, "activeDeadlineSeconds": { SchemaProps: spec.SchemaProps{ Description: "Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", Type: []string{"integer"}, Format: "int64", }, }, "selector": { SchemaProps: spec.SchemaProps{ Description: "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", Ref: spec.MustCreateRef("#/definitions/unversioned.LabelSelector"), }, }, "manualSelector": { SchemaProps: spec.SchemaProps{ Description: "ManualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md", Type: []string{"boolean"}, Format: "", }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs", Ref: spec.MustCreateRef("#/definitions/v1.PodTemplateSpec"), }, }, }, Required: []string{"template"}, }, }, Dependencies: []string{ "unversioned.LabelSelector", "v1.PodTemplateSpec"}, }, "v2alpha1.JobStatus": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobStatus represents the current state of a Job.", Properties: map[string]spec.Schema{ "conditions": { SchemaProps: spec.SchemaProps{ Description: "Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Ref: spec.MustCreateRef("#/definitions/v2alpha1.JobCondition"), }, }, }, }, }, "startTime": { SchemaProps: spec.SchemaProps{ Description: "StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "completionTime": { SchemaProps: spec.SchemaProps{ Description: "CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), }, }, "active": { SchemaProps: spec.SchemaProps{ Description: "Active is the number of actively running pods.", Type: []string{"integer"}, Format: "int32", }, }, "succeeded": { SchemaProps: spec.SchemaProps{ Description: "Succeeded is the number of pods which reached Phase Succeeded.", Type: []string{"integer"}, Format: "int32", }, }, "failed": { SchemaProps: spec.SchemaProps{ Description: "Failed is the number of pods which reached Phase Failed.", Type: []string{"integer"}, Format: "int32", }, }, }, }, }, Dependencies: []string{ "unversioned.Time", "v2alpha1.JobCondition"}, }, "v2alpha1.JobTemplate": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobTemplate describes a template for creating copies of a predefined pod.", Properties: map[string]spec.Schema{ "kind": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", Type: []string{"string"}, Format: "", }, }, "apiVersion": { SchemaProps: spec.SchemaProps{ Description: "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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", Type: []string{"string"}, Format: "", }, }, "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "template": { SchemaProps: spec.SchemaProps{ Description: "Template defines jobs that will be created from this template http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v2alpha1.JobTemplateSpec"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v2alpha1.JobTemplateSpec"}, }, "v2alpha1.JobTemplateSpec": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "JobTemplateSpec describes the data a Job should have when created from a template", Properties: map[string]spec.Schema{ "metadata": { SchemaProps: spec.SchemaProps{ Description: "Standard object's metadata of the jobs created from this template. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", Ref: spec.MustCreateRef("#/definitions/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ Description: "Specification of the desired behavior of the job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", Ref: spec.MustCreateRef("#/definitions/v2alpha1.JobSpec"), }, }, }, }, }, Dependencies: []string{ "v1.ObjectMeta", "v2alpha1.JobSpec"}, }, "version.Info": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Info contains versioning information. how we'll want to distribute that information.", Properties: map[string]spec.Schema{ "major": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "minor": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "gitVersion": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "gitCommit": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "gitTreeState": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "buildDate": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "goVersion": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "compiler": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "platform": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, }, Required: []string{"major", "minor", "gitVersion", "gitCommit", "gitTreeState", "buildDate", "goVersion", "compiler", "platform"}, }, }, Dependencies: []string{}, }, "versioned.Event": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ Description: "Event represents a single event to a watched resource.", Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ Type: []string{"string"}, Format: "", }, }, "object": { SchemaProps: spec.SchemaProps{ Description: "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *api.Status is recommended; other types may make sense\n depending on context.", Ref: spec.MustCreateRef("#/definitions/runtime.RawExtension"), }, }, }, Required: []string{"type", "object"}, }, }, Dependencies: []string{ "runtime.RawExtension"}, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.