models

package
v0.0.0-...-1e5aeb1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IoK8sAPIAdmissionregistrationV1MutatingWebhook

type IoK8sAPIAdmissionregistrationV1MutatingWebhook struct {

	// AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
	// Required: true
	AdmissionReviewVersions []string `json:"admissionReviewVersions"`

	// ClientConfig defines how to communicate with the hook. Required
	// Required: true
	ClientConfig *IoK8sAPIAdmissionregistrationV1WebhookClientConfig `json:"clientConfig"`

	// FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
	FailurePolicy string `json:"failurePolicy,omitempty"`

	// matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
	//
	// - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
	//
	// - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.
	//
	// Defaults to "Equivalent"
	MatchPolicy string `json:"matchPolicy,omitempty"`

	// The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
	// Required: true
	Name *string `json:"name"`

	// NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.
	//
	// For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1";  you will set the selector as follows: "namespaceSelector": {
	//   "matchExpressions": [
	//     {
	//       "key": "runlevel",
	//       "operator": "NotIn",
	//       "values": [
	//         "0",
	//         "1"
	//       ]
	//     }
	//   ]
	// }
	//
	// If instead you want to only run the webhook on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": {
	//   "matchExpressions": [
	//     {
	//       "key": "environment",
	//       "operator": "In",
	//       "values": [
	//         "prod",
	//         "staging"
	//       ]
	//     }
	//   ]
	// }
	//
	// See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.
	//
	// Default to the empty LabelSelector, which matches everything.
	NamespaceSelector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"namespaceSelector,omitempty"`

	// ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
	ObjectSelector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"objectSelector,omitempty"`

	// reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
	//
	// Never: the webhook will not be called more than once in a single admission evaluation.
	//
	// IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.
	//
	// Defaults to "Never".
	ReinvocationPolicy string `json:"reinvocationPolicy,omitempty"`

	// Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
	Rules []*IoK8sAPIAdmissionregistrationV1RuleWithOperations `json:"rules"`

	// SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
	// Required: true
	SideEffects *string `json:"sideEffects"`

	// TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
	TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"`
}

IoK8sAPIAdmissionregistrationV1MutatingWebhook MutatingWebhook describes an admission webhook and the resources and operations it applies to.

swagger:model io.k8s.api.admissionregistration.v1.MutatingWebhook

func (*IoK8sAPIAdmissionregistrationV1MutatingWebhook) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1MutatingWebhook) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1MutatingWebhook) Validate

Validate validates this io k8s api admissionregistration v1 mutating webhook

type IoK8sAPIAdmissionregistrationV1MutatingWebhookConfiguration

type IoK8sAPIAdmissionregistrationV1MutatingWebhookConfiguration struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Webhooks is a list of webhooks and the affected resources and operations.
	Webhooks []*IoK8sAPIAdmissionregistrationV1MutatingWebhook `json:"webhooks"`
}

IoK8sAPIAdmissionregistrationV1MutatingWebhookConfiguration MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.

swagger:model io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration

func (*IoK8sAPIAdmissionregistrationV1MutatingWebhookConfiguration) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1MutatingWebhookConfiguration) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1MutatingWebhookConfiguration) Validate

Validate validates this io k8s api admissionregistration v1 mutating webhook configuration

type IoK8sAPIAdmissionregistrationV1MutatingWebhookConfigurationList

type IoK8sAPIAdmissionregistrationV1MutatingWebhookConfigurationList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of MutatingWebhookConfiguration.
	// Required: true
	Items []*IoK8sAPIAdmissionregistrationV1MutatingWebhookConfiguration `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIAdmissionregistrationV1MutatingWebhookConfigurationList MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.

swagger:model io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList

func (*IoK8sAPIAdmissionregistrationV1MutatingWebhookConfigurationList) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1MutatingWebhookConfigurationList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1MutatingWebhookConfigurationList) Validate

Validate validates this io k8s api admissionregistration v1 mutating webhook configuration list

type IoK8sAPIAdmissionregistrationV1RuleWithOperations

type IoK8sAPIAdmissionregistrationV1RuleWithOperations struct {

	// APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
	APIGroups []string `json:"apiGroups"`

	// APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
	APIVersions []string `json:"apiVersions"`

	// Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
	Operations []string `json:"operations"`

	// Resources is a list of resources this rule applies to.
	//
	// For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
	//
	// If wildcard is present, the validation rule will ensure resources do not overlap with each other.
	//
	// Depending on the enclosing object, subresources might not be allowed. Required.
	Resources []string `json:"resources"`

	// scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
	Scope string `json:"scope,omitempty"`
}

IoK8sAPIAdmissionregistrationV1RuleWithOperations RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.

swagger:model io.k8s.api.admissionregistration.v1.RuleWithOperations

func (*IoK8sAPIAdmissionregistrationV1RuleWithOperations) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1RuleWithOperations) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1RuleWithOperations) Validate

Validate validates this io k8s api admissionregistration v1 rule with operations

type IoK8sAPIAdmissionregistrationV1ServiceReference

type IoK8sAPIAdmissionregistrationV1ServiceReference struct {

	// `name` is the name of the service. Required
	// Required: true
	Name *string `json:"name"`

	// `namespace` is the namespace of the service. Required
	// Required: true
	Namespace *string `json:"namespace"`

	// `path` is an optional URL path which will be sent in any request to this service.
	Path string `json:"path,omitempty"`

	// If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
	Port int32 `json:"port,omitempty"`
}

IoK8sAPIAdmissionregistrationV1ServiceReference ServiceReference holds a reference to Service.legacy.k8s.io

swagger:model io.k8s.api.admissionregistration.v1.ServiceReference

func (*IoK8sAPIAdmissionregistrationV1ServiceReference) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1ServiceReference) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1ServiceReference) Validate

Validate validates this io k8s api admissionregistration v1 service reference

type IoK8sAPIAdmissionregistrationV1ValidatingWebhook

type IoK8sAPIAdmissionregistrationV1ValidatingWebhook struct {

	// AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
	// Required: true
	AdmissionReviewVersions []string `json:"admissionReviewVersions"`

	// ClientConfig defines how to communicate with the hook. Required
	// Required: true
	ClientConfig *IoK8sAPIAdmissionregistrationV1WebhookClientConfig `json:"clientConfig"`

	// FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
	FailurePolicy string `json:"failurePolicy,omitempty"`

	// matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
	//
	// - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
	//
	// - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.
	//
	// Defaults to "Equivalent"
	MatchPolicy string `json:"matchPolicy,omitempty"`

	// The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
	// Required: true
	Name *string `json:"name"`

	// NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.
	//
	// For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1";  you will set the selector as follows: "namespaceSelector": {
	//   "matchExpressions": [
	//     {
	//       "key": "runlevel",
	//       "operator": "NotIn",
	//       "values": [
	//         "0",
	//         "1"
	//       ]
	//     }
	//   ]
	// }
	//
	// If instead you want to only run the webhook on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": {
	//   "matchExpressions": [
	//     {
	//       "key": "environment",
	//       "operator": "In",
	//       "values": [
	//         "prod",
	//         "staging"
	//       ]
	//     }
	//   ]
	// }
	//
	// See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors.
	//
	// Default to the empty LabelSelector, which matches everything.
	NamespaceSelector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"namespaceSelector,omitempty"`

	// ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
	ObjectSelector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"objectSelector,omitempty"`

	// Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
	Rules []*IoK8sAPIAdmissionregistrationV1RuleWithOperations `json:"rules"`

	// SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
	// Required: true
	SideEffects *string `json:"sideEffects"`

	// TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
	TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"`
}

IoK8sAPIAdmissionregistrationV1ValidatingWebhook ValidatingWebhook describes an admission webhook and the resources and operations it applies to.

swagger:model io.k8s.api.admissionregistration.v1.ValidatingWebhook

func (*IoK8sAPIAdmissionregistrationV1ValidatingWebhook) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1ValidatingWebhook) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1ValidatingWebhook) Validate

Validate validates this io k8s api admissionregistration v1 validating webhook

type IoK8sAPIAdmissionregistrationV1ValidatingWebhookConfiguration

type IoK8sAPIAdmissionregistrationV1ValidatingWebhookConfiguration struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Webhooks is a list of webhooks and the affected resources and operations.
	Webhooks []*IoK8sAPIAdmissionregistrationV1ValidatingWebhook `json:"webhooks"`
}

IoK8sAPIAdmissionregistrationV1ValidatingWebhookConfiguration ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.

swagger:model io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration

func (*IoK8sAPIAdmissionregistrationV1ValidatingWebhookConfiguration) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1ValidatingWebhookConfiguration) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1ValidatingWebhookConfiguration) Validate

Validate validates this io k8s api admissionregistration v1 validating webhook configuration

type IoK8sAPIAdmissionregistrationV1ValidatingWebhookConfigurationList

type IoK8sAPIAdmissionregistrationV1ValidatingWebhookConfigurationList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of ValidatingWebhookConfiguration.
	// Required: true
	Items []*IoK8sAPIAdmissionregistrationV1ValidatingWebhookConfiguration `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIAdmissionregistrationV1ValidatingWebhookConfigurationList ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.

swagger:model io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList

func (*IoK8sAPIAdmissionregistrationV1ValidatingWebhookConfigurationList) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1ValidatingWebhookConfigurationList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1ValidatingWebhookConfigurationList) Validate

Validate validates this io k8s api admissionregistration v1 validating webhook configuration list

type IoK8sAPIAdmissionregistrationV1WebhookClientConfig

type IoK8sAPIAdmissionregistrationV1WebhookClientConfig struct {

	// `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
	// Format: byte
	CaBundle strfmt.Base64 `json:"caBundle,omitempty"`

	// `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
	//
	// If the webhook is running within the cluster, then you should use `service`.
	Service *IoK8sAPIAdmissionregistrationV1ServiceReference `json:"service,omitempty"`

	// `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
	//
	// The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.
	//
	// Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.
	//
	// The scheme must be "https"; the URL must begin with "https://".
	//
	// A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.
	//
	// Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.
	URL string `json:"url,omitempty"`
}

IoK8sAPIAdmissionregistrationV1WebhookClientConfig WebhookClientConfig contains the information to make a TLS connection with the webhook

swagger:model io.k8s.api.admissionregistration.v1.WebhookClientConfig

func (*IoK8sAPIAdmissionregistrationV1WebhookClientConfig) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1WebhookClientConfig) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1WebhookClientConfig) Validate

Validate validates this io k8s api admissionregistration v1 webhook client config

type IoK8sAPIAdmissionregistrationV1beta1MutatingWebhook

type IoK8sAPIAdmissionregistrationV1beta1MutatingWebhook struct {

	// AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
	AdmissionReviewVersions []string `json:"admissionReviewVersions"`

	// ClientConfig defines how to communicate with the hook. Required
	// Required: true
	ClientConfig *IoK8sAPIAdmissionregistrationV1beta1WebhookClientConfig `json:"clientConfig"`

	// FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
	FailurePolicy string `json:"failurePolicy,omitempty"`

	// matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
	//
	// - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
	//
	// - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.
	//
	// Defaults to "Exact"
	MatchPolicy string `json:"matchPolicy,omitempty"`

	// The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
	// Required: true
	Name *string `json:"name"`

	// NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.
	//
	// For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1";  you will set the selector as follows: "namespaceSelector": {
	//   "matchExpressions": [
	//     {
	//       "key": "runlevel",
	//       "operator": "NotIn",
	//       "values": [
	//         "0",
	//         "1"
	//       ]
	//     }
	//   ]
	// }
	//
	// If instead you want to only run the webhook on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": {
	//   "matchExpressions": [
	//     {
	//       "key": "environment",
	//       "operator": "In",
	//       "values": [
	//         "prod",
	//         "staging"
	//       ]
	//     }
	//   ]
	// }
	//
	// See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.
	//
	// Default to the empty LabelSelector, which matches everything.
	NamespaceSelector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"namespaceSelector,omitempty"`

	// ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
	ObjectSelector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"objectSelector,omitempty"`

	// reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
	//
	// Never: the webhook will not be called more than once in a single admission evaluation.
	//
	// IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.
	//
	// Defaults to "Never".
	ReinvocationPolicy string `json:"reinvocationPolicy,omitempty"`

	// Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
	Rules []*IoK8sAPIAdmissionregistrationV1beta1RuleWithOperations `json:"rules"`

	// SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
	SideEffects string `json:"sideEffects,omitempty"`

	// TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
	TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"`
}

IoK8sAPIAdmissionregistrationV1beta1MutatingWebhook MutatingWebhook describes an admission webhook and the resources and operations it applies to.

swagger:model io.k8s.api.admissionregistration.v1beta1.MutatingWebhook

func (*IoK8sAPIAdmissionregistrationV1beta1MutatingWebhook) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1MutatingWebhook) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1MutatingWebhook) Validate

Validate validates this io k8s api admissionregistration v1beta1 mutating webhook

type IoK8sAPIAdmissionregistrationV1beta1MutatingWebhookConfiguration

type IoK8sAPIAdmissionregistrationV1beta1MutatingWebhookConfiguration struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Webhooks is a list of webhooks and the affected resources and operations.
	Webhooks []*IoK8sAPIAdmissionregistrationV1beta1MutatingWebhook `json:"webhooks"`
}

IoK8sAPIAdmissionregistrationV1beta1MutatingWebhookConfiguration MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.

swagger:model io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration

func (*IoK8sAPIAdmissionregistrationV1beta1MutatingWebhookConfiguration) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1MutatingWebhookConfiguration) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1MutatingWebhookConfiguration) Validate

Validate validates this io k8s api admissionregistration v1beta1 mutating webhook configuration

type IoK8sAPIAdmissionregistrationV1beta1MutatingWebhookConfigurationList

type IoK8sAPIAdmissionregistrationV1beta1MutatingWebhookConfigurationList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of MutatingWebhookConfiguration.
	// Required: true
	Items []*IoK8sAPIAdmissionregistrationV1beta1MutatingWebhookConfiguration `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIAdmissionregistrationV1beta1MutatingWebhookConfigurationList MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.

swagger:model io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfigurationList

func (*IoK8sAPIAdmissionregistrationV1beta1MutatingWebhookConfigurationList) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1MutatingWebhookConfigurationList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1MutatingWebhookConfigurationList) Validate

Validate validates this io k8s api admissionregistration v1beta1 mutating webhook configuration list

type IoK8sAPIAdmissionregistrationV1beta1RuleWithOperations

type IoK8sAPIAdmissionregistrationV1beta1RuleWithOperations struct {

	// APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
	APIGroups []string `json:"apiGroups"`

	// APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
	APIVersions []string `json:"apiVersions"`

	// Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
	Operations []string `json:"operations"`

	// Resources is a list of resources this rule applies to.
	//
	// For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
	//
	// If wildcard is present, the validation rule will ensure resources do not overlap with each other.
	//
	// Depending on the enclosing object, subresources might not be allowed. Required.
	Resources []string `json:"resources"`

	// scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
	Scope string `json:"scope,omitempty"`
}

IoK8sAPIAdmissionregistrationV1beta1RuleWithOperations RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.

swagger:model io.k8s.api.admissionregistration.v1beta1.RuleWithOperations

func (*IoK8sAPIAdmissionregistrationV1beta1RuleWithOperations) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1RuleWithOperations) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1RuleWithOperations) Validate

Validate validates this io k8s api admissionregistration v1beta1 rule with operations

type IoK8sAPIAdmissionregistrationV1beta1ServiceReference

type IoK8sAPIAdmissionregistrationV1beta1ServiceReference struct {

	// `name` is the name of the service. Required
	// Required: true
	Name *string `json:"name"`

	// `namespace` is the namespace of the service. Required
	// Required: true
	Namespace *string `json:"namespace"`

	// `path` is an optional URL path which will be sent in any request to this service.
	Path string `json:"path,omitempty"`

	// If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
	Port int32 `json:"port,omitempty"`
}

IoK8sAPIAdmissionregistrationV1beta1ServiceReference ServiceReference holds a reference to Service.legacy.k8s.io

swagger:model io.k8s.api.admissionregistration.v1beta1.ServiceReference

func (*IoK8sAPIAdmissionregistrationV1beta1ServiceReference) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1ServiceReference) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1ServiceReference) Validate

Validate validates this io k8s api admissionregistration v1beta1 service reference

type IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhook

type IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhook struct {

	// AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.
	AdmissionReviewVersions []string `json:"admissionReviewVersions"`

	// ClientConfig defines how to communicate with the hook. Required
	// Required: true
	ClientConfig *IoK8sAPIAdmissionregistrationV1beta1WebhookClientConfig `json:"clientConfig"`

	// FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
	FailurePolicy string `json:"failurePolicy,omitempty"`

	// matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
	//
	// - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
	//
	// - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.
	//
	// Defaults to "Exact"
	MatchPolicy string `json:"matchPolicy,omitempty"`

	// The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
	// Required: true
	Name *string `json:"name"`

	// NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.
	//
	// For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1";  you will set the selector as follows: "namespaceSelector": {
	//   "matchExpressions": [
	//     {
	//       "key": "runlevel",
	//       "operator": "NotIn",
	//       "values": [
	//         "0",
	//         "1"
	//       ]
	//     }
	//   ]
	// }
	//
	// If instead you want to only run the webhook on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": {
	//   "matchExpressions": [
	//     {
	//       "key": "environment",
	//       "operator": "In",
	//       "values": [
	//         "prod",
	//         "staging"
	//       ]
	//     }
	//   ]
	// }
	//
	// See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors.
	//
	// Default to the empty LabelSelector, which matches everything.
	NamespaceSelector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"namespaceSelector,omitempty"`

	// ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
	ObjectSelector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"objectSelector,omitempty"`

	// Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
	Rules []*IoK8sAPIAdmissionregistrationV1beta1RuleWithOperations `json:"rules"`

	// SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.
	SideEffects string `json:"sideEffects,omitempty"`

	// TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.
	TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"`
}

IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhook ValidatingWebhook describes an admission webhook and the resources and operations it applies to.

swagger:model io.k8s.api.admissionregistration.v1beta1.ValidatingWebhook

func (*IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhook) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhook) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhook) Validate

Validate validates this io k8s api admissionregistration v1beta1 validating webhook

type IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhookConfiguration

type IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhookConfiguration struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Webhooks is a list of webhooks and the affected resources and operations.
	Webhooks []*IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhook `json:"webhooks"`
}

IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhookConfiguration ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.

swagger:model io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration

func (*IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhookConfiguration) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhookConfiguration) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhookConfiguration) Validate

Validate validates this io k8s api admissionregistration v1beta1 validating webhook configuration

type IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhookConfigurationList

type IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhookConfigurationList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of ValidatingWebhookConfiguration.
	// Required: true
	Items []*IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhookConfiguration `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhookConfigurationList ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.

swagger:model io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfigurationList

func (*IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhookConfigurationList) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhookConfigurationList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1ValidatingWebhookConfigurationList) Validate

Validate validates this io k8s api admissionregistration v1beta1 validating webhook configuration list

type IoK8sAPIAdmissionregistrationV1beta1WebhookClientConfig

type IoK8sAPIAdmissionregistrationV1beta1WebhookClientConfig struct {

	// `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
	// Format: byte
	CaBundle strfmt.Base64 `json:"caBundle,omitempty"`

	// `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
	//
	// If the webhook is running within the cluster, then you should use `service`.
	Service *IoK8sAPIAdmissionregistrationV1beta1ServiceReference `json:"service,omitempty"`

	// `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
	//
	// The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.
	//
	// Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.
	//
	// The scheme must be "https"; the URL must begin with "https://".
	//
	// A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.
	//
	// Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.
	URL string `json:"url,omitempty"`
}

IoK8sAPIAdmissionregistrationV1beta1WebhookClientConfig WebhookClientConfig contains the information to make a TLS connection with the webhook

swagger:model io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig

func (*IoK8sAPIAdmissionregistrationV1beta1WebhookClientConfig) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1WebhookClientConfig) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAdmissionregistrationV1beta1WebhookClientConfig) Validate

Validate validates this io k8s api admissionregistration v1beta1 webhook client config

type IoK8sAPIAppsV1ControllerRevision

type IoK8sAPIAppsV1ControllerRevision struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Data is the serialized representation of the state.
	Data IoK8sApimachineryPkgRuntimeRawExtension `json:"data,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Revision indicates the revision of the state represented by Data.
	// Required: true
	Revision *int64 `json:"revision"`
}

IoK8sAPIAppsV1ControllerRevision ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.

swagger:model io.k8s.api.apps.v1.ControllerRevision

func (*IoK8sAPIAppsV1ControllerRevision) MarshalBinary

func (m *IoK8sAPIAppsV1ControllerRevision) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1ControllerRevision) UnmarshalBinary

func (m *IoK8sAPIAppsV1ControllerRevision) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1ControllerRevision) Validate

Validate validates this io k8s api apps v1 controller revision

type IoK8sAPIAppsV1ControllerRevisionList

type IoK8sAPIAppsV1ControllerRevisionList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is the list of ControllerRevisions
	// Required: true
	Items []*IoK8sAPIAppsV1ControllerRevision `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIAppsV1ControllerRevisionList ControllerRevisionList is a resource containing a list of ControllerRevision objects.

swagger:model io.k8s.api.apps.v1.ControllerRevisionList

func (*IoK8sAPIAppsV1ControllerRevisionList) MarshalBinary

func (m *IoK8sAPIAppsV1ControllerRevisionList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1ControllerRevisionList) UnmarshalBinary

func (m *IoK8sAPIAppsV1ControllerRevisionList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1ControllerRevisionList) Validate

Validate validates this io k8s api apps v1 controller revision list

type IoK8sAPIAppsV1DaemonSet

type IoK8sAPIAppsV1DaemonSet struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPIAppsV1DaemonSetSpec `json:"spec,omitempty"`

	// 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IoK8sAPIAppsV1DaemonSetStatus `json:"status,omitempty"`
}

IoK8sAPIAppsV1DaemonSet DaemonSet represents the configuration of a daemon set.

swagger:model io.k8s.api.apps.v1.DaemonSet

func (*IoK8sAPIAppsV1DaemonSet) MarshalBinary

func (m *IoK8sAPIAppsV1DaemonSet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1DaemonSet) UnmarshalBinary

func (m *IoK8sAPIAppsV1DaemonSet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1DaemonSet) Validate

func (m *IoK8sAPIAppsV1DaemonSet) Validate(formats strfmt.Registry) error

Validate validates this io k8s api apps v1 daemon set

type IoK8sAPIAppsV1DaemonSetCondition

type IoK8sAPIAppsV1DaemonSetCondition struct {

	// Last time the condition transitioned from one status to another.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty"`

	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// Status of the condition, one of True, False, Unknown.
	// Required: true
	Status *string `json:"status"`

	// Type of DaemonSet condition.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPIAppsV1DaemonSetCondition DaemonSetCondition describes the state of a DaemonSet at a certain point.

swagger:model io.k8s.api.apps.v1.DaemonSetCondition

func (*IoK8sAPIAppsV1DaemonSetCondition) MarshalBinary

func (m *IoK8sAPIAppsV1DaemonSetCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1DaemonSetCondition) UnmarshalBinary

func (m *IoK8sAPIAppsV1DaemonSetCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1DaemonSetCondition) Validate

Validate validates this io k8s api apps v1 daemon set condition

type IoK8sAPIAppsV1DaemonSetList

type IoK8sAPIAppsV1DaemonSetList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// A list of daemon sets.
	// Required: true
	Items []*IoK8sAPIAppsV1DaemonSet `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIAppsV1DaemonSetList DaemonSetList is a collection of daemon sets.

swagger:model io.k8s.api.apps.v1.DaemonSetList

func (*IoK8sAPIAppsV1DaemonSetList) MarshalBinary

func (m *IoK8sAPIAppsV1DaemonSetList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1DaemonSetList) UnmarshalBinary

func (m *IoK8sAPIAppsV1DaemonSetList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1DaemonSetList) Validate

func (m *IoK8sAPIAppsV1DaemonSetList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api apps v1 daemon set list

type IoK8sAPIAppsV1DaemonSetSpec

type IoK8sAPIAppsV1DaemonSetSpec struct {

	// The minimum number of seconds for which a newly created DaemonSet 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).
	MinReadySeconds int32 `json:"minReadySeconds,omitempty"`

	// The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
	RevisionHistoryLimit int32 `json:"revisionHistoryLimit,omitempty"`

	// A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	// Required: true
	Selector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"selector"`

	// An 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: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
	// Required: true
	Template *IoK8sAPICoreV1PodTemplateSpec `json:"template"`

	// An update strategy to replace existing DaemonSet pods with new pods.
	UpdateStrategy *IoK8sAPIAppsV1DaemonSetUpdateStrategy `json:"updateStrategy,omitempty"`
}

IoK8sAPIAppsV1DaemonSetSpec DaemonSetSpec is the specification of a daemon set.

swagger:model io.k8s.api.apps.v1.DaemonSetSpec

func (*IoK8sAPIAppsV1DaemonSetSpec) MarshalBinary

func (m *IoK8sAPIAppsV1DaemonSetSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1DaemonSetSpec) UnmarshalBinary

func (m *IoK8sAPIAppsV1DaemonSetSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1DaemonSetSpec) Validate

func (m *IoK8sAPIAppsV1DaemonSetSpec) Validate(formats strfmt.Registry) error

Validate validates this io k8s api apps v1 daemon set spec

type IoK8sAPIAppsV1DaemonSetStatus

type IoK8sAPIAppsV1DaemonSetStatus struct {

	// Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
	CollisionCount int32 `json:"collisionCount,omitempty"`

	// Represents the latest available observations of a DaemonSet's current state.
	Conditions []*IoK8sAPIAppsV1DaemonSetCondition `json:"conditions"`

	// The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
	// Required: true
	CurrentNumberScheduled *int32 `json:"currentNumberScheduled"`

	// The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
	// Required: true
	DesiredNumberScheduled *int32 `json:"desiredNumberScheduled"`

	// The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)
	NumberAvailable int32 `json:"numberAvailable,omitempty"`

	// The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
	// Required: true
	NumberMisscheduled *int32 `json:"numberMisscheduled"`

	// The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.
	// Required: true
	NumberReady *int32 `json:"numberReady"`

	// The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)
	NumberUnavailable int32 `json:"numberUnavailable,omitempty"`

	// The most recent generation observed by the daemon set controller.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// The total number of nodes that are running updated daemon pod
	UpdatedNumberScheduled int32 `json:"updatedNumberScheduled,omitempty"`
}

IoK8sAPIAppsV1DaemonSetStatus DaemonSetStatus represents the current status of a daemon set.

swagger:model io.k8s.api.apps.v1.DaemonSetStatus

func (*IoK8sAPIAppsV1DaemonSetStatus) MarshalBinary

func (m *IoK8sAPIAppsV1DaemonSetStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1DaemonSetStatus) UnmarshalBinary

func (m *IoK8sAPIAppsV1DaemonSetStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1DaemonSetStatus) Validate

func (m *IoK8sAPIAppsV1DaemonSetStatus) Validate(formats strfmt.Registry) error

Validate validates this io k8s api apps v1 daemon set status

type IoK8sAPIAppsV1DaemonSetUpdateStrategy

type IoK8sAPIAppsV1DaemonSetUpdateStrategy struct {

	// Rolling update config params. Present only if type = "RollingUpdate".
	RollingUpdate *IoK8sAPIAppsV1RollingUpdateDaemonSet `json:"rollingUpdate,omitempty"`

	// Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
	Type string `json:"type,omitempty"`
}

IoK8sAPIAppsV1DaemonSetUpdateStrategy DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.

swagger:model io.k8s.api.apps.v1.DaemonSetUpdateStrategy

func (*IoK8sAPIAppsV1DaemonSetUpdateStrategy) MarshalBinary

func (m *IoK8sAPIAppsV1DaemonSetUpdateStrategy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1DaemonSetUpdateStrategy) UnmarshalBinary

func (m *IoK8sAPIAppsV1DaemonSetUpdateStrategy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1DaemonSetUpdateStrategy) Validate

Validate validates this io k8s api apps v1 daemon set update strategy

type IoK8sAPIAppsV1Deployment

type IoK8sAPIAppsV1Deployment struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the desired behavior of the Deployment.
	Spec *IoK8sAPIAppsV1DeploymentSpec `json:"spec,omitempty"`

	// Most recently observed status of the Deployment.
	Status *IoK8sAPIAppsV1DeploymentStatus `json:"status,omitempty"`
}

IoK8sAPIAppsV1Deployment Deployment enables declarative updates for Pods and ReplicaSets.

swagger:model io.k8s.api.apps.v1.Deployment

func (*IoK8sAPIAppsV1Deployment) MarshalBinary

func (m *IoK8sAPIAppsV1Deployment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1Deployment) UnmarshalBinary

func (m *IoK8sAPIAppsV1Deployment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1Deployment) Validate

func (m *IoK8sAPIAppsV1Deployment) Validate(formats strfmt.Registry) error

Validate validates this io k8s api apps v1 deployment

type IoK8sAPIAppsV1DeploymentCondition

type IoK8sAPIAppsV1DeploymentCondition struct {

	// Last time the condition transitioned from one status to another.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// The last time this condition was updated.
	// Format: date-time
	LastUpdateTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastUpdateTime,omitempty"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty"`

	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// Status of the condition, one of True, False, Unknown.
	// Required: true
	Status *string `json:"status"`

	// Type of deployment condition.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPIAppsV1DeploymentCondition DeploymentCondition describes the state of a deployment at a certain point.

swagger:model io.k8s.api.apps.v1.DeploymentCondition

func (*IoK8sAPIAppsV1DeploymentCondition) MarshalBinary

func (m *IoK8sAPIAppsV1DeploymentCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1DeploymentCondition) UnmarshalBinary

func (m *IoK8sAPIAppsV1DeploymentCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1DeploymentCondition) Validate

Validate validates this io k8s api apps v1 deployment condition

type IoK8sAPIAppsV1DeploymentList

type IoK8sAPIAppsV1DeploymentList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is the list of Deployments.
	// Required: true
	Items []*IoK8sAPIAppsV1Deployment `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIAppsV1DeploymentList DeploymentList is a list of Deployments.

swagger:model io.k8s.api.apps.v1.DeploymentList

func (*IoK8sAPIAppsV1DeploymentList) MarshalBinary

func (m *IoK8sAPIAppsV1DeploymentList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1DeploymentList) UnmarshalBinary

func (m *IoK8sAPIAppsV1DeploymentList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1DeploymentList) Validate

func (m *IoK8sAPIAppsV1DeploymentList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api apps v1 deployment list

type IoK8sAPIAppsV1DeploymentSpec

type IoK8sAPIAppsV1DeploymentSpec struct {

	// 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)
	MinReadySeconds int32 `json:"minReadySeconds,omitempty"`

	// Indicates that the deployment is paused.
	Paused bool `json:"paused,omitempty"`

	// 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. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
	ProgressDeadlineSeconds int32 `json:"progressDeadlineSeconds,omitempty"`

	// Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
	Replicas int32 `json:"replicas,omitempty"`

	// The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
	RevisionHistoryLimit int32 `json:"revisionHistoryLimit,omitempty"`

	// Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.
	// Required: true
	Selector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"selector"`

	// The deployment strategy to use to replace existing pods with new ones.
	Strategy *IoK8sAPIAppsV1DeploymentStrategy `json:"strategy,omitempty"`

	// Template describes the pods that will be created.
	// Required: true
	Template *IoK8sAPICoreV1PodTemplateSpec `json:"template"`
}

IoK8sAPIAppsV1DeploymentSpec DeploymentSpec is the specification of the desired behavior of the Deployment.

swagger:model io.k8s.api.apps.v1.DeploymentSpec

func (*IoK8sAPIAppsV1DeploymentSpec) MarshalBinary

func (m *IoK8sAPIAppsV1DeploymentSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1DeploymentSpec) UnmarshalBinary

func (m *IoK8sAPIAppsV1DeploymentSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1DeploymentSpec) Validate

func (m *IoK8sAPIAppsV1DeploymentSpec) Validate(formats strfmt.Registry) error

Validate validates this io k8s api apps v1 deployment spec

type IoK8sAPIAppsV1DeploymentStatus

type IoK8sAPIAppsV1DeploymentStatus struct {

	// Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
	AvailableReplicas int32 `json:"availableReplicas,omitempty"`

	// Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
	CollisionCount int32 `json:"collisionCount,omitempty"`

	// Represents the latest available observations of a deployment's current state.
	Conditions []*IoK8sAPIAppsV1DeploymentCondition `json:"conditions"`

	// The generation observed by the deployment controller.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// Total number of ready pods targeted by this deployment.
	ReadyReplicas int32 `json:"readyReplicas,omitempty"`

	// Total number of non-terminated pods targeted by this deployment (their labels match the selector).
	Replicas int32 `json:"replicas,omitempty"`

	// Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
	UnavailableReplicas int32 `json:"unavailableReplicas,omitempty"`

	// Total number of non-terminated pods targeted by this deployment that have the desired template spec.
	UpdatedReplicas int32 `json:"updatedReplicas,omitempty"`
}

IoK8sAPIAppsV1DeploymentStatus DeploymentStatus is the most recently observed status of the Deployment.

swagger:model io.k8s.api.apps.v1.DeploymentStatus

func (*IoK8sAPIAppsV1DeploymentStatus) MarshalBinary

func (m *IoK8sAPIAppsV1DeploymentStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1DeploymentStatus) UnmarshalBinary

func (m *IoK8sAPIAppsV1DeploymentStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1DeploymentStatus) Validate

func (m *IoK8sAPIAppsV1DeploymentStatus) Validate(formats strfmt.Registry) error

Validate validates this io k8s api apps v1 deployment status

type IoK8sAPIAppsV1DeploymentStrategy

type IoK8sAPIAppsV1DeploymentStrategy struct {

	// Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
	RollingUpdate *IoK8sAPIAppsV1RollingUpdateDeployment `json:"rollingUpdate,omitempty"`

	// Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
	Type string `json:"type,omitempty"`
}

IoK8sAPIAppsV1DeploymentStrategy DeploymentStrategy describes how to replace existing pods with new ones.

swagger:model io.k8s.api.apps.v1.DeploymentStrategy

func (*IoK8sAPIAppsV1DeploymentStrategy) MarshalBinary

func (m *IoK8sAPIAppsV1DeploymentStrategy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1DeploymentStrategy) UnmarshalBinary

func (m *IoK8sAPIAppsV1DeploymentStrategy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1DeploymentStrategy) Validate

Validate validates this io k8s api apps v1 deployment strategy

type IoK8sAPIAppsV1ReplicaSet

type IoK8sAPIAppsV1ReplicaSet struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPIAppsV1ReplicaSetSpec `json:"spec,omitempty"`

	// 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IoK8sAPIAppsV1ReplicaSetStatus `json:"status,omitempty"`
}

IoK8sAPIAppsV1ReplicaSet ReplicaSet ensures that a specified number of pod replicas are running at any given time.

swagger:model io.k8s.api.apps.v1.ReplicaSet

func (*IoK8sAPIAppsV1ReplicaSet) MarshalBinary

func (m *IoK8sAPIAppsV1ReplicaSet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1ReplicaSet) UnmarshalBinary

func (m *IoK8sAPIAppsV1ReplicaSet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1ReplicaSet) Validate

func (m *IoK8sAPIAppsV1ReplicaSet) Validate(formats strfmt.Registry) error

Validate validates this io k8s api apps v1 replica set

type IoK8sAPIAppsV1ReplicaSetCondition

type IoK8sAPIAppsV1ReplicaSetCondition struct {

	// The last time the condition transitioned from one status to another.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty"`

	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// Status of the condition, one of True, False, Unknown.
	// Required: true
	Status *string `json:"status"`

	// Type of replica set condition.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPIAppsV1ReplicaSetCondition ReplicaSetCondition describes the state of a replica set at a certain point.

swagger:model io.k8s.api.apps.v1.ReplicaSetCondition

func (*IoK8sAPIAppsV1ReplicaSetCondition) MarshalBinary

func (m *IoK8sAPIAppsV1ReplicaSetCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1ReplicaSetCondition) UnmarshalBinary

func (m *IoK8sAPIAppsV1ReplicaSetCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1ReplicaSetCondition) Validate

Validate validates this io k8s api apps v1 replica set condition

type IoK8sAPIAppsV1ReplicaSetList

type IoK8sAPIAppsV1ReplicaSetList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller
	// Required: true
	Items []*IoK8sAPIAppsV1ReplicaSet `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIAppsV1ReplicaSetList ReplicaSetList is a collection of ReplicaSets.

swagger:model io.k8s.api.apps.v1.ReplicaSetList

func (*IoK8sAPIAppsV1ReplicaSetList) MarshalBinary

func (m *IoK8sAPIAppsV1ReplicaSetList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1ReplicaSetList) UnmarshalBinary

func (m *IoK8sAPIAppsV1ReplicaSetList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1ReplicaSetList) Validate

func (m *IoK8sAPIAppsV1ReplicaSetList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api apps v1 replica set list

type IoK8sAPIAppsV1ReplicaSetSpec

type IoK8sAPIAppsV1ReplicaSetSpec struct {

	// 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)
	MinReadySeconds int32 `json:"minReadySeconds,omitempty"`

	// Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
	Replicas int32 `json:"replicas,omitempty"`

	// Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	// Required: true
	Selector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"selector"`

	// Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
	Template *IoK8sAPICoreV1PodTemplateSpec `json:"template,omitempty"`
}

IoK8sAPIAppsV1ReplicaSetSpec ReplicaSetSpec is the specification of a ReplicaSet.

swagger:model io.k8s.api.apps.v1.ReplicaSetSpec

func (*IoK8sAPIAppsV1ReplicaSetSpec) MarshalBinary

func (m *IoK8sAPIAppsV1ReplicaSetSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1ReplicaSetSpec) UnmarshalBinary

func (m *IoK8sAPIAppsV1ReplicaSetSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1ReplicaSetSpec) Validate

func (m *IoK8sAPIAppsV1ReplicaSetSpec) Validate(formats strfmt.Registry) error

Validate validates this io k8s api apps v1 replica set spec

type IoK8sAPIAppsV1ReplicaSetStatus

type IoK8sAPIAppsV1ReplicaSetStatus struct {

	// The number of available replicas (ready for at least minReadySeconds) for this replica set.
	AvailableReplicas int32 `json:"availableReplicas,omitempty"`

	// Represents the latest available observations of a replica set's current state.
	Conditions []*IoK8sAPIAppsV1ReplicaSetCondition `json:"conditions"`

	// The number of pods that have labels matching the labels of the pod template of the replicaset.
	FullyLabeledReplicas int32 `json:"fullyLabeledReplicas,omitempty"`

	// ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// The number of ready replicas for this replica set.
	ReadyReplicas int32 `json:"readyReplicas,omitempty"`

	// Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
	// Required: true
	Replicas *int32 `json:"replicas"`
}

IoK8sAPIAppsV1ReplicaSetStatus ReplicaSetStatus represents the current status of a ReplicaSet.

swagger:model io.k8s.api.apps.v1.ReplicaSetStatus

func (*IoK8sAPIAppsV1ReplicaSetStatus) MarshalBinary

func (m *IoK8sAPIAppsV1ReplicaSetStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1ReplicaSetStatus) UnmarshalBinary

func (m *IoK8sAPIAppsV1ReplicaSetStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1ReplicaSetStatus) Validate

func (m *IoK8sAPIAppsV1ReplicaSetStatus) Validate(formats strfmt.Registry) error

Validate validates this io k8s api apps v1 replica set status

type IoK8sAPIAppsV1RollingUpdateDaemonSet

type IoK8sAPIAppsV1RollingUpdateDaemonSet struct {

	// The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.
	MaxUnavailable IoK8sApimachineryPkgUtilIntstrIntOrString `json:"maxUnavailable,omitempty"`
}

IoK8sAPIAppsV1RollingUpdateDaemonSet Spec to control the desired behavior of daemon set rolling update.

swagger:model io.k8s.api.apps.v1.RollingUpdateDaemonSet

func (*IoK8sAPIAppsV1RollingUpdateDaemonSet) MarshalBinary

func (m *IoK8sAPIAppsV1RollingUpdateDaemonSet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1RollingUpdateDaemonSet) UnmarshalBinary

func (m *IoK8sAPIAppsV1RollingUpdateDaemonSet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1RollingUpdateDaemonSet) Validate

Validate validates this io k8s api apps v1 rolling update daemon set

type IoK8sAPIAppsV1RollingUpdateDeployment

type IoK8sAPIAppsV1RollingUpdateDeployment struct {

	// 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. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet 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 ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
	MaxSurge IoK8sApimachineryPkgUtilIntstrIntOrString `json:"maxSurge,omitempty"`

	// 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 down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
	MaxUnavailable IoK8sApimachineryPkgUtilIntstrIntOrString `json:"maxUnavailable,omitempty"`
}

IoK8sAPIAppsV1RollingUpdateDeployment Spec to control the desired behavior of rolling update.

swagger:model io.k8s.api.apps.v1.RollingUpdateDeployment

func (*IoK8sAPIAppsV1RollingUpdateDeployment) MarshalBinary

func (m *IoK8sAPIAppsV1RollingUpdateDeployment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1RollingUpdateDeployment) UnmarshalBinary

func (m *IoK8sAPIAppsV1RollingUpdateDeployment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1RollingUpdateDeployment) Validate

Validate validates this io k8s api apps v1 rolling update deployment

type IoK8sAPIAppsV1RollingUpdateStatefulSetStrategy

type IoK8sAPIAppsV1RollingUpdateStatefulSetStrategy struct {

	// Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.
	Partition int32 `json:"partition,omitempty"`
}

IoK8sAPIAppsV1RollingUpdateStatefulSetStrategy RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.

swagger:model io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy

func (*IoK8sAPIAppsV1RollingUpdateStatefulSetStrategy) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1RollingUpdateStatefulSetStrategy) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1RollingUpdateStatefulSetStrategy) Validate

Validate validates this io k8s api apps v1 rolling update stateful set strategy

type IoK8sAPIAppsV1StatefulSet

type IoK8sAPIAppsV1StatefulSet struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec defines the desired identities of pods in this set.
	Spec *IoK8sAPIAppsV1StatefulSetSpec `json:"spec,omitempty"`

	// Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.
	Status *IoK8sAPIAppsV1StatefulSetStatus `json:"status,omitempty"`
}

IoK8sAPIAppsV1StatefulSet StatefulSet represents a set of pods with consistent identities. Identities are defined as:

  • Network: A single stable DNS and hostname.
  • Storage: As many VolumeClaims as requested.

The StatefulSet guarantees that a given network identity will always map to the same storage identity.

swagger:model io.k8s.api.apps.v1.StatefulSet

func (*IoK8sAPIAppsV1StatefulSet) MarshalBinary

func (m *IoK8sAPIAppsV1StatefulSet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1StatefulSet) UnmarshalBinary

func (m *IoK8sAPIAppsV1StatefulSet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1StatefulSet) Validate

func (m *IoK8sAPIAppsV1StatefulSet) Validate(formats strfmt.Registry) error

Validate validates this io k8s api apps v1 stateful set

type IoK8sAPIAppsV1StatefulSetCondition

type IoK8sAPIAppsV1StatefulSetCondition struct {

	// Last time the condition transitioned from one status to another.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty"`

	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// Status of the condition, one of True, False, Unknown.
	// Required: true
	Status *string `json:"status"`

	// Type of statefulset condition.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPIAppsV1StatefulSetCondition StatefulSetCondition describes the state of a statefulset at a certain point.

swagger:model io.k8s.api.apps.v1.StatefulSetCondition

func (*IoK8sAPIAppsV1StatefulSetCondition) MarshalBinary

func (m *IoK8sAPIAppsV1StatefulSetCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1StatefulSetCondition) UnmarshalBinary

func (m *IoK8sAPIAppsV1StatefulSetCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1StatefulSetCondition) Validate

Validate validates this io k8s api apps v1 stateful set condition

type IoK8sAPIAppsV1StatefulSetList

type IoK8sAPIAppsV1StatefulSetList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items
	// Required: true
	Items []*IoK8sAPIAppsV1StatefulSet `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIAppsV1StatefulSetList StatefulSetList is a collection of StatefulSets.

swagger:model io.k8s.api.apps.v1.StatefulSetList

func (*IoK8sAPIAppsV1StatefulSetList) MarshalBinary

func (m *IoK8sAPIAppsV1StatefulSetList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1StatefulSetList) UnmarshalBinary

func (m *IoK8sAPIAppsV1StatefulSetList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1StatefulSetList) Validate

func (m *IoK8sAPIAppsV1StatefulSetList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api apps v1 stateful set list

type IoK8sAPIAppsV1StatefulSetSpec

type IoK8sAPIAppsV1StatefulSetSpec struct {

	// podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
	PodManagementPolicy string `json:"podManagementPolicy,omitempty"`

	// 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.
	Replicas int32 `json:"replicas,omitempty"`

	// revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
	RevisionHistoryLimit int32 `json:"revisionHistoryLimit,omitempty"`

	// selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	// Required: true
	Selector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"selector"`

	// 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.
	// Required: true
	ServiceName *string `json:"serviceName"`

	// 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.
	// Required: true
	Template *IoK8sAPICoreV1PodTemplateSpec `json:"template"`

	// updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
	UpdateStrategy *IoK8sAPIAppsV1StatefulSetUpdateStrategy `json:"updateStrategy,omitempty"`

	// 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.
	VolumeClaimTemplates []*IoK8sAPICoreV1PersistentVolumeClaim `json:"volumeClaimTemplates"`
}

IoK8sAPIAppsV1StatefulSetSpec A StatefulSetSpec is the specification of a StatefulSet.

swagger:model io.k8s.api.apps.v1.StatefulSetSpec

func (*IoK8sAPIAppsV1StatefulSetSpec) MarshalBinary

func (m *IoK8sAPIAppsV1StatefulSetSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1StatefulSetSpec) UnmarshalBinary

func (m *IoK8sAPIAppsV1StatefulSetSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1StatefulSetSpec) Validate

func (m *IoK8sAPIAppsV1StatefulSetSpec) Validate(formats strfmt.Registry) error

Validate validates this io k8s api apps v1 stateful set spec

type IoK8sAPIAppsV1StatefulSetStatus

type IoK8sAPIAppsV1StatefulSetStatus struct {

	// collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
	CollisionCount int32 `json:"collisionCount,omitempty"`

	// Represents the latest available observations of a statefulset's current state.
	Conditions []*IoK8sAPIAppsV1StatefulSetCondition `json:"conditions"`

	// currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
	CurrentReplicas int32 `json:"currentReplicas,omitempty"`

	// currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
	CurrentRevision string `json:"currentRevision,omitempty"`

	// observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
	ReadyReplicas int32 `json:"readyReplicas,omitempty"`

	// replicas is the number of Pods created by the StatefulSet controller.
	// Required: true
	Replicas *int32 `json:"replicas"`

	// updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
	UpdateRevision string `json:"updateRevision,omitempty"`

	// updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
	UpdatedReplicas int32 `json:"updatedReplicas,omitempty"`
}

IoK8sAPIAppsV1StatefulSetStatus StatefulSetStatus represents the current state of a StatefulSet.

swagger:model io.k8s.api.apps.v1.StatefulSetStatus

func (*IoK8sAPIAppsV1StatefulSetStatus) MarshalBinary

func (m *IoK8sAPIAppsV1StatefulSetStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1StatefulSetStatus) UnmarshalBinary

func (m *IoK8sAPIAppsV1StatefulSetStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1StatefulSetStatus) Validate

Validate validates this io k8s api apps v1 stateful set status

type IoK8sAPIAppsV1StatefulSetUpdateStrategy

type IoK8sAPIAppsV1StatefulSetUpdateStrategy struct {

	// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
	RollingUpdate *IoK8sAPIAppsV1RollingUpdateStatefulSetStrategy `json:"rollingUpdate,omitempty"`

	// Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
	Type string `json:"type,omitempty"`
}

IoK8sAPIAppsV1StatefulSetUpdateStrategy StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.

swagger:model io.k8s.api.apps.v1.StatefulSetUpdateStrategy

func (*IoK8sAPIAppsV1StatefulSetUpdateStrategy) MarshalBinary

func (m *IoK8sAPIAppsV1StatefulSetUpdateStrategy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAppsV1StatefulSetUpdateStrategy) UnmarshalBinary

func (m *IoK8sAPIAppsV1StatefulSetUpdateStrategy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAppsV1StatefulSetUpdateStrategy) Validate

Validate validates this io k8s api apps v1 stateful set update strategy

type IoK8sAPIAuthenticationV1BoundObjectReference

type IoK8sAPIAuthenticationV1BoundObjectReference struct {

	// API version of the referent.
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind of the referent. Valid kinds are 'Pod' and 'Secret'.
	Kind string `json:"kind,omitempty"`

	// Name of the referent.
	Name string `json:"name,omitempty"`

	// UID of the referent.
	UID string `json:"uid,omitempty"`
}

IoK8sAPIAuthenticationV1BoundObjectReference BoundObjectReference is a reference to an object that a token is bound to.

swagger:model io.k8s.api.authentication.v1.BoundObjectReference

func (*IoK8sAPIAuthenticationV1BoundObjectReference) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1BoundObjectReference) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1BoundObjectReference) Validate

Validate validates this io k8s api authentication v1 bound object reference

type IoK8sAPIAuthenticationV1TokenRequest

type IoK8sAPIAuthenticationV1TokenRequest struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// spec
	// Required: true
	Spec *IoK8sAPIAuthenticationV1TokenRequestSpec `json:"spec"`

	// status
	Status *IoK8sAPIAuthenticationV1TokenRequestStatus `json:"status,omitempty"`
}

IoK8sAPIAuthenticationV1TokenRequest TokenRequest requests a token for a given service account.

swagger:model io.k8s.api.authentication.v1.TokenRequest

func (*IoK8sAPIAuthenticationV1TokenRequest) MarshalBinary

func (m *IoK8sAPIAuthenticationV1TokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1TokenRequest) UnmarshalBinary

func (m *IoK8sAPIAuthenticationV1TokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1TokenRequest) Validate

Validate validates this io k8s api authentication v1 token request

type IoK8sAPIAuthenticationV1TokenRequestSpec

type IoK8sAPIAuthenticationV1TokenRequestSpec struct {

	// Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
	// Required: true
	Audiences []string `json:"audiences"`

	// BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation.
	BoundObjectRef *IoK8sAPIAuthenticationV1BoundObjectReference `json:"boundObjectRef,omitempty"`

	// ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.
	ExpirationSeconds int64 `json:"expirationSeconds,omitempty"`
}

IoK8sAPIAuthenticationV1TokenRequestSpec TokenRequestSpec contains client provided parameters of a token request.

swagger:model io.k8s.api.authentication.v1.TokenRequestSpec

func (*IoK8sAPIAuthenticationV1TokenRequestSpec) MarshalBinary

func (m *IoK8sAPIAuthenticationV1TokenRequestSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1TokenRequestSpec) UnmarshalBinary

func (m *IoK8sAPIAuthenticationV1TokenRequestSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1TokenRequestSpec) Validate

Validate validates this io k8s api authentication v1 token request spec

type IoK8sAPIAuthenticationV1TokenRequestStatus

type IoK8sAPIAuthenticationV1TokenRequestStatus struct {

	// ExpirationTimestamp is the time of expiration of the returned token.
	// Required: true
	// Format: date-time
	ExpirationTimestamp IoK8sApimachineryPkgApisMetaV1Time `json:"expirationTimestamp"`

	// Token is the opaque bearer token.
	// Required: true
	Token *string `json:"token"`
}

IoK8sAPIAuthenticationV1TokenRequestStatus TokenRequestStatus is the result of a token request.

swagger:model io.k8s.api.authentication.v1.TokenRequestStatus

func (*IoK8sAPIAuthenticationV1TokenRequestStatus) MarshalBinary

func (m *IoK8sAPIAuthenticationV1TokenRequestStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1TokenRequestStatus) UnmarshalBinary

func (m *IoK8sAPIAuthenticationV1TokenRequestStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1TokenRequestStatus) Validate

Validate validates this io k8s api authentication v1 token request status

type IoK8sAPIAuthenticationV1TokenReview

type IoK8sAPIAuthenticationV1TokenReview struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec holds information about the request being evaluated
	// Required: true
	Spec *IoK8sAPIAuthenticationV1TokenReviewSpec `json:"spec"`

	// Status is filled in by the server and indicates whether the request can be authenticated.
	Status *IoK8sAPIAuthenticationV1TokenReviewStatus `json:"status,omitempty"`
}

IoK8sAPIAuthenticationV1TokenReview 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.

swagger:model io.k8s.api.authentication.v1.TokenReview

func (*IoK8sAPIAuthenticationV1TokenReview) MarshalBinary

func (m *IoK8sAPIAuthenticationV1TokenReview) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1TokenReview) UnmarshalBinary

func (m *IoK8sAPIAuthenticationV1TokenReview) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1TokenReview) Validate

Validate validates this io k8s api authentication v1 token review

type IoK8sAPIAuthenticationV1TokenReviewSpec

type IoK8sAPIAuthenticationV1TokenReviewSpec struct {

	// Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.
	Audiences []string `json:"audiences"`

	// Token is the opaque bearer token.
	Token string `json:"token,omitempty"`
}

IoK8sAPIAuthenticationV1TokenReviewSpec TokenReviewSpec is a description of the token authentication request.

swagger:model io.k8s.api.authentication.v1.TokenReviewSpec

func (*IoK8sAPIAuthenticationV1TokenReviewSpec) MarshalBinary

func (m *IoK8sAPIAuthenticationV1TokenReviewSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1TokenReviewSpec) UnmarshalBinary

func (m *IoK8sAPIAuthenticationV1TokenReviewSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1TokenReviewSpec) Validate

Validate validates this io k8s api authentication v1 token review spec

type IoK8sAPIAuthenticationV1TokenReviewStatus

type IoK8sAPIAuthenticationV1TokenReviewStatus struct {

	// Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server.
	Audiences []string `json:"audiences"`

	// Authenticated indicates that the token was associated with a known user.
	Authenticated bool `json:"authenticated,omitempty"`

	// Error indicates that the token couldn't be checked
	Error string `json:"error,omitempty"`

	// User is the UserInfo associated with the provided token.
	User *IoK8sAPIAuthenticationV1UserInfo `json:"user,omitempty"`
}

IoK8sAPIAuthenticationV1TokenReviewStatus TokenReviewStatus is the result of the token authentication request.

swagger:model io.k8s.api.authentication.v1.TokenReviewStatus

func (*IoK8sAPIAuthenticationV1TokenReviewStatus) MarshalBinary

func (m *IoK8sAPIAuthenticationV1TokenReviewStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1TokenReviewStatus) UnmarshalBinary

func (m *IoK8sAPIAuthenticationV1TokenReviewStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1TokenReviewStatus) Validate

Validate validates this io k8s api authentication v1 token review status

type IoK8sAPIAuthenticationV1UserInfo

type IoK8sAPIAuthenticationV1UserInfo struct {

	// Any additional information provided by the authenticator.
	Extra map[string][]string `json:"extra,omitempty"`

	// The names of groups this user is a part of.
	Groups []string `json:"groups"`

	// 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.
	UID string `json:"uid,omitempty"`

	// The name that uniquely identifies this user among all active users.
	Username string `json:"username,omitempty"`
}

IoK8sAPIAuthenticationV1UserInfo UserInfo holds the information about the user needed to implement the user.Info interface.

swagger:model io.k8s.api.authentication.v1.UserInfo

func (*IoK8sAPIAuthenticationV1UserInfo) MarshalBinary

func (m *IoK8sAPIAuthenticationV1UserInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1UserInfo) UnmarshalBinary

func (m *IoK8sAPIAuthenticationV1UserInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1UserInfo) Validate

Validate validates this io k8s api authentication v1 user info

type IoK8sAPIAuthenticationV1beta1TokenReview

type IoK8sAPIAuthenticationV1beta1TokenReview struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec holds information about the request being evaluated
	// Required: true
	Spec *IoK8sAPIAuthenticationV1beta1TokenReviewSpec `json:"spec"`

	// Status is filled in by the server and indicates whether the request can be authenticated.
	Status *IoK8sAPIAuthenticationV1beta1TokenReviewStatus `json:"status,omitempty"`
}

IoK8sAPIAuthenticationV1beta1TokenReview 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.

swagger:model io.k8s.api.authentication.v1beta1.TokenReview

func (*IoK8sAPIAuthenticationV1beta1TokenReview) MarshalBinary

func (m *IoK8sAPIAuthenticationV1beta1TokenReview) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1beta1TokenReview) UnmarshalBinary

func (m *IoK8sAPIAuthenticationV1beta1TokenReview) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1beta1TokenReview) Validate

Validate validates this io k8s api authentication v1beta1 token review

type IoK8sAPIAuthenticationV1beta1TokenReviewSpec

type IoK8sAPIAuthenticationV1beta1TokenReviewSpec struct {

	// Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.
	Audiences []string `json:"audiences"`

	// Token is the opaque bearer token.
	Token string `json:"token,omitempty"`
}

IoK8sAPIAuthenticationV1beta1TokenReviewSpec TokenReviewSpec is a description of the token authentication request.

swagger:model io.k8s.api.authentication.v1beta1.TokenReviewSpec

func (*IoK8sAPIAuthenticationV1beta1TokenReviewSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1beta1TokenReviewSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1beta1TokenReviewSpec) Validate

Validate validates this io k8s api authentication v1beta1 token review spec

type IoK8sAPIAuthenticationV1beta1TokenReviewStatus

type IoK8sAPIAuthenticationV1beta1TokenReviewStatus struct {

	// Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server.
	Audiences []string `json:"audiences"`

	// Authenticated indicates that the token was associated with a known user.
	Authenticated bool `json:"authenticated,omitempty"`

	// Error indicates that the token couldn't be checked
	Error string `json:"error,omitempty"`

	// User is the UserInfo associated with the provided token.
	User *IoK8sAPIAuthenticationV1beta1UserInfo `json:"user,omitempty"`
}

IoK8sAPIAuthenticationV1beta1TokenReviewStatus TokenReviewStatus is the result of the token authentication request.

swagger:model io.k8s.api.authentication.v1beta1.TokenReviewStatus

func (*IoK8sAPIAuthenticationV1beta1TokenReviewStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1beta1TokenReviewStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1beta1TokenReviewStatus) Validate

Validate validates this io k8s api authentication v1beta1 token review status

type IoK8sAPIAuthenticationV1beta1UserInfo

type IoK8sAPIAuthenticationV1beta1UserInfo struct {

	// Any additional information provided by the authenticator.
	Extra map[string][]string `json:"extra,omitempty"`

	// The names of groups this user is a part of.
	Groups []string `json:"groups"`

	// 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.
	UID string `json:"uid,omitempty"`

	// The name that uniquely identifies this user among all active users.
	Username string `json:"username,omitempty"`
}

IoK8sAPIAuthenticationV1beta1UserInfo UserInfo holds the information about the user needed to implement the user.Info interface.

swagger:model io.k8s.api.authentication.v1beta1.UserInfo

func (*IoK8sAPIAuthenticationV1beta1UserInfo) MarshalBinary

func (m *IoK8sAPIAuthenticationV1beta1UserInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1beta1UserInfo) UnmarshalBinary

func (m *IoK8sAPIAuthenticationV1beta1UserInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthenticationV1beta1UserInfo) Validate

Validate validates this io k8s api authentication v1beta1 user info

type IoK8sAPIAuthorizationV1LocalSubjectAccessReview

type IoK8sAPIAuthorizationV1LocalSubjectAccessReview struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// 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.
	// Required: true
	Spec *IoK8sAPIAuthorizationV1SubjectAccessReviewSpec `json:"spec"`

	// Status is filled in by the server and indicates whether the request is allowed or not
	Status *IoK8sAPIAuthorizationV1SubjectAccessReviewStatus `json:"status,omitempty"`
}

IoK8sAPIAuthorizationV1LocalSubjectAccessReview 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.

swagger:model io.k8s.api.authorization.v1.LocalSubjectAccessReview

func (*IoK8sAPIAuthorizationV1LocalSubjectAccessReview) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1LocalSubjectAccessReview) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1LocalSubjectAccessReview) Validate

Validate validates this io k8s api authorization v1 local subject access review

type IoK8sAPIAuthorizationV1NonResourceAttributes

type IoK8sAPIAuthorizationV1NonResourceAttributes struct {

	// Path is the URL path of the request
	Path string `json:"path,omitempty"`

	// Verb is the standard HTTP verb
	Verb string `json:"verb,omitempty"`
}

IoK8sAPIAuthorizationV1NonResourceAttributes NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface

swagger:model io.k8s.api.authorization.v1.NonResourceAttributes

func (*IoK8sAPIAuthorizationV1NonResourceAttributes) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1NonResourceAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1NonResourceAttributes) Validate

Validate validates this io k8s api authorization v1 non resource attributes

type IoK8sAPIAuthorizationV1NonResourceRule

type IoK8sAPIAuthorizationV1NonResourceRule struct {

	// 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.  "*" means all.
	NonResourceURLs []string `json:"nonResourceURLs"`

	// Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.  "*" means all.
	// Required: true
	Verbs []string `json:"verbs"`
}

IoK8sAPIAuthorizationV1NonResourceRule NonResourceRule holds information that describes a rule for the non-resource

swagger:model io.k8s.api.authorization.v1.NonResourceRule

func (*IoK8sAPIAuthorizationV1NonResourceRule) MarshalBinary

func (m *IoK8sAPIAuthorizationV1NonResourceRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1NonResourceRule) UnmarshalBinary

func (m *IoK8sAPIAuthorizationV1NonResourceRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1NonResourceRule) Validate

Validate validates this io k8s api authorization v1 non resource rule

type IoK8sAPIAuthorizationV1ResourceAttributes

type IoK8sAPIAuthorizationV1ResourceAttributes struct {

	// Group is the API Group of the Resource.  "*" means all.
	Group string `json:"group,omitempty"`

	// Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.
	Name string `json:"name,omitempty"`

	// 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
	Namespace string `json:"namespace,omitempty"`

	// Resource is one of the existing resource types.  "*" means all.
	Resource string `json:"resource,omitempty"`

	// Subresource is one of the existing resource types.  "" means none.
	Subresource string `json:"subresource,omitempty"`

	// Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.  "*" means all.
	Verb string `json:"verb,omitempty"`

	// Version is the API Version of the Resource.  "*" means all.
	Version string `json:"version,omitempty"`
}

IoK8sAPIAuthorizationV1ResourceAttributes ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface

swagger:model io.k8s.api.authorization.v1.ResourceAttributes

func (*IoK8sAPIAuthorizationV1ResourceAttributes) MarshalBinary

func (m *IoK8sAPIAuthorizationV1ResourceAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1ResourceAttributes) UnmarshalBinary

func (m *IoK8sAPIAuthorizationV1ResourceAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1ResourceAttributes) Validate

Validate validates this io k8s api authorization v1 resource attributes

type IoK8sAPIAuthorizationV1ResourceRule

type IoK8sAPIAuthorizationV1ResourceRule struct {

	// 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.  "*" means all.
	APIGroups []string `json:"apiGroups"`

	// ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.  "*" means all.
	ResourceNames []string `json:"resourceNames"`

	// Resources is a list of resources this rule applies to.  "*" means all in the specified apiGroups.
	//  "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups.
	Resources []string `json:"resources"`

	// Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy.  "*" means all.
	// Required: true
	Verbs []string `json:"verbs"`
}

IoK8sAPIAuthorizationV1ResourceRule ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.

swagger:model io.k8s.api.authorization.v1.ResourceRule

func (*IoK8sAPIAuthorizationV1ResourceRule) MarshalBinary

func (m *IoK8sAPIAuthorizationV1ResourceRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1ResourceRule) UnmarshalBinary

func (m *IoK8sAPIAuthorizationV1ResourceRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1ResourceRule) Validate

Validate validates this io k8s api authorization v1 resource rule

type IoK8sAPIAuthorizationV1SelfSubjectAccessReview

type IoK8sAPIAuthorizationV1SelfSubjectAccessReview struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec holds information about the request being evaluated.  user and groups must be empty
	// Required: true
	Spec *IoK8sAPIAuthorizationV1SelfSubjectAccessReviewSpec `json:"spec"`

	// Status is filled in by the server and indicates whether the request is allowed or not
	Status *IoK8sAPIAuthorizationV1SubjectAccessReviewStatus `json:"status,omitempty"`
}

IoK8sAPIAuthorizationV1SelfSubjectAccessReview 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

swagger:model io.k8s.api.authorization.v1.SelfSubjectAccessReview

func (*IoK8sAPIAuthorizationV1SelfSubjectAccessReview) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1SelfSubjectAccessReview) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1SelfSubjectAccessReview) Validate

Validate validates this io k8s api authorization v1 self subject access review

type IoK8sAPIAuthorizationV1SelfSubjectAccessReviewSpec

type IoK8sAPIAuthorizationV1SelfSubjectAccessReviewSpec struct {

	// NonResourceAttributes describes information for a non-resource access request
	NonResourceAttributes *IoK8sAPIAuthorizationV1NonResourceAttributes `json:"nonResourceAttributes,omitempty"`

	// ResourceAuthorizationAttributes describes information for a resource access request
	ResourceAttributes *IoK8sAPIAuthorizationV1ResourceAttributes `json:"resourceAttributes,omitempty"`
}

IoK8sAPIAuthorizationV1SelfSubjectAccessReviewSpec SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set

swagger:model io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec

func (*IoK8sAPIAuthorizationV1SelfSubjectAccessReviewSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1SelfSubjectAccessReviewSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1SelfSubjectAccessReviewSpec) Validate

Validate validates this io k8s api authorization v1 self subject access review spec

type IoK8sAPIAuthorizationV1SelfSubjectRulesReview

type IoK8sAPIAuthorizationV1SelfSubjectRulesReview struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec holds information about the request being evaluated.
	// Required: true
	Spec *IoK8sAPIAuthorizationV1SelfSubjectRulesReviewSpec `json:"spec"`

	// Status is filled in by the server and indicates the set of actions a user can perform.
	Status *IoK8sAPIAuthorizationV1SubjectRulesReviewStatus `json:"status,omitempty"`
}

IoK8sAPIAuthorizationV1SelfSubjectRulesReview SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.

swagger:model io.k8s.api.authorization.v1.SelfSubjectRulesReview

func (*IoK8sAPIAuthorizationV1SelfSubjectRulesReview) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1SelfSubjectRulesReview) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1SelfSubjectRulesReview) Validate

Validate validates this io k8s api authorization v1 self subject rules review

type IoK8sAPIAuthorizationV1SelfSubjectRulesReviewSpec

type IoK8sAPIAuthorizationV1SelfSubjectRulesReviewSpec struct {

	// Namespace to evaluate rules for. Required.
	Namespace string `json:"namespace,omitempty"`
}

IoK8sAPIAuthorizationV1SelfSubjectRulesReviewSpec io k8s api authorization v1 self subject rules review spec

swagger:model io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec

func (*IoK8sAPIAuthorizationV1SelfSubjectRulesReviewSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1SelfSubjectRulesReviewSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1SelfSubjectRulesReviewSpec) Validate

Validate validates this io k8s api authorization v1 self subject rules review spec

type IoK8sAPIAuthorizationV1SubjectAccessReview

type IoK8sAPIAuthorizationV1SubjectAccessReview struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec holds information about the request being evaluated
	// Required: true
	Spec *IoK8sAPIAuthorizationV1SubjectAccessReviewSpec `json:"spec"`

	// Status is filled in by the server and indicates whether the request is allowed or not
	Status *IoK8sAPIAuthorizationV1SubjectAccessReviewStatus `json:"status,omitempty"`
}

IoK8sAPIAuthorizationV1SubjectAccessReview SubjectAccessReview checks whether or not a user or group can perform an action.

swagger:model io.k8s.api.authorization.v1.SubjectAccessReview

func (*IoK8sAPIAuthorizationV1SubjectAccessReview) MarshalBinary

func (m *IoK8sAPIAuthorizationV1SubjectAccessReview) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1SubjectAccessReview) UnmarshalBinary

func (m *IoK8sAPIAuthorizationV1SubjectAccessReview) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1SubjectAccessReview) Validate

Validate validates this io k8s api authorization v1 subject access review

type IoK8sAPIAuthorizationV1SubjectAccessReviewSpec

type IoK8sAPIAuthorizationV1SubjectAccessReviewSpec struct {

	// Extra corresponds to the user.Info.GetExtra() method from the authenticator.  Since that is input to the authorizer it needs a reflection here.
	Extra map[string][]string `json:"extra,omitempty"`

	// Groups is the groups you're testing for.
	Groups []string `json:"groups"`

	// NonResourceAttributes describes information for a non-resource access request
	NonResourceAttributes *IoK8sAPIAuthorizationV1NonResourceAttributes `json:"nonResourceAttributes,omitempty"`

	// ResourceAuthorizationAttributes describes information for a resource access request
	ResourceAttributes *IoK8sAPIAuthorizationV1ResourceAttributes `json:"resourceAttributes,omitempty"`

	// UID information about the requesting user.
	UID string `json:"uid,omitempty"`

	// User is the user you're testing for. If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups
	User string `json:"user,omitempty"`
}

IoK8sAPIAuthorizationV1SubjectAccessReviewSpec SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set

swagger:model io.k8s.api.authorization.v1.SubjectAccessReviewSpec

func (*IoK8sAPIAuthorizationV1SubjectAccessReviewSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1SubjectAccessReviewSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1SubjectAccessReviewSpec) Validate

Validate validates this io k8s api authorization v1 subject access review spec

type IoK8sAPIAuthorizationV1SubjectAccessReviewStatus

type IoK8sAPIAuthorizationV1SubjectAccessReviewStatus struct {

	// Allowed is required. True if the action would be allowed, false otherwise.
	// Required: true
	Allowed *bool `json:"allowed"`

	// Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.
	Denied bool `json:"denied,omitempty"`

	// 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.
	EvaluationError string `json:"evaluationError,omitempty"`

	// Reason is optional.  It indicates why a request was allowed or denied.
	Reason string `json:"reason,omitempty"`
}

IoK8sAPIAuthorizationV1SubjectAccessReviewStatus SubjectAccessReviewStatus

swagger:model io.k8s.api.authorization.v1.SubjectAccessReviewStatus

func (*IoK8sAPIAuthorizationV1SubjectAccessReviewStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1SubjectAccessReviewStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1SubjectAccessReviewStatus) Validate

Validate validates this io k8s api authorization v1 subject access review status

type IoK8sAPIAuthorizationV1SubjectRulesReviewStatus

type IoK8sAPIAuthorizationV1SubjectRulesReviewStatus struct {

	// EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.
	EvaluationError string `json:"evaluationError,omitempty"`

	// Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.
	// Required: true
	Incomplete *bool `json:"incomplete"`

	// NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
	// Required: true
	NonResourceRules []*IoK8sAPIAuthorizationV1NonResourceRule `json:"nonResourceRules"`

	// ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
	// Required: true
	ResourceRules []*IoK8sAPIAuthorizationV1ResourceRule `json:"resourceRules"`
}

IoK8sAPIAuthorizationV1SubjectRulesReviewStatus SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.

swagger:model io.k8s.api.authorization.v1.SubjectRulesReviewStatus

func (*IoK8sAPIAuthorizationV1SubjectRulesReviewStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1SubjectRulesReviewStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1SubjectRulesReviewStatus) Validate

Validate validates this io k8s api authorization v1 subject rules review status

type IoK8sAPIAuthorizationV1beta1LocalSubjectAccessReview

type IoK8sAPIAuthorizationV1beta1LocalSubjectAccessReview struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// 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.
	// Required: true
	Spec *IoK8sAPIAuthorizationV1beta1SubjectAccessReviewSpec `json:"spec"`

	// Status is filled in by the server and indicates whether the request is allowed or not
	Status *IoK8sAPIAuthorizationV1beta1SubjectAccessReviewStatus `json:"status,omitempty"`
}

IoK8sAPIAuthorizationV1beta1LocalSubjectAccessReview 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.

swagger:model io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview

func (*IoK8sAPIAuthorizationV1beta1LocalSubjectAccessReview) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1LocalSubjectAccessReview) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1LocalSubjectAccessReview) Validate

Validate validates this io k8s api authorization v1beta1 local subject access review

type IoK8sAPIAuthorizationV1beta1NonResourceAttributes

type IoK8sAPIAuthorizationV1beta1NonResourceAttributes struct {

	// Path is the URL path of the request
	Path string `json:"path,omitempty"`

	// Verb is the standard HTTP verb
	Verb string `json:"verb,omitempty"`
}

IoK8sAPIAuthorizationV1beta1NonResourceAttributes NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface

swagger:model io.k8s.api.authorization.v1beta1.NonResourceAttributes

func (*IoK8sAPIAuthorizationV1beta1NonResourceAttributes) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1NonResourceAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1NonResourceAttributes) Validate

Validate validates this io k8s api authorization v1beta1 non resource attributes

type IoK8sAPIAuthorizationV1beta1NonResourceRule

type IoK8sAPIAuthorizationV1beta1NonResourceRule struct {

	// 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.  "*" means all.
	NonResourceURLs []string `json:"nonResourceURLs"`

	// Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.  "*" means all.
	// Required: true
	Verbs []string `json:"verbs"`
}

IoK8sAPIAuthorizationV1beta1NonResourceRule NonResourceRule holds information that describes a rule for the non-resource

swagger:model io.k8s.api.authorization.v1beta1.NonResourceRule

func (*IoK8sAPIAuthorizationV1beta1NonResourceRule) MarshalBinary

func (m *IoK8sAPIAuthorizationV1beta1NonResourceRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1NonResourceRule) UnmarshalBinary

func (m *IoK8sAPIAuthorizationV1beta1NonResourceRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1NonResourceRule) Validate

Validate validates this io k8s api authorization v1beta1 non resource rule

type IoK8sAPIAuthorizationV1beta1ResourceAttributes

type IoK8sAPIAuthorizationV1beta1ResourceAttributes struct {

	// Group is the API Group of the Resource.  "*" means all.
	Group string `json:"group,omitempty"`

	// Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.
	Name string `json:"name,omitempty"`

	// 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
	Namespace string `json:"namespace,omitempty"`

	// Resource is one of the existing resource types.  "*" means all.
	Resource string `json:"resource,omitempty"`

	// Subresource is one of the existing resource types.  "" means none.
	Subresource string `json:"subresource,omitempty"`

	// Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.  "*" means all.
	Verb string `json:"verb,omitempty"`

	// Version is the API Version of the Resource.  "*" means all.
	Version string `json:"version,omitempty"`
}

IoK8sAPIAuthorizationV1beta1ResourceAttributes ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface

swagger:model io.k8s.api.authorization.v1beta1.ResourceAttributes

func (*IoK8sAPIAuthorizationV1beta1ResourceAttributes) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1ResourceAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1ResourceAttributes) Validate

Validate validates this io k8s api authorization v1beta1 resource attributes

type IoK8sAPIAuthorizationV1beta1ResourceRule

type IoK8sAPIAuthorizationV1beta1ResourceRule struct {

	// 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.  "*" means all.
	APIGroups []string `json:"apiGroups"`

	// ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.  "*" means all.
	ResourceNames []string `json:"resourceNames"`

	// Resources is a list of resources this rule applies to.  "*" means all in the specified apiGroups.
	//  "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups.
	Resources []string `json:"resources"`

	// Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy.  "*" means all.
	// Required: true
	Verbs []string `json:"verbs"`
}

IoK8sAPIAuthorizationV1beta1ResourceRule ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.

swagger:model io.k8s.api.authorization.v1beta1.ResourceRule

func (*IoK8sAPIAuthorizationV1beta1ResourceRule) MarshalBinary

func (m *IoK8sAPIAuthorizationV1beta1ResourceRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1ResourceRule) UnmarshalBinary

func (m *IoK8sAPIAuthorizationV1beta1ResourceRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1ResourceRule) Validate

Validate validates this io k8s api authorization v1beta1 resource rule

type IoK8sAPIAuthorizationV1beta1SelfSubjectAccessReview

type IoK8sAPIAuthorizationV1beta1SelfSubjectAccessReview struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec holds information about the request being evaluated.  user and groups must be empty
	// Required: true
	Spec *IoK8sAPIAuthorizationV1beta1SelfSubjectAccessReviewSpec `json:"spec"`

	// Status is filled in by the server and indicates whether the request is allowed or not
	Status *IoK8sAPIAuthorizationV1beta1SubjectAccessReviewStatus `json:"status,omitempty"`
}

IoK8sAPIAuthorizationV1beta1SelfSubjectAccessReview 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

swagger:model io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview

func (*IoK8sAPIAuthorizationV1beta1SelfSubjectAccessReview) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1SelfSubjectAccessReview) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1SelfSubjectAccessReview) Validate

Validate validates this io k8s api authorization v1beta1 self subject access review

type IoK8sAPIAuthorizationV1beta1SelfSubjectAccessReviewSpec

type IoK8sAPIAuthorizationV1beta1SelfSubjectAccessReviewSpec struct {

	// NonResourceAttributes describes information for a non-resource access request
	NonResourceAttributes *IoK8sAPIAuthorizationV1beta1NonResourceAttributes `json:"nonResourceAttributes,omitempty"`

	// ResourceAuthorizationAttributes describes information for a resource access request
	ResourceAttributes *IoK8sAPIAuthorizationV1beta1ResourceAttributes `json:"resourceAttributes,omitempty"`
}

IoK8sAPIAuthorizationV1beta1SelfSubjectAccessReviewSpec SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set

swagger:model io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec

func (*IoK8sAPIAuthorizationV1beta1SelfSubjectAccessReviewSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1SelfSubjectAccessReviewSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1SelfSubjectAccessReviewSpec) Validate

Validate validates this io k8s api authorization v1beta1 self subject access review spec

type IoK8sAPIAuthorizationV1beta1SelfSubjectRulesReview

type IoK8sAPIAuthorizationV1beta1SelfSubjectRulesReview struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec holds information about the request being evaluated.
	// Required: true
	Spec *IoK8sAPIAuthorizationV1beta1SelfSubjectRulesReviewSpec `json:"spec"`

	// Status is filled in by the server and indicates the set of actions a user can perform.
	Status *IoK8sAPIAuthorizationV1beta1SubjectRulesReviewStatus `json:"status,omitempty"`
}

IoK8sAPIAuthorizationV1beta1SelfSubjectRulesReview SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.

swagger:model io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview

func (*IoK8sAPIAuthorizationV1beta1SelfSubjectRulesReview) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1SelfSubjectRulesReview) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1SelfSubjectRulesReview) Validate

Validate validates this io k8s api authorization v1beta1 self subject rules review

type IoK8sAPIAuthorizationV1beta1SelfSubjectRulesReviewSpec

type IoK8sAPIAuthorizationV1beta1SelfSubjectRulesReviewSpec struct {

	// Namespace to evaluate rules for. Required.
	Namespace string `json:"namespace,omitempty"`
}

IoK8sAPIAuthorizationV1beta1SelfSubjectRulesReviewSpec io k8s api authorization v1beta1 self subject rules review spec

swagger:model io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec

func (*IoK8sAPIAuthorizationV1beta1SelfSubjectRulesReviewSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1SelfSubjectRulesReviewSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1SelfSubjectRulesReviewSpec) Validate

Validate validates this io k8s api authorization v1beta1 self subject rules review spec

type IoK8sAPIAuthorizationV1beta1SubjectAccessReview

type IoK8sAPIAuthorizationV1beta1SubjectAccessReview struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec holds information about the request being evaluated
	// Required: true
	Spec *IoK8sAPIAuthorizationV1beta1SubjectAccessReviewSpec `json:"spec"`

	// Status is filled in by the server and indicates whether the request is allowed or not
	Status *IoK8sAPIAuthorizationV1beta1SubjectAccessReviewStatus `json:"status,omitempty"`
}

IoK8sAPIAuthorizationV1beta1SubjectAccessReview SubjectAccessReview checks whether or not a user or group can perform an action.

swagger:model io.k8s.api.authorization.v1beta1.SubjectAccessReview

func (*IoK8sAPIAuthorizationV1beta1SubjectAccessReview) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1SubjectAccessReview) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1SubjectAccessReview) Validate

Validate validates this io k8s api authorization v1beta1 subject access review

type IoK8sAPIAuthorizationV1beta1SubjectAccessReviewSpec

type IoK8sAPIAuthorizationV1beta1SubjectAccessReviewSpec struct {

	// Extra corresponds to the user.Info.GetExtra() method from the authenticator.  Since that is input to the authorizer it needs a reflection here.
	Extra map[string][]string `json:"extra,omitempty"`

	// Groups is the groups you're testing for.
	Group []string `json:"group"`

	// NonResourceAttributes describes information for a non-resource access request
	NonResourceAttributes *IoK8sAPIAuthorizationV1beta1NonResourceAttributes `json:"nonResourceAttributes,omitempty"`

	// ResourceAuthorizationAttributes describes information for a resource access request
	ResourceAttributes *IoK8sAPIAuthorizationV1beta1ResourceAttributes `json:"resourceAttributes,omitempty"`

	// UID information about the requesting user.
	UID string `json:"uid,omitempty"`

	// 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
	User string `json:"user,omitempty"`
}

IoK8sAPIAuthorizationV1beta1SubjectAccessReviewSpec SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set

swagger:model io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec

func (*IoK8sAPIAuthorizationV1beta1SubjectAccessReviewSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1SubjectAccessReviewSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1SubjectAccessReviewSpec) Validate

Validate validates this io k8s api authorization v1beta1 subject access review spec

type IoK8sAPIAuthorizationV1beta1SubjectAccessReviewStatus

type IoK8sAPIAuthorizationV1beta1SubjectAccessReviewStatus struct {

	// Allowed is required. True if the action would be allowed, false otherwise.
	// Required: true
	Allowed *bool `json:"allowed"`

	// Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.
	Denied bool `json:"denied,omitempty"`

	// 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.
	EvaluationError string `json:"evaluationError,omitempty"`

	// Reason is optional.  It indicates why a request was allowed or denied.
	Reason string `json:"reason,omitempty"`
}

IoK8sAPIAuthorizationV1beta1SubjectAccessReviewStatus SubjectAccessReviewStatus

swagger:model io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus

func (*IoK8sAPIAuthorizationV1beta1SubjectAccessReviewStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1SubjectAccessReviewStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1SubjectAccessReviewStatus) Validate

Validate validates this io k8s api authorization v1beta1 subject access review status

type IoK8sAPIAuthorizationV1beta1SubjectRulesReviewStatus

type IoK8sAPIAuthorizationV1beta1SubjectRulesReviewStatus struct {

	// EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.
	EvaluationError string `json:"evaluationError,omitempty"`

	// Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.
	// Required: true
	Incomplete *bool `json:"incomplete"`

	// NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
	// Required: true
	NonResourceRules []*IoK8sAPIAuthorizationV1beta1NonResourceRule `json:"nonResourceRules"`

	// ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
	// Required: true
	ResourceRules []*IoK8sAPIAuthorizationV1beta1ResourceRule `json:"resourceRules"`
}

IoK8sAPIAuthorizationV1beta1SubjectRulesReviewStatus SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.

swagger:model io.k8s.api.authorization.v1beta1.SubjectRulesReviewStatus

func (*IoK8sAPIAuthorizationV1beta1SubjectRulesReviewStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1SubjectRulesReviewStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAuthorizationV1beta1SubjectRulesReviewStatus) Validate

Validate validates this io k8s api authorization v1beta1 subject rules review status

type IoK8sAPIAutoscalingV1CrossVersionObjectReference

type IoK8sAPIAutoscalingV1CrossVersionObjectReference struct {

	// API version of the referent
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
	// Required: true
	Kind *string `json:"kind"`

	// Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
	// Required: true
	Name *string `json:"name"`
}

IoK8sAPIAutoscalingV1CrossVersionObjectReference CrossVersionObjectReference contains enough information to let you identify the referred resource.

swagger:model io.k8s.api.autoscaling.v1.CrossVersionObjectReference

func (*IoK8sAPIAutoscalingV1CrossVersionObjectReference) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV1CrossVersionObjectReference) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV1CrossVersionObjectReference) Validate

Validate validates this io k8s api autoscaling v1 cross version object reference

type IoK8sAPIAutoscalingV1HorizontalPodAutoscaler

type IoK8sAPIAutoscalingV1HorizontalPodAutoscaler struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	Spec *IoK8sAPIAutoscalingV1HorizontalPodAutoscalerSpec `json:"spec,omitempty"`

	// current information about the autoscaler.
	Status *IoK8sAPIAutoscalingV1HorizontalPodAutoscalerStatus `json:"status,omitempty"`
}

IoK8sAPIAutoscalingV1HorizontalPodAutoscaler configuration of a horizontal pod autoscaler.

swagger:model io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler

func (*IoK8sAPIAutoscalingV1HorizontalPodAutoscaler) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV1HorizontalPodAutoscaler) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV1HorizontalPodAutoscaler) Validate

Validate validates this io k8s api autoscaling v1 horizontal pod autoscaler

type IoK8sAPIAutoscalingV1HorizontalPodAutoscalerList

type IoK8sAPIAutoscalingV1HorizontalPodAutoscalerList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// list of horizontal pod autoscaler objects.
	// Required: true
	Items []*IoK8sAPIAutoscalingV1HorizontalPodAutoscaler `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIAutoscalingV1HorizontalPodAutoscalerList list of horizontal pod autoscaler objects.

swagger:model io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList

func (*IoK8sAPIAutoscalingV1HorizontalPodAutoscalerList) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV1HorizontalPodAutoscalerList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV1HorizontalPodAutoscalerList) Validate

Validate validates this io k8s api autoscaling v1 horizontal pod autoscaler list

type IoK8sAPIAutoscalingV1HorizontalPodAutoscalerSpec

type IoK8sAPIAutoscalingV1HorizontalPodAutoscalerSpec struct {

	// upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
	// Required: true
	MaxReplicas *int32 `json:"maxReplicas"`

	// minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured.  Scaling is active as long as at least one metric value is available.
	MinReplicas int32 `json:"minReplicas,omitempty"`

	// 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.
	// Required: true
	ScaleTargetRef *IoK8sAPIAutoscalingV1CrossVersionObjectReference `json:"scaleTargetRef"`

	// 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.
	TargetCPUUtilizationPercentage int32 `json:"targetCPUUtilizationPercentage,omitempty"`
}

IoK8sAPIAutoscalingV1HorizontalPodAutoscalerSpec specification of a horizontal pod autoscaler.

swagger:model io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec

func (*IoK8sAPIAutoscalingV1HorizontalPodAutoscalerSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV1HorizontalPodAutoscalerSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV1HorizontalPodAutoscalerSpec) Validate

Validate validates this io k8s api autoscaling v1 horizontal pod autoscaler spec

type IoK8sAPIAutoscalingV1HorizontalPodAutoscalerStatus

type IoK8sAPIAutoscalingV1HorizontalPodAutoscalerStatus struct {

	// 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.
	CurrentCPUUtilizationPercentage int32 `json:"currentCPUUtilizationPercentage,omitempty"`

	// current number of replicas of pods managed by this autoscaler.
	// Required: true
	CurrentReplicas *int32 `json:"currentReplicas"`

	// desired number of replicas of pods managed by this autoscaler.
	// Required: true
	DesiredReplicas *int32 `json:"desiredReplicas"`

	// last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.
	// Format: date-time
	LastScaleTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastScaleTime,omitempty"`

	// most recent generation observed by this autoscaler.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

IoK8sAPIAutoscalingV1HorizontalPodAutoscalerStatus current status of a horizontal pod autoscaler

swagger:model io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus

func (*IoK8sAPIAutoscalingV1HorizontalPodAutoscalerStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV1HorizontalPodAutoscalerStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV1HorizontalPodAutoscalerStatus) Validate

Validate validates this io k8s api autoscaling v1 horizontal pod autoscaler status

type IoK8sAPIAutoscalingV1Scale

type IoK8sAPIAutoscalingV1Scale struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	Spec *IoK8sAPIAutoscalingV1ScaleSpec `json:"spec,omitempty"`

	// current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.
	Status *IoK8sAPIAutoscalingV1ScaleStatus `json:"status,omitempty"`
}

IoK8sAPIAutoscalingV1Scale Scale represents a scaling request for a resource.

swagger:model io.k8s.api.autoscaling.v1.Scale

func (*IoK8sAPIAutoscalingV1Scale) MarshalBinary

func (m *IoK8sAPIAutoscalingV1Scale) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV1Scale) UnmarshalBinary

func (m *IoK8sAPIAutoscalingV1Scale) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV1Scale) Validate

func (m *IoK8sAPIAutoscalingV1Scale) Validate(formats strfmt.Registry) error

Validate validates this io k8s api autoscaling v1 scale

type IoK8sAPIAutoscalingV1ScaleSpec

type IoK8sAPIAutoscalingV1ScaleSpec struct {

	// desired number of instances for the scaled object.
	Replicas int32 `json:"replicas,omitempty"`
}

IoK8sAPIAutoscalingV1ScaleSpec ScaleSpec describes the attributes of a scale subresource.

swagger:model io.k8s.api.autoscaling.v1.ScaleSpec

func (*IoK8sAPIAutoscalingV1ScaleSpec) MarshalBinary

func (m *IoK8sAPIAutoscalingV1ScaleSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV1ScaleSpec) UnmarshalBinary

func (m *IoK8sAPIAutoscalingV1ScaleSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV1ScaleSpec) Validate

func (m *IoK8sAPIAutoscalingV1ScaleSpec) Validate(formats strfmt.Registry) error

Validate validates this io k8s api autoscaling v1 scale spec

type IoK8sAPIAutoscalingV1ScaleStatus

type IoK8sAPIAutoscalingV1ScaleStatus struct {

	// actual number of observed instances of the scaled object.
	// Required: true
	Replicas *int32 `json:"replicas"`

	// 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
	Selector string `json:"selector,omitempty"`
}

IoK8sAPIAutoscalingV1ScaleStatus ScaleStatus represents the current status of a scale subresource.

swagger:model io.k8s.api.autoscaling.v1.ScaleStatus

func (*IoK8sAPIAutoscalingV1ScaleStatus) MarshalBinary

func (m *IoK8sAPIAutoscalingV1ScaleStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV1ScaleStatus) UnmarshalBinary

func (m *IoK8sAPIAutoscalingV1ScaleStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV1ScaleStatus) Validate

Validate validates this io k8s api autoscaling v1 scale status

type IoK8sAPIAutoscalingV2beta1CrossVersionObjectReference

type IoK8sAPIAutoscalingV2beta1CrossVersionObjectReference struct {

	// API version of the referent
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
	// Required: true
	Kind *string `json:"kind"`

	// Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
	// Required: true
	Name *string `json:"name"`
}

IoK8sAPIAutoscalingV2beta1CrossVersionObjectReference CrossVersionObjectReference contains enough information to let you identify the referred resource.

swagger:model io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference

func (*IoK8sAPIAutoscalingV2beta1CrossVersionObjectReference) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1CrossVersionObjectReference) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1CrossVersionObjectReference) Validate

Validate validates this io k8s api autoscaling v2beta1 cross version object reference

type IoK8sAPIAutoscalingV2beta1ExternalMetricSource

type IoK8sAPIAutoscalingV2beta1ExternalMetricSource struct {

	// metricName is the name of the metric in question.
	// Required: true
	MetricName *string `json:"metricName"`

	// metricSelector is used to identify a specific time series within a given metric.
	MetricSelector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"metricSelector,omitempty"`

	// targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
	TargetAverageValue IoK8sApimachineryPkgAPIResourceQuantity `json:"targetAverageValue,omitempty"`

	// targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
	TargetValue IoK8sApimachineryPkgAPIResourceQuantity `json:"targetValue,omitempty"`
}

IoK8sAPIAutoscalingV2beta1ExternalMetricSource ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.

swagger:model io.k8s.api.autoscaling.v2beta1.ExternalMetricSource

func (*IoK8sAPIAutoscalingV2beta1ExternalMetricSource) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1ExternalMetricSource) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1ExternalMetricSource) Validate

Validate validates this io k8s api autoscaling v2beta1 external metric source

type IoK8sAPIAutoscalingV2beta1ExternalMetricStatus

type IoK8sAPIAutoscalingV2beta1ExternalMetricStatus struct {

	// currentAverageValue is the current value of metric averaged over autoscaled pods.
	CurrentAverageValue IoK8sApimachineryPkgAPIResourceQuantity `json:"currentAverageValue,omitempty"`

	// currentValue is the current value of the metric (as a quantity)
	// Required: true
	CurrentValue IoK8sApimachineryPkgAPIResourceQuantity `json:"currentValue"`

	// metricName is the name of a metric used for autoscaling in metric system.
	// Required: true
	MetricName *string `json:"metricName"`

	// metricSelector is used to identify a specific time series within a given metric.
	MetricSelector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"metricSelector,omitempty"`
}

IoK8sAPIAutoscalingV2beta1ExternalMetricStatus ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.

swagger:model io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus

func (*IoK8sAPIAutoscalingV2beta1ExternalMetricStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1ExternalMetricStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1ExternalMetricStatus) Validate

Validate validates this io k8s api autoscaling v2beta1 external metric status

type IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscaler

type IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscaler struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	Spec *IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerSpec `json:"spec,omitempty"`

	// status is the current information about the autoscaler.
	Status *IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerStatus `json:"status,omitempty"`
}

IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscaler HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.

swagger:model io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler

func (*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscaler) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscaler) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscaler) Validate

Validate validates this io k8s api autoscaling v2beta1 horizontal pod autoscaler

type IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerCondition

type IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerCondition struct {

	// lastTransitionTime is the last time the condition transitioned from one status to another
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// message is a human-readable explanation containing details about the transition
	Message string `json:"message,omitempty"`

	// reason is the reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// status is the status of the condition (True, False, Unknown)
	// Required: true
	Status *string `json:"status"`

	// type describes the current condition
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerCondition HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.

swagger:model io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition

func (*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerCondition) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerCondition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerCondition) Validate

Validate validates this io k8s api autoscaling v2beta1 horizontal pod autoscaler condition

type IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerList

type IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is the list of horizontal pod autoscaler objects.
	// Required: true
	Items []*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscaler `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata is the standard list metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerList HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects.

swagger:model io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerList

func (*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerList) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerList) Validate

Validate validates this io k8s api autoscaling v2beta1 horizontal pod autoscaler list

type IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerSpec

type IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerSpec struct {

	// maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
	// Required: true
	MaxReplicas *int32 `json:"maxReplicas"`

	// metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used).  The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods.  Ergo, metrics used must decrease as the pod count is increased, and vice-versa.  See the individual metric source types for more information about how each type of metric must respond.
	Metrics []*IoK8sAPIAutoscalingV2beta1MetricSpec `json:"metrics"`

	// minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured.  Scaling is active as long as at least one metric value is available.
	MinReplicas int32 `json:"minReplicas,omitempty"`

	// scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
	// Required: true
	ScaleTargetRef *IoK8sAPIAutoscalingV2beta1CrossVersionObjectReference `json:"scaleTargetRef"`
}

IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerSpec HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

swagger:model io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec

func (*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerSpec) Validate

Validate validates this io k8s api autoscaling v2beta1 horizontal pod autoscaler spec

type IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerStatus

type IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerStatus struct {

	// conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
	// Required: true
	Conditions []*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerCondition `json:"conditions"`

	// currentMetrics is the last read state of the metrics used by this autoscaler.
	CurrentMetrics []*IoK8sAPIAutoscalingV2beta1MetricStatus `json:"currentMetrics"`

	// currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
	// Required: true
	CurrentReplicas *int32 `json:"currentReplicas"`

	// desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
	// Required: true
	DesiredReplicas *int32 `json:"desiredReplicas"`

	// lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
	// Format: date-time
	LastScaleTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastScaleTime,omitempty"`

	// observedGeneration is the most recent generation observed by this autoscaler.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerStatus HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

swagger:model io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus

func (*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1HorizontalPodAutoscalerStatus) Validate

Validate validates this io k8s api autoscaling v2beta1 horizontal pod autoscaler status

type IoK8sAPIAutoscalingV2beta1MetricSpec

type IoK8sAPIAutoscalingV2beta1MetricSpec struct {

	// external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
	External *IoK8sAPIAutoscalingV2beta1ExternalMetricSource `json:"external,omitempty"`

	// object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
	Object *IoK8sAPIAutoscalingV2beta1ObjectMetricSource `json:"object,omitempty"`

	// pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second).  The values will be averaged together before being compared to the target value.
	Pods *IoK8sAPIAutoscalingV2beta1PodsMetricSource `json:"pods,omitempty"`

	// resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
	Resource *IoK8sAPIAutoscalingV2beta1ResourceMetricSource `json:"resource,omitempty"`

	// type is the type of metric source.  It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPIAutoscalingV2beta1MetricSpec MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).

swagger:model io.k8s.api.autoscaling.v2beta1.MetricSpec

func (*IoK8sAPIAutoscalingV2beta1MetricSpec) MarshalBinary

func (m *IoK8sAPIAutoscalingV2beta1MetricSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1MetricSpec) UnmarshalBinary

func (m *IoK8sAPIAutoscalingV2beta1MetricSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1MetricSpec) Validate

Validate validates this io k8s api autoscaling v2beta1 metric spec

type IoK8sAPIAutoscalingV2beta1MetricStatus

type IoK8sAPIAutoscalingV2beta1MetricStatus struct {

	// external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
	External *IoK8sAPIAutoscalingV2beta1ExternalMetricStatus `json:"external,omitempty"`

	// object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
	Object *IoK8sAPIAutoscalingV2beta1ObjectMetricStatus `json:"object,omitempty"`

	// pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second).  The values will be averaged together before being compared to the target value.
	Pods *IoK8sAPIAutoscalingV2beta1PodsMetricStatus `json:"pods,omitempty"`

	// resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
	Resource *IoK8sAPIAutoscalingV2beta1ResourceMetricStatus `json:"resource,omitempty"`

	// type is the type of metric source.  It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPIAutoscalingV2beta1MetricStatus MetricStatus describes the last-read state of a single metric.

swagger:model io.k8s.api.autoscaling.v2beta1.MetricStatus

func (*IoK8sAPIAutoscalingV2beta1MetricStatus) MarshalBinary

func (m *IoK8sAPIAutoscalingV2beta1MetricStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1MetricStatus) UnmarshalBinary

func (m *IoK8sAPIAutoscalingV2beta1MetricStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1MetricStatus) Validate

Validate validates this io k8s api autoscaling v2beta1 metric status

type IoK8sAPIAutoscalingV2beta1ObjectMetricSource

type IoK8sAPIAutoscalingV2beta1ObjectMetricSource struct {

	// averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
	AverageValue IoK8sApimachineryPkgAPIResourceQuantity `json:"averageValue,omitempty"`

	// metricName is the name of the metric in question.
	// Required: true
	MetricName *string `json:"metricName"`

	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
	Selector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"selector,omitempty"`

	// target is the described Kubernetes object.
	// Required: true
	Target *IoK8sAPIAutoscalingV2beta1CrossVersionObjectReference `json:"target"`

	// targetValue is the target value of the metric (as a quantity).
	// Required: true
	TargetValue IoK8sApimachineryPkgAPIResourceQuantity `json:"targetValue"`
}

IoK8sAPIAutoscalingV2beta1ObjectMetricSource ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

swagger:model io.k8s.api.autoscaling.v2beta1.ObjectMetricSource

func (*IoK8sAPIAutoscalingV2beta1ObjectMetricSource) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1ObjectMetricSource) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1ObjectMetricSource) Validate

Validate validates this io k8s api autoscaling v2beta1 object metric source

type IoK8sAPIAutoscalingV2beta1ObjectMetricStatus

type IoK8sAPIAutoscalingV2beta1ObjectMetricStatus struct {

	// averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
	AverageValue IoK8sApimachineryPkgAPIResourceQuantity `json:"averageValue,omitempty"`

	// currentValue is the current value of the metric (as a quantity).
	// Required: true
	CurrentValue IoK8sApimachineryPkgAPIResourceQuantity `json:"currentValue"`

	// metricName is the name of the metric in question.
	// Required: true
	MetricName *string `json:"metricName"`

	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
	Selector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"selector,omitempty"`

	// target is the described Kubernetes object.
	// Required: true
	Target *IoK8sAPIAutoscalingV2beta1CrossVersionObjectReference `json:"target"`
}

IoK8sAPIAutoscalingV2beta1ObjectMetricStatus ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

swagger:model io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus

func (*IoK8sAPIAutoscalingV2beta1ObjectMetricStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1ObjectMetricStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1ObjectMetricStatus) Validate

Validate validates this io k8s api autoscaling v2beta1 object metric status

type IoK8sAPIAutoscalingV2beta1PodsMetricSource

type IoK8sAPIAutoscalingV2beta1PodsMetricSource struct {

	// metricName is the name of the metric in question
	// Required: true
	MetricName *string `json:"metricName"`

	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
	Selector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"selector,omitempty"`

	// targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
	// Required: true
	TargetAverageValue IoK8sApimachineryPkgAPIResourceQuantity `json:"targetAverageValue"`
}

IoK8sAPIAutoscalingV2beta1PodsMetricSource PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

swagger:model io.k8s.api.autoscaling.v2beta1.PodsMetricSource

func (*IoK8sAPIAutoscalingV2beta1PodsMetricSource) MarshalBinary

func (m *IoK8sAPIAutoscalingV2beta1PodsMetricSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1PodsMetricSource) UnmarshalBinary

func (m *IoK8sAPIAutoscalingV2beta1PodsMetricSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1PodsMetricSource) Validate

Validate validates this io k8s api autoscaling v2beta1 pods metric source

type IoK8sAPIAutoscalingV2beta1PodsMetricStatus

type IoK8sAPIAutoscalingV2beta1PodsMetricStatus struct {

	// currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
	// Required: true
	CurrentAverageValue IoK8sApimachineryPkgAPIResourceQuantity `json:"currentAverageValue"`

	// metricName is the name of the metric in question
	// Required: true
	MetricName *string `json:"metricName"`

	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
	Selector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"selector,omitempty"`
}

IoK8sAPIAutoscalingV2beta1PodsMetricStatus PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).

swagger:model io.k8s.api.autoscaling.v2beta1.PodsMetricStatus

func (*IoK8sAPIAutoscalingV2beta1PodsMetricStatus) MarshalBinary

func (m *IoK8sAPIAutoscalingV2beta1PodsMetricStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1PodsMetricStatus) UnmarshalBinary

func (m *IoK8sAPIAutoscalingV2beta1PodsMetricStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1PodsMetricStatus) Validate

Validate validates this io k8s api autoscaling v2beta1 pods metric status

type IoK8sAPIAutoscalingV2beta1ResourceMetricSource

type IoK8sAPIAutoscalingV2beta1ResourceMetricSource struct {

	// name is the name of the resource in question.
	// Required: true
	Name *string `json:"name"`

	// targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
	TargetAverageUtilization int32 `json:"targetAverageUtilization,omitempty"`

	// targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
	TargetAverageValue IoK8sApimachineryPkgAPIResourceQuantity `json:"targetAverageValue,omitempty"`
}

IoK8sAPIAutoscalingV2beta1ResourceMetricSource ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.

swagger:model io.k8s.api.autoscaling.v2beta1.ResourceMetricSource

func (*IoK8sAPIAutoscalingV2beta1ResourceMetricSource) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1ResourceMetricSource) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1ResourceMetricSource) Validate

Validate validates this io k8s api autoscaling v2beta1 resource metric source

type IoK8sAPIAutoscalingV2beta1ResourceMetricStatus

type IoK8sAPIAutoscalingV2beta1ResourceMetricStatus struct {

	// currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.  It will only be present if `targetAverageValue` was set in the corresponding metric specification.
	CurrentAverageUtilization int32 `json:"currentAverageUtilization,omitempty"`

	// currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
	// Required: true
	CurrentAverageValue IoK8sApimachineryPkgAPIResourceQuantity `json:"currentAverageValue"`

	// name is the name of the resource in question.
	// Required: true
	Name *string `json:"name"`
}

IoK8sAPIAutoscalingV2beta1ResourceMetricStatus ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

swagger:model io.k8s.api.autoscaling.v2beta1.ResourceMetricStatus

func (*IoK8sAPIAutoscalingV2beta1ResourceMetricStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1ResourceMetricStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta1ResourceMetricStatus) Validate

Validate validates this io k8s api autoscaling v2beta1 resource metric status

type IoK8sAPIAutoscalingV2beta2CrossVersionObjectReference

type IoK8sAPIAutoscalingV2beta2CrossVersionObjectReference struct {

	// API version of the referent
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
	// Required: true
	Kind *string `json:"kind"`

	// Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
	// Required: true
	Name *string `json:"name"`
}

IoK8sAPIAutoscalingV2beta2CrossVersionObjectReference CrossVersionObjectReference contains enough information to let you identify the referred resource.

swagger:model io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference

func (*IoK8sAPIAutoscalingV2beta2CrossVersionObjectReference) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2CrossVersionObjectReference) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2CrossVersionObjectReference) Validate

Validate validates this io k8s api autoscaling v2beta2 cross version object reference

type IoK8sAPIAutoscalingV2beta2ExternalMetricSource

type IoK8sAPIAutoscalingV2beta2ExternalMetricSource struct {

	// metric identifies the target metric by name and selector
	// Required: true
	Metric *IoK8sAPIAutoscalingV2beta2MetricIdentifier `json:"metric"`

	// target specifies the target value for the given metric
	// Required: true
	Target *IoK8sAPIAutoscalingV2beta2MetricTarget `json:"target"`
}

IoK8sAPIAutoscalingV2beta2ExternalMetricSource ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).

swagger:model io.k8s.api.autoscaling.v2beta2.ExternalMetricSource

func (*IoK8sAPIAutoscalingV2beta2ExternalMetricSource) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2ExternalMetricSource) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2ExternalMetricSource) Validate

Validate validates this io k8s api autoscaling v2beta2 external metric source

type IoK8sAPIAutoscalingV2beta2ExternalMetricStatus

type IoK8sAPIAutoscalingV2beta2ExternalMetricStatus struct {

	// current contains the current value for the given metric
	// Required: true
	Current *IoK8sAPIAutoscalingV2beta2MetricValueStatus `json:"current"`

	// metric identifies the target metric by name and selector
	// Required: true
	Metric *IoK8sAPIAutoscalingV2beta2MetricIdentifier `json:"metric"`
}

IoK8sAPIAutoscalingV2beta2ExternalMetricStatus ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.

swagger:model io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus

func (*IoK8sAPIAutoscalingV2beta2ExternalMetricStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2ExternalMetricStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2ExternalMetricStatus) Validate

Validate validates this io k8s api autoscaling v2beta2 external metric status

type IoK8sAPIAutoscalingV2beta2HPAScalingPolicy

type IoK8sAPIAutoscalingV2beta2HPAScalingPolicy struct {

	// PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
	// Required: true
	PeriodSeconds *int32 `json:"periodSeconds"`

	// Type is used to specify the scaling policy.
	// Required: true
	Type *string `json:"type"`

	// Value contains the amount of change which is permitted by the policy. It must be greater than zero
	// Required: true
	Value *int32 `json:"value"`
}

IoK8sAPIAutoscalingV2beta2HPAScalingPolicy HPAScalingPolicy is a single policy which must hold true for a specified past interval.

swagger:model io.k8s.api.autoscaling.v2beta2.HPAScalingPolicy

func (*IoK8sAPIAutoscalingV2beta2HPAScalingPolicy) MarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2HPAScalingPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2HPAScalingPolicy) UnmarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2HPAScalingPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2HPAScalingPolicy) Validate

Validate validates this io k8s api autoscaling v2beta2 h p a scaling policy

type IoK8sAPIAutoscalingV2beta2HPAScalingRules

type IoK8sAPIAutoscalingV2beta2HPAScalingRules struct {

	// policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
	Policies []*IoK8sAPIAutoscalingV2beta2HPAScalingPolicy `json:"policies"`

	// selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
	SelectPolicy string `json:"selectPolicy,omitempty"`

	// StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
	StabilizationWindowSeconds int32 `json:"stabilizationWindowSeconds,omitempty"`
}

IoK8sAPIAutoscalingV2beta2HPAScalingRules HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.

swagger:model io.k8s.api.autoscaling.v2beta2.HPAScalingRules

func (*IoK8sAPIAutoscalingV2beta2HPAScalingRules) MarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2HPAScalingRules) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2HPAScalingRules) UnmarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2HPAScalingRules) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2HPAScalingRules) Validate

Validate validates this io k8s api autoscaling v2beta2 h p a scaling rules

type IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscaler

type IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscaler struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	Spec *IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerSpec `json:"spec,omitempty"`

	// status is the current information about the autoscaler.
	Status *IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerStatus `json:"status,omitempty"`
}

IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscaler HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.

swagger:model io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscaler) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscaler) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscaler) Validate

Validate validates this io k8s api autoscaling v2beta2 horizontal pod autoscaler

type IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerBehavior

type IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerBehavior struct {

	// scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used).
	ScaleDown *IoK8sAPIAutoscalingV2beta2HPAScalingRules `json:"scaleDown,omitempty"`

	// scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:
	//   * increase no more than 4 pods per 60 seconds
	//   * double the number of pods per 60 seconds
	// No stabilization is used.
	ScaleUp *IoK8sAPIAutoscalingV2beta2HPAScalingRules `json:"scaleUp,omitempty"`
}

IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerBehavior HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).

swagger:model io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerBehavior) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerBehavior) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerBehavior) Validate

Validate validates this io k8s api autoscaling v2beta2 horizontal pod autoscaler behavior

type IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerCondition

type IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerCondition struct {

	// lastTransitionTime is the last time the condition transitioned from one status to another
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// message is a human-readable explanation containing details about the transition
	Message string `json:"message,omitempty"`

	// reason is the reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// status is the status of the condition (True, False, Unknown)
	// Required: true
	Status *string `json:"status"`

	// type describes the current condition
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerCondition HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.

swagger:model io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerCondition) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerCondition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerCondition) Validate

Validate validates this io k8s api autoscaling v2beta2 horizontal pod autoscaler condition

type IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerList

type IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is the list of horizontal pod autoscaler objects.
	// Required: true
	Items []*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscaler `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata is the standard list metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerList HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.

swagger:model io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerList) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerList) Validate

Validate validates this io k8s api autoscaling v2beta2 horizontal pod autoscaler list

type IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerSpec

type IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerSpec struct {

	// behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
	Behavior *IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerBehavior `json:"behavior,omitempty"`

	// maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
	// Required: true
	MaxReplicas *int32 `json:"maxReplicas"`

	// metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used).  The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods.  Ergo, metrics used must decrease as the pod count is increased, and vice-versa.  See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
	Metrics []*IoK8sAPIAutoscalingV2beta2MetricSpec `json:"metrics"`

	// minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured.  Scaling is active as long as at least one metric value is available.
	MinReplicas int32 `json:"minReplicas,omitempty"`

	// scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
	// Required: true
	ScaleTargetRef *IoK8sAPIAutoscalingV2beta2CrossVersionObjectReference `json:"scaleTargetRef"`
}

IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerSpec HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

swagger:model io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerSpec) Validate

Validate validates this io k8s api autoscaling v2beta2 horizontal pod autoscaler spec

type IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerStatus

type IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerStatus struct {

	// conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
	// Required: true
	Conditions []*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerCondition `json:"conditions"`

	// currentMetrics is the last read state of the metrics used by this autoscaler.
	CurrentMetrics []*IoK8sAPIAutoscalingV2beta2MetricStatus `json:"currentMetrics"`

	// currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
	// Required: true
	CurrentReplicas *int32 `json:"currentReplicas"`

	// desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
	// Required: true
	DesiredReplicas *int32 `json:"desiredReplicas"`

	// lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
	// Format: date-time
	LastScaleTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastScaleTime,omitempty"`

	// observedGeneration is the most recent generation observed by this autoscaler.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerStatus HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

swagger:model io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2HorizontalPodAutoscalerStatus) Validate

Validate validates this io k8s api autoscaling v2beta2 horizontal pod autoscaler status

type IoK8sAPIAutoscalingV2beta2MetricIdentifier

type IoK8sAPIAutoscalingV2beta2MetricIdentifier struct {

	// name is the name of the given metric
	// Required: true
	Name *string `json:"name"`

	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
	Selector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"selector,omitempty"`
}

IoK8sAPIAutoscalingV2beta2MetricIdentifier MetricIdentifier defines the name and optionally selector for a metric

swagger:model io.k8s.api.autoscaling.v2beta2.MetricIdentifier

func (*IoK8sAPIAutoscalingV2beta2MetricIdentifier) MarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2MetricIdentifier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2MetricIdentifier) UnmarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2MetricIdentifier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2MetricIdentifier) Validate

Validate validates this io k8s api autoscaling v2beta2 metric identifier

type IoK8sAPIAutoscalingV2beta2MetricSpec

type IoK8sAPIAutoscalingV2beta2MetricSpec struct {

	// external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
	External *IoK8sAPIAutoscalingV2beta2ExternalMetricSource `json:"external,omitempty"`

	// object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
	Object *IoK8sAPIAutoscalingV2beta2ObjectMetricSource `json:"object,omitempty"`

	// pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second).  The values will be averaged together before being compared to the target value.
	Pods *IoK8sAPIAutoscalingV2beta2PodsMetricSource `json:"pods,omitempty"`

	// resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
	Resource *IoK8sAPIAutoscalingV2beta2ResourceMetricSource `json:"resource,omitempty"`

	// type is the type of metric source.  It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPIAutoscalingV2beta2MetricSpec MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).

swagger:model io.k8s.api.autoscaling.v2beta2.MetricSpec

func (*IoK8sAPIAutoscalingV2beta2MetricSpec) MarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2MetricSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2MetricSpec) UnmarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2MetricSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2MetricSpec) Validate

Validate validates this io k8s api autoscaling v2beta2 metric spec

type IoK8sAPIAutoscalingV2beta2MetricStatus

type IoK8sAPIAutoscalingV2beta2MetricStatus struct {

	// external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
	External *IoK8sAPIAutoscalingV2beta2ExternalMetricStatus `json:"external,omitempty"`

	// object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
	Object *IoK8sAPIAutoscalingV2beta2ObjectMetricStatus `json:"object,omitempty"`

	// pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second).  The values will be averaged together before being compared to the target value.
	Pods *IoK8sAPIAutoscalingV2beta2PodsMetricStatus `json:"pods,omitempty"`

	// resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
	Resource *IoK8sAPIAutoscalingV2beta2ResourceMetricStatus `json:"resource,omitempty"`

	// type is the type of metric source.  It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPIAutoscalingV2beta2MetricStatus MetricStatus describes the last-read state of a single metric.

swagger:model io.k8s.api.autoscaling.v2beta2.MetricStatus

func (*IoK8sAPIAutoscalingV2beta2MetricStatus) MarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2MetricStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2MetricStatus) UnmarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2MetricStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2MetricStatus) Validate

Validate validates this io k8s api autoscaling v2beta2 metric status

type IoK8sAPIAutoscalingV2beta2MetricTarget

type IoK8sAPIAutoscalingV2beta2MetricTarget struct {

	// averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
	AverageUtilization int32 `json:"averageUtilization,omitempty"`

	// averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
	AverageValue IoK8sApimachineryPkgAPIResourceQuantity `json:"averageValue,omitempty"`

	// type represents whether the metric type is Utilization, Value, or AverageValue
	// Required: true
	Type *string `json:"type"`

	// value is the target value of the metric (as a quantity).
	Value IoK8sApimachineryPkgAPIResourceQuantity `json:"value,omitempty"`
}

IoK8sAPIAutoscalingV2beta2MetricTarget MetricTarget defines the target value, average value, or average utilization of a specific metric

swagger:model io.k8s.api.autoscaling.v2beta2.MetricTarget

func (*IoK8sAPIAutoscalingV2beta2MetricTarget) MarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2MetricTarget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2MetricTarget) UnmarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2MetricTarget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2MetricTarget) Validate

Validate validates this io k8s api autoscaling v2beta2 metric target

type IoK8sAPIAutoscalingV2beta2MetricValueStatus

type IoK8sAPIAutoscalingV2beta2MetricValueStatus struct {

	// currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
	AverageUtilization int32 `json:"averageUtilization,omitempty"`

	// averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
	AverageValue IoK8sApimachineryPkgAPIResourceQuantity `json:"averageValue,omitempty"`

	// value is the current value of the metric (as a quantity).
	Value IoK8sApimachineryPkgAPIResourceQuantity `json:"value,omitempty"`
}

IoK8sAPIAutoscalingV2beta2MetricValueStatus MetricValueStatus holds the current value for a metric

swagger:model io.k8s.api.autoscaling.v2beta2.MetricValueStatus

func (*IoK8sAPIAutoscalingV2beta2MetricValueStatus) MarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2MetricValueStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2MetricValueStatus) UnmarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2MetricValueStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2MetricValueStatus) Validate

Validate validates this io k8s api autoscaling v2beta2 metric value status

type IoK8sAPIAutoscalingV2beta2ObjectMetricSource

type IoK8sAPIAutoscalingV2beta2ObjectMetricSource struct {

	// described object
	// Required: true
	DescribedObject *IoK8sAPIAutoscalingV2beta2CrossVersionObjectReference `json:"describedObject"`

	// metric identifies the target metric by name and selector
	// Required: true
	Metric *IoK8sAPIAutoscalingV2beta2MetricIdentifier `json:"metric"`

	// target specifies the target value for the given metric
	// Required: true
	Target *IoK8sAPIAutoscalingV2beta2MetricTarget `json:"target"`
}

IoK8sAPIAutoscalingV2beta2ObjectMetricSource ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

swagger:model io.k8s.api.autoscaling.v2beta2.ObjectMetricSource

func (*IoK8sAPIAutoscalingV2beta2ObjectMetricSource) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2ObjectMetricSource) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2ObjectMetricSource) Validate

Validate validates this io k8s api autoscaling v2beta2 object metric source

type IoK8sAPIAutoscalingV2beta2ObjectMetricStatus

type IoK8sAPIAutoscalingV2beta2ObjectMetricStatus struct {

	// current contains the current value for the given metric
	// Required: true
	Current *IoK8sAPIAutoscalingV2beta2MetricValueStatus `json:"current"`

	// described object
	// Required: true
	DescribedObject *IoK8sAPIAutoscalingV2beta2CrossVersionObjectReference `json:"describedObject"`

	// metric identifies the target metric by name and selector
	// Required: true
	Metric *IoK8sAPIAutoscalingV2beta2MetricIdentifier `json:"metric"`
}

IoK8sAPIAutoscalingV2beta2ObjectMetricStatus ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

swagger:model io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus

func (*IoK8sAPIAutoscalingV2beta2ObjectMetricStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2ObjectMetricStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2ObjectMetricStatus) Validate

Validate validates this io k8s api autoscaling v2beta2 object metric status

type IoK8sAPIAutoscalingV2beta2PodsMetricSource

type IoK8sAPIAutoscalingV2beta2PodsMetricSource struct {

	// metric identifies the target metric by name and selector
	// Required: true
	Metric *IoK8sAPIAutoscalingV2beta2MetricIdentifier `json:"metric"`

	// target specifies the target value for the given metric
	// Required: true
	Target *IoK8sAPIAutoscalingV2beta2MetricTarget `json:"target"`
}

IoK8sAPIAutoscalingV2beta2PodsMetricSource PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

swagger:model io.k8s.api.autoscaling.v2beta2.PodsMetricSource

func (*IoK8sAPIAutoscalingV2beta2PodsMetricSource) MarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2PodsMetricSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2PodsMetricSource) UnmarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2PodsMetricSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2PodsMetricSource) Validate

Validate validates this io k8s api autoscaling v2beta2 pods metric source

type IoK8sAPIAutoscalingV2beta2PodsMetricStatus

type IoK8sAPIAutoscalingV2beta2PodsMetricStatus struct {

	// current contains the current value for the given metric
	// Required: true
	Current *IoK8sAPIAutoscalingV2beta2MetricValueStatus `json:"current"`

	// metric identifies the target metric by name and selector
	// Required: true
	Metric *IoK8sAPIAutoscalingV2beta2MetricIdentifier `json:"metric"`
}

IoK8sAPIAutoscalingV2beta2PodsMetricStatus PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).

swagger:model io.k8s.api.autoscaling.v2beta2.PodsMetricStatus

func (*IoK8sAPIAutoscalingV2beta2PodsMetricStatus) MarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2PodsMetricStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2PodsMetricStatus) UnmarshalBinary

func (m *IoK8sAPIAutoscalingV2beta2PodsMetricStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2PodsMetricStatus) Validate

Validate validates this io k8s api autoscaling v2beta2 pods metric status

type IoK8sAPIAutoscalingV2beta2ResourceMetricSource

type IoK8sAPIAutoscalingV2beta2ResourceMetricSource struct {

	// name is the name of the resource in question.
	// Required: true
	Name *string `json:"name"`

	// target specifies the target value for the given metric
	// Required: true
	Target *IoK8sAPIAutoscalingV2beta2MetricTarget `json:"target"`
}

IoK8sAPIAutoscalingV2beta2ResourceMetricSource ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.

swagger:model io.k8s.api.autoscaling.v2beta2.ResourceMetricSource

func (*IoK8sAPIAutoscalingV2beta2ResourceMetricSource) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2ResourceMetricSource) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2ResourceMetricSource) Validate

Validate validates this io k8s api autoscaling v2beta2 resource metric source

type IoK8sAPIAutoscalingV2beta2ResourceMetricStatus

type IoK8sAPIAutoscalingV2beta2ResourceMetricStatus struct {

	// current contains the current value for the given metric
	// Required: true
	Current *IoK8sAPIAutoscalingV2beta2MetricValueStatus `json:"current"`

	// Name is the name of the resource in question.
	// Required: true
	Name *string `json:"name"`
}

IoK8sAPIAutoscalingV2beta2ResourceMetricStatus ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

swagger:model io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus

func (*IoK8sAPIAutoscalingV2beta2ResourceMetricStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2ResourceMetricStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIAutoscalingV2beta2ResourceMetricStatus) Validate

Validate validates this io k8s api autoscaling v2beta2 resource metric status

type IoK8sAPIBatchV1Job

type IoK8sAPIBatchV1Job struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPIBatchV1JobSpec `json:"spec,omitempty"`

	// Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IoK8sAPIBatchV1JobStatus `json:"status,omitempty"`
}

IoK8sAPIBatchV1Job Job represents the configuration of a single job.

swagger:model io.k8s.api.batch.v1.Job

func (*IoK8sAPIBatchV1Job) MarshalBinary

func (m *IoK8sAPIBatchV1Job) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIBatchV1Job) UnmarshalBinary

func (m *IoK8sAPIBatchV1Job) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIBatchV1Job) Validate

func (m *IoK8sAPIBatchV1Job) Validate(formats strfmt.Registry) error

Validate validates this io k8s api batch v1 job

type IoK8sAPIBatchV1JobCondition

type IoK8sAPIBatchV1JobCondition struct {

	// Last time the condition was checked.
	// Format: date-time
	LastProbeTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastProbeTime,omitempty"`

	// Last time the condition transit from one status to another.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// Human readable message indicating details about last transition.
	Message string `json:"message,omitempty"`

	// (brief) reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// Status of the condition, one of True, False, Unknown.
	// Required: true
	Status *string `json:"status"`

	// Type of job condition, Complete or Failed.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPIBatchV1JobCondition JobCondition describes current state of a job.

swagger:model io.k8s.api.batch.v1.JobCondition

func (*IoK8sAPIBatchV1JobCondition) MarshalBinary

func (m *IoK8sAPIBatchV1JobCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIBatchV1JobCondition) UnmarshalBinary

func (m *IoK8sAPIBatchV1JobCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIBatchV1JobCondition) Validate

func (m *IoK8sAPIBatchV1JobCondition) Validate(formats strfmt.Registry) error

Validate validates this io k8s api batch v1 job condition

type IoK8sAPIBatchV1JobList

type IoK8sAPIBatchV1JobList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is the list of Jobs.
	// Required: true
	Items []*IoK8sAPIBatchV1Job `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIBatchV1JobList JobList is a collection of jobs.

swagger:model io.k8s.api.batch.v1.JobList

func (*IoK8sAPIBatchV1JobList) MarshalBinary

func (m *IoK8sAPIBatchV1JobList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIBatchV1JobList) UnmarshalBinary

func (m *IoK8sAPIBatchV1JobList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIBatchV1JobList) Validate

func (m *IoK8sAPIBatchV1JobList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api batch v1 job list

type IoK8sAPIBatchV1JobSpec

type IoK8sAPIBatchV1JobSpec struct {

	// Specifies the 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
	ActiveDeadlineSeconds int64 `json:"activeDeadlineSeconds,omitempty"`

	// Specifies the number of retries before marking this job failed. Defaults to 6
	BackoffLimit int32 `json:"backoffLimit,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Completions int32 `json:"completions,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
	ManualSelector bool `json:"manualSelector,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Parallelism int32 `json:"parallelism,omitempty"`

	// A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	Selector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"selector,omitempty"`

	// Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	// Required: true
	Template *IoK8sAPICoreV1PodTemplateSpec `json:"template"`

	// ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.
	TTLSecondsAfterFinished int32 `json:"ttlSecondsAfterFinished,omitempty"`
}

IoK8sAPIBatchV1JobSpec JobSpec describes how the job execution will look like.

swagger:model io.k8s.api.batch.v1.JobSpec

func (*IoK8sAPIBatchV1JobSpec) MarshalBinary

func (m *IoK8sAPIBatchV1JobSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIBatchV1JobSpec) UnmarshalBinary

func (m *IoK8sAPIBatchV1JobSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIBatchV1JobSpec) Validate

func (m *IoK8sAPIBatchV1JobSpec) Validate(formats strfmt.Registry) error

Validate validates this io k8s api batch v1 job spec

type IoK8sAPIBatchV1JobStatus

type IoK8sAPIBatchV1JobStatus struct {

	// The number of actively running pods.
	Active int32 `json:"active,omitempty"`

	// 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.
	// Format: date-time
	CompletionTime IoK8sApimachineryPkgApisMetaV1Time `json:"completionTime,omitempty"`

	// The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Conditions []*IoK8sAPIBatchV1JobCondition `json:"conditions"`

	// The number of pods which reached phase Failed.
	Failed int32 `json:"failed,omitempty"`

	// Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.
	// Format: date-time
	StartTime IoK8sApimachineryPkgApisMetaV1Time `json:"startTime,omitempty"`

	// The number of pods which reached phase Succeeded.
	Succeeded int32 `json:"succeeded,omitempty"`
}

IoK8sAPIBatchV1JobStatus JobStatus represents the current state of a Job.

swagger:model io.k8s.api.batch.v1.JobStatus

func (*IoK8sAPIBatchV1JobStatus) MarshalBinary

func (m *IoK8sAPIBatchV1JobStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIBatchV1JobStatus) UnmarshalBinary

func (m *IoK8sAPIBatchV1JobStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIBatchV1JobStatus) Validate

func (m *IoK8sAPIBatchV1JobStatus) Validate(formats strfmt.Registry) error

Validate validates this io k8s api batch v1 job status

type IoK8sAPIBatchV1beta1CronJob

type IoK8sAPIBatchV1beta1CronJob struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPIBatchV1beta1CronJobSpec `json:"spec,omitempty"`

	// Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IoK8sAPIBatchV1beta1CronJobStatus `json:"status,omitempty"`
}

IoK8sAPIBatchV1beta1CronJob CronJob represents the configuration of a single cron job.

swagger:model io.k8s.api.batch.v1beta1.CronJob

func (*IoK8sAPIBatchV1beta1CronJob) MarshalBinary

func (m *IoK8sAPIBatchV1beta1CronJob) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIBatchV1beta1CronJob) UnmarshalBinary

func (m *IoK8sAPIBatchV1beta1CronJob) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIBatchV1beta1CronJob) Validate

func (m *IoK8sAPIBatchV1beta1CronJob) Validate(formats strfmt.Registry) error

Validate validates this io k8s api batch v1beta1 cron job

type IoK8sAPIBatchV1beta1CronJobList

type IoK8sAPIBatchV1beta1CronJobList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is the list of CronJobs.
	// Required: true
	Items []*IoK8sAPIBatchV1beta1CronJob `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIBatchV1beta1CronJobList CronJobList is a collection of cron jobs.

swagger:model io.k8s.api.batch.v1beta1.CronJobList

func (*IoK8sAPIBatchV1beta1CronJobList) MarshalBinary

func (m *IoK8sAPIBatchV1beta1CronJobList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIBatchV1beta1CronJobList) UnmarshalBinary

func (m *IoK8sAPIBatchV1beta1CronJobList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIBatchV1beta1CronJobList) Validate

Validate validates this io k8s api batch v1beta1 cron job list

type IoK8sAPIBatchV1beta1CronJobSpec

type IoK8sAPIBatchV1beta1CronJobSpec struct {

	// Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
	ConcurrencyPolicy string `json:"concurrencyPolicy,omitempty"`

	// The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
	FailedJobsHistoryLimit int32 `json:"failedJobsHistoryLimit,omitempty"`

	// Specifies the job that will be created when executing a CronJob.
	// Required: true
	JobTemplate *IoK8sAPIBatchV1beta1JobTemplateSpec `json:"jobTemplate"`

	// The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
	// Required: true
	Schedule *string `json:"schedule"`

	// 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.
	StartingDeadlineSeconds int64 `json:"startingDeadlineSeconds,omitempty"`

	// The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.
	SuccessfulJobsHistoryLimit int32 `json:"successfulJobsHistoryLimit,omitempty"`

	// This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.  Defaults to false.
	Suspend bool `json:"suspend,omitempty"`
}

IoK8sAPIBatchV1beta1CronJobSpec CronJobSpec describes how the job execution will look like and when it will actually run.

swagger:model io.k8s.api.batch.v1beta1.CronJobSpec

func (*IoK8sAPIBatchV1beta1CronJobSpec) MarshalBinary

func (m *IoK8sAPIBatchV1beta1CronJobSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIBatchV1beta1CronJobSpec) UnmarshalBinary

func (m *IoK8sAPIBatchV1beta1CronJobSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIBatchV1beta1CronJobSpec) Validate

Validate validates this io k8s api batch v1beta1 cron job spec

type IoK8sAPIBatchV1beta1CronJobStatus

type IoK8sAPIBatchV1beta1CronJobStatus struct {

	// A list of pointers to currently running jobs.
	Active []*IoK8sAPICoreV1ObjectReference `json:"active"`

	// Information when was the last time the job was successfully scheduled.
	// Format: date-time
	LastScheduleTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastScheduleTime,omitempty"`
}

IoK8sAPIBatchV1beta1CronJobStatus CronJobStatus represents the current state of a cron job.

swagger:model io.k8s.api.batch.v1beta1.CronJobStatus

func (*IoK8sAPIBatchV1beta1CronJobStatus) MarshalBinary

func (m *IoK8sAPIBatchV1beta1CronJobStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIBatchV1beta1CronJobStatus) UnmarshalBinary

func (m *IoK8sAPIBatchV1beta1CronJobStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIBatchV1beta1CronJobStatus) Validate

Validate validates this io k8s api batch v1beta1 cron job status

type IoK8sAPIBatchV1beta1JobTemplateSpec

type IoK8sAPIBatchV1beta1JobTemplateSpec struct {

	// Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPIBatchV1JobSpec `json:"spec,omitempty"`
}

IoK8sAPIBatchV1beta1JobTemplateSpec JobTemplateSpec describes the data a Job should have when created from a template

swagger:model io.k8s.api.batch.v1beta1.JobTemplateSpec

func (*IoK8sAPIBatchV1beta1JobTemplateSpec) MarshalBinary

func (m *IoK8sAPIBatchV1beta1JobTemplateSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIBatchV1beta1JobTemplateSpec) UnmarshalBinary

func (m *IoK8sAPIBatchV1beta1JobTemplateSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIBatchV1beta1JobTemplateSpec) Validate

Validate validates this io k8s api batch v1beta1 job template spec

type IoK8sAPIBatchV2alpha1CronJob

type IoK8sAPIBatchV2alpha1CronJob struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPIBatchV2alpha1CronJobSpec `json:"spec,omitempty"`

	// Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IoK8sAPIBatchV2alpha1CronJobStatus `json:"status,omitempty"`
}

IoK8sAPIBatchV2alpha1CronJob CronJob represents the configuration of a single cron job.

swagger:model io.k8s.api.batch.v2alpha1.CronJob

func (*IoK8sAPIBatchV2alpha1CronJob) MarshalBinary

func (m *IoK8sAPIBatchV2alpha1CronJob) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIBatchV2alpha1CronJob) UnmarshalBinary

func (m *IoK8sAPIBatchV2alpha1CronJob) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIBatchV2alpha1CronJob) Validate

func (m *IoK8sAPIBatchV2alpha1CronJob) Validate(formats strfmt.Registry) error

Validate validates this io k8s api batch v2alpha1 cron job

type IoK8sAPIBatchV2alpha1CronJobList

type IoK8sAPIBatchV2alpha1CronJobList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is the list of CronJobs.
	// Required: true
	Items []*IoK8sAPIBatchV2alpha1CronJob `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIBatchV2alpha1CronJobList CronJobList is a collection of cron jobs.

swagger:model io.k8s.api.batch.v2alpha1.CronJobList

func (*IoK8sAPIBatchV2alpha1CronJobList) MarshalBinary

func (m *IoK8sAPIBatchV2alpha1CronJobList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIBatchV2alpha1CronJobList) UnmarshalBinary

func (m *IoK8sAPIBatchV2alpha1CronJobList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIBatchV2alpha1CronJobList) Validate

Validate validates this io k8s api batch v2alpha1 cron job list

type IoK8sAPIBatchV2alpha1CronJobSpec

type IoK8sAPIBatchV2alpha1CronJobSpec struct {

	// Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
	ConcurrencyPolicy string `json:"concurrencyPolicy,omitempty"`

	// The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.
	FailedJobsHistoryLimit int32 `json:"failedJobsHistoryLimit,omitempty"`

	// Specifies the job that will be created when executing a CronJob.
	// Required: true
	JobTemplate *IoK8sAPIBatchV2alpha1JobTemplateSpec `json:"jobTemplate"`

	// The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
	// Required: true
	Schedule *string `json:"schedule"`

	// 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.
	StartingDeadlineSeconds int64 `json:"startingDeadlineSeconds,omitempty"`

	// The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.
	SuccessfulJobsHistoryLimit int32 `json:"successfulJobsHistoryLimit,omitempty"`

	// This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.  Defaults to false.
	Suspend bool `json:"suspend,omitempty"`
}

IoK8sAPIBatchV2alpha1CronJobSpec CronJobSpec describes how the job execution will look like and when it will actually run.

swagger:model io.k8s.api.batch.v2alpha1.CronJobSpec

func (*IoK8sAPIBatchV2alpha1CronJobSpec) MarshalBinary

func (m *IoK8sAPIBatchV2alpha1CronJobSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIBatchV2alpha1CronJobSpec) UnmarshalBinary

func (m *IoK8sAPIBatchV2alpha1CronJobSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIBatchV2alpha1CronJobSpec) Validate

Validate validates this io k8s api batch v2alpha1 cron job spec

type IoK8sAPIBatchV2alpha1CronJobStatus

type IoK8sAPIBatchV2alpha1CronJobStatus struct {

	// A list of pointers to currently running jobs.
	Active []*IoK8sAPICoreV1ObjectReference `json:"active"`

	// Information when was the last time the job was successfully scheduled.
	// Format: date-time
	LastScheduleTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastScheduleTime,omitempty"`
}

IoK8sAPIBatchV2alpha1CronJobStatus CronJobStatus represents the current state of a cron job.

swagger:model io.k8s.api.batch.v2alpha1.CronJobStatus

func (*IoK8sAPIBatchV2alpha1CronJobStatus) MarshalBinary

func (m *IoK8sAPIBatchV2alpha1CronJobStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIBatchV2alpha1CronJobStatus) UnmarshalBinary

func (m *IoK8sAPIBatchV2alpha1CronJobStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIBatchV2alpha1CronJobStatus) Validate

Validate validates this io k8s api batch v2alpha1 cron job status

type IoK8sAPIBatchV2alpha1JobTemplateSpec

type IoK8sAPIBatchV2alpha1JobTemplateSpec struct {

	// Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPIBatchV1JobSpec `json:"spec,omitempty"`
}

IoK8sAPIBatchV2alpha1JobTemplateSpec JobTemplateSpec describes the data a Job should have when created from a template

swagger:model io.k8s.api.batch.v2alpha1.JobTemplateSpec

func (*IoK8sAPIBatchV2alpha1JobTemplateSpec) MarshalBinary

func (m *IoK8sAPIBatchV2alpha1JobTemplateSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIBatchV2alpha1JobTemplateSpec) UnmarshalBinary

func (m *IoK8sAPIBatchV2alpha1JobTemplateSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIBatchV2alpha1JobTemplateSpec) Validate

Validate validates this io k8s api batch v2alpha1 job template spec

type IoK8sAPICertificatesV1CertificateSigningRequest

type IoK8sAPICertificatesV1CertificateSigningRequest struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// spec contains the certificate request, and is immutable after creation. Only the request, signerName, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.
	// Required: true
	Spec *IoK8sAPICertificatesV1CertificateSigningRequestSpec `json:"spec"`

	// status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure.
	Status *IoK8sAPICertificatesV1CertificateSigningRequestStatus `json:"status,omitempty"`
}

IoK8sAPICertificatesV1CertificateSigningRequest CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.

Kubelets use this API to obtain:

  1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName).
  2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName).

This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.

swagger:model io.k8s.api.certificates.v1.CertificateSigningRequest

func (*IoK8sAPICertificatesV1CertificateSigningRequest) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICertificatesV1CertificateSigningRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICertificatesV1CertificateSigningRequest) Validate

Validate validates this io k8s api certificates v1 certificate signing request

type IoK8sAPICertificatesV1CertificateSigningRequestCondition

type IoK8sAPICertificatesV1CertificateSigningRequestCondition struct {

	// lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// lastUpdateTime is the time of the last update to this condition
	// Format: date-time
	LastUpdateTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastUpdateTime,omitempty"`

	// message contains a human readable message with details about the request state
	Message string `json:"message,omitempty"`

	// reason indicates a brief reason for the request state
	Reason string `json:"reason,omitempty"`

	// status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be "False" or "Unknown".
	// Required: true
	Status *string `json:"status"`

	// type of the condition. Known conditions are "Approved", "Denied", and "Failed".
	//
	// An "Approved" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer.
	//
	// A "Denied" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer.
	//
	// A "Failed" condition is added via the /status subresource, indicating the signer failed to issue the certificate.
	//
	// Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added.
	//
	// Only one condition of a given type is allowed.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPICertificatesV1CertificateSigningRequestCondition CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object

swagger:model io.k8s.api.certificates.v1.CertificateSigningRequestCondition

func (*IoK8sAPICertificatesV1CertificateSigningRequestCondition) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICertificatesV1CertificateSigningRequestCondition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICertificatesV1CertificateSigningRequestCondition) Validate

Validate validates this io k8s api certificates v1 certificate signing request condition

type IoK8sAPICertificatesV1CertificateSigningRequestList

type IoK8sAPICertificatesV1CertificateSigningRequestList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is a collection of CertificateSigningRequest objects
	// Required: true
	Items []*IoK8sAPICertificatesV1CertificateSigningRequest `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICertificatesV1CertificateSigningRequestList CertificateSigningRequestList is a collection of CertificateSigningRequest objects

swagger:model io.k8s.api.certificates.v1.CertificateSigningRequestList

func (*IoK8sAPICertificatesV1CertificateSigningRequestList) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICertificatesV1CertificateSigningRequestList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICertificatesV1CertificateSigningRequestList) Validate

Validate validates this io k8s api certificates v1 certificate signing request list

type IoK8sAPICertificatesV1CertificateSigningRequestSpec

type IoK8sAPICertificatesV1CertificateSigningRequestSpec struct {

	// extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Extra map[string][]string `json:"extra,omitempty"`

	// groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Groups []string `json:"groups"`

	// request contains an x509 certificate signing request encoded in a "CERTIFICATE REQUEST" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.
	// Required: true
	// Format: byte
	Request *strfmt.Base64 `json:"request"`

	// signerName indicates the requested signer, and is a qualified name.
	//
	// List/watch requests for CertificateSigningRequests can filter on this field using a "spec.signerName=NAME" fieldSelector.
	//
	// Well-known Kubernetes signers are:
	//  1. "kubernetes.io/kube-apiserver-client": issues client certificates that can be used to authenticate to kube-apiserver.
	//   Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the "csrsigning" controller in kube-controller-manager.
	//  2. "kubernetes.io/kube-apiserver-client-kubelet": issues client certificates that kubelets use to authenticate to kube-apiserver.
	//   Requests for this signer can be auto-approved by the "csrapproving" controller in kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.
	//  3. "kubernetes.io/kubelet-serving" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely.
	//   Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.
	//
	// More details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers
	//
	// Custom signerNames can also be specified. The signer defines:
	//  1. Trust distribution: how trust (CA bundles) are distributed.
	//  2. Permitted subjects: and behavior when a disallowed subject is requested.
	//  3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested.
	//  4. Required, permitted, or forbidden key usages / extended key usages.
	//  5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.
	//  6. Whether or not requests for CA certificates are allowed.
	// Required: true
	SignerName *string `json:"signerName"`

	// uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	UID string `json:"uid,omitempty"`

	// usages specifies a set of key usages requested in the issued certificate.
	//
	// Requests for TLS client certificates typically request: "digital signature", "key encipherment", "client auth".
	//
	// Requests for TLS serving certificates typically request: "key encipherment", "digital signature", "server auth".
	//
	// Valid values are:
	//  "signing", "digital signature", "content commitment",
	//  "key encipherment", "key agreement", "data encipherment",
	//  "cert sign", "crl sign", "encipher only", "decipher only", "any",
	//  "server auth", "client auth",
	//  "code signing", "email protection", "s/mime",
	//  "ipsec end system", "ipsec tunnel", "ipsec user",
	//  "timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"
	Usages []string `json:"usages"`

	// username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.
	Username string `json:"username,omitempty"`
}

IoK8sAPICertificatesV1CertificateSigningRequestSpec CertificateSigningRequestSpec contains the certificate request.

swagger:model io.k8s.api.certificates.v1.CertificateSigningRequestSpec

func (*IoK8sAPICertificatesV1CertificateSigningRequestSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICertificatesV1CertificateSigningRequestSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICertificatesV1CertificateSigningRequestSpec) Validate

Validate validates this io k8s api certificates v1 certificate signing request spec

type IoK8sAPICertificatesV1CertificateSigningRequestStatus

type IoK8sAPICertificatesV1CertificateSigningRequestStatus struct {

	// certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable.
	//
	// If the certificate signing request is denied, a condition of type "Denied" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type "Failed" is added and this field remains empty.
	//
	// Validation requirements:
	//  1. certificate must contain one or more PEM blocks.
	//  2. All PEM blocks must have the "CERTIFICATE" label, contain no headers, and the encoded data
	//   must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.
	//  3. Non-PEM content may appear before or after the "CERTIFICATE" PEM blocks and is unvalidated,
	//   to allow for explanatory text as described in section 5.2 of RFC7468.
	//
	// If more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.
	//
	// The certificate is encoded in PEM format.
	//
	// When serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:
	//
	//     base64(
	//     -----BEGIN CERTIFICATE-----
	//     ...
	//     -----END CERTIFICATE-----
	//     )
	// Format: byte
	Certificate strfmt.Base64 `json:"certificate,omitempty"`

	// conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".
	Conditions []*IoK8sAPICertificatesV1CertificateSigningRequestCondition `json:"conditions"`
}

IoK8sAPICertificatesV1CertificateSigningRequestStatus CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.

swagger:model io.k8s.api.certificates.v1.CertificateSigningRequestStatus

func (*IoK8sAPICertificatesV1CertificateSigningRequestStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICertificatesV1CertificateSigningRequestStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICertificatesV1CertificateSigningRequestStatus) Validate

Validate validates this io k8s api certificates v1 certificate signing request status

type IoK8sAPICertificatesV1beta1CertificateSigningRequest

type IoK8sAPICertificatesV1beta1CertificateSigningRequest struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// The certificate request itself and any additional information.
	Spec *IoK8sAPICertificatesV1beta1CertificateSigningRequestSpec `json:"spec,omitempty"`

	// Derived information about the request.
	Status *IoK8sAPICertificatesV1beta1CertificateSigningRequestStatus `json:"status,omitempty"`
}

IoK8sAPICertificatesV1beta1CertificateSigningRequest Describes a certificate signing request

swagger:model io.k8s.api.certificates.v1beta1.CertificateSigningRequest

func (*IoK8sAPICertificatesV1beta1CertificateSigningRequest) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICertificatesV1beta1CertificateSigningRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICertificatesV1beta1CertificateSigningRequest) Validate

Validate validates this io k8s api certificates v1beta1 certificate signing request

type IoK8sAPICertificatesV1beta1CertificateSigningRequestCondition

type IoK8sAPICertificatesV1beta1CertificateSigningRequestCondition struct {

	// lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// timestamp for the last update to this condition
	// Format: date-time
	LastUpdateTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastUpdateTime,omitempty"`

	// human readable message with details about the request state
	Message string `json:"message,omitempty"`

	// brief reason for the request state
	Reason string `json:"reason,omitempty"`

	// Status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be "False" or "Unknown". Defaults to "True". If unset, should be treated as "True".
	Status string `json:"status,omitempty"`

	// type of the condition. Known conditions include "Approved", "Denied", and "Failed".
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPICertificatesV1beta1CertificateSigningRequestCondition io k8s api certificates v1beta1 certificate signing request condition

swagger:model io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition

func (*IoK8sAPICertificatesV1beta1CertificateSigningRequestCondition) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICertificatesV1beta1CertificateSigningRequestCondition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICertificatesV1beta1CertificateSigningRequestCondition) Validate

Validate validates this io k8s api certificates v1beta1 certificate signing request condition

type IoK8sAPICertificatesV1beta1CertificateSigningRequestList

type IoK8sAPICertificatesV1beta1CertificateSigningRequestList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items
	// Required: true
	Items []*IoK8sAPICertificatesV1beta1CertificateSigningRequest `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICertificatesV1beta1CertificateSigningRequestList io k8s api certificates v1beta1 certificate signing request list

swagger:model io.k8s.api.certificates.v1beta1.CertificateSigningRequestList

func (*IoK8sAPICertificatesV1beta1CertificateSigningRequestList) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICertificatesV1beta1CertificateSigningRequestList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICertificatesV1beta1CertificateSigningRequestList) Validate

Validate validates this io k8s api certificates v1beta1 certificate signing request list

type IoK8sAPICertificatesV1beta1CertificateSigningRequestSpec

type IoK8sAPICertificatesV1beta1CertificateSigningRequestSpec struct {

	// Extra information about the requesting user. See user.Info interface for details.
	Extra map[string][]string `json:"extra,omitempty"`

	// Group information about the requesting user. See user.Info interface for details.
	Groups []string `json:"groups"`

	// Base64-encoded PKCS#10 CSR data
	// Required: true
	// Format: byte
	Request *strfmt.Base64 `json:"request"`

	// Requested signer for the request. It is a qualified name in the form: `scope-hostname.io/name`. If empty, it will be defaulted:
	//  1. If it's a kubelet client certificate, it is assigned
	//     "kubernetes.io/kube-apiserver-client-kubelet".
	//  2. If it's a kubelet serving certificate, it is assigned
	//     "kubernetes.io/kubelet-serving".
	//  3. Otherwise, it is assigned "kubernetes.io/legacy-unknown".
	// Distribution of trust for signers happens out of band. You can select on this field using `spec.signerName`.
	SignerName string `json:"signerName,omitempty"`

	// UID information about the requesting user. See user.Info interface for details.
	UID string `json:"uid,omitempty"`

	// allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3
	//      https://tools.ietf.org/html/rfc5280#section-4.2.1.12
	// Valid values are:
	//  "signing",
	//  "digital signature",
	//  "content commitment",
	//  "key encipherment",
	//  "key agreement",
	//  "data encipherment",
	//  "cert sign",
	//  "crl sign",
	//  "encipher only",
	//  "decipher only",
	//  "any",
	//  "server auth",
	//  "client auth",
	//  "code signing",
	//  "email protection",
	//  "s/mime",
	//  "ipsec end system",
	//  "ipsec tunnel",
	//  "ipsec user",
	//  "timestamping",
	//  "ocsp signing",
	//  "microsoft sgc",
	//  "netscape sgc"
	Usages []string `json:"usages"`

	// Information about the requesting user. See user.Info interface for details.
	Username string `json:"username,omitempty"`
}

IoK8sAPICertificatesV1beta1CertificateSigningRequestSpec This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users.

swagger:model io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec

func (*IoK8sAPICertificatesV1beta1CertificateSigningRequestSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICertificatesV1beta1CertificateSigningRequestSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICertificatesV1beta1CertificateSigningRequestSpec) Validate

Validate validates this io k8s api certificates v1beta1 certificate signing request spec

type IoK8sAPICertificatesV1beta1CertificateSigningRequestStatus

type IoK8sAPICertificatesV1beta1CertificateSigningRequestStatus struct {

	// If request was approved, the controller will place the issued certificate here.
	// Format: byte
	Certificate strfmt.Base64 `json:"certificate,omitempty"`

	// Conditions applied to the request, such as approval or denial.
	Conditions []*IoK8sAPICertificatesV1beta1CertificateSigningRequestCondition `json:"conditions"`
}

IoK8sAPICertificatesV1beta1CertificateSigningRequestStatus io k8s api certificates v1beta1 certificate signing request status

swagger:model io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus

func (*IoK8sAPICertificatesV1beta1CertificateSigningRequestStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICertificatesV1beta1CertificateSigningRequestStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICertificatesV1beta1CertificateSigningRequestStatus) Validate

Validate validates this io k8s api certificates v1beta1 certificate signing request status

type IoK8sAPICoordinationV1Lease

type IoK8sAPICoordinationV1Lease struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPICoordinationV1LeaseSpec `json:"spec,omitempty"`
}

IoK8sAPICoordinationV1Lease Lease defines a lease concept.

swagger:model io.k8s.api.coordination.v1.Lease

func (*IoK8sAPICoordinationV1Lease) MarshalBinary

func (m *IoK8sAPICoordinationV1Lease) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoordinationV1Lease) UnmarshalBinary

func (m *IoK8sAPICoordinationV1Lease) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoordinationV1Lease) Validate

func (m *IoK8sAPICoordinationV1Lease) Validate(formats strfmt.Registry) error

Validate validates this io k8s api coordination v1 lease

type IoK8sAPICoordinationV1LeaseList

type IoK8sAPICoordinationV1LeaseList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of schema objects.
	// Required: true
	Items []*IoK8sAPICoordinationV1Lease `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoordinationV1LeaseList LeaseList is a list of Lease objects.

swagger:model io.k8s.api.coordination.v1.LeaseList

func (*IoK8sAPICoordinationV1LeaseList) MarshalBinary

func (m *IoK8sAPICoordinationV1LeaseList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoordinationV1LeaseList) UnmarshalBinary

func (m *IoK8sAPICoordinationV1LeaseList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoordinationV1LeaseList) Validate

Validate validates this io k8s api coordination v1 lease list

type IoK8sAPICoordinationV1LeaseSpec

type IoK8sAPICoordinationV1LeaseSpec struct {

	// acquireTime is a time when the current lease was acquired.
	// Format: date-time
	AcquireTime IoK8sApimachineryPkgApisMetaV1MicroTime `json:"acquireTime,omitempty"`

	// holderIdentity contains the identity of the holder of a current lease.
	HolderIdentity string `json:"holderIdentity,omitempty"`

	// leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.
	LeaseDurationSeconds int32 `json:"leaseDurationSeconds,omitempty"`

	// leaseTransitions is the number of transitions of a lease between holders.
	LeaseTransitions int32 `json:"leaseTransitions,omitempty"`

	// renewTime is a time when the current holder of a lease has last updated the lease.
	// Format: date-time
	RenewTime IoK8sApimachineryPkgApisMetaV1MicroTime `json:"renewTime,omitempty"`
}

IoK8sAPICoordinationV1LeaseSpec LeaseSpec is a specification of a Lease.

swagger:model io.k8s.api.coordination.v1.LeaseSpec

func (*IoK8sAPICoordinationV1LeaseSpec) MarshalBinary

func (m *IoK8sAPICoordinationV1LeaseSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoordinationV1LeaseSpec) UnmarshalBinary

func (m *IoK8sAPICoordinationV1LeaseSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoordinationV1LeaseSpec) Validate

Validate validates this io k8s api coordination v1 lease spec

type IoK8sAPICoordinationV1beta1Lease

type IoK8sAPICoordinationV1beta1Lease struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPICoordinationV1beta1LeaseSpec `json:"spec,omitempty"`
}

IoK8sAPICoordinationV1beta1Lease Lease defines a lease concept.

swagger:model io.k8s.api.coordination.v1beta1.Lease

func (*IoK8sAPICoordinationV1beta1Lease) MarshalBinary

func (m *IoK8sAPICoordinationV1beta1Lease) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoordinationV1beta1Lease) UnmarshalBinary

func (m *IoK8sAPICoordinationV1beta1Lease) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoordinationV1beta1Lease) Validate

Validate validates this io k8s api coordination v1beta1 lease

type IoK8sAPICoordinationV1beta1LeaseList

type IoK8sAPICoordinationV1beta1LeaseList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of schema objects.
	// Required: true
	Items []*IoK8sAPICoordinationV1beta1Lease `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoordinationV1beta1LeaseList LeaseList is a list of Lease objects.

swagger:model io.k8s.api.coordination.v1beta1.LeaseList

func (*IoK8sAPICoordinationV1beta1LeaseList) MarshalBinary

func (m *IoK8sAPICoordinationV1beta1LeaseList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoordinationV1beta1LeaseList) UnmarshalBinary

func (m *IoK8sAPICoordinationV1beta1LeaseList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoordinationV1beta1LeaseList) Validate

Validate validates this io k8s api coordination v1beta1 lease list

type IoK8sAPICoordinationV1beta1LeaseSpec

type IoK8sAPICoordinationV1beta1LeaseSpec struct {

	// acquireTime is a time when the current lease was acquired.
	// Format: date-time
	AcquireTime IoK8sApimachineryPkgApisMetaV1MicroTime `json:"acquireTime,omitempty"`

	// holderIdentity contains the identity of the holder of a current lease.
	HolderIdentity string `json:"holderIdentity,omitempty"`

	// leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.
	LeaseDurationSeconds int32 `json:"leaseDurationSeconds,omitempty"`

	// leaseTransitions is the number of transitions of a lease between holders.
	LeaseTransitions int32 `json:"leaseTransitions,omitempty"`

	// renewTime is a time when the current holder of a lease has last updated the lease.
	// Format: date-time
	RenewTime IoK8sApimachineryPkgApisMetaV1MicroTime `json:"renewTime,omitempty"`
}

IoK8sAPICoordinationV1beta1LeaseSpec LeaseSpec is a specification of a Lease.

swagger:model io.k8s.api.coordination.v1beta1.LeaseSpec

func (*IoK8sAPICoordinationV1beta1LeaseSpec) MarshalBinary

func (m *IoK8sAPICoordinationV1beta1LeaseSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoordinationV1beta1LeaseSpec) UnmarshalBinary

func (m *IoK8sAPICoordinationV1beta1LeaseSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoordinationV1beta1LeaseSpec) Validate

Validate validates this io k8s api coordination v1beta1 lease spec

type IoK8sAPICoreV1AWSElasticBlockStoreVolumeSource

type IoK8sAPICoreV1AWSElasticBlockStoreVolumeSource struct {

	// 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: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
	FsType string `json:"fsType,omitempty"`

	// 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).
	Partition int32 `json:"partition,omitempty"`

	// Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
	ReadOnly bool `json:"readOnly,omitempty"`

	// Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
	// Required: true
	VolumeID *string `json:"volumeID"`
}

IoK8sAPICoreV1AWSElasticBlockStoreVolumeSource Represents a Persistent Disk resource in AWS.

An 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.

swagger:model io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource

func (*IoK8sAPICoreV1AWSElasticBlockStoreVolumeSource) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICoreV1AWSElasticBlockStoreVolumeSource) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1AWSElasticBlockStoreVolumeSource) Validate

Validate validates this io k8s api core v1 a w s elastic block store volume source

type IoK8sAPICoreV1Affinity

type IoK8sAPICoreV1Affinity struct {

	// Describes node affinity scheduling rules for the pod.
	NodeAffinity *IoK8sAPICoreV1NodeAffinity `json:"nodeAffinity,omitempty"`

	// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
	PodAffinity *IoK8sAPICoreV1PodAffinity `json:"podAffinity,omitempty"`

	// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
	PodAntiAffinity *IoK8sAPICoreV1PodAntiAffinity `json:"podAntiAffinity,omitempty"`
}

IoK8sAPICoreV1Affinity Affinity is a group of affinity scheduling rules.

swagger:model io.k8s.api.core.v1.Affinity

func (*IoK8sAPICoreV1Affinity) MarshalBinary

func (m *IoK8sAPICoreV1Affinity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Affinity) UnmarshalBinary

func (m *IoK8sAPICoreV1Affinity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Affinity) Validate

func (m *IoK8sAPICoreV1Affinity) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 affinity

type IoK8sAPICoreV1AttachedVolume

type IoK8sAPICoreV1AttachedVolume struct {

	// DevicePath represents the device path where the volume should be available
	// Required: true
	DevicePath *string `json:"devicePath"`

	// Name of the attached volume
	// Required: true
	Name *string `json:"name"`
}

IoK8sAPICoreV1AttachedVolume AttachedVolume describes a volume attached to a node

swagger:model io.k8s.api.core.v1.AttachedVolume

func (*IoK8sAPICoreV1AttachedVolume) MarshalBinary

func (m *IoK8sAPICoreV1AttachedVolume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1AttachedVolume) UnmarshalBinary

func (m *IoK8sAPICoreV1AttachedVolume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1AttachedVolume) Validate

func (m *IoK8sAPICoreV1AttachedVolume) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 attached volume

type IoK8sAPICoreV1AzureDiskVolumeSource

type IoK8sAPICoreV1AzureDiskVolumeSource struct {

	// Host Caching mode: None, Read Only, Read Write.
	CachingMode string `json:"cachingMode,omitempty"`

	// The Name of the data disk in the blob storage
	// Required: true
	DiskName *string `json:"diskName"`

	// The URI the data disk in the blob storage
	// Required: true
	DiskURI *string `json:"diskURI"`

	// 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.
	FsType string `json:"fsType,omitempty"`

	// Expected values Shared: multiple blob disks per storage account  Dedicated: single blob disk per storage account  Managed: azure managed data disk (only in managed availability set). defaults to shared
	Kind string `json:"kind,omitempty"`

	// Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly bool `json:"readOnly,omitempty"`
}

IoK8sAPICoreV1AzureDiskVolumeSource AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.

swagger:model io.k8s.api.core.v1.AzureDiskVolumeSource

func (*IoK8sAPICoreV1AzureDiskVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1AzureDiskVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1AzureDiskVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1AzureDiskVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1AzureDiskVolumeSource) Validate

Validate validates this io k8s api core v1 azure disk volume source

type IoK8sAPICoreV1AzureFilePersistentVolumeSource

type IoK8sAPICoreV1AzureFilePersistentVolumeSource struct {

	// Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly bool `json:"readOnly,omitempty"`

	// the name of secret that contains Azure Storage Account Name and Key
	// Required: true
	SecretName *string `json:"secretName"`

	// the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod
	SecretNamespace string `json:"secretNamespace,omitempty"`

	// Share Name
	// Required: true
	ShareName *string `json:"shareName"`
}

IoK8sAPICoreV1AzureFilePersistentVolumeSource AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

swagger:model io.k8s.api.core.v1.AzureFilePersistentVolumeSource

func (*IoK8sAPICoreV1AzureFilePersistentVolumeSource) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICoreV1AzureFilePersistentVolumeSource) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1AzureFilePersistentVolumeSource) Validate

Validate validates this io k8s api core v1 azure file persistent volume source

type IoK8sAPICoreV1AzureFileVolumeSource

type IoK8sAPICoreV1AzureFileVolumeSource struct {

	// Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly bool `json:"readOnly,omitempty"`

	// the name of secret that contains Azure Storage Account Name and Key
	// Required: true
	SecretName *string `json:"secretName"`

	// Share Name
	// Required: true
	ShareName *string `json:"shareName"`
}

IoK8sAPICoreV1AzureFileVolumeSource AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

swagger:model io.k8s.api.core.v1.AzureFileVolumeSource

func (*IoK8sAPICoreV1AzureFileVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1AzureFileVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1AzureFileVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1AzureFileVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1AzureFileVolumeSource) Validate

Validate validates this io k8s api core v1 azure file volume source

type IoK8sAPICoreV1Binding

type IoK8sAPICoreV1Binding struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// The target object that you want to bind to the standard object.
	// Required: true
	Target *IoK8sAPICoreV1ObjectReference `json:"target"`
}

IoK8sAPICoreV1Binding Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.

swagger:model io.k8s.api.core.v1.Binding

func (*IoK8sAPICoreV1Binding) MarshalBinary

func (m *IoK8sAPICoreV1Binding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Binding) UnmarshalBinary

func (m *IoK8sAPICoreV1Binding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Binding) Validate

func (m *IoK8sAPICoreV1Binding) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 binding

type IoK8sAPICoreV1CSIPersistentVolumeSource

type IoK8sAPICoreV1CSIPersistentVolumeSource struct {

	// ControllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.
	ControllerExpandSecretRef *IoK8sAPICoreV1SecretReference `json:"controllerExpandSecretRef,omitempty"`

	// ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.
	ControllerPublishSecretRef *IoK8sAPICoreV1SecretReference `json:"controllerPublishSecretRef,omitempty"`

	// Driver is the name of the driver to use for this volume. Required.
	// Required: true
	Driver *string `json:"driver"`

	// Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".
	FsType string `json:"fsType,omitempty"`

	// NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.
	NodePublishSecretRef *IoK8sAPICoreV1SecretReference `json:"nodePublishSecretRef,omitempty"`

	// NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.
	NodeStageSecretRef *IoK8sAPICoreV1SecretReference `json:"nodeStageSecretRef,omitempty"`

	// Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).
	ReadOnly bool `json:"readOnly,omitempty"`

	// Attributes of the volume to publish.
	VolumeAttributes map[string]string `json:"volumeAttributes,omitempty"`

	// VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.
	// Required: true
	VolumeHandle *string `json:"volumeHandle"`
}

IoK8sAPICoreV1CSIPersistentVolumeSource Represents storage that is managed by an external CSI volume driver (Beta feature)

swagger:model io.k8s.api.core.v1.CSIPersistentVolumeSource

func (*IoK8sAPICoreV1CSIPersistentVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1CSIPersistentVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1CSIPersistentVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1CSIPersistentVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1CSIPersistentVolumeSource) Validate

Validate validates this io k8s api core v1 c s i persistent volume source

type IoK8sAPICoreV1CSIVolumeSource

type IoK8sAPICoreV1CSIVolumeSource struct {

	// Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
	// Required: true
	Driver *string `json:"driver"`

	// Filesystem type to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.
	FsType string `json:"fsType,omitempty"`

	// NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and  may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.
	NodePublishSecretRef *IoK8sAPICoreV1LocalObjectReference `json:"nodePublishSecretRef,omitempty"`

	// Specifies a read-only configuration for the volume. Defaults to false (read/write).
	ReadOnly bool `json:"readOnly,omitempty"`

	// VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.
	VolumeAttributes map[string]string `json:"volumeAttributes,omitempty"`
}

IoK8sAPICoreV1CSIVolumeSource Represents a source location of a volume to mount, managed by an external CSI driver

swagger:model io.k8s.api.core.v1.CSIVolumeSource

func (*IoK8sAPICoreV1CSIVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1CSIVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1CSIVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1CSIVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1CSIVolumeSource) Validate

func (m *IoK8sAPICoreV1CSIVolumeSource) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 c s i volume source

type IoK8sAPICoreV1Capabilities

type IoK8sAPICoreV1Capabilities struct {

	// Added capabilities
	Add []string `json:"add"`

	// Removed capabilities
	Drop []string `json:"drop"`
}

IoK8sAPICoreV1Capabilities Adds and removes POSIX capabilities from running containers.

swagger:model io.k8s.api.core.v1.Capabilities

func (*IoK8sAPICoreV1Capabilities) MarshalBinary

func (m *IoK8sAPICoreV1Capabilities) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Capabilities) UnmarshalBinary

func (m *IoK8sAPICoreV1Capabilities) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Capabilities) Validate

func (m *IoK8sAPICoreV1Capabilities) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 capabilities

type IoK8sAPICoreV1CephFSPersistentVolumeSource

type IoK8sAPICoreV1CephFSPersistentVolumeSource struct {

	// Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	// Required: true
	Monitors []string `json:"monitors"`

	// Optional: Used as the mounted root, rather than the full Ceph tree, default is /
	Path string `json:"path,omitempty"`

	// Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	ReadOnly bool `json:"readOnly,omitempty"`

	// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	SecretFile string `json:"secretFile,omitempty"`

	// Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	SecretRef *IoK8sAPICoreV1SecretReference `json:"secretRef,omitempty"`

	// Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	User string `json:"user,omitempty"`
}

IoK8sAPICoreV1CephFSPersistentVolumeSource Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.

swagger:model io.k8s.api.core.v1.CephFSPersistentVolumeSource

func (*IoK8sAPICoreV1CephFSPersistentVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1CephFSPersistentVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1CephFSPersistentVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1CephFSPersistentVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1CephFSPersistentVolumeSource) Validate

Validate validates this io k8s api core v1 ceph f s persistent volume source

type IoK8sAPICoreV1CephFSVolumeSource

type IoK8sAPICoreV1CephFSVolumeSource struct {

	// Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	// Required: true
	Monitors []string `json:"monitors"`

	// Optional: Used as the mounted root, rather than the full Ceph tree, default is /
	Path string `json:"path,omitempty"`

	// Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	ReadOnly bool `json:"readOnly,omitempty"`

	// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	SecretFile string `json:"secretFile,omitempty"`

	// Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	SecretRef *IoK8sAPICoreV1LocalObjectReference `json:"secretRef,omitempty"`

	// Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
	User string `json:"user,omitempty"`
}

IoK8sAPICoreV1CephFSVolumeSource Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.

swagger:model io.k8s.api.core.v1.CephFSVolumeSource

func (*IoK8sAPICoreV1CephFSVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1CephFSVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1CephFSVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1CephFSVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1CephFSVolumeSource) Validate

Validate validates this io k8s api core v1 ceph f s volume source

type IoK8sAPICoreV1CinderPersistentVolumeSource

type IoK8sAPICoreV1CinderPersistentVolumeSource struct {

	// 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: https://examples.k8s.io/mysql-cinder-pd/README.md
	FsType string `json:"fsType,omitempty"`

	// Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	ReadOnly bool `json:"readOnly,omitempty"`

	// Optional: points to a secret object containing parameters used to connect to OpenStack.
	SecretRef *IoK8sAPICoreV1SecretReference `json:"secretRef,omitempty"`

	// volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	// Required: true
	VolumeID *string `json:"volumeID"`
}

IoK8sAPICoreV1CinderPersistentVolumeSource 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.

swagger:model io.k8s.api.core.v1.CinderPersistentVolumeSource

func (*IoK8sAPICoreV1CinderPersistentVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1CinderPersistentVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1CinderPersistentVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1CinderPersistentVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1CinderPersistentVolumeSource) Validate

Validate validates this io k8s api core v1 cinder persistent volume source

type IoK8sAPICoreV1CinderVolumeSource

type IoK8sAPICoreV1CinderVolumeSource struct {

	// 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: https://examples.k8s.io/mysql-cinder-pd/README.md
	FsType string `json:"fsType,omitempty"`

	// Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	ReadOnly bool `json:"readOnly,omitempty"`

	// Optional: points to a secret object containing parameters used to connect to OpenStack.
	SecretRef *IoK8sAPICoreV1LocalObjectReference `json:"secretRef,omitempty"`

	// volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	// Required: true
	VolumeID *string `json:"volumeID"`
}

IoK8sAPICoreV1CinderVolumeSource 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.

swagger:model io.k8s.api.core.v1.CinderVolumeSource

func (*IoK8sAPICoreV1CinderVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1CinderVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1CinderVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1CinderVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1CinderVolumeSource) Validate

Validate validates this io k8s api core v1 cinder volume source

type IoK8sAPICoreV1ClientIPConfig

type IoK8sAPICoreV1ClientIPConfig struct {

	// timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours).
	TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"`
}

IoK8sAPICoreV1ClientIPConfig ClientIPConfig represents the configurations of Client IP based session affinity.

swagger:model io.k8s.api.core.v1.ClientIPConfig

func (*IoK8sAPICoreV1ClientIPConfig) MarshalBinary

func (m *IoK8sAPICoreV1ClientIPConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ClientIPConfig) UnmarshalBinary

func (m *IoK8sAPICoreV1ClientIPConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ClientIPConfig) Validate

func (m *IoK8sAPICoreV1ClientIPConfig) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 client IP config

type IoK8sAPICoreV1ComponentCondition

type IoK8sAPICoreV1ComponentCondition struct {

	// Condition error code for a component. For example, a health check error code.
	Error string `json:"error,omitempty"`

	// Message about the condition for a component. For example, information about a health check.
	Message string `json:"message,omitempty"`

	// Status of the condition for a component. Valid values for "Healthy": "True", "False", or "Unknown".
	// Required: true
	Status *string `json:"status"`

	// Type of condition for a component. Valid value: "Healthy"
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPICoreV1ComponentCondition Information about the condition of a component.

swagger:model io.k8s.api.core.v1.ComponentCondition

func (*IoK8sAPICoreV1ComponentCondition) MarshalBinary

func (m *IoK8sAPICoreV1ComponentCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ComponentCondition) UnmarshalBinary

func (m *IoK8sAPICoreV1ComponentCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ComponentCondition) Validate

Validate validates this io k8s api core v1 component condition

type IoK8sAPICoreV1ComponentStatus

type IoK8sAPICoreV1ComponentStatus struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of component conditions observed
	Conditions []*IoK8sAPICoreV1ComponentCondition `json:"conditions"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1ComponentStatus ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+

swagger:model io.k8s.api.core.v1.ComponentStatus

func (*IoK8sAPICoreV1ComponentStatus) MarshalBinary

func (m *IoK8sAPICoreV1ComponentStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ComponentStatus) UnmarshalBinary

func (m *IoK8sAPICoreV1ComponentStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ComponentStatus) Validate

func (m *IoK8sAPICoreV1ComponentStatus) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 component status

type IoK8sAPICoreV1ComponentStatusList

type IoK8sAPICoreV1ComponentStatusList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of ComponentStatus objects.
	// Required: true
	Items []*IoK8sAPICoreV1ComponentStatus `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1ComponentStatusList Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+

swagger:model io.k8s.api.core.v1.ComponentStatusList

func (*IoK8sAPICoreV1ComponentStatusList) MarshalBinary

func (m *IoK8sAPICoreV1ComponentStatusList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ComponentStatusList) UnmarshalBinary

func (m *IoK8sAPICoreV1ComponentStatusList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ComponentStatusList) Validate

Validate validates this io k8s api core v1 component status list

type IoK8sAPICoreV1ConfigMap

type IoK8sAPICoreV1ConfigMap struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.
	BinaryData map[string]strfmt.Base64 `json:"binaryData,omitempty"`

	// Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.
	Data map[string]string `json:"data,omitempty"`

	// Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate.
	Immutable bool `json:"immutable,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1ConfigMap ConfigMap holds configuration data for pods to consume.

swagger:model io.k8s.api.core.v1.ConfigMap

func (*IoK8sAPICoreV1ConfigMap) MarshalBinary

func (m *IoK8sAPICoreV1ConfigMap) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ConfigMap) UnmarshalBinary

func (m *IoK8sAPICoreV1ConfigMap) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ConfigMap) Validate

func (m *IoK8sAPICoreV1ConfigMap) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 config map

type IoK8sAPICoreV1ConfigMapEnvSource

type IoK8sAPICoreV1ConfigMapEnvSource struct {

	// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name string `json:"name,omitempty"`

	// Specify whether the ConfigMap must be defined
	Optional bool `json:"optional,omitempty"`
}

IoK8sAPICoreV1ConfigMapEnvSource ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.

The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.

swagger:model io.k8s.api.core.v1.ConfigMapEnvSource

func (*IoK8sAPICoreV1ConfigMapEnvSource) MarshalBinary

func (m *IoK8sAPICoreV1ConfigMapEnvSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ConfigMapEnvSource) UnmarshalBinary

func (m *IoK8sAPICoreV1ConfigMapEnvSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ConfigMapEnvSource) Validate

Validate validates this io k8s api core v1 config map env source

type IoK8sAPICoreV1ConfigMapKeySelector

type IoK8sAPICoreV1ConfigMapKeySelector struct {

	// The key to select.
	// Required: true
	Key *string `json:"key"`

	// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name string `json:"name,omitempty"`

	// Specify whether the ConfigMap or its key must be defined
	Optional bool `json:"optional,omitempty"`
}

IoK8sAPICoreV1ConfigMapKeySelector Selects a key from a ConfigMap.

swagger:model io.k8s.api.core.v1.ConfigMapKeySelector

func (*IoK8sAPICoreV1ConfigMapKeySelector) MarshalBinary

func (m *IoK8sAPICoreV1ConfigMapKeySelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ConfigMapKeySelector) UnmarshalBinary

func (m *IoK8sAPICoreV1ConfigMapKeySelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ConfigMapKeySelector) Validate

Validate validates this io k8s api core v1 config map key selector

type IoK8sAPICoreV1ConfigMapList

type IoK8sAPICoreV1ConfigMapList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is the list of ConfigMaps.
	// Required: true
	Items []*IoK8sAPICoreV1ConfigMap `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1ConfigMapList ConfigMapList is a resource containing a list of ConfigMap objects.

swagger:model io.k8s.api.core.v1.ConfigMapList

func (*IoK8sAPICoreV1ConfigMapList) MarshalBinary

func (m *IoK8sAPICoreV1ConfigMapList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ConfigMapList) UnmarshalBinary

func (m *IoK8sAPICoreV1ConfigMapList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ConfigMapList) Validate

func (m *IoK8sAPICoreV1ConfigMapList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 config map list

type IoK8sAPICoreV1ConfigMapNodeConfigSource

type IoK8sAPICoreV1ConfigMapNodeConfigSource struct {

	// KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.
	// Required: true
	KubeletConfigKey *string `json:"kubeletConfigKey"`

	// Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.
	// Required: true
	Name *string `json:"name"`

	// Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.
	// Required: true
	Namespace *string `json:"namespace"`

	// ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
	UID string `json:"uid,omitempty"`
}

IoK8sAPICoreV1ConfigMapNodeConfigSource ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.

swagger:model io.k8s.api.core.v1.ConfigMapNodeConfigSource

func (*IoK8sAPICoreV1ConfigMapNodeConfigSource) MarshalBinary

func (m *IoK8sAPICoreV1ConfigMapNodeConfigSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ConfigMapNodeConfigSource) UnmarshalBinary

func (m *IoK8sAPICoreV1ConfigMapNodeConfigSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ConfigMapNodeConfigSource) Validate

Validate validates this io k8s api core v1 config map node config source

type IoK8sAPICoreV1ConfigMapProjection

type IoK8sAPICoreV1ConfigMapProjection struct {

	// 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 unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
	Items []*IoK8sAPICoreV1KeyToPath `json:"items"`

	// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name string `json:"name,omitempty"`

	// Specify whether the ConfigMap or its keys must be defined
	Optional bool `json:"optional,omitempty"`
}

IoK8sAPICoreV1ConfigMapProjection Adapts a ConfigMap into a projected volume.

The contents of the target ConfigMap's Data field will be presented in a projected 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. Note that this is identical to a configmap volume source without the default mode.

swagger:model io.k8s.api.core.v1.ConfigMapProjection

func (*IoK8sAPICoreV1ConfigMapProjection) MarshalBinary

func (m *IoK8sAPICoreV1ConfigMapProjection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ConfigMapProjection) UnmarshalBinary

func (m *IoK8sAPICoreV1ConfigMapProjection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ConfigMapProjection) Validate

Validate validates this io k8s api core v1 config map projection

type IoK8sAPICoreV1ConfigMapVolumeSource

type IoK8sAPICoreV1ConfigMapVolumeSource struct {

	// Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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.
	DefaultMode int32 `json:"defaultMode,omitempty"`

	// 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 unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
	Items []*IoK8sAPICoreV1KeyToPath `json:"items"`

	// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name string `json:"name,omitempty"`

	// Specify whether the ConfigMap or its keys must be defined
	Optional bool `json:"optional,omitempty"`
}

IoK8sAPICoreV1ConfigMapVolumeSource Adapts a ConfigMap into a volume.

The 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.

swagger:model io.k8s.api.core.v1.ConfigMapVolumeSource

func (*IoK8sAPICoreV1ConfigMapVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1ConfigMapVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ConfigMapVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1ConfigMapVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ConfigMapVolumeSource) Validate

Validate validates this io k8s api core v1 config map volume source

type IoK8sAPICoreV1Container

type IoK8sAPICoreV1Container struct {

	// 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: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	Args []string `json:"args"`

	// 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: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	Command []string `json:"command"`

	// List of environment variables to set in the container. Cannot be updated.
	Env []*IoK8sAPICoreV1EnvVar `json:"env"`

	// List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.
	EnvFrom []*IoK8sAPICoreV1EnvFromSource `json:"envFrom"`

	// Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.
	Image string `json:"image,omitempty"`

	// Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
	ImagePullPolicy string `json:"imagePullPolicy,omitempty"`

	// Actions that the management system should take in response to container lifecycle events. Cannot be updated.
	Lifecycle *IoK8sAPICoreV1Lifecycle `json:"lifecycle,omitempty"`

	// Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	LivenessProbe *IoK8sAPICoreV1Probe `json:"livenessProbe,omitempty"`

	// Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
	// Required: true
	Name *string `json:"name"`

	// 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.
	Ports []*IoK8sAPICoreV1ContainerPort `json:"ports"`

	// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	ReadinessProbe *IoK8sAPICoreV1Probe `json:"readinessProbe,omitempty"`

	// Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
	Resources *IoK8sAPICoreV1ResourceRequirements `json:"resources,omitempty"`

	// Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
	SecurityContext *IoK8sAPICoreV1SecurityContext `json:"securityContext,omitempty"`

	// StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. This is a beta feature enabled by the StartupProbe feature flag. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	StartupProbe *IoK8sAPICoreV1Probe `json:"startupProbe,omitempty"`

	// 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.
	Stdin bool `json:"stdin,omitempty"`

	// 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
	StdinOnce bool `json:"stdinOnce,omitempty"`

	// 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. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.
	TerminationMessagePath string `json:"terminationMessagePath,omitempty"`

	// Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
	TerminationMessagePolicy string `json:"terminationMessagePolicy,omitempty"`

	// Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.
	Tty bool `json:"tty,omitempty"`

	// volumeDevices is the list of block devices to be used by the container.
	VolumeDevices []*IoK8sAPICoreV1VolumeDevice `json:"volumeDevices"`

	// Pod volumes to mount into the container's filesystem. Cannot be updated.
	VolumeMounts []*IoK8sAPICoreV1VolumeMount `json:"volumeMounts"`

	// 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.
	WorkingDir string `json:"workingDir,omitempty"`
}

IoK8sAPICoreV1Container A single application container that you want to run within a pod.

swagger:model io.k8s.api.core.v1.Container

func (*IoK8sAPICoreV1Container) MarshalBinary

func (m *IoK8sAPICoreV1Container) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Container) UnmarshalBinary

func (m *IoK8sAPICoreV1Container) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Container) Validate

func (m *IoK8sAPICoreV1Container) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 container

type IoK8sAPICoreV1ContainerImage

type IoK8sAPICoreV1ContainerImage struct {

	// Names by which this image is known. e.g. ["k8s.gcr.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"]
	// Required: true
	Names []string `json:"names"`

	// The size of the image in bytes.
	SizeBytes int64 `json:"sizeBytes,omitempty"`
}

IoK8sAPICoreV1ContainerImage Describe a container image

swagger:model io.k8s.api.core.v1.ContainerImage

func (*IoK8sAPICoreV1ContainerImage) MarshalBinary

func (m *IoK8sAPICoreV1ContainerImage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ContainerImage) UnmarshalBinary

func (m *IoK8sAPICoreV1ContainerImage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ContainerImage) Validate

func (m *IoK8sAPICoreV1ContainerImage) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 container image

type IoK8sAPICoreV1ContainerPort

type IoK8sAPICoreV1ContainerPort struct {

	// Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.
	// Required: true
	ContainerPort *int32 `json:"containerPort"`

	// What host IP to bind the external port to.
	HostIP string `json:"hostIP,omitempty"`

	// 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.
	HostPort int32 `json:"hostPort,omitempty"`

	// 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.
	Name string `json:"name,omitempty"`

	// Protocol for port. Must be UDP, TCP, or SCTP. Defaults to "TCP".
	Protocol string `json:"protocol,omitempty"`
}

IoK8sAPICoreV1ContainerPort ContainerPort represents a network port in a single container.

swagger:model io.k8s.api.core.v1.ContainerPort

func (*IoK8sAPICoreV1ContainerPort) MarshalBinary

func (m *IoK8sAPICoreV1ContainerPort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ContainerPort) UnmarshalBinary

func (m *IoK8sAPICoreV1ContainerPort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ContainerPort) Validate

func (m *IoK8sAPICoreV1ContainerPort) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 container port

type IoK8sAPICoreV1ContainerState

type IoK8sAPICoreV1ContainerState struct {

	// Details about a running container
	Running *IoK8sAPICoreV1ContainerStateRunning `json:"running,omitempty"`

	// Details about a terminated container
	Terminated *IoK8sAPICoreV1ContainerStateTerminated `json:"terminated,omitempty"`

	// Details about a waiting container
	Waiting *IoK8sAPICoreV1ContainerStateWaiting `json:"waiting,omitempty"`
}

IoK8sAPICoreV1ContainerState 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.

swagger:model io.k8s.api.core.v1.ContainerState

func (*IoK8sAPICoreV1ContainerState) MarshalBinary

func (m *IoK8sAPICoreV1ContainerState) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ContainerState) UnmarshalBinary

func (m *IoK8sAPICoreV1ContainerState) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ContainerState) Validate

func (m *IoK8sAPICoreV1ContainerState) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 container state

type IoK8sAPICoreV1ContainerStateRunning

type IoK8sAPICoreV1ContainerStateRunning struct {

	// Time at which the container was last (re-)started
	// Format: date-time
	StartedAt IoK8sApimachineryPkgApisMetaV1Time `json:"startedAt,omitempty"`
}

IoK8sAPICoreV1ContainerStateRunning ContainerStateRunning is a running state of a container.

swagger:model io.k8s.api.core.v1.ContainerStateRunning

func (*IoK8sAPICoreV1ContainerStateRunning) MarshalBinary

func (m *IoK8sAPICoreV1ContainerStateRunning) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ContainerStateRunning) UnmarshalBinary

func (m *IoK8sAPICoreV1ContainerStateRunning) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ContainerStateRunning) Validate

Validate validates this io k8s api core v1 container state running

type IoK8sAPICoreV1ContainerStateTerminated

type IoK8sAPICoreV1ContainerStateTerminated struct {

	// Container's ID in the format 'docker://<container_id>'
	ContainerID string `json:"containerID,omitempty"`

	// Exit status from the last termination of the container
	// Required: true
	ExitCode *int32 `json:"exitCode"`

	// Time at which the container last terminated
	// Format: date-time
	FinishedAt IoK8sApimachineryPkgApisMetaV1Time `json:"finishedAt,omitempty"`

	// Message regarding the last termination of the container
	Message string `json:"message,omitempty"`

	// (brief) reason from the last termination of the container
	Reason string `json:"reason,omitempty"`

	// Signal from the last termination of the container
	Signal int32 `json:"signal,omitempty"`

	// Time at which previous execution of the container started
	// Format: date-time
	StartedAt IoK8sApimachineryPkgApisMetaV1Time `json:"startedAt,omitempty"`
}

IoK8sAPICoreV1ContainerStateTerminated ContainerStateTerminated is a terminated state of a container.

swagger:model io.k8s.api.core.v1.ContainerStateTerminated

func (*IoK8sAPICoreV1ContainerStateTerminated) MarshalBinary

func (m *IoK8sAPICoreV1ContainerStateTerminated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ContainerStateTerminated) UnmarshalBinary

func (m *IoK8sAPICoreV1ContainerStateTerminated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ContainerStateTerminated) Validate

Validate validates this io k8s api core v1 container state terminated

type IoK8sAPICoreV1ContainerStateWaiting

type IoK8sAPICoreV1ContainerStateWaiting struct {

	// Message regarding why the container is not yet running.
	Message string `json:"message,omitempty"`

	// (brief) reason the container is not yet running.
	Reason string `json:"reason,omitempty"`
}

IoK8sAPICoreV1ContainerStateWaiting ContainerStateWaiting is a waiting state of a container.

swagger:model io.k8s.api.core.v1.ContainerStateWaiting

func (*IoK8sAPICoreV1ContainerStateWaiting) MarshalBinary

func (m *IoK8sAPICoreV1ContainerStateWaiting) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ContainerStateWaiting) UnmarshalBinary

func (m *IoK8sAPICoreV1ContainerStateWaiting) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ContainerStateWaiting) Validate

Validate validates this io k8s api core v1 container state waiting

type IoK8sAPICoreV1ContainerStatus

type IoK8sAPICoreV1ContainerStatus struct {

	// Container's ID in the format 'docker://<container_id>'.
	ContainerID string `json:"containerID,omitempty"`

	// The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images
	// Required: true
	Image *string `json:"image"`

	// ImageID of the container's image.
	// Required: true
	ImageID *string `json:"imageID"`

	// Details about the container's last termination condition.
	LastState *IoK8sAPICoreV1ContainerState `json:"lastState,omitempty"`

	// This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
	// Required: true
	Name *string `json:"name"`

	// Specifies whether the container has passed its readiness probe.
	// Required: true
	Ready *bool `json:"ready"`

	// 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.
	// Required: true
	RestartCount *int32 `json:"restartCount"`

	// Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined.
	Started bool `json:"started,omitempty"`

	// Details about the container's current condition.
	State *IoK8sAPICoreV1ContainerState `json:"state,omitempty"`
}

IoK8sAPICoreV1ContainerStatus ContainerStatus contains details for the current status of this container.

swagger:model io.k8s.api.core.v1.ContainerStatus

func (*IoK8sAPICoreV1ContainerStatus) MarshalBinary

func (m *IoK8sAPICoreV1ContainerStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ContainerStatus) UnmarshalBinary

func (m *IoK8sAPICoreV1ContainerStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ContainerStatus) Validate

func (m *IoK8sAPICoreV1ContainerStatus) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 container status

type IoK8sAPICoreV1DaemonEndpoint

type IoK8sAPICoreV1DaemonEndpoint struct {

	// Port number of the given endpoint.
	// Required: true
	Port *int32 `json:"Port"`
}

IoK8sAPICoreV1DaemonEndpoint DaemonEndpoint contains information about a single Daemon endpoint.

swagger:model io.k8s.api.core.v1.DaemonEndpoint

func (*IoK8sAPICoreV1DaemonEndpoint) MarshalBinary

func (m *IoK8sAPICoreV1DaemonEndpoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1DaemonEndpoint) UnmarshalBinary

func (m *IoK8sAPICoreV1DaemonEndpoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1DaemonEndpoint) Validate

func (m *IoK8sAPICoreV1DaemonEndpoint) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 daemon endpoint

type IoK8sAPICoreV1DownwardAPIProjection

type IoK8sAPICoreV1DownwardAPIProjection struct {

	// Items is a list of DownwardAPIVolume file
	Items []*IoK8sAPICoreV1DownwardAPIVolumeFile `json:"items"`
}

IoK8sAPICoreV1DownwardAPIProjection Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.

swagger:model io.k8s.api.core.v1.DownwardAPIProjection

func (*IoK8sAPICoreV1DownwardAPIProjection) MarshalBinary

func (m *IoK8sAPICoreV1DownwardAPIProjection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1DownwardAPIProjection) UnmarshalBinary

func (m *IoK8sAPICoreV1DownwardAPIProjection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1DownwardAPIProjection) Validate

Validate validates this io k8s api core v1 downward API projection

type IoK8sAPICoreV1DownwardAPIVolumeFile

type IoK8sAPICoreV1DownwardAPIVolumeFile struct {

	// Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
	FieldRef *IoK8sAPICoreV1ObjectFieldSelector `json:"fieldRef,omitempty"`

	// Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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.
	Mode int32 `json:"mode,omitempty"`

	// 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 '..'
	// Required: true
	Path *string `json:"path"`

	// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
	ResourceFieldRef *IoK8sAPICoreV1ResourceFieldSelector `json:"resourceFieldRef,omitempty"`
}

IoK8sAPICoreV1DownwardAPIVolumeFile DownwardAPIVolumeFile represents information to create the file containing the pod field

swagger:model io.k8s.api.core.v1.DownwardAPIVolumeFile

func (*IoK8sAPICoreV1DownwardAPIVolumeFile) MarshalBinary

func (m *IoK8sAPICoreV1DownwardAPIVolumeFile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1DownwardAPIVolumeFile) UnmarshalBinary

func (m *IoK8sAPICoreV1DownwardAPIVolumeFile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1DownwardAPIVolumeFile) Validate

Validate validates this io k8s api core v1 downward API volume file

type IoK8sAPICoreV1DownwardAPIVolumeSource

type IoK8sAPICoreV1DownwardAPIVolumeSource struct {

	// Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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.
	DefaultMode int32 `json:"defaultMode,omitempty"`

	// Items is a list of downward API volume file
	Items []*IoK8sAPICoreV1DownwardAPIVolumeFile `json:"items"`
}

IoK8sAPICoreV1DownwardAPIVolumeSource DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.

swagger:model io.k8s.api.core.v1.DownwardAPIVolumeSource

func (*IoK8sAPICoreV1DownwardAPIVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1DownwardAPIVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1DownwardAPIVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1DownwardAPIVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1DownwardAPIVolumeSource) Validate

Validate validates this io k8s api core v1 downward API volume source

type IoK8sAPICoreV1EmptyDirVolumeSource

type IoK8sAPICoreV1EmptyDirVolumeSource struct {

	// 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: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
	Medium string `json:"medium,omitempty"`

	// Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir
	SizeLimit IoK8sApimachineryPkgAPIResourceQuantity `json:"sizeLimit,omitempty"`
}

IoK8sAPICoreV1EmptyDirVolumeSource Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.

swagger:model io.k8s.api.core.v1.EmptyDirVolumeSource

func (*IoK8sAPICoreV1EmptyDirVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1EmptyDirVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1EmptyDirVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1EmptyDirVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1EmptyDirVolumeSource) Validate

Validate validates this io k8s api core v1 empty dir volume source

type IoK8sAPICoreV1EndpointAddress

type IoK8sAPICoreV1EndpointAddress struct {

	// The Hostname of this endpoint
	Hostname string `json:"hostname,omitempty"`

	// 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.
	// Required: true
	IP *string `json:"ip"`

	// Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.
	NodeName string `json:"nodeName,omitempty"`

	// Reference to object providing the endpoint.
	TargetRef *IoK8sAPICoreV1ObjectReference `json:"targetRef,omitempty"`
}

IoK8sAPICoreV1EndpointAddress EndpointAddress is a tuple that describes single IP address.

swagger:model io.k8s.api.core.v1.EndpointAddress

func (*IoK8sAPICoreV1EndpointAddress) MarshalBinary

func (m *IoK8sAPICoreV1EndpointAddress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1EndpointAddress) UnmarshalBinary

func (m *IoK8sAPICoreV1EndpointAddress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1EndpointAddress) Validate

func (m *IoK8sAPICoreV1EndpointAddress) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 endpoint address

type IoK8sAPICoreV1EndpointPort

type IoK8sAPICoreV1EndpointPort struct {

	// The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default.
	AppProtocol string `json:"appProtocol,omitempty"`

	// The name of this port.  This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined.
	Name string `json:"name,omitempty"`

	// The port number of the endpoint.
	// Required: true
	Port *int32 `json:"port"`

	// The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.
	Protocol string `json:"protocol,omitempty"`
}

IoK8sAPICoreV1EndpointPort EndpointPort is a tuple that describes a single port.

swagger:model io.k8s.api.core.v1.EndpointPort

func (*IoK8sAPICoreV1EndpointPort) MarshalBinary

func (m *IoK8sAPICoreV1EndpointPort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1EndpointPort) UnmarshalBinary

func (m *IoK8sAPICoreV1EndpointPort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1EndpointPort) Validate

func (m *IoK8sAPICoreV1EndpointPort) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 endpoint port

type IoK8sAPICoreV1EndpointSubset

type IoK8sAPICoreV1EndpointSubset struct {

	// 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.
	Addresses []*IoK8sAPICoreV1EndpointAddress `json:"addresses"`

	// 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.
	NotReadyAddresses []*IoK8sAPICoreV1EndpointAddress `json:"notReadyAddresses"`

	// Port numbers available on the related IP addresses.
	Ports []*IoK8sAPICoreV1EndpointPort `json:"ports"`
}

IoK8sAPICoreV1EndpointSubset 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:

{
  Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
  Ports:     [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
}

The resulting set of endpoints can be viewed as:

a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],
b: [ 10.10.1.1:309, 10.10.2.2:309 ]

swagger:model io.k8s.api.core.v1.EndpointSubset

func (*IoK8sAPICoreV1EndpointSubset) MarshalBinary

func (m *IoK8sAPICoreV1EndpointSubset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1EndpointSubset) UnmarshalBinary

func (m *IoK8sAPICoreV1EndpointSubset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1EndpointSubset) Validate

func (m *IoK8sAPICoreV1EndpointSubset) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 endpoint subset

type IoK8sAPICoreV1Endpoints

type IoK8sAPICoreV1Endpoints struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// 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.
	Subsets []*IoK8sAPICoreV1EndpointSubset `json:"subsets"`
}

IoK8sAPICoreV1Endpoints Endpoints is a collection of endpoints that implement the actual service. Example:

 Name: "mysvc",
 Subsets: [
   {
     Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
     Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
   },
   {
     Addresses: [{"ip": "10.10.3.3"}],
     Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}]
   },
]

swagger:model io.k8s.api.core.v1.Endpoints

func (*IoK8sAPICoreV1Endpoints) MarshalBinary

func (m *IoK8sAPICoreV1Endpoints) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Endpoints) UnmarshalBinary

func (m *IoK8sAPICoreV1Endpoints) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Endpoints) Validate

func (m *IoK8sAPICoreV1Endpoints) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 endpoints

type IoK8sAPICoreV1EndpointsList

type IoK8sAPICoreV1EndpointsList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of endpoints.
	// Required: true
	Items []*IoK8sAPICoreV1Endpoints `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1EndpointsList EndpointsList is a list of endpoints.

swagger:model io.k8s.api.core.v1.EndpointsList

func (*IoK8sAPICoreV1EndpointsList) MarshalBinary

func (m *IoK8sAPICoreV1EndpointsList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1EndpointsList) UnmarshalBinary

func (m *IoK8sAPICoreV1EndpointsList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1EndpointsList) Validate

func (m *IoK8sAPICoreV1EndpointsList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 endpoints list

type IoK8sAPICoreV1EnvFromSource

type IoK8sAPICoreV1EnvFromSource struct {

	// The ConfigMap to select from
	ConfigMapRef *IoK8sAPICoreV1ConfigMapEnvSource `json:"configMapRef,omitempty"`

	// An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
	Prefix string `json:"prefix,omitempty"`

	// The Secret to select from
	SecretRef *IoK8sAPICoreV1SecretEnvSource `json:"secretRef,omitempty"`
}

IoK8sAPICoreV1EnvFromSource EnvFromSource represents the source of a set of ConfigMaps

swagger:model io.k8s.api.core.v1.EnvFromSource

func (*IoK8sAPICoreV1EnvFromSource) MarshalBinary

func (m *IoK8sAPICoreV1EnvFromSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1EnvFromSource) UnmarshalBinary

func (m *IoK8sAPICoreV1EnvFromSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1EnvFromSource) Validate

func (m *IoK8sAPICoreV1EnvFromSource) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 env from source

type IoK8sAPICoreV1EnvVar

type IoK8sAPICoreV1EnvVar struct {

	// Name of the environment variable. Must be a C_IDENTIFIER.
	// Required: true
	Name *string `json:"name"`

	// 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 "".
	Value string `json:"value,omitempty"`

	// Source for the environment variable's value. Cannot be used if value is not empty.
	ValueFrom *IoK8sAPICoreV1EnvVarSource `json:"valueFrom,omitempty"`
}

IoK8sAPICoreV1EnvVar EnvVar represents an environment variable present in a Container.

swagger:model io.k8s.api.core.v1.EnvVar

func (*IoK8sAPICoreV1EnvVar) MarshalBinary

func (m *IoK8sAPICoreV1EnvVar) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1EnvVar) UnmarshalBinary

func (m *IoK8sAPICoreV1EnvVar) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1EnvVar) Validate

func (m *IoK8sAPICoreV1EnvVar) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 env var

type IoK8sAPICoreV1EnvVarSource

type IoK8sAPICoreV1EnvVarSource struct {

	// Selects a key of a ConfigMap.
	ConfigMapKeyRef *IoK8sAPICoreV1ConfigMapKeySelector `json:"configMapKeyRef,omitempty"`

	// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
	FieldRef *IoK8sAPICoreV1ObjectFieldSelector `json:"fieldRef,omitempty"`

	// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
	ResourceFieldRef *IoK8sAPICoreV1ResourceFieldSelector `json:"resourceFieldRef,omitempty"`

	// Selects a key of a secret in the pod's namespace
	SecretKeyRef *IoK8sAPICoreV1SecretKeySelector `json:"secretKeyRef,omitempty"`
}

IoK8sAPICoreV1EnvVarSource EnvVarSource represents a source for the value of an EnvVar.

swagger:model io.k8s.api.core.v1.EnvVarSource

func (*IoK8sAPICoreV1EnvVarSource) MarshalBinary

func (m *IoK8sAPICoreV1EnvVarSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1EnvVarSource) UnmarshalBinary

func (m *IoK8sAPICoreV1EnvVarSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1EnvVarSource) Validate

func (m *IoK8sAPICoreV1EnvVarSource) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 env var source

type IoK8sAPICoreV1EphemeralContainer

type IoK8sAPICoreV1EphemeralContainer struct {

	// 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: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	Args []string `json:"args"`

	// 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: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	Command []string `json:"command"`

	// List of environment variables to set in the container. Cannot be updated.
	Env []*IoK8sAPICoreV1EnvVar `json:"env"`

	// List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.
	EnvFrom []*IoK8sAPICoreV1EnvFromSource `json:"envFrom"`

	// Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images
	Image string `json:"image,omitempty"`

	// Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
	ImagePullPolicy string `json:"imagePullPolicy,omitempty"`

	// Lifecycle is not allowed for ephemeral containers.
	Lifecycle *IoK8sAPICoreV1Lifecycle `json:"lifecycle,omitempty"`

	// Probes are not allowed for ephemeral containers.
	LivenessProbe *IoK8sAPICoreV1Probe `json:"livenessProbe,omitempty"`

	// Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.
	// Required: true
	Name *string `json:"name"`

	// Ports are not allowed for ephemeral containers.
	Ports []*IoK8sAPICoreV1ContainerPort `json:"ports"`

	// Probes are not allowed for ephemeral containers.
	ReadinessProbe *IoK8sAPICoreV1Probe `json:"readinessProbe,omitempty"`

	// Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod.
	Resources *IoK8sAPICoreV1ResourceRequirements `json:"resources,omitempty"`

	// SecurityContext is not allowed for ephemeral containers.
	SecurityContext *IoK8sAPICoreV1SecurityContext `json:"securityContext,omitempty"`

	// Probes are not allowed for ephemeral containers.
	StartupProbe *IoK8sAPICoreV1Probe `json:"startupProbe,omitempty"`

	// 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.
	Stdin bool `json:"stdin,omitempty"`

	// 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
	StdinOnce bool `json:"stdinOnce,omitempty"`

	// If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature.
	TargetContainerName string `json:"targetContainerName,omitempty"`

	// 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. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.
	TerminationMessagePath string `json:"terminationMessagePath,omitempty"`

	// Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
	TerminationMessagePolicy string `json:"terminationMessagePolicy,omitempty"`

	// Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.
	Tty bool `json:"tty,omitempty"`

	// volumeDevices is the list of block devices to be used by the container.
	VolumeDevices []*IoK8sAPICoreV1VolumeDevice `json:"volumeDevices"`

	// Pod volumes to mount into the container's filesystem. Cannot be updated.
	VolumeMounts []*IoK8sAPICoreV1VolumeMount `json:"volumeMounts"`

	// 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.
	WorkingDir string `json:"workingDir,omitempty"`
}

IoK8sAPICoreV1EphemeralContainer An EphemeralContainer is a container that may be added temporarily to an existing pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a pod is removed or restarted. If an ephemeral container causes a pod to exceed its resource allocation, the pod may be evicted. Ephemeral containers may not be added by directly updating the pod spec. They must be added via the pod's ephemeralcontainers subresource, and they will appear in the pod spec once added. This is an alpha feature enabled by the EphemeralContainers feature flag.

swagger:model io.k8s.api.core.v1.EphemeralContainer

func (*IoK8sAPICoreV1EphemeralContainer) MarshalBinary

func (m *IoK8sAPICoreV1EphemeralContainer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1EphemeralContainer) UnmarshalBinary

func (m *IoK8sAPICoreV1EphemeralContainer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1EphemeralContainer) Validate

Validate validates this io k8s api core v1 ephemeral container

type IoK8sAPICoreV1EphemeralVolumeSource

type IoK8sAPICoreV1EphemeralVolumeSource struct {

	// Specifies a read-only configuration for the volume. Defaults to false (read/write).
	ReadOnly bool `json:"readOnly,omitempty"`

	// Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod.  The name of the PVC will be `<pod name>-<volume name>` where `<volume name>` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long).
	//
	// An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster.
	//
	// This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created.
	//
	// Required, must not be nil.
	VolumeClaimTemplate *IoK8sAPICoreV1PersistentVolumeClaimTemplate `json:"volumeClaimTemplate,omitempty"`
}

IoK8sAPICoreV1EphemeralVolumeSource Represents an ephemeral volume that is handled by a normal storage driver.

swagger:model io.k8s.api.core.v1.EphemeralVolumeSource

func (*IoK8sAPICoreV1EphemeralVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1EphemeralVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1EphemeralVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1EphemeralVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1EphemeralVolumeSource) Validate

Validate validates this io k8s api core v1 ephemeral volume source

type IoK8sAPICoreV1Event

type IoK8sAPICoreV1Event struct {

	// What action was taken/failed regarding to the Regarding object.
	Action string `json:"action,omitempty"`

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// The number of times this event has occurred.
	Count int32 `json:"count,omitempty"`

	// Time when this Event was first observed.
	// Format: date-time
	EventTime IoK8sApimachineryPkgApisMetaV1MicroTime `json:"eventTime,omitempty"`

	// The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)
	// Format: date-time
	FirstTimestamp IoK8sApimachineryPkgApisMetaV1Time `json:"firstTimestamp,omitempty"`

	// The object that this event is about.
	// Required: true
	InvolvedObject *IoK8sAPICoreV1ObjectReference `json:"involvedObject"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// The time at which the most recent occurrence of this event was recorded.
	// Format: date-time
	LastTimestamp IoK8sApimachineryPkgApisMetaV1Time `json:"lastTimestamp,omitempty"`

	// A human-readable description of the status of this operation.
	Message string `json:"message,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// Required: true
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata"`

	// This should be a short, machine understandable string that gives the reason for the transition into the object's current status.
	Reason string `json:"reason,omitempty"`

	// Optional secondary object for more complex actions.
	Related *IoK8sAPICoreV1ObjectReference `json:"related,omitempty"`

	// Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.
	ReportingComponent string `json:"reportingComponent,omitempty"`

	// ID of the controller instance, e.g. `kubelet-xyzf`.
	ReportingInstance string `json:"reportingInstance,omitempty"`

	// Data about the Event series this event represents or nil if it's a singleton Event.
	Series *IoK8sAPICoreV1EventSeries `json:"series,omitempty"`

	// The component reporting this event. Should be a short machine understandable string.
	Source *IoK8sAPICoreV1EventSource `json:"source,omitempty"`

	// Type of this event (Normal, Warning), new types could be added in the future
	Type string `json:"type,omitempty"`
}

IoK8sAPICoreV1Event Event is a report of an event somewhere in the cluster.

swagger:model io.k8s.api.core.v1.Event

func (*IoK8sAPICoreV1Event) MarshalBinary

func (m *IoK8sAPICoreV1Event) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Event) UnmarshalBinary

func (m *IoK8sAPICoreV1Event) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Event) Validate

func (m *IoK8sAPICoreV1Event) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 event

type IoK8sAPICoreV1EventList

type IoK8sAPICoreV1EventList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of events
	// Required: true
	Items []*IoK8sAPICoreV1Event `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1EventList EventList is a list of events.

swagger:model io.k8s.api.core.v1.EventList

func (*IoK8sAPICoreV1EventList) MarshalBinary

func (m *IoK8sAPICoreV1EventList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1EventList) UnmarshalBinary

func (m *IoK8sAPICoreV1EventList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1EventList) Validate

func (m *IoK8sAPICoreV1EventList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 event list

type IoK8sAPICoreV1EventSeries

type IoK8sAPICoreV1EventSeries struct {

	// Number of occurrences in this series up to the last heartbeat time
	Count int32 `json:"count,omitempty"`

	// Time of the last occurrence observed
	// Format: date-time
	LastObservedTime IoK8sApimachineryPkgApisMetaV1MicroTime `json:"lastObservedTime,omitempty"`
}

IoK8sAPICoreV1EventSeries EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.

swagger:model io.k8s.api.core.v1.EventSeries

func (*IoK8sAPICoreV1EventSeries) MarshalBinary

func (m *IoK8sAPICoreV1EventSeries) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1EventSeries) UnmarshalBinary

func (m *IoK8sAPICoreV1EventSeries) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1EventSeries) Validate

func (m *IoK8sAPICoreV1EventSeries) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 event series

type IoK8sAPICoreV1EventSource

type IoK8sAPICoreV1EventSource struct {

	// Component from which the event is generated.
	Component string `json:"component,omitempty"`

	// Node name on which the event is generated.
	Host string `json:"host,omitempty"`
}

IoK8sAPICoreV1EventSource EventSource contains information for an event.

swagger:model io.k8s.api.core.v1.EventSource

func (*IoK8sAPICoreV1EventSource) MarshalBinary

func (m *IoK8sAPICoreV1EventSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1EventSource) UnmarshalBinary

func (m *IoK8sAPICoreV1EventSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1EventSource) Validate

func (m *IoK8sAPICoreV1EventSource) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 event source

type IoK8sAPICoreV1ExecAction

type IoK8sAPICoreV1ExecAction struct {

	// 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.
	Command []string `json:"command"`
}

IoK8sAPICoreV1ExecAction ExecAction describes a "run in container" action.

swagger:model io.k8s.api.core.v1.ExecAction

func (*IoK8sAPICoreV1ExecAction) MarshalBinary

func (m *IoK8sAPICoreV1ExecAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ExecAction) UnmarshalBinary

func (m *IoK8sAPICoreV1ExecAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ExecAction) Validate

func (m *IoK8sAPICoreV1ExecAction) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 exec action

type IoK8sAPICoreV1FCVolumeSource

type IoK8sAPICoreV1FCVolumeSource struct {

	// 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.
	FsType string `json:"fsType,omitempty"`

	// Optional: FC target lun number
	Lun int32 `json:"lun,omitempty"`

	// Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly bool `json:"readOnly,omitempty"`

	// Optional: FC target worldwide names (WWNs)
	TargetWWNs []string `json:"targetWWNs"`

	// Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
	Wwids []string `json:"wwids"`
}

IoK8sAPICoreV1FCVolumeSource 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.

swagger:model io.k8s.api.core.v1.FCVolumeSource

func (*IoK8sAPICoreV1FCVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1FCVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1FCVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1FCVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1FCVolumeSource) Validate

func (m *IoK8sAPICoreV1FCVolumeSource) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 f c volume source

type IoK8sAPICoreV1FlexPersistentVolumeSource

type IoK8sAPICoreV1FlexPersistentVolumeSource struct {

	// Driver is the name of the driver to use for this volume.
	// Required: true
	Driver *string `json:"driver"`

	// 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.
	FsType string `json:"fsType,omitempty"`

	// Optional: Extra command options if any.
	Options map[string]string `json:"options,omitempty"`

	// Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly bool `json:"readOnly,omitempty"`

	// 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.
	SecretRef *IoK8sAPICoreV1SecretReference `json:"secretRef,omitempty"`
}

IoK8sAPICoreV1FlexPersistentVolumeSource FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.

swagger:model io.k8s.api.core.v1.FlexPersistentVolumeSource

func (*IoK8sAPICoreV1FlexPersistentVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1FlexPersistentVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1FlexPersistentVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1FlexPersistentVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1FlexPersistentVolumeSource) Validate

Validate validates this io k8s api core v1 flex persistent volume source

type IoK8sAPICoreV1FlexVolumeSource

type IoK8sAPICoreV1FlexVolumeSource struct {

	// Driver is the name of the driver to use for this volume.
	// Required: true
	Driver *string `json:"driver"`

	// 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.
	FsType string `json:"fsType,omitempty"`

	// Optional: Extra command options if any.
	Options map[string]string `json:"options,omitempty"`

	// Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly bool `json:"readOnly,omitempty"`

	// 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.
	SecretRef *IoK8sAPICoreV1LocalObjectReference `json:"secretRef,omitempty"`
}

IoK8sAPICoreV1FlexVolumeSource FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.

swagger:model io.k8s.api.core.v1.FlexVolumeSource

func (*IoK8sAPICoreV1FlexVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1FlexVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1FlexVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1FlexVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1FlexVolumeSource) Validate

func (m *IoK8sAPICoreV1FlexVolumeSource) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 flex volume source

type IoK8sAPICoreV1FlockerVolumeSource

type IoK8sAPICoreV1FlockerVolumeSource struct {

	// Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated
	DatasetName string `json:"datasetName,omitempty"`

	// UUID of the dataset. This is unique identifier of a Flocker dataset
	DatasetUUID string `json:"datasetUUID,omitempty"`
}

IoK8sAPICoreV1FlockerVolumeSource 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.

swagger:model io.k8s.api.core.v1.FlockerVolumeSource

func (*IoK8sAPICoreV1FlockerVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1FlockerVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1FlockerVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1FlockerVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1FlockerVolumeSource) Validate

Validate validates this io k8s api core v1 flocker volume source

type IoK8sAPICoreV1GCEPersistentDiskVolumeSource

type IoK8sAPICoreV1GCEPersistentDiskVolumeSource struct {

	// 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: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	FsType string `json:"fsType,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	Partition int32 `json:"partition,omitempty"`

	// Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	// Required: true
	PdName *string `json:"pdName"`

	// ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	ReadOnly bool `json:"readOnly,omitempty"`
}

IoK8sAPICoreV1GCEPersistentDiskVolumeSource Represents a Persistent Disk resource in Google Compute Engine.

A 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.

swagger:model io.k8s.api.core.v1.GCEPersistentDiskVolumeSource

func (*IoK8sAPICoreV1GCEPersistentDiskVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1GCEPersistentDiskVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1GCEPersistentDiskVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1GCEPersistentDiskVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1GCEPersistentDiskVolumeSource) Validate

Validate validates this io k8s api core v1 g c e persistent disk volume source

type IoK8sAPICoreV1GitRepoVolumeSource

type IoK8sAPICoreV1GitRepoVolumeSource struct {

	// 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.
	Directory string `json:"directory,omitempty"`

	// Repository URL
	// Required: true
	Repository *string `json:"repository"`

	// Commit hash for the specified revision.
	Revision string `json:"revision,omitempty"`
}

IoK8sAPICoreV1GitRepoVolumeSource 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.

DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.

swagger:model io.k8s.api.core.v1.GitRepoVolumeSource

func (*IoK8sAPICoreV1GitRepoVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1GitRepoVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1GitRepoVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1GitRepoVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1GitRepoVolumeSource) Validate

Validate validates this io k8s api core v1 git repo volume source

type IoK8sAPICoreV1GlusterfsPersistentVolumeSource

type IoK8sAPICoreV1GlusterfsPersistentVolumeSource struct {

	// EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	// Required: true
	Endpoints *string `json:"endpoints"`

	// EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	EndpointsNamespace string `json:"endpointsNamespace,omitempty"`

	// Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	// Required: true
	Path *string `json:"path"`

	// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	ReadOnly bool `json:"readOnly,omitempty"`
}

IoK8sAPICoreV1GlusterfsPersistentVolumeSource Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.

swagger:model io.k8s.api.core.v1.GlusterfsPersistentVolumeSource

func (*IoK8sAPICoreV1GlusterfsPersistentVolumeSource) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICoreV1GlusterfsPersistentVolumeSource) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1GlusterfsPersistentVolumeSource) Validate

Validate validates this io k8s api core v1 glusterfs persistent volume source

type IoK8sAPICoreV1GlusterfsVolumeSource

type IoK8sAPICoreV1GlusterfsVolumeSource struct {

	// EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	// Required: true
	Endpoints *string `json:"endpoints"`

	// Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	// Required: true
	Path *string `json:"path"`

	// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
	ReadOnly bool `json:"readOnly,omitempty"`
}

IoK8sAPICoreV1GlusterfsVolumeSource Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.

swagger:model io.k8s.api.core.v1.GlusterfsVolumeSource

func (*IoK8sAPICoreV1GlusterfsVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1GlusterfsVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1GlusterfsVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1GlusterfsVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1GlusterfsVolumeSource) Validate

Validate validates this io k8s api core v1 glusterfs volume source

type IoK8sAPICoreV1HTTPGetAction

type IoK8sAPICoreV1HTTPGetAction struct {

	// Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
	Host string `json:"host,omitempty"`

	// Custom headers to set in the request. HTTP allows repeated headers.
	HTTPHeaders []*IoK8sAPICoreV1HTTPHeader `json:"httpHeaders"`

	// Path to access on the HTTP server.
	Path string `json:"path,omitempty"`

	// 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.
	// Required: true
	Port IoK8sApimachineryPkgUtilIntstrIntOrString `json:"port"`

	// Scheme to use for connecting to the host. Defaults to HTTP.
	Scheme string `json:"scheme,omitempty"`
}

IoK8sAPICoreV1HTTPGetAction HTTPGetAction describes an action based on HTTP Get requests.

swagger:model io.k8s.api.core.v1.HTTPGetAction

func (*IoK8sAPICoreV1HTTPGetAction) MarshalBinary

func (m *IoK8sAPICoreV1HTTPGetAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1HTTPGetAction) UnmarshalBinary

func (m *IoK8sAPICoreV1HTTPGetAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1HTTPGetAction) Validate

func (m *IoK8sAPICoreV1HTTPGetAction) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 HTTP get action

type IoK8sAPICoreV1HTTPHeader

type IoK8sAPICoreV1HTTPHeader struct {

	// The header field name
	// Required: true
	Name *string `json:"name"`

	// The header field value
	// Required: true
	Value *string `json:"value"`
}

IoK8sAPICoreV1HTTPHeader HTTPHeader describes a custom header to be used in HTTP probes

swagger:model io.k8s.api.core.v1.HTTPHeader

func (*IoK8sAPICoreV1HTTPHeader) MarshalBinary

func (m *IoK8sAPICoreV1HTTPHeader) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1HTTPHeader) UnmarshalBinary

func (m *IoK8sAPICoreV1HTTPHeader) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1HTTPHeader) Validate

func (m *IoK8sAPICoreV1HTTPHeader) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 HTTP header

type IoK8sAPICoreV1Handler

type IoK8sAPICoreV1Handler struct {

	// One and only one of the following should be specified. Exec specifies the action to take.
	Exec *IoK8sAPICoreV1ExecAction `json:"exec,omitempty"`

	// HTTPGet specifies the http request to perform.
	HTTPGet *IoK8sAPICoreV1HTTPGetAction `json:"httpGet,omitempty"`

	// TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
	TCPSocket *IoK8sAPICoreV1TCPSocketAction `json:"tcpSocket,omitempty"`
}

IoK8sAPICoreV1Handler Handler defines a specific action that should be taken

swagger:model io.k8s.api.core.v1.Handler

func (*IoK8sAPICoreV1Handler) MarshalBinary

func (m *IoK8sAPICoreV1Handler) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Handler) UnmarshalBinary

func (m *IoK8sAPICoreV1Handler) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Handler) Validate

func (m *IoK8sAPICoreV1Handler) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 handler

type IoK8sAPICoreV1HostAlias

type IoK8sAPICoreV1HostAlias struct {

	// Hostnames for the above IP address.
	Hostnames []string `json:"hostnames"`

	// IP address of the host file entry.
	IP string `json:"ip,omitempty"`
}

IoK8sAPICoreV1HostAlias HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

swagger:model io.k8s.api.core.v1.HostAlias

func (*IoK8sAPICoreV1HostAlias) MarshalBinary

func (m *IoK8sAPICoreV1HostAlias) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1HostAlias) UnmarshalBinary

func (m *IoK8sAPICoreV1HostAlias) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1HostAlias) Validate

func (m *IoK8sAPICoreV1HostAlias) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 host alias

type IoK8sAPICoreV1HostPathVolumeSource

type IoK8sAPICoreV1HostPathVolumeSource struct {

	// Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
	// Required: true
	Path *string `json:"path"`

	// Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
	Type string `json:"type,omitempty"`
}

IoK8sAPICoreV1HostPathVolumeSource Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.

swagger:model io.k8s.api.core.v1.HostPathVolumeSource

func (*IoK8sAPICoreV1HostPathVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1HostPathVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1HostPathVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1HostPathVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1HostPathVolumeSource) Validate

Validate validates this io k8s api core v1 host path volume source

type IoK8sAPICoreV1ISCSIPersistentVolumeSource

type IoK8sAPICoreV1ISCSIPersistentVolumeSource struct {

	// whether support iSCSI Discovery CHAP authentication
	ChapAuthDiscovery bool `json:"chapAuthDiscovery,omitempty"`

	// whether support iSCSI Session CHAP authentication
	ChapAuthSession bool `json:"chapAuthSession,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
	FsType string `json:"fsType,omitempty"`

	// Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.
	InitiatorName string `json:"initiatorName,omitempty"`

	// Target iSCSI Qualified Name.
	// Required: true
	Iqn *string `json:"iqn"`

	// iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).
	IscsiInterface string `json:"iscsiInterface,omitempty"`

	// iSCSI Target Lun number.
	// Required: true
	Lun *int32 `json:"lun"`

	// iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
	Portals []string `json:"portals"`

	// ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
	ReadOnly bool `json:"readOnly,omitempty"`

	// CHAP Secret for iSCSI target and initiator authentication
	SecretRef *IoK8sAPICoreV1SecretReference `json:"secretRef,omitempty"`

	// 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).
	// Required: true
	TargetPortal *string `json:"targetPortal"`
}

IoK8sAPICoreV1ISCSIPersistentVolumeSource ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.

swagger:model io.k8s.api.core.v1.ISCSIPersistentVolumeSource

func (*IoK8sAPICoreV1ISCSIPersistentVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1ISCSIPersistentVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ISCSIPersistentVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1ISCSIPersistentVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ISCSIPersistentVolumeSource) Validate

Validate validates this io k8s api core v1 i s c s i persistent volume source

type IoK8sAPICoreV1ISCSIVolumeSource

type IoK8sAPICoreV1ISCSIVolumeSource struct {

	// whether support iSCSI Discovery CHAP authentication
	ChapAuthDiscovery bool `json:"chapAuthDiscovery,omitempty"`

	// whether support iSCSI Session CHAP authentication
	ChapAuthSession bool `json:"chapAuthSession,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
	FsType string `json:"fsType,omitempty"`

	// Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.
	InitiatorName string `json:"initiatorName,omitempty"`

	// Target iSCSI Qualified Name.
	// Required: true
	Iqn *string `json:"iqn"`

	// iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).
	IscsiInterface string `json:"iscsiInterface,omitempty"`

	// iSCSI Target Lun number.
	// Required: true
	Lun *int32 `json:"lun"`

	// iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
	Portals []string `json:"portals"`

	// ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
	ReadOnly bool `json:"readOnly,omitempty"`

	// CHAP Secret for iSCSI target and initiator authentication
	SecretRef *IoK8sAPICoreV1LocalObjectReference `json:"secretRef,omitempty"`

	// 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).
	// Required: true
	TargetPortal *string `json:"targetPortal"`
}

IoK8sAPICoreV1ISCSIVolumeSource Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.

swagger:model io.k8s.api.core.v1.ISCSIVolumeSource

func (*IoK8sAPICoreV1ISCSIVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1ISCSIVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ISCSIVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1ISCSIVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ISCSIVolumeSource) Validate

Validate validates this io k8s api core v1 i s c s i volume source

type IoK8sAPICoreV1KeyToPath

type IoK8sAPICoreV1KeyToPath struct {

	// The key to project.
	// Required: true
	Key *string `json:"key"`

	// Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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.
	Mode int32 `json:"mode,omitempty"`

	// 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 '..'.
	// Required: true
	Path *string `json:"path"`
}

IoK8sAPICoreV1KeyToPath Maps a string key to a path within a volume.

swagger:model io.k8s.api.core.v1.KeyToPath

func (*IoK8sAPICoreV1KeyToPath) MarshalBinary

func (m *IoK8sAPICoreV1KeyToPath) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1KeyToPath) UnmarshalBinary

func (m *IoK8sAPICoreV1KeyToPath) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1KeyToPath) Validate

func (m *IoK8sAPICoreV1KeyToPath) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 key to path

type IoK8sAPICoreV1Lifecycle

type IoK8sAPICoreV1Lifecycle struct {

	// 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: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
	PostStart *IoK8sAPICoreV1Handler `json:"postStart,omitempty"`

	// PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod's termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
	PreStop *IoK8sAPICoreV1Handler `json:"preStop,omitempty"`
}

IoK8sAPICoreV1Lifecycle 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.

swagger:model io.k8s.api.core.v1.Lifecycle

func (*IoK8sAPICoreV1Lifecycle) MarshalBinary

func (m *IoK8sAPICoreV1Lifecycle) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Lifecycle) UnmarshalBinary

func (m *IoK8sAPICoreV1Lifecycle) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Lifecycle) Validate

func (m *IoK8sAPICoreV1Lifecycle) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 lifecycle

type IoK8sAPICoreV1LimitRange

type IoK8sAPICoreV1LimitRange struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPICoreV1LimitRangeSpec `json:"spec,omitempty"`
}

IoK8sAPICoreV1LimitRange LimitRange sets resource usage limits for each kind of resource in a Namespace.

swagger:model io.k8s.api.core.v1.LimitRange

func (*IoK8sAPICoreV1LimitRange) MarshalBinary

func (m *IoK8sAPICoreV1LimitRange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1LimitRange) UnmarshalBinary

func (m *IoK8sAPICoreV1LimitRange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1LimitRange) Validate

func (m *IoK8sAPICoreV1LimitRange) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 limit range

type IoK8sAPICoreV1LimitRangeItem

type IoK8sAPICoreV1LimitRangeItem struct {

	// Default resource requirement limit value by resource name if resource limit is omitted.
	Default map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"default,omitempty"`

	// DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
	DefaultRequest map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"defaultRequest,omitempty"`

	// Max usage constraints on this kind by resource name.
	Max map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"max,omitempty"`

	// 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.
	MaxLimitRequestRatio map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"maxLimitRequestRatio,omitempty"`

	// Min usage constraints on this kind by resource name.
	Min map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"min,omitempty"`

	// Type of resource that this limit applies to.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPICoreV1LimitRangeItem LimitRangeItem defines a min/max usage limit for any resource that matches on kind.

swagger:model io.k8s.api.core.v1.LimitRangeItem

func (*IoK8sAPICoreV1LimitRangeItem) MarshalBinary

func (m *IoK8sAPICoreV1LimitRangeItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1LimitRangeItem) UnmarshalBinary

func (m *IoK8sAPICoreV1LimitRangeItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1LimitRangeItem) Validate

func (m *IoK8sAPICoreV1LimitRangeItem) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 limit range item

type IoK8sAPICoreV1LimitRangeList

type IoK8sAPICoreV1LimitRangeList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
	// Required: true
	Items []*IoK8sAPICoreV1LimitRange `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1LimitRangeList LimitRangeList is a list of LimitRange items.

swagger:model io.k8s.api.core.v1.LimitRangeList

func (*IoK8sAPICoreV1LimitRangeList) MarshalBinary

func (m *IoK8sAPICoreV1LimitRangeList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1LimitRangeList) UnmarshalBinary

func (m *IoK8sAPICoreV1LimitRangeList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1LimitRangeList) Validate

func (m *IoK8sAPICoreV1LimitRangeList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 limit range list

type IoK8sAPICoreV1LimitRangeSpec

type IoK8sAPICoreV1LimitRangeSpec struct {

	// Limits is the list of LimitRangeItem objects that are enforced.
	// Required: true
	Limits []*IoK8sAPICoreV1LimitRangeItem `json:"limits"`
}

IoK8sAPICoreV1LimitRangeSpec LimitRangeSpec defines a min/max usage limit for resources that match on kind.

swagger:model io.k8s.api.core.v1.LimitRangeSpec

func (*IoK8sAPICoreV1LimitRangeSpec) MarshalBinary

func (m *IoK8sAPICoreV1LimitRangeSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1LimitRangeSpec) UnmarshalBinary

func (m *IoK8sAPICoreV1LimitRangeSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1LimitRangeSpec) Validate

func (m *IoK8sAPICoreV1LimitRangeSpec) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 limit range spec

type IoK8sAPICoreV1LoadBalancerIngress

type IoK8sAPICoreV1LoadBalancerIngress struct {

	// Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)
	Hostname string `json:"hostname,omitempty"`

	// IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)
	IP string `json:"ip,omitempty"`
}

IoK8sAPICoreV1LoadBalancerIngress LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.

swagger:model io.k8s.api.core.v1.LoadBalancerIngress

func (*IoK8sAPICoreV1LoadBalancerIngress) MarshalBinary

func (m *IoK8sAPICoreV1LoadBalancerIngress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1LoadBalancerIngress) UnmarshalBinary

func (m *IoK8sAPICoreV1LoadBalancerIngress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1LoadBalancerIngress) Validate

Validate validates this io k8s api core v1 load balancer ingress

type IoK8sAPICoreV1LoadBalancerStatus

type IoK8sAPICoreV1LoadBalancerStatus struct {

	// Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.
	Ingress []*IoK8sAPICoreV1LoadBalancerIngress `json:"ingress"`
}

IoK8sAPICoreV1LoadBalancerStatus LoadBalancerStatus represents the status of a load-balancer.

swagger:model io.k8s.api.core.v1.LoadBalancerStatus

func (*IoK8sAPICoreV1LoadBalancerStatus) MarshalBinary

func (m *IoK8sAPICoreV1LoadBalancerStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1LoadBalancerStatus) UnmarshalBinary

func (m *IoK8sAPICoreV1LoadBalancerStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1LoadBalancerStatus) Validate

Validate validates this io k8s api core v1 load balancer status

type IoK8sAPICoreV1LocalObjectReference

type IoK8sAPICoreV1LocalObjectReference struct {

	// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name string `json:"name,omitempty"`
}

IoK8sAPICoreV1LocalObjectReference LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.

swagger:model io.k8s.api.core.v1.LocalObjectReference

func (*IoK8sAPICoreV1LocalObjectReference) MarshalBinary

func (m *IoK8sAPICoreV1LocalObjectReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1LocalObjectReference) UnmarshalBinary

func (m *IoK8sAPICoreV1LocalObjectReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1LocalObjectReference) Validate

Validate validates this io k8s api core v1 local object reference

type IoK8sAPICoreV1LocalVolumeSource

type IoK8sAPICoreV1LocalVolumeSource struct {

	// Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a fileystem if unspecified.
	FsType string `json:"fsType,omitempty"`

	// The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
	// Required: true
	Path *string `json:"path"`
}

IoK8sAPICoreV1LocalVolumeSource Local represents directly-attached storage with node affinity (Beta feature)

swagger:model io.k8s.api.core.v1.LocalVolumeSource

func (*IoK8sAPICoreV1LocalVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1LocalVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1LocalVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1LocalVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1LocalVolumeSource) Validate

Validate validates this io k8s api core v1 local volume source

type IoK8sAPICoreV1NFSVolumeSource

type IoK8sAPICoreV1NFSVolumeSource struct {

	// Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
	// Required: true
	Path *string `json:"path"`

	// ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
	ReadOnly bool `json:"readOnly,omitempty"`

	// Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
	// Required: true
	Server *string `json:"server"`
}

IoK8sAPICoreV1NFSVolumeSource Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.

swagger:model io.k8s.api.core.v1.NFSVolumeSource

func (*IoK8sAPICoreV1NFSVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1NFSVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NFSVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1NFSVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NFSVolumeSource) Validate

func (m *IoK8sAPICoreV1NFSVolumeSource) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 n f s volume source

type IoK8sAPICoreV1Namespace

type IoK8sAPICoreV1Namespace struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPICoreV1NamespaceSpec `json:"spec,omitempty"`

	// Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IoK8sAPICoreV1NamespaceStatus `json:"status,omitempty"`
}

IoK8sAPICoreV1Namespace Namespace provides a scope for Names. Use of multiple namespaces is optional.

swagger:model io.k8s.api.core.v1.Namespace

func (*IoK8sAPICoreV1Namespace) MarshalBinary

func (m *IoK8sAPICoreV1Namespace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Namespace) UnmarshalBinary

func (m *IoK8sAPICoreV1Namespace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Namespace) Validate

func (m *IoK8sAPICoreV1Namespace) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 namespace

type IoK8sAPICoreV1NamespaceCondition

type IoK8sAPICoreV1NamespaceCondition struct {

	// last transition time
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`

	// Status of the condition, one of True, False, Unknown.
	// Required: true
	Status *string `json:"status"`

	// Type of namespace controller condition.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPICoreV1NamespaceCondition NamespaceCondition contains details about state of namespace.

swagger:model io.k8s.api.core.v1.NamespaceCondition

func (*IoK8sAPICoreV1NamespaceCondition) MarshalBinary

func (m *IoK8sAPICoreV1NamespaceCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NamespaceCondition) UnmarshalBinary

func (m *IoK8sAPICoreV1NamespaceCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NamespaceCondition) Validate

Validate validates this io k8s api core v1 namespace condition

type IoK8sAPICoreV1NamespaceList

type IoK8sAPICoreV1NamespaceList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
	// Required: true
	Items []*IoK8sAPICoreV1Namespace `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1NamespaceList NamespaceList is a list of Namespaces.

swagger:model io.k8s.api.core.v1.NamespaceList

func (*IoK8sAPICoreV1NamespaceList) MarshalBinary

func (m *IoK8sAPICoreV1NamespaceList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NamespaceList) UnmarshalBinary

func (m *IoK8sAPICoreV1NamespaceList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NamespaceList) Validate

func (m *IoK8sAPICoreV1NamespaceList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 namespace list

type IoK8sAPICoreV1NamespaceSpec

type IoK8sAPICoreV1NamespaceSpec struct {

	// Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
	Finalizers []string `json:"finalizers"`
}

IoK8sAPICoreV1NamespaceSpec NamespaceSpec describes the attributes on a Namespace.

swagger:model io.k8s.api.core.v1.NamespaceSpec

func (*IoK8sAPICoreV1NamespaceSpec) MarshalBinary

func (m *IoK8sAPICoreV1NamespaceSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NamespaceSpec) UnmarshalBinary

func (m *IoK8sAPICoreV1NamespaceSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NamespaceSpec) Validate

func (m *IoK8sAPICoreV1NamespaceSpec) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 namespace spec

type IoK8sAPICoreV1NamespaceStatus

type IoK8sAPICoreV1NamespaceStatus struct {

	// Represents the latest available observations of a namespace's current state.
	Conditions []*IoK8sAPICoreV1NamespaceCondition `json:"conditions"`

	// Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
	Phase string `json:"phase,omitempty"`
}

IoK8sAPICoreV1NamespaceStatus NamespaceStatus is information about the current status of a Namespace.

swagger:model io.k8s.api.core.v1.NamespaceStatus

func (*IoK8sAPICoreV1NamespaceStatus) MarshalBinary

func (m *IoK8sAPICoreV1NamespaceStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NamespaceStatus) UnmarshalBinary

func (m *IoK8sAPICoreV1NamespaceStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NamespaceStatus) Validate

func (m *IoK8sAPICoreV1NamespaceStatus) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 namespace status

type IoK8sAPICoreV1Node

type IoK8sAPICoreV1Node struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPICoreV1NodeSpec `json:"spec,omitempty"`

	// Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IoK8sAPICoreV1NodeStatus `json:"status,omitempty"`
}

IoK8sAPICoreV1Node Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).

swagger:model io.k8s.api.core.v1.Node

func (*IoK8sAPICoreV1Node) MarshalBinary

func (m *IoK8sAPICoreV1Node) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Node) UnmarshalBinary

func (m *IoK8sAPICoreV1Node) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Node) Validate

func (m *IoK8sAPICoreV1Node) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 node

type IoK8sAPICoreV1NodeAddress

type IoK8sAPICoreV1NodeAddress struct {

	// The node address.
	// Required: true
	Address *string `json:"address"`

	// Node address type, one of Hostname, ExternalIP or InternalIP.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPICoreV1NodeAddress NodeAddress contains information for the node's address.

swagger:model io.k8s.api.core.v1.NodeAddress

func (*IoK8sAPICoreV1NodeAddress) MarshalBinary

func (m *IoK8sAPICoreV1NodeAddress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeAddress) UnmarshalBinary

func (m *IoK8sAPICoreV1NodeAddress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeAddress) Validate

func (m *IoK8sAPICoreV1NodeAddress) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 node address

type IoK8sAPICoreV1NodeAffinity

type IoK8sAPICoreV1NodeAffinity struct {

	// 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.
	PreferredDuringSchedulingIgnoredDuringExecution []*IoK8sAPICoreV1PreferredSchedulingTerm `json:"preferredDuringSchedulingIgnoredDuringExecution"`

	// 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.
	RequiredDuringSchedulingIgnoredDuringExecution *IoK8sAPICoreV1NodeSelector `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
}

IoK8sAPICoreV1NodeAffinity Node affinity is a group of node affinity scheduling rules.

swagger:model io.k8s.api.core.v1.NodeAffinity

func (*IoK8sAPICoreV1NodeAffinity) MarshalBinary

func (m *IoK8sAPICoreV1NodeAffinity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeAffinity) UnmarshalBinary

func (m *IoK8sAPICoreV1NodeAffinity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeAffinity) Validate

func (m *IoK8sAPICoreV1NodeAffinity) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 node affinity

type IoK8sAPICoreV1NodeCondition

type IoK8sAPICoreV1NodeCondition struct {

	// Last time we got an update on a given condition.
	// Format: date-time
	LastHeartbeatTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastHeartbeatTime,omitempty"`

	// Last time the condition transit from one status to another.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// Human readable message indicating details about last transition.
	Message string `json:"message,omitempty"`

	// (brief) reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// Status of the condition, one of True, False, Unknown.
	// Required: true
	Status *string `json:"status"`

	// Type of node condition.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPICoreV1NodeCondition NodeCondition contains condition information for a node.

swagger:model io.k8s.api.core.v1.NodeCondition

func (*IoK8sAPICoreV1NodeCondition) MarshalBinary

func (m *IoK8sAPICoreV1NodeCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeCondition) UnmarshalBinary

func (m *IoK8sAPICoreV1NodeCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeCondition) Validate

func (m *IoK8sAPICoreV1NodeCondition) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 node condition

type IoK8sAPICoreV1NodeConfigSource

type IoK8sAPICoreV1NodeConfigSource struct {

	// ConfigMap is a reference to a Node's ConfigMap
	ConfigMap *IoK8sAPICoreV1ConfigMapNodeConfigSource `json:"configMap,omitempty"`
}

IoK8sAPICoreV1NodeConfigSource NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil.

swagger:model io.k8s.api.core.v1.NodeConfigSource

func (*IoK8sAPICoreV1NodeConfigSource) MarshalBinary

func (m *IoK8sAPICoreV1NodeConfigSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeConfigSource) UnmarshalBinary

func (m *IoK8sAPICoreV1NodeConfigSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeConfigSource) Validate

func (m *IoK8sAPICoreV1NodeConfigSource) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 node config source

type IoK8sAPICoreV1NodeConfigStatus

type IoK8sAPICoreV1NodeConfigStatus struct {

	// Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error.
	Active *IoK8sAPICoreV1NodeConfigSource `json:"active,omitempty"`

	// Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned.
	Assigned *IoK8sAPICoreV1NodeConfigSource `json:"assigned,omitempty"`

	// Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.
	Error string `json:"error,omitempty"`

	// LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future.
	LastKnownGood *IoK8sAPICoreV1NodeConfigSource `json:"lastKnownGood,omitempty"`
}

IoK8sAPICoreV1NodeConfigStatus NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.

swagger:model io.k8s.api.core.v1.NodeConfigStatus

func (*IoK8sAPICoreV1NodeConfigStatus) MarshalBinary

func (m *IoK8sAPICoreV1NodeConfigStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeConfigStatus) UnmarshalBinary

func (m *IoK8sAPICoreV1NodeConfigStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeConfigStatus) Validate

func (m *IoK8sAPICoreV1NodeConfigStatus) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 node config status

type IoK8sAPICoreV1NodeDaemonEndpoints

type IoK8sAPICoreV1NodeDaemonEndpoints struct {

	// Endpoint on which Kubelet is listening.
	KubeletEndpoint *IoK8sAPICoreV1DaemonEndpoint `json:"kubeletEndpoint,omitempty"`
}

IoK8sAPICoreV1NodeDaemonEndpoints NodeDaemonEndpoints lists ports opened by daemons running on the Node.

swagger:model io.k8s.api.core.v1.NodeDaemonEndpoints

func (*IoK8sAPICoreV1NodeDaemonEndpoints) MarshalBinary

func (m *IoK8sAPICoreV1NodeDaemonEndpoints) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeDaemonEndpoints) UnmarshalBinary

func (m *IoK8sAPICoreV1NodeDaemonEndpoints) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeDaemonEndpoints) Validate

Validate validates this io k8s api core v1 node daemon endpoints

type IoK8sAPICoreV1NodeList

type IoK8sAPICoreV1NodeList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of nodes
	// Required: true
	Items []*IoK8sAPICoreV1Node `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1NodeList NodeList is the whole list of all Nodes which have been registered with master.

swagger:model io.k8s.api.core.v1.NodeList

func (*IoK8sAPICoreV1NodeList) MarshalBinary

func (m *IoK8sAPICoreV1NodeList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeList) UnmarshalBinary

func (m *IoK8sAPICoreV1NodeList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeList) Validate

func (m *IoK8sAPICoreV1NodeList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 node list

type IoK8sAPICoreV1NodeSelector

type IoK8sAPICoreV1NodeSelector struct {

	// Required. A list of node selector terms. The terms are ORed.
	// Required: true
	NodeSelectorTerms []*IoK8sAPICoreV1NodeSelectorTerm `json:"nodeSelectorTerms"`
}

IoK8sAPICoreV1NodeSelector 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.

swagger:model io.k8s.api.core.v1.NodeSelector

func (*IoK8sAPICoreV1NodeSelector) MarshalBinary

func (m *IoK8sAPICoreV1NodeSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeSelector) UnmarshalBinary

func (m *IoK8sAPICoreV1NodeSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeSelector) Validate

func (m *IoK8sAPICoreV1NodeSelector) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 node selector

type IoK8sAPICoreV1NodeSelectorRequirement

type IoK8sAPICoreV1NodeSelectorRequirement struct {

	// The label key that the selector applies to.
	// Required: true
	Key *string `json:"key"`

	// Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
	// Required: true
	Operator *string `json:"operator"`

	// 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.
	Values []string `json:"values"`
}

IoK8sAPICoreV1NodeSelectorRequirement A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

swagger:model io.k8s.api.core.v1.NodeSelectorRequirement

func (*IoK8sAPICoreV1NodeSelectorRequirement) MarshalBinary

func (m *IoK8sAPICoreV1NodeSelectorRequirement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeSelectorRequirement) UnmarshalBinary

func (m *IoK8sAPICoreV1NodeSelectorRequirement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeSelectorRequirement) Validate

Validate validates this io k8s api core v1 node selector requirement

type IoK8sAPICoreV1NodeSelectorTerm

type IoK8sAPICoreV1NodeSelectorTerm struct {

	// A list of node selector requirements by node's labels.
	MatchExpressions []*IoK8sAPICoreV1NodeSelectorRequirement `json:"matchExpressions"`

	// A list of node selector requirements by node's fields.
	MatchFields []*IoK8sAPICoreV1NodeSelectorRequirement `json:"matchFields"`
}

IoK8sAPICoreV1NodeSelectorTerm A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.

swagger:model io.k8s.api.core.v1.NodeSelectorTerm

func (*IoK8sAPICoreV1NodeSelectorTerm) MarshalBinary

func (m *IoK8sAPICoreV1NodeSelectorTerm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeSelectorTerm) UnmarshalBinary

func (m *IoK8sAPICoreV1NodeSelectorTerm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeSelectorTerm) Validate

func (m *IoK8sAPICoreV1NodeSelectorTerm) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 node selector term

type IoK8sAPICoreV1NodeSpec

type IoK8sAPICoreV1NodeSpec struct {

	// If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field
	ConfigSource *IoK8sAPICoreV1NodeConfigSource `json:"configSource,omitempty"`

	// Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966
	ExternalID string `json:"externalID,omitempty"`

	// PodCIDR represents the pod IP range assigned to the node.
	PodCIDR string `json:"podCIDR,omitempty"`

	// podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.
	PodCIDRs []string `json:"podCIDRs"`

	// ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
	ProviderID string `json:"providerID,omitempty"`

	// If specified, the node's taints.
	Taints []*IoK8sAPICoreV1Taint `json:"taints"`

	// Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration
	Unschedulable bool `json:"unschedulable,omitempty"`
}

IoK8sAPICoreV1NodeSpec NodeSpec describes the attributes that a node is created with.

swagger:model io.k8s.api.core.v1.NodeSpec

func (*IoK8sAPICoreV1NodeSpec) MarshalBinary

func (m *IoK8sAPICoreV1NodeSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeSpec) UnmarshalBinary

func (m *IoK8sAPICoreV1NodeSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeSpec) Validate

func (m *IoK8sAPICoreV1NodeSpec) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 node spec

type IoK8sAPICoreV1NodeStatus

type IoK8sAPICoreV1NodeStatus struct {

	// List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example.
	Addresses []*IoK8sAPICoreV1NodeAddress `json:"addresses"`

	// Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.
	Allocatable map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"allocatable,omitempty"`

	// Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
	Capacity map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"capacity,omitempty"`

	// Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition
	Conditions []*IoK8sAPICoreV1NodeCondition `json:"conditions"`

	// Status of the config assigned to the node via the dynamic Kubelet config feature.
	Config *IoK8sAPICoreV1NodeConfigStatus `json:"config,omitempty"`

	// Endpoints of daemons running on the Node.
	DaemonEndpoints *IoK8sAPICoreV1NodeDaemonEndpoints `json:"daemonEndpoints,omitempty"`

	// List of container images on this node
	Images []*IoK8sAPICoreV1ContainerImage `json:"images"`

	// Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info
	NodeInfo *IoK8sAPICoreV1NodeSystemInfo `json:"nodeInfo,omitempty"`

	// NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.
	Phase string `json:"phase,omitempty"`

	// List of volumes that are attached to the node.
	VolumesAttached []*IoK8sAPICoreV1AttachedVolume `json:"volumesAttached"`

	// List of attachable volumes in use (mounted) by the node.
	VolumesInUse []string `json:"volumesInUse"`
}

IoK8sAPICoreV1NodeStatus NodeStatus is information about the current status of a node.

swagger:model io.k8s.api.core.v1.NodeStatus

func (*IoK8sAPICoreV1NodeStatus) MarshalBinary

func (m *IoK8sAPICoreV1NodeStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeStatus) UnmarshalBinary

func (m *IoK8sAPICoreV1NodeStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeStatus) Validate

func (m *IoK8sAPICoreV1NodeStatus) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 node status

type IoK8sAPICoreV1NodeSystemInfo

type IoK8sAPICoreV1NodeSystemInfo struct {

	// The Architecture reported by the node
	// Required: true
	Architecture *string `json:"architecture"`

	// Boot ID reported by the node.
	// Required: true
	BootID *string `json:"bootID"`

	// ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).
	// Required: true
	ContainerRuntimeVersion *string `json:"containerRuntimeVersion"`

	// Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).
	// Required: true
	KernelVersion *string `json:"kernelVersion"`

	// KubeProxy Version reported by the node.
	// Required: true
	KubeProxyVersion *string `json:"kubeProxyVersion"`

	// Kubelet Version reported by the node.
	// Required: true
	KubeletVersion *string `json:"kubeletVersion"`

	// MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html
	// Required: true
	MachineID *string `json:"machineID"`

	// The Operating System reported by the node
	// Required: true
	OperatingSystem *string `json:"operatingSystem"`

	// OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).
	// Required: true
	OsImage *string `json:"osImage"`

	// SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid
	// Required: true
	SystemUUID *string `json:"systemUUID"`
}

IoK8sAPICoreV1NodeSystemInfo NodeSystemInfo is a set of ids/uuids to uniquely identify the node.

swagger:model io.k8s.api.core.v1.NodeSystemInfo

func (*IoK8sAPICoreV1NodeSystemInfo) MarshalBinary

func (m *IoK8sAPICoreV1NodeSystemInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeSystemInfo) UnmarshalBinary

func (m *IoK8sAPICoreV1NodeSystemInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1NodeSystemInfo) Validate

func (m *IoK8sAPICoreV1NodeSystemInfo) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 node system info

type IoK8sAPICoreV1ObjectFieldSelector

type IoK8sAPICoreV1ObjectFieldSelector struct {

	// Version of the schema the FieldPath is written in terms of, defaults to "v1".
	APIVersion string `json:"apiVersion,omitempty"`

	// Path of the field to select in the specified API version.
	// Required: true
	FieldPath *string `json:"fieldPath"`
}

IoK8sAPICoreV1ObjectFieldSelector ObjectFieldSelector selects an APIVersioned field of an object.

swagger:model io.k8s.api.core.v1.ObjectFieldSelector

func (*IoK8sAPICoreV1ObjectFieldSelector) MarshalBinary

func (m *IoK8sAPICoreV1ObjectFieldSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ObjectFieldSelector) UnmarshalBinary

func (m *IoK8sAPICoreV1ObjectFieldSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ObjectFieldSelector) Validate

Validate validates this io k8s api core v1 object field selector

type IoK8sAPICoreV1ObjectReference

type IoK8sAPICoreV1ObjectReference struct {

	// API version of the referent.
	APIVersion string `json:"apiVersion,omitempty"`

	// 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.
	FieldPath string `json:"fieldPath,omitempty"`

	// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name string `json:"name,omitempty"`

	// Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
	Namespace string `json:"namespace,omitempty"`

	// Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
	UID string `json:"uid,omitempty"`
}

IoK8sAPICoreV1ObjectReference ObjectReference contains enough information to let you inspect or modify the referred object.

swagger:model io.k8s.api.core.v1.ObjectReference

func (*IoK8sAPICoreV1ObjectReference) MarshalBinary

func (m *IoK8sAPICoreV1ObjectReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ObjectReference) UnmarshalBinary

func (m *IoK8sAPICoreV1ObjectReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ObjectReference) Validate

func (m *IoK8sAPICoreV1ObjectReference) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 object reference

type IoK8sAPICoreV1PersistentVolume

type IoK8sAPICoreV1PersistentVolume struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes
	Spec *IoK8sAPICoreV1PersistentVolumeSpec `json:"spec,omitempty"`

	// Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes
	Status *IoK8sAPICoreV1PersistentVolumeStatus `json:"status,omitempty"`
}

IoK8sAPICoreV1PersistentVolume PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes

swagger:model io.k8s.api.core.v1.PersistentVolume

func (*IoK8sAPICoreV1PersistentVolume) MarshalBinary

func (m *IoK8sAPICoreV1PersistentVolume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolume) UnmarshalBinary

func (m *IoK8sAPICoreV1PersistentVolume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolume) Validate

func (m *IoK8sAPICoreV1PersistentVolume) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 persistent volume

type IoK8sAPICoreV1PersistentVolumeClaim

type IoK8sAPICoreV1PersistentVolumeClaim struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
	Spec *IoK8sAPICoreV1PersistentVolumeClaimSpec `json:"spec,omitempty"`

	// Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
	Status *IoK8sAPICoreV1PersistentVolumeClaimStatus `json:"status,omitempty"`
}

IoK8sAPICoreV1PersistentVolumeClaim PersistentVolumeClaim is a user's request for and claim to a persistent volume

swagger:model io.k8s.api.core.v1.PersistentVolumeClaim

func (*IoK8sAPICoreV1PersistentVolumeClaim) MarshalBinary

func (m *IoK8sAPICoreV1PersistentVolumeClaim) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeClaim) UnmarshalBinary

func (m *IoK8sAPICoreV1PersistentVolumeClaim) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeClaim) Validate

Validate validates this io k8s api core v1 persistent volume claim

type IoK8sAPICoreV1PersistentVolumeClaimCondition

type IoK8sAPICoreV1PersistentVolumeClaimCondition struct {

	// Last time we probed the condition.
	// Format: date-time
	LastProbeTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastProbeTime,omitempty"`

	// Last time the condition transitioned from one status to another.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// Human-readable message indicating details about last transition.
	Message string `json:"message,omitempty"`

	// Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports "ResizeStarted" that means the underlying persistent volume is being resized.
	Reason string `json:"reason,omitempty"`

	// status
	// Required: true
	Status *string `json:"status"`

	// type
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPICoreV1PersistentVolumeClaimCondition PersistentVolumeClaimCondition contails details about state of pvc

swagger:model io.k8s.api.core.v1.PersistentVolumeClaimCondition

func (*IoK8sAPICoreV1PersistentVolumeClaimCondition) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeClaimCondition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeClaimCondition) Validate

Validate validates this io k8s api core v1 persistent volume claim condition

type IoK8sAPICoreV1PersistentVolumeClaimList

type IoK8sAPICoreV1PersistentVolumeClaimList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
	// Required: true
	Items []*IoK8sAPICoreV1PersistentVolumeClaim `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1PersistentVolumeClaimList PersistentVolumeClaimList is a list of PersistentVolumeClaim items.

swagger:model io.k8s.api.core.v1.PersistentVolumeClaimList

func (*IoK8sAPICoreV1PersistentVolumeClaimList) MarshalBinary

func (m *IoK8sAPICoreV1PersistentVolumeClaimList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeClaimList) UnmarshalBinary

func (m *IoK8sAPICoreV1PersistentVolumeClaimList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeClaimList) Validate

Validate validates this io k8s api core v1 persistent volume claim list

type IoK8sAPICoreV1PersistentVolumeClaimSpec

type IoK8sAPICoreV1PersistentVolumeClaimSpec struct {

	// AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
	AccessModes []string `json:"accessModes"`

	// This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot - Beta) * An existing PVC (PersistentVolumeClaim) * An existing custom resource/object that implements data population (Alpha) In order to use VolumeSnapshot object types, the appropriate feature gate must be enabled (VolumeSnapshotDataSource or AnyVolumeDataSource) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the specified data source is not supported, the volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change.
	DataSource *IoK8sAPICoreV1TypedLocalObjectReference `json:"dataSource,omitempty"`

	// Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
	Resources *IoK8sAPICoreV1ResourceRequirements `json:"resources,omitempty"`

	// A label query over volumes to consider for binding.
	Selector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"selector,omitempty"`

	// Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
	StorageClassName string `json:"storageClassName,omitempty"`

	// volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
	VolumeMode string `json:"volumeMode,omitempty"`

	// VolumeName is the binding reference to the PersistentVolume backing this claim.
	VolumeName string `json:"volumeName,omitempty"`
}

IoK8sAPICoreV1PersistentVolumeClaimSpec PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes

swagger:model io.k8s.api.core.v1.PersistentVolumeClaimSpec

func (*IoK8sAPICoreV1PersistentVolumeClaimSpec) MarshalBinary

func (m *IoK8sAPICoreV1PersistentVolumeClaimSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeClaimSpec) UnmarshalBinary

func (m *IoK8sAPICoreV1PersistentVolumeClaimSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeClaimSpec) Validate

Validate validates this io k8s api core v1 persistent volume claim spec

type IoK8sAPICoreV1PersistentVolumeClaimStatus

type IoK8sAPICoreV1PersistentVolumeClaimStatus struct {

	// AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
	AccessModes []string `json:"accessModes"`

	// Represents the actual resources of the underlying volume.
	Capacity map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"capacity,omitempty"`

	// Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.
	Conditions []*IoK8sAPICoreV1PersistentVolumeClaimCondition `json:"conditions"`

	// Phase represents the current phase of PersistentVolumeClaim.
	Phase string `json:"phase,omitempty"`
}

IoK8sAPICoreV1PersistentVolumeClaimStatus PersistentVolumeClaimStatus is the current status of a persistent volume claim.

swagger:model io.k8s.api.core.v1.PersistentVolumeClaimStatus

func (*IoK8sAPICoreV1PersistentVolumeClaimStatus) MarshalBinary

func (m *IoK8sAPICoreV1PersistentVolumeClaimStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeClaimStatus) UnmarshalBinary

func (m *IoK8sAPICoreV1PersistentVolumeClaimStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeClaimStatus) Validate

Validate validates this io k8s api core v1 persistent volume claim status

type IoK8sAPICoreV1PersistentVolumeClaimTemplate

type IoK8sAPICoreV1PersistentVolumeClaimTemplate struct {

	// May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.
	// Required: true
	Spec *IoK8sAPICoreV1PersistentVolumeClaimSpec `json:"spec"`
}

IoK8sAPICoreV1PersistentVolumeClaimTemplate PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.

swagger:model io.k8s.api.core.v1.PersistentVolumeClaimTemplate

func (*IoK8sAPICoreV1PersistentVolumeClaimTemplate) MarshalBinary

func (m *IoK8sAPICoreV1PersistentVolumeClaimTemplate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeClaimTemplate) UnmarshalBinary

func (m *IoK8sAPICoreV1PersistentVolumeClaimTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeClaimTemplate) Validate

Validate validates this io k8s api core v1 persistent volume claim template

type IoK8sAPICoreV1PersistentVolumeClaimVolumeSource

type IoK8sAPICoreV1PersistentVolumeClaimVolumeSource struct {

	// ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
	// Required: true
	ClaimName *string `json:"claimName"`

	// Will force the ReadOnly setting in VolumeMounts. Default false.
	ReadOnly bool `json:"readOnly,omitempty"`
}

IoK8sAPICoreV1PersistentVolumeClaimVolumeSource 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).

swagger:model io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource

func (*IoK8sAPICoreV1PersistentVolumeClaimVolumeSource) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeClaimVolumeSource) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeClaimVolumeSource) Validate

Validate validates this io k8s api core v1 persistent volume claim volume source

type IoK8sAPICoreV1PersistentVolumeList

type IoK8sAPICoreV1PersistentVolumeList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes
	// Required: true
	Items []*IoK8sAPICoreV1PersistentVolume `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1PersistentVolumeList PersistentVolumeList is a list of PersistentVolume items.

swagger:model io.k8s.api.core.v1.PersistentVolumeList

func (*IoK8sAPICoreV1PersistentVolumeList) MarshalBinary

func (m *IoK8sAPICoreV1PersistentVolumeList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeList) UnmarshalBinary

func (m *IoK8sAPICoreV1PersistentVolumeList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeList) Validate

Validate validates this io k8s api core v1 persistent volume list

type IoK8sAPICoreV1PersistentVolumeSpec

type IoK8sAPICoreV1PersistentVolumeSpec struct {

	// AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
	AccessModes []string `json:"accessModes"`

	// AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
	AwsElasticBlockStore *IoK8sAPICoreV1AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty"`

	// AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
	AzureDisk *IoK8sAPICoreV1AzureDiskVolumeSource `json:"azureDisk,omitempty"`

	// AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
	AzureFile *IoK8sAPICoreV1AzureFilePersistentVolumeSource `json:"azureFile,omitempty"`

	// A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
	Capacity map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"capacity,omitempty"`

	// CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
	Cephfs *IoK8sAPICoreV1CephFSPersistentVolumeSource `json:"cephfs,omitempty"`

	// Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	Cinder *IoK8sAPICoreV1CinderPersistentVolumeSource `json:"cinder,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding
	ClaimRef *IoK8sAPICoreV1ObjectReference `json:"claimRef,omitempty"`

	// CSI represents storage that is handled by an external CSI driver (Beta feature).
	Csi *IoK8sAPICoreV1CSIPersistentVolumeSource `json:"csi,omitempty"`

	// FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
	Fc *IoK8sAPICoreV1FCVolumeSource `json:"fc,omitempty"`

	// FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
	FlexVolume *IoK8sAPICoreV1FlexPersistentVolumeSource `json:"flexVolume,omitempty"`

	// 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
	Flocker *IoK8sAPICoreV1FlockerVolumeSource `json:"flocker,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	GcePersistentDisk *IoK8sAPICoreV1GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty"`

	// Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md
	Glusterfs *IoK8sAPICoreV1GlusterfsPersistentVolumeSource `json:"glusterfs,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
	HostPath *IoK8sAPICoreV1HostPathVolumeSource `json:"hostPath,omitempty"`

	// 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.
	Iscsi *IoK8sAPICoreV1ISCSIPersistentVolumeSource `json:"iscsi,omitempty"`

	// Local represents directly-attached storage with node affinity
	Local *IoK8sAPICoreV1LocalVolumeSource `json:"local,omitempty"`

	// A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options
	MountOptions []string `json:"mountOptions"`

	// NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
	Nfs *IoK8sAPICoreV1NFSVolumeSource `json:"nfs,omitempty"`

	// NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.
	NodeAffinity *IoK8sAPICoreV1VolumeNodeAffinity `json:"nodeAffinity,omitempty"`

	// What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming
	PersistentVolumeReclaimPolicy string `json:"persistentVolumeReclaimPolicy,omitempty"`

	// PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
	PhotonPersistentDisk *IoK8sAPICoreV1PhotonPersistentDiskVolumeSource `json:"photonPersistentDisk,omitempty"`

	// PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
	PortworxVolume *IoK8sAPICoreV1PortworxVolumeSource `json:"portworxVolume,omitempty"`

	// Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
	Quobyte *IoK8sAPICoreV1QuobyteVolumeSource `json:"quobyte,omitempty"`

	// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md
	Rbd *IoK8sAPICoreV1RBDPersistentVolumeSource `json:"rbd,omitempty"`

	// ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
	ScaleIO *IoK8sAPICoreV1ScaleIOPersistentVolumeSource `json:"scaleIO,omitempty"`

	// Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.
	StorageClassName string `json:"storageClassName,omitempty"`

	// StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md
	Storageos *IoK8sAPICoreV1StorageOSPersistentVolumeSource `json:"storageos,omitempty"`

	// volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.
	VolumeMode string `json:"volumeMode,omitempty"`

	// VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
	VsphereVolume *IoK8sAPICoreV1VsphereVirtualDiskVolumeSource `json:"vsphereVolume,omitempty"`
}

IoK8sAPICoreV1PersistentVolumeSpec PersistentVolumeSpec is the specification of a persistent volume.

swagger:model io.k8s.api.core.v1.PersistentVolumeSpec

func (*IoK8sAPICoreV1PersistentVolumeSpec) MarshalBinary

func (m *IoK8sAPICoreV1PersistentVolumeSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeSpec) UnmarshalBinary

func (m *IoK8sAPICoreV1PersistentVolumeSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeSpec) Validate

Validate validates this io k8s api core v1 persistent volume spec

type IoK8sAPICoreV1PersistentVolumeStatus

type IoK8sAPICoreV1PersistentVolumeStatus struct {

	// A human-readable message indicating details about why the volume is in this state.
	Message string `json:"message,omitempty"`

	// Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
	Phase string `json:"phase,omitempty"`

	// Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
	Reason string `json:"reason,omitempty"`
}

IoK8sAPICoreV1PersistentVolumeStatus PersistentVolumeStatus is the current status of a persistent volume.

swagger:model io.k8s.api.core.v1.PersistentVolumeStatus

func (*IoK8sAPICoreV1PersistentVolumeStatus) MarshalBinary

func (m *IoK8sAPICoreV1PersistentVolumeStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeStatus) UnmarshalBinary

func (m *IoK8sAPICoreV1PersistentVolumeStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PersistentVolumeStatus) Validate

Validate validates this io k8s api core v1 persistent volume status

type IoK8sAPICoreV1PhotonPersistentDiskVolumeSource

type IoK8sAPICoreV1PhotonPersistentDiskVolumeSource struct {

	// 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.
	FsType string `json:"fsType,omitempty"`

	// ID that identifies Photon Controller persistent disk
	// Required: true
	PdID *string `json:"pdID"`
}

IoK8sAPICoreV1PhotonPersistentDiskVolumeSource Represents a Photon Controller persistent disk resource.

swagger:model io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource

func (*IoK8sAPICoreV1PhotonPersistentDiskVolumeSource) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PhotonPersistentDiskVolumeSource) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PhotonPersistentDiskVolumeSource) Validate

Validate validates this io k8s api core v1 photon persistent disk volume source

type IoK8sAPICoreV1Pod

type IoK8sAPICoreV1Pod struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPICoreV1PodSpec `json:"spec,omitempty"`

	// Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IoK8sAPICoreV1PodStatus `json:"status,omitempty"`
}

IoK8sAPICoreV1Pod Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.

swagger:model io.k8s.api.core.v1.Pod

func (*IoK8sAPICoreV1Pod) MarshalBinary

func (m *IoK8sAPICoreV1Pod) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Pod) UnmarshalBinary

func (m *IoK8sAPICoreV1Pod) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Pod) Validate

func (m *IoK8sAPICoreV1Pod) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 pod

type IoK8sAPICoreV1PodAffinity

type IoK8sAPICoreV1PodAffinity struct {

	// 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.
	PreferredDuringSchedulingIgnoredDuringExecution []*IoK8sAPICoreV1WeightedPodAffinityTerm `json:"preferredDuringSchedulingIgnoredDuringExecution"`

	// 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.
	RequiredDuringSchedulingIgnoredDuringExecution []*IoK8sAPICoreV1PodAffinityTerm `json:"requiredDuringSchedulingIgnoredDuringExecution"`
}

IoK8sAPICoreV1PodAffinity Pod affinity is a group of inter pod affinity scheduling rules.

swagger:model io.k8s.api.core.v1.PodAffinity

func (*IoK8sAPICoreV1PodAffinity) MarshalBinary

func (m *IoK8sAPICoreV1PodAffinity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PodAffinity) UnmarshalBinary

func (m *IoK8sAPICoreV1PodAffinity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PodAffinity) Validate

func (m *IoK8sAPICoreV1PodAffinity) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 pod affinity

type IoK8sAPICoreV1PodAffinityTerm

type IoK8sAPICoreV1PodAffinityTerm struct {

	// A label query over a set of resources, in this case pods.
	LabelSelector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"labelSelector,omitempty"`

	// namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means "this pod's namespace"
	Namespaces []string `json:"namespaces"`

	// 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. Empty topologyKey is not allowed.
	// Required: true
	TopologyKey *string `json:"topologyKey"`
}

IoK8sAPICoreV1PodAffinityTerm 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> matches that of any node on which a pod of the set of pods is running

swagger:model io.k8s.api.core.v1.PodAffinityTerm

func (*IoK8sAPICoreV1PodAffinityTerm) MarshalBinary

func (m *IoK8sAPICoreV1PodAffinityTerm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PodAffinityTerm) UnmarshalBinary

func (m *IoK8sAPICoreV1PodAffinityTerm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PodAffinityTerm) Validate

func (m *IoK8sAPICoreV1PodAffinityTerm) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 pod affinity term

type IoK8sAPICoreV1PodAntiAffinity

type IoK8sAPICoreV1PodAntiAffinity struct {

	// 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.
	PreferredDuringSchedulingIgnoredDuringExecution []*IoK8sAPICoreV1WeightedPodAffinityTerm `json:"preferredDuringSchedulingIgnoredDuringExecution"`

	// 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.
	RequiredDuringSchedulingIgnoredDuringExecution []*IoK8sAPICoreV1PodAffinityTerm `json:"requiredDuringSchedulingIgnoredDuringExecution"`
}

IoK8sAPICoreV1PodAntiAffinity Pod anti affinity is a group of inter pod anti affinity scheduling rules.

swagger:model io.k8s.api.core.v1.PodAntiAffinity

func (*IoK8sAPICoreV1PodAntiAffinity) MarshalBinary

func (m *IoK8sAPICoreV1PodAntiAffinity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PodAntiAffinity) UnmarshalBinary

func (m *IoK8sAPICoreV1PodAntiAffinity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PodAntiAffinity) Validate

func (m *IoK8sAPICoreV1PodAntiAffinity) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 pod anti affinity

type IoK8sAPICoreV1PodCondition

type IoK8sAPICoreV1PodCondition struct {

	// Last time we probed the condition.
	// Format: date-time
	LastProbeTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastProbeTime,omitempty"`

	// Last time the condition transitioned from one status to another.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// Human-readable message indicating details about last transition.
	Message string `json:"message,omitempty"`

	// Unique, one-word, CamelCase reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	// Required: true
	Status *string `json:"status"`

	// Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPICoreV1PodCondition PodCondition contains details for the current condition of this pod.

swagger:model io.k8s.api.core.v1.PodCondition

func (*IoK8sAPICoreV1PodCondition) MarshalBinary

func (m *IoK8sAPICoreV1PodCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PodCondition) UnmarshalBinary

func (m *IoK8sAPICoreV1PodCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PodCondition) Validate

func (m *IoK8sAPICoreV1PodCondition) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 pod condition

type IoK8sAPICoreV1PodDNSConfig

type IoK8sAPICoreV1PodDNSConfig struct {

	// A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
	Nameservers []string `json:"nameservers"`

	// A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
	Options []*IoK8sAPICoreV1PodDNSConfigOption `json:"options"`

	// A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.
	Searches []string `json:"searches"`
}

IoK8sAPICoreV1PodDNSConfig PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.

swagger:model io.k8s.api.core.v1.PodDNSConfig

func (*IoK8sAPICoreV1PodDNSConfig) MarshalBinary

func (m *IoK8sAPICoreV1PodDNSConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PodDNSConfig) UnmarshalBinary

func (m *IoK8sAPICoreV1PodDNSConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PodDNSConfig) Validate

func (m *IoK8sAPICoreV1PodDNSConfig) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 pod DNS config

type IoK8sAPICoreV1PodDNSConfigOption

type IoK8sAPICoreV1PodDNSConfigOption struct {

	// Required.
	Name string `json:"name,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

IoK8sAPICoreV1PodDNSConfigOption PodDNSConfigOption defines DNS resolver options of a pod.

swagger:model io.k8s.api.core.v1.PodDNSConfigOption

func (*IoK8sAPICoreV1PodDNSConfigOption) MarshalBinary

func (m *IoK8sAPICoreV1PodDNSConfigOption) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PodDNSConfigOption) UnmarshalBinary

func (m *IoK8sAPICoreV1PodDNSConfigOption) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PodDNSConfigOption) Validate

Validate validates this io k8s api core v1 pod DNS config option

type IoK8sAPICoreV1PodIP

type IoK8sAPICoreV1PodIP struct {

	// ip is an IP address (IPv4 or IPv6) assigned to the pod
	IP string `json:"ip,omitempty"`
}

IoK8sAPICoreV1PodIP IP address information for entries in the (plural) PodIPs field. Each entry includes:

IP: An IP address allocated to the pod. Routable at least within the cluster.

swagger:model io.k8s.api.core.v1.PodIP

func (*IoK8sAPICoreV1PodIP) MarshalBinary

func (m *IoK8sAPICoreV1PodIP) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PodIP) UnmarshalBinary

func (m *IoK8sAPICoreV1PodIP) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PodIP) Validate

func (m *IoK8sAPICoreV1PodIP) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 pod IP

type IoK8sAPICoreV1PodList

type IoK8sAPICoreV1PodList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
	// Required: true
	Items []*IoK8sAPICoreV1Pod `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1PodList PodList is a list of Pods.

swagger:model io.k8s.api.core.v1.PodList

func (*IoK8sAPICoreV1PodList) MarshalBinary

func (m *IoK8sAPICoreV1PodList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PodList) UnmarshalBinary

func (m *IoK8sAPICoreV1PodList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PodList) Validate

func (m *IoK8sAPICoreV1PodList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 pod list

type IoK8sAPICoreV1PodReadinessGate

type IoK8sAPICoreV1PodReadinessGate struct {

	// ConditionType refers to a condition in the pod's condition list with matching type.
	// Required: true
	ConditionType *string `json:"conditionType"`
}

IoK8sAPICoreV1PodReadinessGate PodReadinessGate contains the reference to a pod condition

swagger:model io.k8s.api.core.v1.PodReadinessGate

func (*IoK8sAPICoreV1PodReadinessGate) MarshalBinary

func (m *IoK8sAPICoreV1PodReadinessGate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PodReadinessGate) UnmarshalBinary

func (m *IoK8sAPICoreV1PodReadinessGate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PodReadinessGate) Validate

func (m *IoK8sAPICoreV1PodReadinessGate) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 pod readiness gate

type IoK8sAPICoreV1PodSecurityContext

type IoK8sAPICoreV1PodSecurityContext struct {

	// 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:
	//
	// 1. 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----
	//
	// If unset, the Kubelet will not modify the ownership and permissions of any volume.
	FsGroup int64 `json:"fsGroup,omitempty"`

	// fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are "OnRootMismatch" and "Always". If not specified defaults to "Always".
	FsGroupChangePolicy string `json:"fsGroupChangePolicy,omitempty"`

	// The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.
	RunAsGroup int64 `json:"runAsGroup,omitempty"`

	// 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.
	RunAsNonRoot bool `json:"runAsNonRoot,omitempty"`

	// 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.
	RunAsUser int64 `json:"runAsUser,omitempty"`

	// 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.
	SeLinuxOptions *IoK8sAPICoreV1SELinuxOptions `json:"seLinuxOptions,omitempty"`

	// The seccomp options to use by the containers in this pod.
	SeccompProfile *IoK8sAPICoreV1SeccompProfile `json:"seccompProfile,omitempty"`

	// 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.
	SupplementalGroups []int64 `json:"supplementalGroups"`

	// Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.
	Sysctls []*IoK8sAPICoreV1Sysctl `json:"sysctls"`

	// The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
	WindowsOptions *IoK8sAPICoreV1WindowsSecurityContextOptions `json:"windowsOptions,omitempty"`
}

IoK8sAPICoreV1PodSecurityContext 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.

swagger:model io.k8s.api.core.v1.PodSecurityContext

func (*IoK8sAPICoreV1PodSecurityContext) MarshalBinary

func (m *IoK8sAPICoreV1PodSecurityContext) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PodSecurityContext) UnmarshalBinary

func (m *IoK8sAPICoreV1PodSecurityContext) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PodSecurityContext) Validate

Validate validates this io k8s api core v1 pod security context

type IoK8sAPICoreV1PodSpec

type IoK8sAPICoreV1PodSpec struct {

	// 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.
	ActiveDeadlineSeconds int64 `json:"activeDeadlineSeconds,omitempty"`

	// If specified, the pod's scheduling constraints
	Affinity *IoK8sAPICoreV1Affinity `json:"affinity,omitempty"`

	// AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
	AutomountServiceAccountToken bool `json:"automountServiceAccountToken,omitempty"`

	// 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.
	// Required: true
	Containers []*IoK8sAPICoreV1Container `json:"containers"`

	// Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.
	DNSConfig *IoK8sAPICoreV1PodDNSConfig `json:"dnsConfig,omitempty"`

	// Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.
	DNSPolicy string `json:"dnsPolicy,omitempty"`

	// EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true.
	EnableServiceLinks bool `json:"enableServiceLinks,omitempty"`

	// List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.
	EphemeralContainers []*IoK8sAPICoreV1EphemeralContainer `json:"ephemeralContainers"`

	// HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.
	HostAliases []*IoK8sAPICoreV1HostAlias `json:"hostAliases"`

	// Use the host's ipc namespace. Optional: Default to false.
	HostIPC bool `json:"hostIPC,omitempty"`

	// 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.
	HostNetwork bool `json:"hostNetwork,omitempty"`

	// Use the host's pid namespace. Optional: Default to false.
	HostPID bool `json:"hostPID,omitempty"`

	// Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.
	Hostname string `json:"hostname,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
	ImagePullSecrets []*IoK8sAPICoreV1LocalObjectReference `json:"imagePullSecrets"`

	// List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
	InitContainers []*IoK8sAPICoreV1Container `json:"initContainers"`

	// 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.
	NodeName string `json:"nodeName,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`

	// Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature.
	Overhead map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"overhead,omitempty"`

	// PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate.
	PreemptionPolicy string `json:"preemptionPolicy,omitempty"`

	// The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.
	Priority int32 `json:"priority,omitempty"`

	// If specified, indicates the pod's priority. "system-node-critical" and "system-cluster-critical" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.
	PriorityClassName string `json:"priorityClassName,omitempty"`

	// If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md
	ReadinessGates []*IoK8sAPICoreV1PodReadinessGate `json:"readinessGates"`

	// Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
	RestartPolicy string `json:"restartPolicy,omitempty"`

	// RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod.  If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.
	RuntimeClassName string `json:"runtimeClassName,omitempty"`

	// If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.
	SchedulerName string `json:"schedulerName,omitempty"`

	// SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty.  See type description for default values of each field.
	SecurityContext *IoK8sAPICoreV1PodSecurityContext `json:"securityContext,omitempty"`

	// DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.
	ServiceAccount string `json:"serviceAccount,omitempty"`

	// ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
	ServiceAccountName string `json:"serviceAccountName,omitempty"`

	// If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.
	SetHostnameAsFQDN bool `json:"setHostnameAsFQDN,omitempty"`

	// Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false.
	ShareProcessNamespace bool `json:"shareProcessNamespace,omitempty"`

	// 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.
	Subdomain string `json:"subdomain,omitempty"`

	// 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.
	TerminationGracePeriodSeconds int64 `json:"terminationGracePeriodSeconds,omitempty"`

	// If specified, the pod's tolerations.
	Tolerations []*IoK8sAPICoreV1Toleration `json:"tolerations"`

	// TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed.
	TopologySpreadConstraints []*IoK8sAPICoreV1TopologySpreadConstraint `json:"topologySpreadConstraints"`

	// List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes
	Volumes []*IoK8sAPICoreV1Volume `json:"volumes"`
}

IoK8sAPICoreV1PodSpec PodSpec is a description of a pod.

swagger:model io.k8s.api.core.v1.PodSpec

func (*IoK8sAPICoreV1PodSpec) MarshalBinary

func (m *IoK8sAPICoreV1PodSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PodSpec) UnmarshalBinary

func (m *IoK8sAPICoreV1PodSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PodSpec) Validate

func (m *IoK8sAPICoreV1PodSpec) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 pod spec

type IoK8sAPICoreV1PodStatus

type IoK8sAPICoreV1PodStatus struct {

	// Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	Conditions []*IoK8sAPICoreV1PodCondition `json:"conditions"`

	// The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
	ContainerStatuses []*IoK8sAPICoreV1ContainerStatus `json:"containerStatuses"`

	// Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature.
	EphemeralContainerStatuses []*IoK8sAPICoreV1ContainerStatus `json:"ephemeralContainerStatuses"`

	// IP address of the host to which the pod is assigned. Empty if not yet scheduled.
	HostIP string `json:"hostIP,omitempty"`

	// The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
	InitContainerStatuses []*IoK8sAPICoreV1ContainerStatus `json:"initContainerStatuses"`

	// A human readable message indicating details about why the pod is in this condition.
	Message string `json:"message,omitempty"`

	// nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.
	NominatedNodeName string `json:"nominatedNodeName,omitempty"`

	// The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:
	//
	// Pending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.
	//
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase
	Phase string `json:"phase,omitempty"`

	// IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.
	PodIP string `json:"podIP,omitempty"`

	// podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet.
	PodIPs []*IoK8sAPICoreV1PodIP `json:"podIPs"`

	// The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md
	QosClass string `json:"qosClass,omitempty"`

	// A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'
	Reason string `json:"reason,omitempty"`

	// 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.
	// Format: date-time
	StartTime IoK8sApimachineryPkgApisMetaV1Time `json:"startTime,omitempty"`
}

IoK8sAPICoreV1PodStatus PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.

swagger:model io.k8s.api.core.v1.PodStatus

func (*IoK8sAPICoreV1PodStatus) MarshalBinary

func (m *IoK8sAPICoreV1PodStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PodStatus) UnmarshalBinary

func (m *IoK8sAPICoreV1PodStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PodStatus) Validate

func (m *IoK8sAPICoreV1PodStatus) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 pod status

type IoK8sAPICoreV1PodTemplate

type IoK8sAPICoreV1PodTemplate struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Template *IoK8sAPICoreV1PodTemplateSpec `json:"template,omitempty"`
}

IoK8sAPICoreV1PodTemplate PodTemplate describes a template for creating copies of a predefined pod.

swagger:model io.k8s.api.core.v1.PodTemplate

func (*IoK8sAPICoreV1PodTemplate) MarshalBinary

func (m *IoK8sAPICoreV1PodTemplate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PodTemplate) UnmarshalBinary

func (m *IoK8sAPICoreV1PodTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PodTemplate) Validate

func (m *IoK8sAPICoreV1PodTemplate) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 pod template

type IoK8sAPICoreV1PodTemplateList

type IoK8sAPICoreV1PodTemplateList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of pod templates
	// Required: true
	Items []*IoK8sAPICoreV1PodTemplate `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1PodTemplateList PodTemplateList is a list of PodTemplates.

swagger:model io.k8s.api.core.v1.PodTemplateList

func (*IoK8sAPICoreV1PodTemplateList) MarshalBinary

func (m *IoK8sAPICoreV1PodTemplateList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PodTemplateList) UnmarshalBinary

func (m *IoK8sAPICoreV1PodTemplateList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PodTemplateList) Validate

func (m *IoK8sAPICoreV1PodTemplateList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 pod template list

type IoK8sAPICoreV1PodTemplateSpec

type IoK8sAPICoreV1PodTemplateSpec struct {

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPICoreV1PodSpec `json:"spec,omitempty"`
}

IoK8sAPICoreV1PodTemplateSpec PodTemplateSpec describes the data a pod should have when created from a template

swagger:model io.k8s.api.core.v1.PodTemplateSpec

func (*IoK8sAPICoreV1PodTemplateSpec) MarshalBinary

func (m *IoK8sAPICoreV1PodTemplateSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PodTemplateSpec) UnmarshalBinary

func (m *IoK8sAPICoreV1PodTemplateSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PodTemplateSpec) Validate

func (m *IoK8sAPICoreV1PodTemplateSpec) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 pod template spec

type IoK8sAPICoreV1PortworxVolumeSource

type IoK8sAPICoreV1PortworxVolumeSource struct {

	// FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
	FsType string `json:"fsType,omitempty"`

	// Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly bool `json:"readOnly,omitempty"`

	// VolumeID uniquely identifies a Portworx volume
	// Required: true
	VolumeID *string `json:"volumeID"`
}

IoK8sAPICoreV1PortworxVolumeSource PortworxVolumeSource represents a Portworx volume resource.

swagger:model io.k8s.api.core.v1.PortworxVolumeSource

func (*IoK8sAPICoreV1PortworxVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1PortworxVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PortworxVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1PortworxVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PortworxVolumeSource) Validate

Validate validates this io k8s api core v1 portworx volume source

type IoK8sAPICoreV1PreferredSchedulingTerm

type IoK8sAPICoreV1PreferredSchedulingTerm struct {

	// A node selector term, associated with the corresponding weight.
	// Required: true
	Preference *IoK8sAPICoreV1NodeSelectorTerm `json:"preference"`

	// Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
	// Required: true
	Weight *int32 `json:"weight"`
}

IoK8sAPICoreV1PreferredSchedulingTerm 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).

swagger:model io.k8s.api.core.v1.PreferredSchedulingTerm

func (*IoK8sAPICoreV1PreferredSchedulingTerm) MarshalBinary

func (m *IoK8sAPICoreV1PreferredSchedulingTerm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1PreferredSchedulingTerm) UnmarshalBinary

func (m *IoK8sAPICoreV1PreferredSchedulingTerm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1PreferredSchedulingTerm) Validate

Validate validates this io k8s api core v1 preferred scheduling term

type IoK8sAPICoreV1Probe

type IoK8sAPICoreV1Probe struct {

	// One and only one of the following should be specified. Exec specifies the action to take.
	Exec *IoK8sAPICoreV1ExecAction `json:"exec,omitempty"`

	// Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
	FailureThreshold int32 `json:"failureThreshold,omitempty"`

	// HTTPGet specifies the http request to perform.
	HTTPGet *IoK8sAPICoreV1HTTPGetAction `json:"httpGet,omitempty"`

	// Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	InitialDelaySeconds int32 `json:"initialDelaySeconds,omitempty"`

	// How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
	PeriodSeconds int32 `json:"periodSeconds,omitempty"`

	// Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
	SuccessThreshold int32 `json:"successThreshold,omitempty"`

	// TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
	TCPSocket *IoK8sAPICoreV1TCPSocketAction `json:"tcpSocket,omitempty"`

	// Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"`
}

IoK8sAPICoreV1Probe Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.

swagger:model io.k8s.api.core.v1.Probe

func (*IoK8sAPICoreV1Probe) MarshalBinary

func (m *IoK8sAPICoreV1Probe) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Probe) UnmarshalBinary

func (m *IoK8sAPICoreV1Probe) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Probe) Validate

func (m *IoK8sAPICoreV1Probe) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 probe

type IoK8sAPICoreV1ProjectedVolumeSource

type IoK8sAPICoreV1ProjectedVolumeSource struct {

	// Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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.
	DefaultMode int32 `json:"defaultMode,omitempty"`

	// list of volume projections
	// Required: true
	Sources []*IoK8sAPICoreV1VolumeProjection `json:"sources"`
}

IoK8sAPICoreV1ProjectedVolumeSource Represents a projected volume source

swagger:model io.k8s.api.core.v1.ProjectedVolumeSource

func (*IoK8sAPICoreV1ProjectedVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1ProjectedVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ProjectedVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1ProjectedVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ProjectedVolumeSource) Validate

Validate validates this io k8s api core v1 projected volume source

type IoK8sAPICoreV1QuobyteVolumeSource

type IoK8sAPICoreV1QuobyteVolumeSource struct {

	// Group to map volume access to Default is no group
	Group string `json:"group,omitempty"`

	// ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.
	ReadOnly bool `json:"readOnly,omitempty"`

	// 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
	// Required: true
	Registry *string `json:"registry"`

	// Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin
	Tenant string `json:"tenant,omitempty"`

	// User to map volume access to Defaults to serivceaccount user
	User string `json:"user,omitempty"`

	// Volume is a string that references an already created Quobyte volume by name.
	// Required: true
	Volume *string `json:"volume"`
}

IoK8sAPICoreV1QuobyteVolumeSource Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.

swagger:model io.k8s.api.core.v1.QuobyteVolumeSource

func (*IoK8sAPICoreV1QuobyteVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1QuobyteVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1QuobyteVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1QuobyteVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1QuobyteVolumeSource) Validate

Validate validates this io k8s api core v1 quobyte volume source

type IoK8sAPICoreV1RBDPersistentVolumeSource

type IoK8sAPICoreV1RBDPersistentVolumeSource struct {

	// 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: https://kubernetes.io/docs/concepts/storage/volumes#rbd
	FsType string `json:"fsType,omitempty"`

	// The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	// Required: true
	Image *string `json:"image"`

	// Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	Keyring string `json:"keyring,omitempty"`

	// A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	// Required: true
	Monitors []string `json:"monitors"`

	// The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	Pool string `json:"pool,omitempty"`

	// ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	ReadOnly bool `json:"readOnly,omitempty"`

	// SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	SecretRef *IoK8sAPICoreV1SecretReference `json:"secretRef,omitempty"`

	// The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	User string `json:"user,omitempty"`
}

IoK8sAPICoreV1RBDPersistentVolumeSource Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.

swagger:model io.k8s.api.core.v1.RBDPersistentVolumeSource

func (*IoK8sAPICoreV1RBDPersistentVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1RBDPersistentVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1RBDPersistentVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1RBDPersistentVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1RBDPersistentVolumeSource) Validate

Validate validates this io k8s api core v1 r b d persistent volume source

type IoK8sAPICoreV1RBDVolumeSource

type IoK8sAPICoreV1RBDVolumeSource struct {

	// 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: https://kubernetes.io/docs/concepts/storage/volumes#rbd
	FsType string `json:"fsType,omitempty"`

	// The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	// Required: true
	Image *string `json:"image"`

	// Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	Keyring string `json:"keyring,omitempty"`

	// A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	// Required: true
	Monitors []string `json:"monitors"`

	// The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	Pool string `json:"pool,omitempty"`

	// ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	ReadOnly bool `json:"readOnly,omitempty"`

	// SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	SecretRef *IoK8sAPICoreV1LocalObjectReference `json:"secretRef,omitempty"`

	// The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
	User string `json:"user,omitempty"`
}

IoK8sAPICoreV1RBDVolumeSource Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.

swagger:model io.k8s.api.core.v1.RBDVolumeSource

func (*IoK8sAPICoreV1RBDVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1RBDVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1RBDVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1RBDVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1RBDVolumeSource) Validate

func (m *IoK8sAPICoreV1RBDVolumeSource) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 r b d volume source

type IoK8sAPICoreV1ReplicationController

type IoK8sAPICoreV1ReplicationController struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPICoreV1ReplicationControllerSpec `json:"spec,omitempty"`

	// 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IoK8sAPICoreV1ReplicationControllerStatus `json:"status,omitempty"`
}

IoK8sAPICoreV1ReplicationController ReplicationController represents the configuration of a replication controller.

swagger:model io.k8s.api.core.v1.ReplicationController

func (*IoK8sAPICoreV1ReplicationController) MarshalBinary

func (m *IoK8sAPICoreV1ReplicationController) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ReplicationController) UnmarshalBinary

func (m *IoK8sAPICoreV1ReplicationController) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ReplicationController) Validate

Validate validates this io k8s api core v1 replication controller

type IoK8sAPICoreV1ReplicationControllerCondition

type IoK8sAPICoreV1ReplicationControllerCondition struct {

	// The last time the condition transitioned from one status to another.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty"`

	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// Status of the condition, one of True, False, Unknown.
	// Required: true
	Status *string `json:"status"`

	// Type of replication controller condition.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPICoreV1ReplicationControllerCondition ReplicationControllerCondition describes the state of a replication controller at a certain point.

swagger:model io.k8s.api.core.v1.ReplicationControllerCondition

func (*IoK8sAPICoreV1ReplicationControllerCondition) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ReplicationControllerCondition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ReplicationControllerCondition) Validate

Validate validates this io k8s api core v1 replication controller condition

type IoK8sAPICoreV1ReplicationControllerList

type IoK8sAPICoreV1ReplicationControllerList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller
	// Required: true
	Items []*IoK8sAPICoreV1ReplicationController `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1ReplicationControllerList ReplicationControllerList is a collection of replication controllers.

swagger:model io.k8s.api.core.v1.ReplicationControllerList

func (*IoK8sAPICoreV1ReplicationControllerList) MarshalBinary

func (m *IoK8sAPICoreV1ReplicationControllerList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ReplicationControllerList) UnmarshalBinary

func (m *IoK8sAPICoreV1ReplicationControllerList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ReplicationControllerList) Validate

Validate validates this io k8s api core v1 replication controller list

type IoK8sAPICoreV1ReplicationControllerSpec

type IoK8sAPICoreV1ReplicationControllerSpec struct {

	// 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)
	MinReadySeconds int32 `json:"minReadySeconds,omitempty"`

	// Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
	Replicas int32 `json:"replicas,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	Selector map[string]string `json:"selector,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
	Template *IoK8sAPICoreV1PodTemplateSpec `json:"template,omitempty"`
}

IoK8sAPICoreV1ReplicationControllerSpec ReplicationControllerSpec is the specification of a replication controller.

swagger:model io.k8s.api.core.v1.ReplicationControllerSpec

func (*IoK8sAPICoreV1ReplicationControllerSpec) MarshalBinary

func (m *IoK8sAPICoreV1ReplicationControllerSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ReplicationControllerSpec) UnmarshalBinary

func (m *IoK8sAPICoreV1ReplicationControllerSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ReplicationControllerSpec) Validate

Validate validates this io k8s api core v1 replication controller spec

type IoK8sAPICoreV1ReplicationControllerStatus

type IoK8sAPICoreV1ReplicationControllerStatus struct {

	// The number of available replicas (ready for at least minReadySeconds) for this replication controller.
	AvailableReplicas int32 `json:"availableReplicas,omitempty"`

	// Represents the latest available observations of a replication controller's current state.
	Conditions []*IoK8sAPICoreV1ReplicationControllerCondition `json:"conditions"`

	// The number of pods that have labels matching the labels of the pod template of the replication controller.
	FullyLabeledReplicas int32 `json:"fullyLabeledReplicas,omitempty"`

	// ObservedGeneration reflects the generation of the most recently observed replication controller.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// The number of ready replicas for this replication controller.
	ReadyReplicas int32 `json:"readyReplicas,omitempty"`

	// Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
	// Required: true
	Replicas *int32 `json:"replicas"`
}

IoK8sAPICoreV1ReplicationControllerStatus ReplicationControllerStatus represents the current status of a replication controller.

swagger:model io.k8s.api.core.v1.ReplicationControllerStatus

func (*IoK8sAPICoreV1ReplicationControllerStatus) MarshalBinary

func (m *IoK8sAPICoreV1ReplicationControllerStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ReplicationControllerStatus) UnmarshalBinary

func (m *IoK8sAPICoreV1ReplicationControllerStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ReplicationControllerStatus) Validate

Validate validates this io k8s api core v1 replication controller status

type IoK8sAPICoreV1ResourceFieldSelector

type IoK8sAPICoreV1ResourceFieldSelector struct {

	// Container name: required for volumes, optional for env vars
	ContainerName string `json:"containerName,omitempty"`

	// Specifies the output format of the exposed resources, defaults to "1"
	Divisor IoK8sApimachineryPkgAPIResourceQuantity `json:"divisor,omitempty"`

	// Required: resource to select
	// Required: true
	Resource *string `json:"resource"`
}

IoK8sAPICoreV1ResourceFieldSelector ResourceFieldSelector represents container resources (cpu, memory) and their output format

swagger:model io.k8s.api.core.v1.ResourceFieldSelector

func (*IoK8sAPICoreV1ResourceFieldSelector) MarshalBinary

func (m *IoK8sAPICoreV1ResourceFieldSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ResourceFieldSelector) UnmarshalBinary

func (m *IoK8sAPICoreV1ResourceFieldSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ResourceFieldSelector) Validate

Validate validates this io k8s api core v1 resource field selector

type IoK8sAPICoreV1ResourceQuota

type IoK8sAPICoreV1ResourceQuota struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPICoreV1ResourceQuotaSpec `json:"spec,omitempty"`

	// Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IoK8sAPICoreV1ResourceQuotaStatus `json:"status,omitempty"`
}

IoK8sAPICoreV1ResourceQuota ResourceQuota sets aggregate quota restrictions enforced per namespace

swagger:model io.k8s.api.core.v1.ResourceQuota

func (*IoK8sAPICoreV1ResourceQuota) MarshalBinary

func (m *IoK8sAPICoreV1ResourceQuota) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ResourceQuota) UnmarshalBinary

func (m *IoK8sAPICoreV1ResourceQuota) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ResourceQuota) Validate

func (m *IoK8sAPICoreV1ResourceQuota) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 resource quota

type IoK8sAPICoreV1ResourceQuotaList

type IoK8sAPICoreV1ResourceQuotaList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
	// Required: true
	Items []*IoK8sAPICoreV1ResourceQuota `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1ResourceQuotaList ResourceQuotaList is a list of ResourceQuota items.

swagger:model io.k8s.api.core.v1.ResourceQuotaList

func (*IoK8sAPICoreV1ResourceQuotaList) MarshalBinary

func (m *IoK8sAPICoreV1ResourceQuotaList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ResourceQuotaList) UnmarshalBinary

func (m *IoK8sAPICoreV1ResourceQuotaList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ResourceQuotaList) Validate

Validate validates this io k8s api core v1 resource quota list

type IoK8sAPICoreV1ResourceQuotaSpec

type IoK8sAPICoreV1ResourceQuotaSpec struct {

	// hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
	Hard map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"hard,omitempty"`

	// scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.
	ScopeSelector *IoK8sAPICoreV1ScopeSelector `json:"scopeSelector,omitempty"`

	// A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.
	Scopes []string `json:"scopes"`
}

IoK8sAPICoreV1ResourceQuotaSpec ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

swagger:model io.k8s.api.core.v1.ResourceQuotaSpec

func (*IoK8sAPICoreV1ResourceQuotaSpec) MarshalBinary

func (m *IoK8sAPICoreV1ResourceQuotaSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ResourceQuotaSpec) UnmarshalBinary

func (m *IoK8sAPICoreV1ResourceQuotaSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ResourceQuotaSpec) Validate

Validate validates this io k8s api core v1 resource quota spec

type IoK8sAPICoreV1ResourceQuotaStatus

type IoK8sAPICoreV1ResourceQuotaStatus struct {

	// Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
	Hard map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"hard,omitempty"`

	// Used is the current observed total usage of the resource in the namespace.
	Used map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"used,omitempty"`
}

IoK8sAPICoreV1ResourceQuotaStatus ResourceQuotaStatus defines the enforced hard limits and observed use.

swagger:model io.k8s.api.core.v1.ResourceQuotaStatus

func (*IoK8sAPICoreV1ResourceQuotaStatus) MarshalBinary

func (m *IoK8sAPICoreV1ResourceQuotaStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ResourceQuotaStatus) UnmarshalBinary

func (m *IoK8sAPICoreV1ResourceQuotaStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ResourceQuotaStatus) Validate

Validate validates this io k8s api core v1 resource quota status

type IoK8sAPICoreV1ResourceRequirements

type IoK8sAPICoreV1ResourceRequirements struct {

	// Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
	Limits map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"limits,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
	Requests map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"requests,omitempty"`
}

IoK8sAPICoreV1ResourceRequirements ResourceRequirements describes the compute resource requirements.

swagger:model io.k8s.api.core.v1.ResourceRequirements

func (*IoK8sAPICoreV1ResourceRequirements) MarshalBinary

func (m *IoK8sAPICoreV1ResourceRequirements) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ResourceRequirements) UnmarshalBinary

func (m *IoK8sAPICoreV1ResourceRequirements) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ResourceRequirements) Validate

Validate validates this io k8s api core v1 resource requirements

type IoK8sAPICoreV1SELinuxOptions

type IoK8sAPICoreV1SELinuxOptions struct {

	// Level is SELinux level label that applies to the container.
	Level string `json:"level,omitempty"`

	// Role is a SELinux role label that applies to the container.
	Role string `json:"role,omitempty"`

	// Type is a SELinux type label that applies to the container.
	Type string `json:"type,omitempty"`

	// User is a SELinux user label that applies to the container.
	User string `json:"user,omitempty"`
}

IoK8sAPICoreV1SELinuxOptions SELinuxOptions are the labels to be applied to the container

swagger:model io.k8s.api.core.v1.SELinuxOptions

func (*IoK8sAPICoreV1SELinuxOptions) MarshalBinary

func (m *IoK8sAPICoreV1SELinuxOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1SELinuxOptions) UnmarshalBinary

func (m *IoK8sAPICoreV1SELinuxOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1SELinuxOptions) Validate

func (m *IoK8sAPICoreV1SELinuxOptions) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 s e linux options

type IoK8sAPICoreV1ScaleIOPersistentVolumeSource

type IoK8sAPICoreV1ScaleIOPersistentVolumeSource struct {

	// Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs"
	FsType string `json:"fsType,omitempty"`

	// The host address of the ScaleIO API Gateway.
	// Required: true
	Gateway *string `json:"gateway"`

	// The name of the ScaleIO Protection Domain for the configured storage.
	ProtectionDomain string `json:"protectionDomain,omitempty"`

	// Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly bool `json:"readOnly,omitempty"`

	// SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
	// Required: true
	SecretRef *IoK8sAPICoreV1SecretReference `json:"secretRef"`

	// Flag to enable/disable SSL communication with Gateway, default false
	SslEnabled bool `json:"sslEnabled,omitempty"`

	// Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
	StorageMode string `json:"storageMode,omitempty"`

	// The ScaleIO Storage Pool associated with the protection domain.
	StoragePool string `json:"storagePool,omitempty"`

	// The name of the storage system as configured in ScaleIO.
	// Required: true
	System *string `json:"system"`

	// The name of a volume already created in the ScaleIO system that is associated with this volume source.
	VolumeName string `json:"volumeName,omitempty"`
}

IoK8sAPICoreV1ScaleIOPersistentVolumeSource ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume

swagger:model io.k8s.api.core.v1.ScaleIOPersistentVolumeSource

func (*IoK8sAPICoreV1ScaleIOPersistentVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1ScaleIOPersistentVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ScaleIOPersistentVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1ScaleIOPersistentVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ScaleIOPersistentVolumeSource) Validate

Validate validates this io k8s api core v1 scale i o persistent volume source

type IoK8sAPICoreV1ScaleIOVolumeSource

type IoK8sAPICoreV1ScaleIOVolumeSource struct {

	// Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs".
	FsType string `json:"fsType,omitempty"`

	// The host address of the ScaleIO API Gateway.
	// Required: true
	Gateway *string `json:"gateway"`

	// The name of the ScaleIO Protection Domain for the configured storage.
	ProtectionDomain string `json:"protectionDomain,omitempty"`

	// Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly bool `json:"readOnly,omitempty"`

	// SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
	// Required: true
	SecretRef *IoK8sAPICoreV1LocalObjectReference `json:"secretRef"`

	// Flag to enable/disable SSL communication with Gateway, default false
	SslEnabled bool `json:"sslEnabled,omitempty"`

	// Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
	StorageMode string `json:"storageMode,omitempty"`

	// The ScaleIO Storage Pool associated with the protection domain.
	StoragePool string `json:"storagePool,omitempty"`

	// The name of the storage system as configured in ScaleIO.
	// Required: true
	System *string `json:"system"`

	// The name of a volume already created in the ScaleIO system that is associated with this volume source.
	VolumeName string `json:"volumeName,omitempty"`
}

IoK8sAPICoreV1ScaleIOVolumeSource ScaleIOVolumeSource represents a persistent ScaleIO volume

swagger:model io.k8s.api.core.v1.ScaleIOVolumeSource

func (*IoK8sAPICoreV1ScaleIOVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1ScaleIOVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ScaleIOVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1ScaleIOVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ScaleIOVolumeSource) Validate

Validate validates this io k8s api core v1 scale i o volume source

type IoK8sAPICoreV1ScopeSelector

type IoK8sAPICoreV1ScopeSelector struct {

	// A list of scope selector requirements by scope of the resources.
	MatchExpressions []*IoK8sAPICoreV1ScopedResourceSelectorRequirement `json:"matchExpressions"`
}

IoK8sAPICoreV1ScopeSelector A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.

swagger:model io.k8s.api.core.v1.ScopeSelector

func (*IoK8sAPICoreV1ScopeSelector) MarshalBinary

func (m *IoK8sAPICoreV1ScopeSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ScopeSelector) UnmarshalBinary

func (m *IoK8sAPICoreV1ScopeSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ScopeSelector) Validate

func (m *IoK8sAPICoreV1ScopeSelector) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 scope selector

type IoK8sAPICoreV1ScopedResourceSelectorRequirement

type IoK8sAPICoreV1ScopedResourceSelectorRequirement struct {

	// Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
	// Required: true
	Operator *string `json:"operator"`

	// The name of the scope that the selector applies to.
	// Required: true
	ScopeName *string `json:"scopeName"`

	// 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.
	Values []string `json:"values"`
}

IoK8sAPICoreV1ScopedResourceSelectorRequirement A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.

swagger:model io.k8s.api.core.v1.ScopedResourceSelectorRequirement

func (*IoK8sAPICoreV1ScopedResourceSelectorRequirement) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ScopedResourceSelectorRequirement) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ScopedResourceSelectorRequirement) Validate

Validate validates this io k8s api core v1 scoped resource selector requirement

type IoK8sAPICoreV1SeccompProfile

type IoK8sAPICoreV1SeccompProfile struct {

	// localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost".
	LocalhostProfile string `json:"localhostProfile,omitempty"`

	// type indicates which kind of seccomp profile will be applied. Valid options are:
	//
	// Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPICoreV1SeccompProfile SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.

swagger:model io.k8s.api.core.v1.SeccompProfile

func (*IoK8sAPICoreV1SeccompProfile) MarshalBinary

func (m *IoK8sAPICoreV1SeccompProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1SeccompProfile) UnmarshalBinary

func (m *IoK8sAPICoreV1SeccompProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1SeccompProfile) Validate

func (m *IoK8sAPICoreV1SeccompProfile) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 seccomp profile

type IoK8sAPICoreV1Secret

type IoK8sAPICoreV1Secret struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. 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
	Data map[string]strfmt.Base64 `json:"data,omitempty"`

	// Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate.
	Immutable bool `json:"immutable,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// 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.
	StringData map[string]string `json:"stringData,omitempty"`

	// Used to facilitate programmatic handling of secret data.
	Type string `json:"type,omitempty"`
}

IoK8sAPICoreV1Secret Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.

swagger:model io.k8s.api.core.v1.Secret

func (*IoK8sAPICoreV1Secret) MarshalBinary

func (m *IoK8sAPICoreV1Secret) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Secret) UnmarshalBinary

func (m *IoK8sAPICoreV1Secret) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Secret) Validate

func (m *IoK8sAPICoreV1Secret) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 secret

type IoK8sAPICoreV1SecretEnvSource

type IoK8sAPICoreV1SecretEnvSource struct {

	// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name string `json:"name,omitempty"`

	// Specify whether the Secret must be defined
	Optional bool `json:"optional,omitempty"`
}

IoK8sAPICoreV1SecretEnvSource SecretEnvSource selects a Secret to populate the environment variables with.

The contents of the target Secret's Data field will represent the key-value pairs as environment variables.

swagger:model io.k8s.api.core.v1.SecretEnvSource

func (*IoK8sAPICoreV1SecretEnvSource) MarshalBinary

func (m *IoK8sAPICoreV1SecretEnvSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1SecretEnvSource) UnmarshalBinary

func (m *IoK8sAPICoreV1SecretEnvSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1SecretEnvSource) Validate

func (m *IoK8sAPICoreV1SecretEnvSource) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 secret env source

type IoK8sAPICoreV1SecretKeySelector

type IoK8sAPICoreV1SecretKeySelector struct {

	// The key of the secret to select from.  Must be a valid secret key.
	// Required: true
	Key *string `json:"key"`

	// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name string `json:"name,omitempty"`

	// Specify whether the Secret or its key must be defined
	Optional bool `json:"optional,omitempty"`
}

IoK8sAPICoreV1SecretKeySelector SecretKeySelector selects a key of a Secret.

swagger:model io.k8s.api.core.v1.SecretKeySelector

func (*IoK8sAPICoreV1SecretKeySelector) MarshalBinary

func (m *IoK8sAPICoreV1SecretKeySelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1SecretKeySelector) UnmarshalBinary

func (m *IoK8sAPICoreV1SecretKeySelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1SecretKeySelector) Validate

Validate validates this io k8s api core v1 secret key selector

type IoK8sAPICoreV1SecretList

type IoK8sAPICoreV1SecretList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret
	// Required: true
	Items []*IoK8sAPICoreV1Secret `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1SecretList SecretList is a list of Secret.

swagger:model io.k8s.api.core.v1.SecretList

func (*IoK8sAPICoreV1SecretList) MarshalBinary

func (m *IoK8sAPICoreV1SecretList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1SecretList) UnmarshalBinary

func (m *IoK8sAPICoreV1SecretList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1SecretList) Validate

func (m *IoK8sAPICoreV1SecretList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 secret list

type IoK8sAPICoreV1SecretProjection

type IoK8sAPICoreV1SecretProjection struct {

	// 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 unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
	Items []*IoK8sAPICoreV1KeyToPath `json:"items"`

	// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name string `json:"name,omitempty"`

	// Specify whether the Secret or its key must be defined
	Optional bool `json:"optional,omitempty"`
}

IoK8sAPICoreV1SecretProjection Adapts a secret into a projected volume.

The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.

swagger:model io.k8s.api.core.v1.SecretProjection

func (*IoK8sAPICoreV1SecretProjection) MarshalBinary

func (m *IoK8sAPICoreV1SecretProjection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1SecretProjection) UnmarshalBinary

func (m *IoK8sAPICoreV1SecretProjection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1SecretProjection) Validate

func (m *IoK8sAPICoreV1SecretProjection) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 secret projection

type IoK8sAPICoreV1SecretReference

type IoK8sAPICoreV1SecretReference struct {

	// Name is unique within a namespace to reference a secret resource.
	Name string `json:"name,omitempty"`

	// Namespace defines the space within which the secret name must be unique.
	Namespace string `json:"namespace,omitempty"`
}

IoK8sAPICoreV1SecretReference SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace

swagger:model io.k8s.api.core.v1.SecretReference

func (*IoK8sAPICoreV1SecretReference) MarshalBinary

func (m *IoK8sAPICoreV1SecretReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1SecretReference) UnmarshalBinary

func (m *IoK8sAPICoreV1SecretReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1SecretReference) Validate

func (m *IoK8sAPICoreV1SecretReference) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 secret reference

type IoK8sAPICoreV1SecretVolumeSource

type IoK8sAPICoreV1SecretVolumeSource struct {

	// Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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.
	DefaultMode int32 `json:"defaultMode,omitempty"`

	// 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 unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
	Items []*IoK8sAPICoreV1KeyToPath `json:"items"`

	// Specify whether the Secret or its keys must be defined
	Optional bool `json:"optional,omitempty"`

	// Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
	SecretName string `json:"secretName,omitempty"`
}

IoK8sAPICoreV1SecretVolumeSource Adapts a Secret into a volume.

The 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.

swagger:model io.k8s.api.core.v1.SecretVolumeSource

func (*IoK8sAPICoreV1SecretVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1SecretVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1SecretVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1SecretVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1SecretVolumeSource) Validate

Validate validates this io k8s api core v1 secret volume source

type IoK8sAPICoreV1SecurityContext

type IoK8sAPICoreV1SecurityContext struct {

	// AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN
	AllowPrivilegeEscalation bool `json:"allowPrivilegeEscalation,omitempty"`

	// The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.
	Capabilities *IoK8sAPICoreV1Capabilities `json:"capabilities,omitempty"`

	// Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.
	Privileged bool `json:"privileged,omitempty"`

	// procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.
	ProcMount string `json:"procMount,omitempty"`

	// Whether this container has a read-only root filesystem. Default is false.
	ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem,omitempty"`

	// The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
	RunAsGroup int64 `json:"runAsGroup,omitempty"`

	// 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.
	RunAsNonRoot bool `json:"runAsNonRoot,omitempty"`

	// 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.
	RunAsUser int64 `json:"runAsUser,omitempty"`

	// 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.
	SeLinuxOptions *IoK8sAPICoreV1SELinuxOptions `json:"seLinuxOptions,omitempty"`

	// The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options.
	SeccompProfile *IoK8sAPICoreV1SeccompProfile `json:"seccompProfile,omitempty"`

	// The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
	WindowsOptions *IoK8sAPICoreV1WindowsSecurityContextOptions `json:"windowsOptions,omitempty"`
}

IoK8sAPICoreV1SecurityContext 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.

swagger:model io.k8s.api.core.v1.SecurityContext

func (*IoK8sAPICoreV1SecurityContext) MarshalBinary

func (m *IoK8sAPICoreV1SecurityContext) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1SecurityContext) UnmarshalBinary

func (m *IoK8sAPICoreV1SecurityContext) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1SecurityContext) Validate

func (m *IoK8sAPICoreV1SecurityContext) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 security context

type IoK8sAPICoreV1Service

type IoK8sAPICoreV1Service struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPICoreV1ServiceSpec `json:"spec,omitempty"`

	// Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IoK8sAPICoreV1ServiceStatus `json:"status,omitempty"`
}

IoK8sAPICoreV1Service 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.

swagger:model io.k8s.api.core.v1.Service

func (*IoK8sAPICoreV1Service) MarshalBinary

func (m *IoK8sAPICoreV1Service) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Service) UnmarshalBinary

func (m *IoK8sAPICoreV1Service) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Service) Validate

func (m *IoK8sAPICoreV1Service) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 service

type IoK8sAPICoreV1ServiceAccount

type IoK8sAPICoreV1ServiceAccount struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.
	AutomountServiceAccountToken bool `json:"automountServiceAccountToken,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
	ImagePullSecrets []*IoK8sAPICoreV1LocalObjectReference `json:"imagePullSecrets"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret
	Secrets []*IoK8sAPICoreV1ObjectReference `json:"secrets"`
}

IoK8sAPICoreV1ServiceAccount 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

swagger:model io.k8s.api.core.v1.ServiceAccount

func (*IoK8sAPICoreV1ServiceAccount) MarshalBinary

func (m *IoK8sAPICoreV1ServiceAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ServiceAccount) UnmarshalBinary

func (m *IoK8sAPICoreV1ServiceAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ServiceAccount) Validate

func (m *IoK8sAPICoreV1ServiceAccount) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 service account

type IoK8sAPICoreV1ServiceAccountList

type IoK8sAPICoreV1ServiceAccountList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
	// Required: true
	Items []*IoK8sAPICoreV1ServiceAccount `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1ServiceAccountList ServiceAccountList is a list of ServiceAccount objects

swagger:model io.k8s.api.core.v1.ServiceAccountList

func (*IoK8sAPICoreV1ServiceAccountList) MarshalBinary

func (m *IoK8sAPICoreV1ServiceAccountList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ServiceAccountList) UnmarshalBinary

func (m *IoK8sAPICoreV1ServiceAccountList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ServiceAccountList) Validate

Validate validates this io k8s api core v1 service account list

type IoK8sAPICoreV1ServiceAccountTokenProjection

type IoK8sAPICoreV1ServiceAccountTokenProjection struct {

	// Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.
	Audience string `json:"audience,omitempty"`

	// ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.
	ExpirationSeconds int64 `json:"expirationSeconds,omitempty"`

	// Path is the path relative to the mount point of the file to project the token into.
	// Required: true
	Path *string `json:"path"`
}

IoK8sAPICoreV1ServiceAccountTokenProjection ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).

swagger:model io.k8s.api.core.v1.ServiceAccountTokenProjection

func (*IoK8sAPICoreV1ServiceAccountTokenProjection) MarshalBinary

func (m *IoK8sAPICoreV1ServiceAccountTokenProjection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ServiceAccountTokenProjection) UnmarshalBinary

func (m *IoK8sAPICoreV1ServiceAccountTokenProjection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ServiceAccountTokenProjection) Validate

Validate validates this io k8s api core v1 service account token projection

type IoK8sAPICoreV1ServiceList

type IoK8sAPICoreV1ServiceList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of services
	// Required: true
	Items []*IoK8sAPICoreV1Service `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPICoreV1ServiceList ServiceList holds a list of services.

swagger:model io.k8s.api.core.v1.ServiceList

func (*IoK8sAPICoreV1ServiceList) MarshalBinary

func (m *IoK8sAPICoreV1ServiceList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ServiceList) UnmarshalBinary

func (m *IoK8sAPICoreV1ServiceList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ServiceList) Validate

func (m *IoK8sAPICoreV1ServiceList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 service list

type IoK8sAPICoreV1ServicePort

type IoK8sAPICoreV1ServicePort struct {

	// The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default.
	AppProtocol string `json:"appProtocol,omitempty"`

	// The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service.
	Name string `json:"name,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
	NodePort int32 `json:"nodePort,omitempty"`

	// The port that will be exposed by this service.
	// Required: true
	Port *int32 `json:"port"`

	// The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP.
	Protocol string `json:"protocol,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service
	TargetPort IoK8sApimachineryPkgUtilIntstrIntOrString `json:"targetPort,omitempty"`
}

IoK8sAPICoreV1ServicePort ServicePort contains information on service's port.

swagger:model io.k8s.api.core.v1.ServicePort

func (*IoK8sAPICoreV1ServicePort) MarshalBinary

func (m *IoK8sAPICoreV1ServicePort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ServicePort) UnmarshalBinary

func (m *IoK8sAPICoreV1ServicePort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ServicePort) Validate

func (m *IoK8sAPICoreV1ServicePort) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 service port

type IoK8sAPICoreV1ServiceSpec

type IoK8sAPICoreV1ServiceSpec struct {

	// 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: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	ClusterIP string `json:"clusterIP,omitempty"`

	// 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.
	ExternalIPs []string `json:"externalIPs"`

	// 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 RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be ExternalName.
	ExternalName string `json:"externalName,omitempty"`

	// externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. "Local" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. "Cluster" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading.
	ExternalTrafficPolicy string `json:"externalTrafficPolicy,omitempty"`

	// healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.
	HealthCheckNodePort int32 `json:"healthCheckNodePort,omitempty"`

	// ipFamily specifies whether this Service has a preference for a particular IP family (e.g. IPv4 vs. IPv6) when the IPv6DualStack feature gate is enabled. In a dual-stack cluster, you can specify ipFamily when creating a ClusterIP Service to determine whether the controller will allocate an IPv4 or IPv6 IP for it, and you can specify ipFamily when creating a headless Service to determine whether it will have IPv4 or IPv6 Endpoints. In either case, if you do not specify an ipFamily explicitly, it will default to the cluster's primary IP family. This field is part of an alpha feature, and you should not make any assumptions about its semantics other than those described above. In particular, you should not assume that it can (or cannot) be changed after creation time; that it can only have the values "IPv4" and "IPv6"; or that its current value on a given Service correctly reflects the current state of that Service. (For ClusterIP Services, look at clusterIP to see if the Service is IPv4 or IPv6. For headless Services, look at the endpoints, which may be dual-stack in the future. For ExternalName Services, ipFamily has no meaning, but it may be set to an irrelevant value anyway.)
	IPFamily string `json:"ipFamily,omitempty"`

	// 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.
	LoadBalancerIP string `json:"loadBalancerIP,omitempty"`

	// 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: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/
	LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges"`

	// The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	Ports []*IoK8sAPICoreV1ServicePort `json:"ports"`

	// publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered "ready" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior.
	PublishNotReadyAddresses bool `json:"publishNotReadyAddresses,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/services-networking/service/
	Selector map[string]string `json:"selector,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	SessionAffinity string `json:"sessionAffinity,omitempty"`

	// sessionAffinityConfig contains the configurations of session affinity.
	SessionAffinityConfig *IoK8sAPICoreV1SessionAffinityConfig `json:"sessionAffinityConfig,omitempty"`

	// topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value "*" may be used to mean "any topology". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied.
	TopologyKeys []string `json:"topologyKeys"`

	// 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: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
	Type string `json:"type,omitempty"`
}

IoK8sAPICoreV1ServiceSpec ServiceSpec describes the attributes that a user creates on a service.

swagger:model io.k8s.api.core.v1.ServiceSpec

func (*IoK8sAPICoreV1ServiceSpec) MarshalBinary

func (m *IoK8sAPICoreV1ServiceSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ServiceSpec) UnmarshalBinary

func (m *IoK8sAPICoreV1ServiceSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ServiceSpec) Validate

func (m *IoK8sAPICoreV1ServiceSpec) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 service spec

type IoK8sAPICoreV1ServiceStatus

type IoK8sAPICoreV1ServiceStatus struct {

	// LoadBalancer contains the current status of the load-balancer, if one is present.
	LoadBalancer *IoK8sAPICoreV1LoadBalancerStatus `json:"loadBalancer,omitempty"`
}

IoK8sAPICoreV1ServiceStatus ServiceStatus represents the current status of a service.

swagger:model io.k8s.api.core.v1.ServiceStatus

func (*IoK8sAPICoreV1ServiceStatus) MarshalBinary

func (m *IoK8sAPICoreV1ServiceStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1ServiceStatus) UnmarshalBinary

func (m *IoK8sAPICoreV1ServiceStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1ServiceStatus) Validate

func (m *IoK8sAPICoreV1ServiceStatus) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 service status

type IoK8sAPICoreV1SessionAffinityConfig

type IoK8sAPICoreV1SessionAffinityConfig struct {

	// clientIP contains the configurations of Client IP based session affinity.
	ClientIP *IoK8sAPICoreV1ClientIPConfig `json:"clientIP,omitempty"`
}

IoK8sAPICoreV1SessionAffinityConfig SessionAffinityConfig represents the configurations of session affinity.

swagger:model io.k8s.api.core.v1.SessionAffinityConfig

func (*IoK8sAPICoreV1SessionAffinityConfig) MarshalBinary

func (m *IoK8sAPICoreV1SessionAffinityConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1SessionAffinityConfig) UnmarshalBinary

func (m *IoK8sAPICoreV1SessionAffinityConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1SessionAffinityConfig) Validate

Validate validates this io k8s api core v1 session affinity config

type IoK8sAPICoreV1StorageOSPersistentVolumeSource

type IoK8sAPICoreV1StorageOSPersistentVolumeSource struct {

	// 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.
	FsType string `json:"fsType,omitempty"`

	// Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly bool `json:"readOnly,omitempty"`

	// SecretRef specifies the secret to use for obtaining the StorageOS API credentials.  If not specified, default values will be attempted.
	SecretRef *IoK8sAPICoreV1ObjectReference `json:"secretRef,omitempty"`

	// VolumeName is the human-readable name of the StorageOS volume.  Volume names are only unique within a namespace.
	VolumeName string `json:"volumeName,omitempty"`

	// VolumeNamespace specifies the scope of the volume within StorageOS.  If no namespace is specified then the Pod's namespace will be used.  This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
	VolumeNamespace string `json:"volumeNamespace,omitempty"`
}

IoK8sAPICoreV1StorageOSPersistentVolumeSource Represents a StorageOS persistent volume resource.

swagger:model io.k8s.api.core.v1.StorageOSPersistentVolumeSource

func (*IoK8sAPICoreV1StorageOSPersistentVolumeSource) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICoreV1StorageOSPersistentVolumeSource) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1StorageOSPersistentVolumeSource) Validate

Validate validates this io k8s api core v1 storage o s persistent volume source

type IoK8sAPICoreV1StorageOSVolumeSource

type IoK8sAPICoreV1StorageOSVolumeSource struct {

	// 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.
	FsType string `json:"fsType,omitempty"`

	// Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
	ReadOnly bool `json:"readOnly,omitempty"`

	// SecretRef specifies the secret to use for obtaining the StorageOS API credentials.  If not specified, default values will be attempted.
	SecretRef *IoK8sAPICoreV1LocalObjectReference `json:"secretRef,omitempty"`

	// VolumeName is the human-readable name of the StorageOS volume.  Volume names are only unique within a namespace.
	VolumeName string `json:"volumeName,omitempty"`

	// VolumeNamespace specifies the scope of the volume within StorageOS.  If no namespace is specified then the Pod's namespace will be used.  This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
	VolumeNamespace string `json:"volumeNamespace,omitempty"`
}

IoK8sAPICoreV1StorageOSVolumeSource Represents a StorageOS persistent volume resource.

swagger:model io.k8s.api.core.v1.StorageOSVolumeSource

func (*IoK8sAPICoreV1StorageOSVolumeSource) MarshalBinary

func (m *IoK8sAPICoreV1StorageOSVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1StorageOSVolumeSource) UnmarshalBinary

func (m *IoK8sAPICoreV1StorageOSVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1StorageOSVolumeSource) Validate

Validate validates this io k8s api core v1 storage o s volume source

type IoK8sAPICoreV1Sysctl

type IoK8sAPICoreV1Sysctl struct {

	// Name of a property to set
	// Required: true
	Name *string `json:"name"`

	// Value of a property to set
	// Required: true
	Value *string `json:"value"`
}

IoK8sAPICoreV1Sysctl Sysctl defines a kernel parameter to be set

swagger:model io.k8s.api.core.v1.Sysctl

func (*IoK8sAPICoreV1Sysctl) MarshalBinary

func (m *IoK8sAPICoreV1Sysctl) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Sysctl) UnmarshalBinary

func (m *IoK8sAPICoreV1Sysctl) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Sysctl) Validate

func (m *IoK8sAPICoreV1Sysctl) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 sysctl

type IoK8sAPICoreV1TCPSocketAction

type IoK8sAPICoreV1TCPSocketAction struct {

	// Optional: Host name to connect to, defaults to the pod IP.
	Host string `json:"host,omitempty"`

	// 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.
	// Required: true
	Port IoK8sApimachineryPkgUtilIntstrIntOrString `json:"port"`
}

IoK8sAPICoreV1TCPSocketAction TCPSocketAction describes an action based on opening a socket

swagger:model io.k8s.api.core.v1.TCPSocketAction

func (*IoK8sAPICoreV1TCPSocketAction) MarshalBinary

func (m *IoK8sAPICoreV1TCPSocketAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1TCPSocketAction) UnmarshalBinary

func (m *IoK8sAPICoreV1TCPSocketAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1TCPSocketAction) Validate

func (m *IoK8sAPICoreV1TCPSocketAction) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 TCP socket action

type IoK8sAPICoreV1Taint

type IoK8sAPICoreV1Taint struct {

	// Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
	// Required: true
	Effect *string `json:"effect"`

	// Required. The taint key to be applied to a node.
	// Required: true
	Key *string `json:"key"`

	// TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.
	// Format: date-time
	TimeAdded IoK8sApimachineryPkgApisMetaV1Time `json:"timeAdded,omitempty"`

	// The taint value corresponding to the taint key.
	Value string `json:"value,omitempty"`
}

IoK8sAPICoreV1Taint The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.

swagger:model io.k8s.api.core.v1.Taint

func (*IoK8sAPICoreV1Taint) MarshalBinary

func (m *IoK8sAPICoreV1Taint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Taint) UnmarshalBinary

func (m *IoK8sAPICoreV1Taint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Taint) Validate

func (m *IoK8sAPICoreV1Taint) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 taint

type IoK8sAPICoreV1Toleration

type IoK8sAPICoreV1Toleration struct {

	// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
	Effect string `json:"effect,omitempty"`

	// Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
	Key string `json:"key,omitempty"`

	// 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.
	Operator string `json:"operator,omitempty"`

	// TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
	TolerationSeconds int64 `json:"tolerationSeconds,omitempty"`

	// Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
	Value string `json:"value,omitempty"`
}

IoK8sAPICoreV1Toleration The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.

swagger:model io.k8s.api.core.v1.Toleration

func (*IoK8sAPICoreV1Toleration) MarshalBinary

func (m *IoK8sAPICoreV1Toleration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Toleration) UnmarshalBinary

func (m *IoK8sAPICoreV1Toleration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Toleration) Validate

func (m *IoK8sAPICoreV1Toleration) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 toleration

type IoK8sAPICoreV1TopologySelectorLabelRequirement

type IoK8sAPICoreV1TopologySelectorLabelRequirement struct {

	// The label key that the selector applies to.
	// Required: true
	Key *string `json:"key"`

	// An array of string values. One value must match the label to be selected. Each entry in Values is ORed.
	// Required: true
	Values []string `json:"values"`
}

IoK8sAPICoreV1TopologySelectorLabelRequirement A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.

swagger:model io.k8s.api.core.v1.TopologySelectorLabelRequirement

func (*IoK8sAPICoreV1TopologySelectorLabelRequirement) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICoreV1TopologySelectorLabelRequirement) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1TopologySelectorLabelRequirement) Validate

Validate validates this io k8s api core v1 topology selector label requirement

type IoK8sAPICoreV1TopologySelectorTerm

type IoK8sAPICoreV1TopologySelectorTerm struct {

	// A list of topology selector requirements by labels.
	MatchLabelExpressions []*IoK8sAPICoreV1TopologySelectorLabelRequirement `json:"matchLabelExpressions"`
}

IoK8sAPICoreV1TopologySelectorTerm A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.

swagger:model io.k8s.api.core.v1.TopologySelectorTerm

func (*IoK8sAPICoreV1TopologySelectorTerm) MarshalBinary

func (m *IoK8sAPICoreV1TopologySelectorTerm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1TopologySelectorTerm) UnmarshalBinary

func (m *IoK8sAPICoreV1TopologySelectorTerm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1TopologySelectorTerm) Validate

Validate validates this io k8s api core v1 topology selector term

type IoK8sAPICoreV1TopologySpreadConstraint

type IoK8sAPICoreV1TopologySpreadConstraint struct {

	// LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain.
	LabelSelector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"labelSelector,omitempty"`

	// MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | |   P   |   P   |       | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed.
	// Required: true
	MaxSkew *int32 `json:"maxSkew"`

	// TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each <key, value> as a "bucket", and try to put balanced number of pods into each bucket. It's a required field.
	// Required: true
	TopologyKey *string `json:"topologyKey"`

	// WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,
	//   but giving higher precedence to topologies that would help reduce the
	//   skew.
	// A constraint is considered "Unsatisfiable" for an incoming pod if and only if every possible node assigment for that pod would violate "MaxSkew" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P |   P   |   P   | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.
	// Required: true
	WhenUnsatisfiable *string `json:"whenUnsatisfiable"`
}

IoK8sAPICoreV1TopologySpreadConstraint TopologySpreadConstraint specifies how to spread matching pods among the given topology.

swagger:model io.k8s.api.core.v1.TopologySpreadConstraint

func (*IoK8sAPICoreV1TopologySpreadConstraint) MarshalBinary

func (m *IoK8sAPICoreV1TopologySpreadConstraint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1TopologySpreadConstraint) UnmarshalBinary

func (m *IoK8sAPICoreV1TopologySpreadConstraint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1TopologySpreadConstraint) Validate

Validate validates this io k8s api core v1 topology spread constraint

type IoK8sAPICoreV1TypedLocalObjectReference

type IoK8sAPICoreV1TypedLocalObjectReference struct {

	// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
	APIGroup string `json:"apiGroup,omitempty"`

	// Kind is the type of resource being referenced
	// Required: true
	Kind *string `json:"kind"`

	// Name is the name of resource being referenced
	// Required: true
	Name *string `json:"name"`
}

IoK8sAPICoreV1TypedLocalObjectReference TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.

swagger:model io.k8s.api.core.v1.TypedLocalObjectReference

func (*IoK8sAPICoreV1TypedLocalObjectReference) MarshalBinary

func (m *IoK8sAPICoreV1TypedLocalObjectReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1TypedLocalObjectReference) UnmarshalBinary

func (m *IoK8sAPICoreV1TypedLocalObjectReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1TypedLocalObjectReference) Validate

Validate validates this io k8s api core v1 typed local object reference

type IoK8sAPICoreV1Volume

type IoK8sAPICoreV1Volume struct {

	// AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
	AwsElasticBlockStore *IoK8sAPICoreV1AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty"`

	// AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
	AzureDisk *IoK8sAPICoreV1AzureDiskVolumeSource `json:"azureDisk,omitempty"`

	// AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
	AzureFile *IoK8sAPICoreV1AzureFileVolumeSource `json:"azureFile,omitempty"`

	// CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
	Cephfs *IoK8sAPICoreV1CephFSVolumeSource `json:"cephfs,omitempty"`

	// Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
	Cinder *IoK8sAPICoreV1CinderVolumeSource `json:"cinder,omitempty"`

	// ConfigMap represents a configMap that should populate this volume
	ConfigMap *IoK8sAPICoreV1ConfigMapVolumeSource `json:"configMap,omitempty"`

	// CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).
	Csi *IoK8sAPICoreV1CSIVolumeSource `json:"csi,omitempty"`

	// DownwardAPI represents downward API about the pod that should populate this volume
	DownwardAPI *IoK8sAPICoreV1DownwardAPIVolumeSource `json:"downwardAPI,omitempty"`

	// EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
	EmptyDir *IoK8sAPICoreV1EmptyDirVolumeSource `json:"emptyDir,omitempty"`

	// Ephemeral represents a volume that is handled by a cluster storage driver (Alpha feature). The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed.
	//
	// Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity
	//    tracking are needed,
	// c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through
	//    a PersistentVolumeClaim (see EphemeralVolumeSource for more
	//    information on the connection between this volume type
	//    and PersistentVolumeClaim).
	//
	// Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod.
	//
	// Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information.
	//
	// A pod can use both types of ephemeral volumes and persistent volumes at the same time.
	Ephemeral *IoK8sAPICoreV1EphemeralVolumeSource `json:"ephemeral,omitempty"`

	// FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
	Fc *IoK8sAPICoreV1FCVolumeSource `json:"fc,omitempty"`

	// FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
	FlexVolume *IoK8sAPICoreV1FlexVolumeSource `json:"flexVolume,omitempty"`

	// Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
	Flocker *IoK8sAPICoreV1FlockerVolumeSource `json:"flocker,omitempty"`

	// GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
	GcePersistentDisk *IoK8sAPICoreV1GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty"`

	// GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.
	GitRepo *IoK8sAPICoreV1GitRepoVolumeSource `json:"gitRepo,omitempty"`

	// Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md
	Glusterfs *IoK8sAPICoreV1GlusterfsVolumeSource `json:"glusterfs,omitempty"`

	// 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: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
	HostPath *IoK8sAPICoreV1HostPathVolumeSource `json:"hostPath,omitempty"`

	// ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md
	Iscsi *IoK8sAPICoreV1ISCSIVolumeSource `json:"iscsi,omitempty"`

	// Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// Required: true
	Name *string `json:"name"`

	// NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
	Nfs *IoK8sAPICoreV1NFSVolumeSource `json:"nfs,omitempty"`

	// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
	PersistentVolumeClaim *IoK8sAPICoreV1PersistentVolumeClaimVolumeSource `json:"persistentVolumeClaim,omitempty"`

	// PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
	PhotonPersistentDisk *IoK8sAPICoreV1PhotonPersistentDiskVolumeSource `json:"photonPersistentDisk,omitempty"`

	// PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
	PortworxVolume *IoK8sAPICoreV1PortworxVolumeSource `json:"portworxVolume,omitempty"`

	// Items for all in one resources secrets, configmaps, and downward API
	Projected *IoK8sAPICoreV1ProjectedVolumeSource `json:"projected,omitempty"`

	// Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
	Quobyte *IoK8sAPICoreV1QuobyteVolumeSource `json:"quobyte,omitempty"`

	// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md
	Rbd *IoK8sAPICoreV1RBDVolumeSource `json:"rbd,omitempty"`

	// ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
	ScaleIO *IoK8sAPICoreV1ScaleIOVolumeSource `json:"scaleIO,omitempty"`

	// Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
	Secret *IoK8sAPICoreV1SecretVolumeSource `json:"secret,omitempty"`

	// StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
	Storageos *IoK8sAPICoreV1StorageOSVolumeSource `json:"storageos,omitempty"`

	// VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
	VsphereVolume *IoK8sAPICoreV1VsphereVirtualDiskVolumeSource `json:"vsphereVolume,omitempty"`
}

IoK8sAPICoreV1Volume Volume represents a named volume in a pod that may be accessed by any container in the pod.

swagger:model io.k8s.api.core.v1.Volume

func (*IoK8sAPICoreV1Volume) MarshalBinary

func (m *IoK8sAPICoreV1Volume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1Volume) UnmarshalBinary

func (m *IoK8sAPICoreV1Volume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1Volume) Validate

func (m *IoK8sAPICoreV1Volume) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 volume

type IoK8sAPICoreV1VolumeDevice

type IoK8sAPICoreV1VolumeDevice struct {

	// devicePath is the path inside of the container that the device will be mapped to.
	// Required: true
	DevicePath *string `json:"devicePath"`

	// name must match the name of a persistentVolumeClaim in the pod
	// Required: true
	Name *string `json:"name"`
}

IoK8sAPICoreV1VolumeDevice volumeDevice describes a mapping of a raw block device within a container.

swagger:model io.k8s.api.core.v1.VolumeDevice

func (*IoK8sAPICoreV1VolumeDevice) MarshalBinary

func (m *IoK8sAPICoreV1VolumeDevice) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1VolumeDevice) UnmarshalBinary

func (m *IoK8sAPICoreV1VolumeDevice) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1VolumeDevice) Validate

func (m *IoK8sAPICoreV1VolumeDevice) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 volume device

type IoK8sAPICoreV1VolumeMount

type IoK8sAPICoreV1VolumeMount struct {

	// Path within the container at which the volume should be mounted.  Must not contain ':'.
	// Required: true
	MountPath *string `json:"mountPath"`

	// mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.
	MountPropagation string `json:"mountPropagation,omitempty"`

	// This must match the Name of a Volume.
	// Required: true
	Name *string `json:"name"`

	// Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.
	ReadOnly bool `json:"readOnly,omitempty"`

	// Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
	SubPath string `json:"subPath,omitempty"`

	// Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive.
	SubPathExpr string `json:"subPathExpr,omitempty"`
}

IoK8sAPICoreV1VolumeMount VolumeMount describes a mounting of a Volume within a container.

swagger:model io.k8s.api.core.v1.VolumeMount

func (*IoK8sAPICoreV1VolumeMount) MarshalBinary

func (m *IoK8sAPICoreV1VolumeMount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1VolumeMount) UnmarshalBinary

func (m *IoK8sAPICoreV1VolumeMount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1VolumeMount) Validate

func (m *IoK8sAPICoreV1VolumeMount) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 volume mount

type IoK8sAPICoreV1VolumeNodeAffinity

type IoK8sAPICoreV1VolumeNodeAffinity struct {

	// Required specifies hard node constraints that must be met.
	Required *IoK8sAPICoreV1NodeSelector `json:"required,omitempty"`
}

IoK8sAPICoreV1VolumeNodeAffinity VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.

swagger:model io.k8s.api.core.v1.VolumeNodeAffinity

func (*IoK8sAPICoreV1VolumeNodeAffinity) MarshalBinary

func (m *IoK8sAPICoreV1VolumeNodeAffinity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1VolumeNodeAffinity) UnmarshalBinary

func (m *IoK8sAPICoreV1VolumeNodeAffinity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1VolumeNodeAffinity) Validate

Validate validates this io k8s api core v1 volume node affinity

type IoK8sAPICoreV1VolumeProjection

type IoK8sAPICoreV1VolumeProjection struct {

	// information about the configMap data to project
	ConfigMap *IoK8sAPICoreV1ConfigMapProjection `json:"configMap,omitempty"`

	// information about the downwardAPI data to project
	DownwardAPI *IoK8sAPICoreV1DownwardAPIProjection `json:"downwardAPI,omitempty"`

	// information about the secret data to project
	Secret *IoK8sAPICoreV1SecretProjection `json:"secret,omitempty"`

	// information about the serviceAccountToken data to project
	ServiceAccountToken *IoK8sAPICoreV1ServiceAccountTokenProjection `json:"serviceAccountToken,omitempty"`
}

IoK8sAPICoreV1VolumeProjection Projection that may be projected along with other supported volume types

swagger:model io.k8s.api.core.v1.VolumeProjection

func (*IoK8sAPICoreV1VolumeProjection) MarshalBinary

func (m *IoK8sAPICoreV1VolumeProjection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1VolumeProjection) UnmarshalBinary

func (m *IoK8sAPICoreV1VolumeProjection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1VolumeProjection) Validate

func (m *IoK8sAPICoreV1VolumeProjection) Validate(formats strfmt.Registry) error

Validate validates this io k8s api core v1 volume projection

type IoK8sAPICoreV1VsphereVirtualDiskVolumeSource

type IoK8sAPICoreV1VsphereVirtualDiskVolumeSource struct {

	// 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.
	FsType string `json:"fsType,omitempty"`

	// Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
	StoragePolicyID string `json:"storagePolicyID,omitempty"`

	// Storage Policy Based Management (SPBM) profile name.
	StoragePolicyName string `json:"storagePolicyName,omitempty"`

	// Path that identifies vSphere volume vmdk
	// Required: true
	VolumePath *string `json:"volumePath"`
}

IoK8sAPICoreV1VsphereVirtualDiskVolumeSource Represents a vSphere volume resource.

swagger:model io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource

func (*IoK8sAPICoreV1VsphereVirtualDiskVolumeSource) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPICoreV1VsphereVirtualDiskVolumeSource) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1VsphereVirtualDiskVolumeSource) Validate

Validate validates this io k8s api core v1 vsphere virtual disk volume source

type IoK8sAPICoreV1WeightedPodAffinityTerm

type IoK8sAPICoreV1WeightedPodAffinityTerm struct {

	// Required. A pod affinity term, associated with the corresponding weight.
	// Required: true
	PodAffinityTerm *IoK8sAPICoreV1PodAffinityTerm `json:"podAffinityTerm"`

	// weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
	// Required: true
	Weight *int32 `json:"weight"`
}

IoK8sAPICoreV1WeightedPodAffinityTerm The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)

swagger:model io.k8s.api.core.v1.WeightedPodAffinityTerm

func (*IoK8sAPICoreV1WeightedPodAffinityTerm) MarshalBinary

func (m *IoK8sAPICoreV1WeightedPodAffinityTerm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1WeightedPodAffinityTerm) UnmarshalBinary

func (m *IoK8sAPICoreV1WeightedPodAffinityTerm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1WeightedPodAffinityTerm) Validate

Validate validates this io k8s api core v1 weighted pod affinity term

type IoK8sAPICoreV1WindowsSecurityContextOptions

type IoK8sAPICoreV1WindowsSecurityContextOptions struct {

	// GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.
	GmsaCredentialSpec string `json:"gmsaCredentialSpec,omitempty"`

	// GMSACredentialSpecName is the name of the GMSA credential spec to use.
	GmsaCredentialSpecName string `json:"gmsaCredentialSpecName,omitempty"`

	// The UserName in Windows to run the entrypoint of the container process. Defaults to the 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.
	RunAsUserName string `json:"runAsUserName,omitempty"`
}

IoK8sAPICoreV1WindowsSecurityContextOptions WindowsSecurityContextOptions contain Windows-specific options and credentials.

swagger:model io.k8s.api.core.v1.WindowsSecurityContextOptions

func (*IoK8sAPICoreV1WindowsSecurityContextOptions) MarshalBinary

func (m *IoK8sAPICoreV1WindowsSecurityContextOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPICoreV1WindowsSecurityContextOptions) UnmarshalBinary

func (m *IoK8sAPICoreV1WindowsSecurityContextOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPICoreV1WindowsSecurityContextOptions) Validate

Validate validates this io k8s api core v1 windows security context options

type IoK8sAPIDiscoveryV1beta1Endpoint

type IoK8sAPIDiscoveryV1beta1Endpoint struct {

	// addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.
	// Required: true
	Addresses []string `json:"addresses"`

	// conditions contains information about the current status of the endpoint.
	Conditions *IoK8sAPIDiscoveryV1beta1EndpointConditions `json:"conditions,omitempty"`

	// hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation.
	Hostname string `json:"hostname,omitempty"`

	// targetRef is a reference to a Kubernetes object that represents this endpoint.
	TargetRef *IoK8sAPICoreV1ObjectReference `json:"targetRef,omitempty"`

	// topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node
	//   where the endpoint is located. This should match the corresponding
	//   node label.
	// * topology.kubernetes.io/zone: the value indicates the zone where the
	//   endpoint is located. This should match the corresponding node label.
	// * topology.kubernetes.io/region: the value indicates the region where the
	//   endpoint is located. This should match the corresponding node label.
	Topology map[string]string `json:"topology,omitempty"`
}

IoK8sAPIDiscoveryV1beta1Endpoint Endpoint represents a single logical "backend" implementing a service.

swagger:model io.k8s.api.discovery.v1beta1.Endpoint

func (*IoK8sAPIDiscoveryV1beta1Endpoint) MarshalBinary

func (m *IoK8sAPIDiscoveryV1beta1Endpoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIDiscoveryV1beta1Endpoint) UnmarshalBinary

func (m *IoK8sAPIDiscoveryV1beta1Endpoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIDiscoveryV1beta1Endpoint) Validate

Validate validates this io k8s api discovery v1beta1 endpoint

type IoK8sAPIDiscoveryV1beta1EndpointConditions

type IoK8sAPIDiscoveryV1beta1EndpointConditions struct {

	// ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready.
	Ready bool `json:"ready,omitempty"`
}

IoK8sAPIDiscoveryV1beta1EndpointConditions EndpointConditions represents the current condition of an endpoint.

swagger:model io.k8s.api.discovery.v1beta1.EndpointConditions

func (*IoK8sAPIDiscoveryV1beta1EndpointConditions) MarshalBinary

func (m *IoK8sAPIDiscoveryV1beta1EndpointConditions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIDiscoveryV1beta1EndpointConditions) UnmarshalBinary

func (m *IoK8sAPIDiscoveryV1beta1EndpointConditions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIDiscoveryV1beta1EndpointConditions) Validate

Validate validates this io k8s api discovery v1beta1 endpoint conditions

type IoK8sAPIDiscoveryV1beta1EndpointPort

type IoK8sAPIDiscoveryV1beta1EndpointPort struct {

	// The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.
	AppProtocol string `json:"appProtocol,omitempty"`

	// The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.
	Name string `json:"name,omitempty"`

	// The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.
	Port int32 `json:"port,omitempty"`

	// The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.
	Protocol string `json:"protocol,omitempty"`
}

IoK8sAPIDiscoveryV1beta1EndpointPort EndpointPort represents a Port used by an EndpointSlice

swagger:model io.k8s.api.discovery.v1beta1.EndpointPort

func (*IoK8sAPIDiscoveryV1beta1EndpointPort) MarshalBinary

func (m *IoK8sAPIDiscoveryV1beta1EndpointPort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIDiscoveryV1beta1EndpointPort) UnmarshalBinary

func (m *IoK8sAPIDiscoveryV1beta1EndpointPort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIDiscoveryV1beta1EndpointPort) Validate

Validate validates this io k8s api discovery v1beta1 endpoint port

type IoK8sAPIDiscoveryV1beta1EndpointSlice

type IoK8sAPIDiscoveryV1beta1EndpointSlice struct {

	// addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.
	// Required: true
	AddressType *string `json:"addressType"`

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.
	// Required: true
	Endpoints []*IoK8sAPIDiscoveryV1beta1Endpoint `json:"endpoints"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports.
	Ports []*IoK8sAPIDiscoveryV1beta1EndpointPort `json:"ports"`
}

IoK8sAPIDiscoveryV1beta1EndpointSlice EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.

swagger:model io.k8s.api.discovery.v1beta1.EndpointSlice

func (*IoK8sAPIDiscoveryV1beta1EndpointSlice) MarshalBinary

func (m *IoK8sAPIDiscoveryV1beta1EndpointSlice) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIDiscoveryV1beta1EndpointSlice) UnmarshalBinary

func (m *IoK8sAPIDiscoveryV1beta1EndpointSlice) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIDiscoveryV1beta1EndpointSlice) Validate

Validate validates this io k8s api discovery v1beta1 endpoint slice

type IoK8sAPIDiscoveryV1beta1EndpointSliceList

type IoK8sAPIDiscoveryV1beta1EndpointSliceList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// List of endpoint slices
	// Required: true
	Items []*IoK8sAPIDiscoveryV1beta1EndpointSlice `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIDiscoveryV1beta1EndpointSliceList EndpointSliceList represents a list of endpoint slices

swagger:model io.k8s.api.discovery.v1beta1.EndpointSliceList

func (*IoK8sAPIDiscoveryV1beta1EndpointSliceList) MarshalBinary

func (m *IoK8sAPIDiscoveryV1beta1EndpointSliceList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIDiscoveryV1beta1EndpointSliceList) UnmarshalBinary

func (m *IoK8sAPIDiscoveryV1beta1EndpointSliceList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIDiscoveryV1beta1EndpointSliceList) Validate

Validate validates this io k8s api discovery v1beta1 endpoint slice list

type IoK8sAPIEventsV1Event

type IoK8sAPIEventsV1Event struct {

	// action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters.
	Action string `json:"action,omitempty"`

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedCount int32 `json:"deprecatedCount,omitempty"`

	// deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
	// Format: date-time
	DeprecatedFirstTimestamp IoK8sApimachineryPkgApisMetaV1Time `json:"deprecatedFirstTimestamp,omitempty"`

	// deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
	// Format: date-time
	DeprecatedLastTimestamp IoK8sApimachineryPkgApisMetaV1Time `json:"deprecatedLastTimestamp,omitempty"`

	// deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedSource *IoK8sAPICoreV1EventSource `json:"deprecatedSource,omitempty"`

	// eventTime is the time when this Event was first observed. It is required.
	// Required: true
	// Format: date-time
	EventTime IoK8sApimachineryPkgApisMetaV1MicroTime `json:"eventTime"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.
	Note string `json:"note,omitempty"`

	// reason is why the action was taken. It is human-readable. This field can have at most 128 characters.
	Reason string `json:"reason,omitempty"`

	// regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.
	Regarding *IoK8sAPICoreV1ObjectReference `json:"regarding,omitempty"`

	// related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.
	Related *IoK8sAPICoreV1ObjectReference `json:"related,omitempty"`

	// reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.
	ReportingController string `json:"reportingController,omitempty"`

	// reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.
	ReportingInstance string `json:"reportingInstance,omitempty"`

	// series is data about the Event series this event represents or nil if it's a singleton Event.
	Series *IoK8sAPIEventsV1EventSeries `json:"series,omitempty"`

	// type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable.
	Type string `json:"type,omitempty"`
}

IoK8sAPIEventsV1Event Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.

swagger:model io.k8s.api.events.v1.Event

func (*IoK8sAPIEventsV1Event) MarshalBinary

func (m *IoK8sAPIEventsV1Event) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIEventsV1Event) UnmarshalBinary

func (m *IoK8sAPIEventsV1Event) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIEventsV1Event) Validate

func (m *IoK8sAPIEventsV1Event) Validate(formats strfmt.Registry) error

Validate validates this io k8s api events v1 event

type IoK8sAPIEventsV1EventList

type IoK8sAPIEventsV1EventList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is a list of schema objects.
	// Required: true
	Items []*IoK8sAPIEventsV1Event `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIEventsV1EventList EventList is a list of Event objects.

swagger:model io.k8s.api.events.v1.EventList

func (*IoK8sAPIEventsV1EventList) MarshalBinary

func (m *IoK8sAPIEventsV1EventList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIEventsV1EventList) UnmarshalBinary

func (m *IoK8sAPIEventsV1EventList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIEventsV1EventList) Validate

func (m *IoK8sAPIEventsV1EventList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api events v1 event list

type IoK8sAPIEventsV1EventSeries

type IoK8sAPIEventsV1EventSeries struct {

	// count is the number of occurrences in this series up to the last heartbeat time.
	// Required: true
	Count *int32 `json:"count"`

	// lastObservedTime is the time when last Event from the series was seen before last heartbeat.
	// Required: true
	// Format: date-time
	LastObservedTime IoK8sApimachineryPkgApisMetaV1MicroTime `json:"lastObservedTime"`
}

IoK8sAPIEventsV1EventSeries EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in "k8s.io/client-go/tools/events/event_broadcaster.go" shows how this struct is updated on heartbeats and can guide customized reporter implementations.

swagger:model io.k8s.api.events.v1.EventSeries

func (*IoK8sAPIEventsV1EventSeries) MarshalBinary

func (m *IoK8sAPIEventsV1EventSeries) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIEventsV1EventSeries) UnmarshalBinary

func (m *IoK8sAPIEventsV1EventSeries) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIEventsV1EventSeries) Validate

func (m *IoK8sAPIEventsV1EventSeries) Validate(formats strfmt.Registry) error

Validate validates this io k8s api events v1 event series

type IoK8sAPIEventsV1beta1Event

type IoK8sAPIEventsV1beta1Event struct {

	// action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters.
	Action string `json:"action,omitempty"`

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedCount int32 `json:"deprecatedCount,omitempty"`

	// deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
	// Format: date-time
	DeprecatedFirstTimestamp IoK8sApimachineryPkgApisMetaV1Time `json:"deprecatedFirstTimestamp,omitempty"`

	// deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
	// Format: date-time
	DeprecatedLastTimestamp IoK8sApimachineryPkgApisMetaV1Time `json:"deprecatedLastTimestamp,omitempty"`

	// deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.
	DeprecatedSource *IoK8sAPICoreV1EventSource `json:"deprecatedSource,omitempty"`

	// eventTime is the time when this Event was first observed. It is required.
	// Required: true
	// Format: date-time
	EventTime IoK8sApimachineryPkgApisMetaV1MicroTime `json:"eventTime"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.
	Note string `json:"note,omitempty"`

	// reason is why the action was taken. It is human-readable. This field can have at most 128 characters.
	Reason string `json:"reason,omitempty"`

	// regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.
	Regarding *IoK8sAPICoreV1ObjectReference `json:"regarding,omitempty"`

	// related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.
	Related *IoK8sAPICoreV1ObjectReference `json:"related,omitempty"`

	// reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.
	ReportingController string `json:"reportingController,omitempty"`

	// reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.
	ReportingInstance string `json:"reportingInstance,omitempty"`

	// series is data about the Event series this event represents or nil if it's a singleton Event.
	Series *IoK8sAPIEventsV1beta1EventSeries `json:"series,omitempty"`

	// type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable.
	Type string `json:"type,omitempty"`
}

IoK8sAPIEventsV1beta1Event Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.

swagger:model io.k8s.api.events.v1beta1.Event

func (*IoK8sAPIEventsV1beta1Event) MarshalBinary

func (m *IoK8sAPIEventsV1beta1Event) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIEventsV1beta1Event) UnmarshalBinary

func (m *IoK8sAPIEventsV1beta1Event) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIEventsV1beta1Event) Validate

func (m *IoK8sAPIEventsV1beta1Event) Validate(formats strfmt.Registry) error

Validate validates this io k8s api events v1beta1 event

type IoK8sAPIEventsV1beta1EventList

type IoK8sAPIEventsV1beta1EventList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is a list of schema objects.
	// Required: true
	Items []*IoK8sAPIEventsV1beta1Event `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIEventsV1beta1EventList EventList is a list of Event objects.

swagger:model io.k8s.api.events.v1beta1.EventList

func (*IoK8sAPIEventsV1beta1EventList) MarshalBinary

func (m *IoK8sAPIEventsV1beta1EventList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIEventsV1beta1EventList) UnmarshalBinary

func (m *IoK8sAPIEventsV1beta1EventList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIEventsV1beta1EventList) Validate

func (m *IoK8sAPIEventsV1beta1EventList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api events v1beta1 event list

type IoK8sAPIEventsV1beta1EventSeries

type IoK8sAPIEventsV1beta1EventSeries struct {

	// count is the number of occurrences in this series up to the last heartbeat time.
	// Required: true
	Count *int32 `json:"count"`

	// lastObservedTime is the time when last Event from the series was seen before last heartbeat.
	// Required: true
	// Format: date-time
	LastObservedTime IoK8sApimachineryPkgApisMetaV1MicroTime `json:"lastObservedTime"`
}

IoK8sAPIEventsV1beta1EventSeries EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.

swagger:model io.k8s.api.events.v1beta1.EventSeries

func (*IoK8sAPIEventsV1beta1EventSeries) MarshalBinary

func (m *IoK8sAPIEventsV1beta1EventSeries) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIEventsV1beta1EventSeries) UnmarshalBinary

func (m *IoK8sAPIEventsV1beta1EventSeries) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIEventsV1beta1EventSeries) Validate

Validate validates this io k8s api events v1beta1 event series

type IoK8sAPIExtensionsV1beta1HTTPIngressPath

type IoK8sAPIExtensionsV1beta1HTTPIngressPath struct {

	// Backend defines the referenced service endpoint to which the traffic will be forwarded to.
	// Required: true
	Backend *IoK8sAPIExtensionsV1beta1IngressBackend `json:"backend"`

	// Path is 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 '/'. When unspecified, all paths from incoming requests are matched.
	Path string `json:"path,omitempty"`

	// PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is
	//   done on a path element by element basis. A path element refers is the
	//   list of labels in the path split by the '/' separator. A request is a
	//   match for path p if every p is an element-wise prefix of p of the
	//   request path. Note that if the last element of the path is a substring
	//   of the last element in request path, it is not a match (e.g. /foo/bar
	//   matches /foo/bar/baz, but does not match /foo/barbaz).
	// * ImplementationSpecific: Interpretation of the Path matching is up to
	//   the IngressClass. Implementations can treat this as a separate PathType
	//   or treat it identically to Prefix or Exact path types.
	// Implementations are required to support all path types. Defaults to ImplementationSpecific.
	PathType string `json:"pathType,omitempty"`
}

IoK8sAPIExtensionsV1beta1HTTPIngressPath HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.

swagger:model io.k8s.api.extensions.v1beta1.HTTPIngressPath

func (*IoK8sAPIExtensionsV1beta1HTTPIngressPath) MarshalBinary

func (m *IoK8sAPIExtensionsV1beta1HTTPIngressPath) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1HTTPIngressPath) UnmarshalBinary

func (m *IoK8sAPIExtensionsV1beta1HTTPIngressPath) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1HTTPIngressPath) Validate

Validate validates this io k8s api extensions v1beta1 HTTP ingress path

type IoK8sAPIExtensionsV1beta1HTTPIngressRuleValue

type IoK8sAPIExtensionsV1beta1HTTPIngressRuleValue struct {

	// A collection of paths that map requests to backends.
	// Required: true
	Paths []*IoK8sAPIExtensionsV1beta1HTTPIngressPath `json:"paths"`
}

IoK8sAPIExtensionsV1beta1HTTPIngressRuleValue 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 '#'.

swagger:model io.k8s.api.extensions.v1beta1.HTTPIngressRuleValue

func (*IoK8sAPIExtensionsV1beta1HTTPIngressRuleValue) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1HTTPIngressRuleValue) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1HTTPIngressRuleValue) Validate

Validate validates this io k8s api extensions v1beta1 HTTP ingress rule value

type IoK8sAPIExtensionsV1beta1Ingress

type IoK8sAPIExtensionsV1beta1Ingress struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPIExtensionsV1beta1IngressSpec `json:"spec,omitempty"`

	// Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IoK8sAPIExtensionsV1beta1IngressStatus `json:"status,omitempty"`
}

IoK8sAPIExtensionsV1beta1Ingress 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. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information.

swagger:model io.k8s.api.extensions.v1beta1.Ingress

func (*IoK8sAPIExtensionsV1beta1Ingress) MarshalBinary

func (m *IoK8sAPIExtensionsV1beta1Ingress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1Ingress) UnmarshalBinary

func (m *IoK8sAPIExtensionsV1beta1Ingress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1Ingress) Validate

Validate validates this io k8s api extensions v1beta1 ingress

type IoK8sAPIExtensionsV1beta1IngressBackend

type IoK8sAPIExtensionsV1beta1IngressBackend struct {

	// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified.
	Resource *IoK8sAPICoreV1TypedLocalObjectReference `json:"resource,omitempty"`

	// Specifies the name of the referenced service.
	ServiceName string `json:"serviceName,omitempty"`

	// Specifies the port of the referenced service.
	ServicePort IoK8sApimachineryPkgUtilIntstrIntOrString `json:"servicePort,omitempty"`
}

IoK8sAPIExtensionsV1beta1IngressBackend IngressBackend describes all endpoints for a given service and port.

swagger:model io.k8s.api.extensions.v1beta1.IngressBackend

func (*IoK8sAPIExtensionsV1beta1IngressBackend) MarshalBinary

func (m *IoK8sAPIExtensionsV1beta1IngressBackend) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1IngressBackend) UnmarshalBinary

func (m *IoK8sAPIExtensionsV1beta1IngressBackend) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1IngressBackend) Validate

Validate validates this io k8s api extensions v1beta1 ingress backend

type IoK8sAPIExtensionsV1beta1IngressList

type IoK8sAPIExtensionsV1beta1IngressList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is the list of Ingress.
	// Required: true
	Items []*IoK8sAPIExtensionsV1beta1Ingress `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIExtensionsV1beta1IngressList IngressList is a collection of Ingress.

swagger:model io.k8s.api.extensions.v1beta1.IngressList

func (*IoK8sAPIExtensionsV1beta1IngressList) MarshalBinary

func (m *IoK8sAPIExtensionsV1beta1IngressList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1IngressList) UnmarshalBinary

func (m *IoK8sAPIExtensionsV1beta1IngressList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1IngressList) Validate

Validate validates this io k8s api extensions v1beta1 ingress list

type IoK8sAPIExtensionsV1beta1IngressRule

type IoK8sAPIExtensionsV1beta1IngressRule struct {

	// 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 RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to
	//    the IP in the Spec of the parent Ingress.
	// 2. The `:` delimiter is not respected because ports are not allowed.
	// 	  Currently the port of an Ingress is implicitly :80 for http and
	// 	  :443 for https.
	// Both 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.
	//
	// Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.
	Host string `json:"host,omitempty"`

	// http
	HTTP *IoK8sAPIExtensionsV1beta1HTTPIngressRuleValue `json:"http,omitempty"`
}

IoK8sAPIExtensionsV1beta1IngressRule 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.

swagger:model io.k8s.api.extensions.v1beta1.IngressRule

func (*IoK8sAPIExtensionsV1beta1IngressRule) MarshalBinary

func (m *IoK8sAPIExtensionsV1beta1IngressRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1IngressRule) UnmarshalBinary

func (m *IoK8sAPIExtensionsV1beta1IngressRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1IngressRule) Validate

Validate validates this io k8s api extensions v1beta1 ingress rule

type IoK8sAPIExtensionsV1beta1IngressSpec

type IoK8sAPIExtensionsV1beta1IngressSpec struct {

	// 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.
	Backend *IoK8sAPIExtensionsV1beta1IngressBackend `json:"backend,omitempty"`

	// IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.
	IngressClassName string `json:"ingressClassName,omitempty"`

	// A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.
	Rules []*IoK8sAPIExtensionsV1beta1IngressRule `json:"rules"`

	// 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.
	TLS []*IoK8sAPIExtensionsV1beta1IngressTLS `json:"tls"`
}

IoK8sAPIExtensionsV1beta1IngressSpec IngressSpec describes the Ingress the user wishes to exist.

swagger:model io.k8s.api.extensions.v1beta1.IngressSpec

func (*IoK8sAPIExtensionsV1beta1IngressSpec) MarshalBinary

func (m *IoK8sAPIExtensionsV1beta1IngressSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1IngressSpec) UnmarshalBinary

func (m *IoK8sAPIExtensionsV1beta1IngressSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1IngressSpec) Validate

Validate validates this io k8s api extensions v1beta1 ingress spec

type IoK8sAPIExtensionsV1beta1IngressStatus

type IoK8sAPIExtensionsV1beta1IngressStatus struct {

	// LoadBalancer contains the current status of the load-balancer.
	LoadBalancer *IoK8sAPICoreV1LoadBalancerStatus `json:"loadBalancer,omitempty"`
}

IoK8sAPIExtensionsV1beta1IngressStatus IngressStatus describe the current state of the Ingress.

swagger:model io.k8s.api.extensions.v1beta1.IngressStatus

func (*IoK8sAPIExtensionsV1beta1IngressStatus) MarshalBinary

func (m *IoK8sAPIExtensionsV1beta1IngressStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1IngressStatus) UnmarshalBinary

func (m *IoK8sAPIExtensionsV1beta1IngressStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1IngressStatus) Validate

Validate validates this io k8s api extensions v1beta1 ingress status

type IoK8sAPIExtensionsV1beta1IngressTLS

type IoK8sAPIExtensionsV1beta1IngressTLS struct {

	// 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.
	Hosts []string `json:"hosts"`

	// 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.
	SecretName string `json:"secretName,omitempty"`
}

IoK8sAPIExtensionsV1beta1IngressTLS IngressTLS describes the transport layer security associated with an Ingress.

swagger:model io.k8s.api.extensions.v1beta1.IngressTLS

func (*IoK8sAPIExtensionsV1beta1IngressTLS) MarshalBinary

func (m *IoK8sAPIExtensionsV1beta1IngressTLS) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1IngressTLS) UnmarshalBinary

func (m *IoK8sAPIExtensionsV1beta1IngressTLS) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIExtensionsV1beta1IngressTLS) Validate

Validate validates this io k8s api extensions v1beta1 ingress TLS

type IoK8sAPIFlowcontrolV1alpha1FlowDistinguisherMethod

type IoK8sAPIFlowcontrolV1alpha1FlowDistinguisherMethod struct {

	// `type` is the type of flow distinguisher method The supported types are "ByUser" and "ByNamespace". Required.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPIFlowcontrolV1alpha1FlowDistinguisherMethod FlowDistinguisherMethod specifies the method of a flow distinguisher.

swagger:model io.k8s.api.flowcontrol.v1alpha1.FlowDistinguisherMethod

func (*IoK8sAPIFlowcontrolV1alpha1FlowDistinguisherMethod) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1FlowDistinguisherMethod) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1FlowDistinguisherMethod) Validate

Validate validates this io k8s api flowcontrol v1alpha1 flow distinguisher method

type IoK8sAPIFlowcontrolV1alpha1FlowSchema

type IoK8sAPIFlowcontrolV1alpha1FlowSchema struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPIFlowcontrolV1alpha1FlowSchemaSpec `json:"spec,omitempty"`

	// `status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IoK8sAPIFlowcontrolV1alpha1FlowSchemaStatus `json:"status,omitempty"`
}

IoK8sAPIFlowcontrolV1alpha1FlowSchema FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".

swagger:model io.k8s.api.flowcontrol.v1alpha1.FlowSchema

func (*IoK8sAPIFlowcontrolV1alpha1FlowSchema) MarshalBinary

func (m *IoK8sAPIFlowcontrolV1alpha1FlowSchema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1FlowSchema) UnmarshalBinary

func (m *IoK8sAPIFlowcontrolV1alpha1FlowSchema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1FlowSchema) Validate

Validate validates this io k8s api flowcontrol v1alpha1 flow schema

type IoK8sAPIFlowcontrolV1alpha1FlowSchemaCondition

type IoK8sAPIFlowcontrolV1alpha1FlowSchemaCondition struct {

	// `lastTransitionTime` is the last time the condition transitioned from one status to another.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// `message` is a human-readable message indicating details about last transition.
	Message string `json:"message,omitempty"`

	// `reason` is a unique, one-word, CamelCase reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// `status` is the status of the condition. Can be True, False, Unknown. Required.
	Status string `json:"status,omitempty"`

	// `type` is the type of the condition. Required.
	Type string `json:"type,omitempty"`
}

IoK8sAPIFlowcontrolV1alpha1FlowSchemaCondition FlowSchemaCondition describes conditions for a FlowSchema.

swagger:model io.k8s.api.flowcontrol.v1alpha1.FlowSchemaCondition

func (*IoK8sAPIFlowcontrolV1alpha1FlowSchemaCondition) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1FlowSchemaCondition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1FlowSchemaCondition) Validate

Validate validates this io k8s api flowcontrol v1alpha1 flow schema condition

type IoK8sAPIFlowcontrolV1alpha1FlowSchemaList

type IoK8sAPIFlowcontrolV1alpha1FlowSchemaList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// `items` is a list of FlowSchemas.
	// Required: true
	Items []*IoK8sAPIFlowcontrolV1alpha1FlowSchema `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIFlowcontrolV1alpha1FlowSchemaList FlowSchemaList is a list of FlowSchema objects.

swagger:model io.k8s.api.flowcontrol.v1alpha1.FlowSchemaList

func (*IoK8sAPIFlowcontrolV1alpha1FlowSchemaList) MarshalBinary

func (m *IoK8sAPIFlowcontrolV1alpha1FlowSchemaList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1FlowSchemaList) UnmarshalBinary

func (m *IoK8sAPIFlowcontrolV1alpha1FlowSchemaList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1FlowSchemaList) Validate

Validate validates this io k8s api flowcontrol v1alpha1 flow schema list

type IoK8sAPIFlowcontrolV1alpha1FlowSchemaSpec

type IoK8sAPIFlowcontrolV1alpha1FlowSchemaSpec struct {

	// `distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string.
	DistinguisherMethod *IoK8sAPIFlowcontrolV1alpha1FlowDistinguisherMethod `json:"distinguisherMethod,omitempty"`

	// `matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence.  Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.
	MatchingPrecedence int32 `json:"matchingPrecedence,omitempty"`

	// `priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required.
	// Required: true
	PriorityLevelConfiguration *IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationReference `json:"priorityLevelConfiguration"`

	// `rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.
	Rules []*IoK8sAPIFlowcontrolV1alpha1PolicyRulesWithSubjects `json:"rules"`
}

IoK8sAPIFlowcontrolV1alpha1FlowSchemaSpec FlowSchemaSpec describes how the FlowSchema's specification looks like.

swagger:model io.k8s.api.flowcontrol.v1alpha1.FlowSchemaSpec

func (*IoK8sAPIFlowcontrolV1alpha1FlowSchemaSpec) MarshalBinary

func (m *IoK8sAPIFlowcontrolV1alpha1FlowSchemaSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1FlowSchemaSpec) UnmarshalBinary

func (m *IoK8sAPIFlowcontrolV1alpha1FlowSchemaSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1FlowSchemaSpec) Validate

Validate validates this io k8s api flowcontrol v1alpha1 flow schema spec

type IoK8sAPIFlowcontrolV1alpha1FlowSchemaStatus

type IoK8sAPIFlowcontrolV1alpha1FlowSchemaStatus struct {

	// `conditions` is a list of the current states of FlowSchema.
	Conditions []*IoK8sAPIFlowcontrolV1alpha1FlowSchemaCondition `json:"conditions"`
}

IoK8sAPIFlowcontrolV1alpha1FlowSchemaStatus FlowSchemaStatus represents the current state of a FlowSchema.

swagger:model io.k8s.api.flowcontrol.v1alpha1.FlowSchemaStatus

func (*IoK8sAPIFlowcontrolV1alpha1FlowSchemaStatus) MarshalBinary

func (m *IoK8sAPIFlowcontrolV1alpha1FlowSchemaStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1FlowSchemaStatus) UnmarshalBinary

func (m *IoK8sAPIFlowcontrolV1alpha1FlowSchemaStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1FlowSchemaStatus) Validate

Validate validates this io k8s api flowcontrol v1alpha1 flow schema status

type IoK8sAPIFlowcontrolV1alpha1GroupSubject

type IoK8sAPIFlowcontrolV1alpha1GroupSubject struct {

	// name is the user group that matches, or "*" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.
	// Required: true
	Name *string `json:"name"`
}

IoK8sAPIFlowcontrolV1alpha1GroupSubject GroupSubject holds detailed information for group-kind subject.

swagger:model io.k8s.api.flowcontrol.v1alpha1.GroupSubject

func (*IoK8sAPIFlowcontrolV1alpha1GroupSubject) MarshalBinary

func (m *IoK8sAPIFlowcontrolV1alpha1GroupSubject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1GroupSubject) UnmarshalBinary

func (m *IoK8sAPIFlowcontrolV1alpha1GroupSubject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1GroupSubject) Validate

Validate validates this io k8s api flowcontrol v1alpha1 group subject

type IoK8sAPIFlowcontrolV1alpha1LimitResponse

type IoK8sAPIFlowcontrolV1alpha1LimitResponse struct {

	// `queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `"Queue"`.
	Queuing *IoK8sAPIFlowcontrolV1alpha1QueuingConfiguration `json:"queuing,omitempty"`

	// `type` is "Queue" or "Reject". "Queue" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. "Reject" means that requests that can not be executed upon arrival are rejected. Required.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPIFlowcontrolV1alpha1LimitResponse LimitResponse defines how to handle requests that can not be executed right now.

swagger:model io.k8s.api.flowcontrol.v1alpha1.LimitResponse

func (*IoK8sAPIFlowcontrolV1alpha1LimitResponse) MarshalBinary

func (m *IoK8sAPIFlowcontrolV1alpha1LimitResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1LimitResponse) UnmarshalBinary

func (m *IoK8sAPIFlowcontrolV1alpha1LimitResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1LimitResponse) Validate

Validate validates this io k8s api flowcontrol v1alpha1 limit response

type IoK8sAPIFlowcontrolV1alpha1LimitedPriorityLevelConfiguration

type IoK8sAPIFlowcontrolV1alpha1LimitedPriorityLevelConfiguration struct {

	// `assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time.  ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level:
	//
	//             ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )
	//
	// bigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30.
	AssuredConcurrencyShares int32 `json:"assuredConcurrencyShares,omitempty"`

	// `limitResponse` indicates what to do with requests that can not be executed right now
	LimitResponse *IoK8sAPIFlowcontrolV1alpha1LimitResponse `json:"limitResponse,omitempty"`
}

IoK8sAPIFlowcontrolV1alpha1LimitedPriorityLevelConfiguration LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:

  • How are requests for this priority level limited?
  • What should be done with requests that exceed the limit?

swagger:model io.k8s.api.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration

func (*IoK8sAPIFlowcontrolV1alpha1LimitedPriorityLevelConfiguration) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1LimitedPriorityLevelConfiguration) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1LimitedPriorityLevelConfiguration) Validate

Validate validates this io k8s api flowcontrol v1alpha1 limited priority level configuration

type IoK8sAPIFlowcontrolV1alpha1NonResourcePolicyRule

type IoK8sAPIFlowcontrolV1alpha1NonResourcePolicyRule struct {

	// `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:
	//   - "/healthz" is legal
	//   - "/hea*" is illegal
	//   - "/hea" is legal but matches nothing
	//   - "/hea/*" also matches nothing
	//   - "/healthz/*" matches all per-component health checks.
	// "*" matches all non-resource urls. if it is present, it must be the only entry. Required.
	// Required: true
	NonResourceURLs []string `json:"nonResourceURLs"`

	// `verbs` is a list of matching verbs and may not be empty. "*" matches all verbs. If it is present, it must be the only entry. Required.
	// Required: true
	Verbs []string `json:"verbs"`
}

IoK8sAPIFlowcontrolV1alpha1NonResourcePolicyRule NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.

swagger:model io.k8s.api.flowcontrol.v1alpha1.NonResourcePolicyRule

func (*IoK8sAPIFlowcontrolV1alpha1NonResourcePolicyRule) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1NonResourcePolicyRule) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1NonResourcePolicyRule) Validate

Validate validates this io k8s api flowcontrol v1alpha1 non resource policy rule

type IoK8sAPIFlowcontrolV1alpha1PolicyRulesWithSubjects

type IoK8sAPIFlowcontrolV1alpha1PolicyRulesWithSubjects struct {

	// `nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.
	NonResourceRules []*IoK8sAPIFlowcontrolV1alpha1NonResourcePolicyRule `json:"nonResourceRules"`

	// `resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.
	ResourceRules []*IoK8sAPIFlowcontrolV1alpha1ResourcePolicyRule `json:"resourceRules"`

	// subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.
	// Required: true
	Subjects []*IoK8sAPIFlowcontrolV1alpha1Subject `json:"subjects"`
}

IoK8sAPIFlowcontrolV1alpha1PolicyRulesWithSubjects PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.

swagger:model io.k8s.api.flowcontrol.v1alpha1.PolicyRulesWithSubjects

func (*IoK8sAPIFlowcontrolV1alpha1PolicyRulesWithSubjects) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1PolicyRulesWithSubjects) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1PolicyRulesWithSubjects) Validate

Validate validates this io k8s api flowcontrol v1alpha1 policy rules with subjects

type IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfiguration

type IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfiguration struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationSpec `json:"spec,omitempty"`

	// `status` is the current status of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationStatus `json:"status,omitempty"`
}

IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfiguration PriorityLevelConfiguration represents the configuration of a priority level.

swagger:model io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfiguration) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfiguration) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfiguration) Validate

Validate validates this io k8s api flowcontrol v1alpha1 priority level configuration

type IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationCondition

type IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationCondition struct {

	// `lastTransitionTime` is the last time the condition transitioned from one status to another.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// `message` is a human-readable message indicating details about last transition.
	Message string `json:"message,omitempty"`

	// `reason` is a unique, one-word, CamelCase reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// `status` is the status of the condition. Can be True, False, Unknown. Required.
	Status string `json:"status,omitempty"`

	// `type` is the type of the condition. Required.
	Type string `json:"type,omitempty"`
}

IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationCondition PriorityLevelConfigurationCondition defines the condition of priority level.

swagger:model io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationCondition

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationCondition) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationCondition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationCondition) Validate

Validate validates this io k8s api flowcontrol v1alpha1 priority level configuration condition

type IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationList

type IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// `items` is a list of request-priorities.
	// Required: true
	Items []*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfiguration `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationList PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.

swagger:model io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationList

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationList) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationList) Validate

Validate validates this io k8s api flowcontrol v1alpha1 priority level configuration list

type IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationReference

type IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationReference struct {

	// `name` is the name of the priority level configuration being referenced Required.
	// Required: true
	Name *string `json:"name"`
}

IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationReference PriorityLevelConfigurationReference contains information that points to the "request-priority" being used.

swagger:model io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationReference

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationReference) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationReference) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationReference) Validate

Validate validates this io k8s api flowcontrol v1alpha1 priority level configuration reference

type IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationSpec

type IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationSpec struct {

	// `limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `"Limited"`.
	Limited *IoK8sAPIFlowcontrolV1alpha1LimitedPriorityLevelConfiguration `json:"limited,omitempty"`

	// `type` indicates whether this priority level is subject to limitation on request execution.  A value of `"Exempt"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels.  A value of `"Limited"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.
	// Required: true
	Type *string `json:"type"`
}

IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationSpec PriorityLevelConfigurationSpec specifies the configuration of a priority level.

swagger:model io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationSpec

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationSpec) Validate

Validate validates this io k8s api flowcontrol v1alpha1 priority level configuration spec

type IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationStatus

type IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationStatus struct {

	// `conditions` is the current state of "request-priority".
	Conditions []*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationCondition `json:"conditions"`
}

IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationStatus PriorityLevelConfigurationStatus represents the current state of a "request-priority".

swagger:model io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationStatus

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1PriorityLevelConfigurationStatus) Validate

Validate validates this io k8s api flowcontrol v1alpha1 priority level configuration status

type IoK8sAPIFlowcontrolV1alpha1QueuingConfiguration

type IoK8sAPIFlowcontrolV1alpha1QueuingConfiguration struct {

	// `handSize` is a small positive number that configures the shuffle sharding of requests into queues.  When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here.  The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues).  See the user-facing documentation for more extensive guidance on setting this field.  This field has a default value of 8.
	HandSize int32 `json:"handSize,omitempty"`

	// `queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected.  This value must be positive.  If not specified, it will be defaulted to 50.
	QueueLengthLimit int32 `json:"queueLengthLimit,omitempty"`

	// `queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive.  Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant.  This field has a default value of 64.
	Queues int32 `json:"queues,omitempty"`
}

IoK8sAPIFlowcontrolV1alpha1QueuingConfiguration QueuingConfiguration holds the configuration parameters for queuing

swagger:model io.k8s.api.flowcontrol.v1alpha1.QueuingConfiguration

func (*IoK8sAPIFlowcontrolV1alpha1QueuingConfiguration) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1QueuingConfiguration) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1QueuingConfiguration) Validate

Validate validates this io k8s api flowcontrol v1alpha1 queuing configuration

type IoK8sAPIFlowcontrolV1alpha1ResourcePolicyRule

type IoK8sAPIFlowcontrolV1alpha1ResourcePolicyRule struct {

	// `apiGroups` is a list of matching API groups and may not be empty. "*" matches all API groups and, if present, must be the only entry. Required.
	// Required: true
	APIGroups []string `json:"apiGroups"`

	// `clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.
	ClusterScope bool `json:"clusterScope,omitempty"`

	// `namespaces` is a list of target namespaces that restricts matches.  A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains "*".  Note that "*" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.
	Namespaces []string `json:"namespaces"`

	// `resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource.  For example, [ "services", "nodes/status" ].  This list may not be empty. "*" matches all resources and, if present, must be the only entry. Required.
	// Required: true
	Resources []string `json:"resources"`

	// `verbs` is a list of matching verbs and may not be empty. "*" matches all verbs and, if present, must be the only entry. Required.
	// Required: true
	Verbs []string `json:"verbs"`
}

IoK8sAPIFlowcontrolV1alpha1ResourcePolicyRule ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request.

swagger:model io.k8s.api.flowcontrol.v1alpha1.ResourcePolicyRule

func (*IoK8sAPIFlowcontrolV1alpha1ResourcePolicyRule) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1ResourcePolicyRule) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1ResourcePolicyRule) Validate

Validate validates this io k8s api flowcontrol v1alpha1 resource policy rule

type IoK8sAPIFlowcontrolV1alpha1ServiceAccountSubject

type IoK8sAPIFlowcontrolV1alpha1ServiceAccountSubject struct {

	// `name` is the name of matching ServiceAccount objects, or "*" to match regardless of name. Required.
	// Required: true
	Name *string `json:"name"`

	// `namespace` is the namespace of matching ServiceAccount objects. Required.
	// Required: true
	Namespace *string `json:"namespace"`
}

IoK8sAPIFlowcontrolV1alpha1ServiceAccountSubject ServiceAccountSubject holds detailed information for service-account-kind subject.

swagger:model io.k8s.api.flowcontrol.v1alpha1.ServiceAccountSubject

func (*IoK8sAPIFlowcontrolV1alpha1ServiceAccountSubject) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1ServiceAccountSubject) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1ServiceAccountSubject) Validate

Validate validates this io k8s api flowcontrol v1alpha1 service account subject

type IoK8sAPIFlowcontrolV1alpha1Subject

type IoK8sAPIFlowcontrolV1alpha1Subject struct {

	// group
	Group *IoK8sAPIFlowcontrolV1alpha1GroupSubject `json:"group,omitempty"`

	// Required
	// Required: true
	Kind *string `json:"kind"`

	// service account
	ServiceAccount *IoK8sAPIFlowcontrolV1alpha1ServiceAccountSubject `json:"serviceAccount,omitempty"`

	// user
	User *IoK8sAPIFlowcontrolV1alpha1UserSubject `json:"user,omitempty"`
}

IoK8sAPIFlowcontrolV1alpha1Subject Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.

swagger:model io.k8s.api.flowcontrol.v1alpha1.Subject

func (*IoK8sAPIFlowcontrolV1alpha1Subject) MarshalBinary

func (m *IoK8sAPIFlowcontrolV1alpha1Subject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1Subject) UnmarshalBinary

func (m *IoK8sAPIFlowcontrolV1alpha1Subject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1Subject) Validate

Validate validates this io k8s api flowcontrol v1alpha1 subject

type IoK8sAPIFlowcontrolV1alpha1UserSubject

type IoK8sAPIFlowcontrolV1alpha1UserSubject struct {

	// `name` is the username that matches, or "*" to match all usernames. Required.
	// Required: true
	Name *string `json:"name"`
}

IoK8sAPIFlowcontrolV1alpha1UserSubject UserSubject holds detailed information for user-kind subject.

swagger:model io.k8s.api.flowcontrol.v1alpha1.UserSubject

func (*IoK8sAPIFlowcontrolV1alpha1UserSubject) MarshalBinary

func (m *IoK8sAPIFlowcontrolV1alpha1UserSubject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1UserSubject) UnmarshalBinary

func (m *IoK8sAPIFlowcontrolV1alpha1UserSubject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIFlowcontrolV1alpha1UserSubject) Validate

Validate validates this io k8s api flowcontrol v1alpha1 user subject

type IoK8sAPINetworkingV1HTTPIngressPath

type IoK8sAPINetworkingV1HTTPIngressPath struct {

	// Backend defines the referenced service endpoint to which the traffic will be forwarded to.
	// Required: true
	Backend *IoK8sAPINetworkingV1IngressBackend `json:"backend"`

	// Path is 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 '/'. When unspecified, all paths from incoming requests are matched.
	Path string `json:"path,omitempty"`

	// PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is
	//   done on a path element by element basis. A path element refers is the
	//   list of labels in the path split by the '/' separator. A request is a
	//   match for path p if every p is an element-wise prefix of p of the
	//   request path. Note that if the last element of the path is a substring
	//   of the last element in request path, it is not a match (e.g. /foo/bar
	//   matches /foo/bar/baz, but does not match /foo/barbaz).
	// * ImplementationSpecific: Interpretation of the Path matching is up to
	//   the IngressClass. Implementations can treat this as a separate PathType
	//   or treat it identically to Prefix or Exact path types.
	// Implementations are required to support all path types.
	PathType string `json:"pathType,omitempty"`
}

IoK8sAPINetworkingV1HTTPIngressPath HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.

swagger:model io.k8s.api.networking.v1.HTTPIngressPath

func (*IoK8sAPINetworkingV1HTTPIngressPath) MarshalBinary

func (m *IoK8sAPINetworkingV1HTTPIngressPath) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1HTTPIngressPath) UnmarshalBinary

func (m *IoK8sAPINetworkingV1HTTPIngressPath) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1HTTPIngressPath) Validate

Validate validates this io k8s api networking v1 HTTP ingress path

type IoK8sAPINetworkingV1HTTPIngressRuleValue

type IoK8sAPINetworkingV1HTTPIngressRuleValue struct {

	// A collection of paths that map requests to backends.
	// Required: true
	Paths []*IoK8sAPINetworkingV1HTTPIngressPath `json:"paths"`
}

IoK8sAPINetworkingV1HTTPIngressRuleValue 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 '#'.

swagger:model io.k8s.api.networking.v1.HTTPIngressRuleValue

func (*IoK8sAPINetworkingV1HTTPIngressRuleValue) MarshalBinary

func (m *IoK8sAPINetworkingV1HTTPIngressRuleValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1HTTPIngressRuleValue) UnmarshalBinary

func (m *IoK8sAPINetworkingV1HTTPIngressRuleValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1HTTPIngressRuleValue) Validate

Validate validates this io k8s api networking v1 HTTP ingress rule value

type IoK8sAPINetworkingV1IPBlock

type IoK8sAPINetworkingV1IPBlock struct {

	// CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64"
	// Required: true
	Cidr *string `json:"cidr"`

	// Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" Except values will be rejected if they are outside the CIDR range
	Except []string `json:"except"`
}

IoK8sAPINetworkingV1IPBlock IPBlock describes a particular CIDR (Ex. "192.168.1.1/24","2001:db9::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.

swagger:model io.k8s.api.networking.v1.IPBlock

func (*IoK8sAPINetworkingV1IPBlock) MarshalBinary

func (m *IoK8sAPINetworkingV1IPBlock) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IPBlock) UnmarshalBinary

func (m *IoK8sAPINetworkingV1IPBlock) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IPBlock) Validate

func (m *IoK8sAPINetworkingV1IPBlock) Validate(formats strfmt.Registry) error

Validate validates this io k8s api networking v1 IP block

type IoK8sAPINetworkingV1Ingress

type IoK8sAPINetworkingV1Ingress struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPINetworkingV1IngressSpec `json:"spec,omitempty"`

	// Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IoK8sAPINetworkingV1IngressStatus `json:"status,omitempty"`
}

IoK8sAPINetworkingV1Ingress 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.

swagger:model io.k8s.api.networking.v1.Ingress

func (*IoK8sAPINetworkingV1Ingress) MarshalBinary

func (m *IoK8sAPINetworkingV1Ingress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1Ingress) UnmarshalBinary

func (m *IoK8sAPINetworkingV1Ingress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1Ingress) Validate

func (m *IoK8sAPINetworkingV1Ingress) Validate(formats strfmt.Registry) error

Validate validates this io k8s api networking v1 ingress

type IoK8sAPINetworkingV1IngressBackend

type IoK8sAPINetworkingV1IngressBackend struct {

	// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service".
	Resource *IoK8sAPICoreV1TypedLocalObjectReference `json:"resource,omitempty"`

	// Service references a Service as a Backend. This is a mutually exclusive setting with "Resource".
	Service *IoK8sAPINetworkingV1IngressServiceBackend `json:"service,omitempty"`
}

IoK8sAPINetworkingV1IngressBackend IngressBackend describes all endpoints for a given service and port.

swagger:model io.k8s.api.networking.v1.IngressBackend

func (*IoK8sAPINetworkingV1IngressBackend) MarshalBinary

func (m *IoK8sAPINetworkingV1IngressBackend) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressBackend) UnmarshalBinary

func (m *IoK8sAPINetworkingV1IngressBackend) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressBackend) Validate

Validate validates this io k8s api networking v1 ingress backend

type IoK8sAPINetworkingV1IngressClass

type IoK8sAPINetworkingV1IngressClass struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPINetworkingV1IngressClassSpec `json:"spec,omitempty"`
}

IoK8sAPINetworkingV1IngressClass IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.

swagger:model io.k8s.api.networking.v1.IngressClass

func (*IoK8sAPINetworkingV1IngressClass) MarshalBinary

func (m *IoK8sAPINetworkingV1IngressClass) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressClass) UnmarshalBinary

func (m *IoK8sAPINetworkingV1IngressClass) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressClass) Validate

Validate validates this io k8s api networking v1 ingress class

type IoK8sAPINetworkingV1IngressClassList

type IoK8sAPINetworkingV1IngressClassList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is the list of IngressClasses.
	// Required: true
	Items []*IoK8sAPINetworkingV1IngressClass `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPINetworkingV1IngressClassList IngressClassList is a collection of IngressClasses.

swagger:model io.k8s.api.networking.v1.IngressClassList

func (*IoK8sAPINetworkingV1IngressClassList) MarshalBinary

func (m *IoK8sAPINetworkingV1IngressClassList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressClassList) UnmarshalBinary

func (m *IoK8sAPINetworkingV1IngressClassList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressClassList) Validate

Validate validates this io k8s api networking v1 ingress class list

type IoK8sAPINetworkingV1IngressClassSpec

type IoK8sAPINetworkingV1IngressClassSpec struct {

	// Controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.
	Controller string `json:"controller,omitempty"`

	// Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters.
	Parameters *IoK8sAPICoreV1TypedLocalObjectReference `json:"parameters,omitempty"`
}

IoK8sAPINetworkingV1IngressClassSpec IngressClassSpec provides information about the class of an Ingress.

swagger:model io.k8s.api.networking.v1.IngressClassSpec

func (*IoK8sAPINetworkingV1IngressClassSpec) MarshalBinary

func (m *IoK8sAPINetworkingV1IngressClassSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressClassSpec) UnmarshalBinary

func (m *IoK8sAPINetworkingV1IngressClassSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressClassSpec) Validate

Validate validates this io k8s api networking v1 ingress class spec

type IoK8sAPINetworkingV1IngressList

type IoK8sAPINetworkingV1IngressList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is the list of Ingress.
	// Required: true
	Items []*IoK8sAPINetworkingV1Ingress `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPINetworkingV1IngressList IngressList is a collection of Ingress.

swagger:model io.k8s.api.networking.v1.IngressList

func (*IoK8sAPINetworkingV1IngressList) MarshalBinary

func (m *IoK8sAPINetworkingV1IngressList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressList) UnmarshalBinary

func (m *IoK8sAPINetworkingV1IngressList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressList) Validate

Validate validates this io k8s api networking v1 ingress list

type IoK8sAPINetworkingV1IngressRule

type IoK8sAPINetworkingV1IngressRule struct {

	// 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 RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to
	//    the IP in the Spec of the parent Ingress.
	// 2. The `:` delimiter is not respected because ports are not allowed.
	// 	  Currently the port of an Ingress is implicitly :80 for http and
	// 	  :443 for https.
	// Both 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.
	//
	// Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.
	Host string `json:"host,omitempty"`

	// http
	HTTP *IoK8sAPINetworkingV1HTTPIngressRuleValue `json:"http,omitempty"`
}

IoK8sAPINetworkingV1IngressRule 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.

swagger:model io.k8s.api.networking.v1.IngressRule

func (*IoK8sAPINetworkingV1IngressRule) MarshalBinary

func (m *IoK8sAPINetworkingV1IngressRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressRule) UnmarshalBinary

func (m *IoK8sAPINetworkingV1IngressRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressRule) Validate

Validate validates this io k8s api networking v1 ingress rule

type IoK8sAPINetworkingV1IngressServiceBackend

type IoK8sAPINetworkingV1IngressServiceBackend struct {

	// Name is the referenced service. The service must exist in the same namespace as the Ingress object.
	// Required: true
	Name *string `json:"name"`

	// Port of the referenced service. A port name or port number is required for a IngressServiceBackend.
	Port *IoK8sAPINetworkingV1ServiceBackendPort `json:"port,omitempty"`
}

IoK8sAPINetworkingV1IngressServiceBackend IngressServiceBackend references a Kubernetes Service as a Backend.

swagger:model io.k8s.api.networking.v1.IngressServiceBackend

func (*IoK8sAPINetworkingV1IngressServiceBackend) MarshalBinary

func (m *IoK8sAPINetworkingV1IngressServiceBackend) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressServiceBackend) UnmarshalBinary

func (m *IoK8sAPINetworkingV1IngressServiceBackend) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressServiceBackend) Validate

Validate validates this io k8s api networking v1 ingress service backend

type IoK8sAPINetworkingV1IngressSpec

type IoK8sAPINetworkingV1IngressSpec struct {

	// DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller.
	DefaultBackend *IoK8sAPINetworkingV1IngressBackend `json:"defaultBackend,omitempty"`

	// IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.
	IngressClassName string `json:"ingressClassName,omitempty"`

	// A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.
	Rules []*IoK8sAPINetworkingV1IngressRule `json:"rules"`

	// 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.
	TLS []*IoK8sAPINetworkingV1IngressTLS `json:"tls"`
}

IoK8sAPINetworkingV1IngressSpec IngressSpec describes the Ingress the user wishes to exist.

swagger:model io.k8s.api.networking.v1.IngressSpec

func (*IoK8sAPINetworkingV1IngressSpec) MarshalBinary

func (m *IoK8sAPINetworkingV1IngressSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressSpec) UnmarshalBinary

func (m *IoK8sAPINetworkingV1IngressSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressSpec) Validate

Validate validates this io k8s api networking v1 ingress spec

type IoK8sAPINetworkingV1IngressStatus

type IoK8sAPINetworkingV1IngressStatus struct {

	// LoadBalancer contains the current status of the load-balancer.
	LoadBalancer *IoK8sAPICoreV1LoadBalancerStatus `json:"loadBalancer,omitempty"`
}

IoK8sAPINetworkingV1IngressStatus IngressStatus describe the current state of the Ingress.

swagger:model io.k8s.api.networking.v1.IngressStatus

func (*IoK8sAPINetworkingV1IngressStatus) MarshalBinary

func (m *IoK8sAPINetworkingV1IngressStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressStatus) UnmarshalBinary

func (m *IoK8sAPINetworkingV1IngressStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressStatus) Validate

Validate validates this io k8s api networking v1 ingress status

type IoK8sAPINetworkingV1IngressTLS

type IoK8sAPINetworkingV1IngressTLS struct {

	// 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.
	Hosts []string `json:"hosts"`

	// SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS 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.
	SecretName string `json:"secretName,omitempty"`
}

IoK8sAPINetworkingV1IngressTLS IngressTLS describes the transport layer security associated with an Ingress.

swagger:model io.k8s.api.networking.v1.IngressTLS

func (*IoK8sAPINetworkingV1IngressTLS) MarshalBinary

func (m *IoK8sAPINetworkingV1IngressTLS) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressTLS) UnmarshalBinary

func (m *IoK8sAPINetworkingV1IngressTLS) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1IngressTLS) Validate

func (m *IoK8sAPINetworkingV1IngressTLS) Validate(formats strfmt.Registry) error

Validate validates this io k8s api networking v1 ingress TLS

type IoK8sAPINetworkingV1NetworkPolicy

type IoK8sAPINetworkingV1NetworkPolicy struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the desired behavior for this NetworkPolicy.
	Spec *IoK8sAPINetworkingV1NetworkPolicySpec `json:"spec,omitempty"`
}

IoK8sAPINetworkingV1NetworkPolicy NetworkPolicy describes what network traffic is allowed for a set of Pods

swagger:model io.k8s.api.networking.v1.NetworkPolicy

func (*IoK8sAPINetworkingV1NetworkPolicy) MarshalBinary

func (m *IoK8sAPINetworkingV1NetworkPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1NetworkPolicy) UnmarshalBinary

func (m *IoK8sAPINetworkingV1NetworkPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1NetworkPolicy) Validate

Validate validates this io k8s api networking v1 network policy

type IoK8sAPINetworkingV1NetworkPolicyEgressRule

type IoK8sAPINetworkingV1NetworkPolicyEgressRule struct {

	// List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). 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.
	Ports []*IoK8sAPINetworkingV1NetworkPolicyPort `json:"ports"`

	// List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.
	To []*IoK8sAPINetworkingV1NetworkPolicyPeer `json:"to"`
}

IoK8sAPINetworkingV1NetworkPolicyEgressRule NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8

swagger:model io.k8s.api.networking.v1.NetworkPolicyEgressRule

func (*IoK8sAPINetworkingV1NetworkPolicyEgressRule) MarshalBinary

func (m *IoK8sAPINetworkingV1NetworkPolicyEgressRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1NetworkPolicyEgressRule) UnmarshalBinary

func (m *IoK8sAPINetworkingV1NetworkPolicyEgressRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1NetworkPolicyEgressRule) Validate

Validate validates this io k8s api networking v1 network policy egress rule

type IoK8sAPINetworkingV1NetworkPolicyIngressRule

type IoK8sAPINetworkingV1NetworkPolicyIngressRule struct {

	// 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 empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.
	From []*IoK8sAPINetworkingV1NetworkPolicyPeer `json:"from"`

	// 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 empty or missing, this rule matches all ports (traffic not restricted by port). 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.
	Ports []*IoK8sAPINetworkingV1NetworkPolicyPort `json:"ports"`
}

IoK8sAPINetworkingV1NetworkPolicyIngressRule NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.

swagger:model io.k8s.api.networking.v1.NetworkPolicyIngressRule

func (*IoK8sAPINetworkingV1NetworkPolicyIngressRule) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1NetworkPolicyIngressRule) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1NetworkPolicyIngressRule) Validate

Validate validates this io k8s api networking v1 network policy ingress rule

type IoK8sAPINetworkingV1NetworkPolicyList

type IoK8sAPINetworkingV1NetworkPolicyList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of schema objects.
	// Required: true
	Items []*IoK8sAPINetworkingV1NetworkPolicy `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPINetworkingV1NetworkPolicyList NetworkPolicyList is a list of NetworkPolicy objects.

swagger:model io.k8s.api.networking.v1.NetworkPolicyList

func (*IoK8sAPINetworkingV1NetworkPolicyList) MarshalBinary

func (m *IoK8sAPINetworkingV1NetworkPolicyList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1NetworkPolicyList) UnmarshalBinary

func (m *IoK8sAPINetworkingV1NetworkPolicyList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1NetworkPolicyList) Validate

Validate validates this io k8s api networking v1 network policy list

type IoK8sAPINetworkingV1NetworkPolicyPeer

type IoK8sAPINetworkingV1NetworkPolicyPeer struct {

	// IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.
	IPBlock *IoK8sAPINetworkingV1IPBlock `json:"ipBlock,omitempty"`

	// Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.
	//
	// If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.
	NamespaceSelector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"namespaceSelector,omitempty"`

	// This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.
	//
	// If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.
	PodSelector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"podSelector,omitempty"`
}

IoK8sAPINetworkingV1NetworkPolicyPeer NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed

swagger:model io.k8s.api.networking.v1.NetworkPolicyPeer

func (*IoK8sAPINetworkingV1NetworkPolicyPeer) MarshalBinary

func (m *IoK8sAPINetworkingV1NetworkPolicyPeer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1NetworkPolicyPeer) UnmarshalBinary

func (m *IoK8sAPINetworkingV1NetworkPolicyPeer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1NetworkPolicyPeer) Validate

Validate validates this io k8s api networking v1 network policy peer

type IoK8sAPINetworkingV1NetworkPolicyPort

type IoK8sAPINetworkingV1NetworkPolicyPort struct {

	// 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.
	Port IoK8sApimachineryPkgUtilIntstrIntOrString `json:"port,omitempty"`

	// The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.
	Protocol string `json:"protocol,omitempty"`
}

IoK8sAPINetworkingV1NetworkPolicyPort NetworkPolicyPort describes a port to allow traffic on

swagger:model io.k8s.api.networking.v1.NetworkPolicyPort

func (*IoK8sAPINetworkingV1NetworkPolicyPort) MarshalBinary

func (m *IoK8sAPINetworkingV1NetworkPolicyPort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1NetworkPolicyPort) UnmarshalBinary

func (m *IoK8sAPINetworkingV1NetworkPolicyPort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1NetworkPolicyPort) Validate

Validate validates this io k8s api networking v1 network policy port

type IoK8sAPINetworkingV1NetworkPolicySpec

type IoK8sAPINetworkingV1NetworkPolicySpec struct {

	// List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8
	Egress []*IoK8sAPINetworkingV1NetworkPolicyEgressRule `json:"egress"`

	// List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), 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 allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)
	Ingress []*IoK8sAPINetworkingV1NetworkPolicyIngressRule `json:"ingress"`

	// 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.
	// Required: true
	PodSelector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"podSelector"`

	// List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8
	PolicyTypes []string `json:"policyTypes"`
}

IoK8sAPINetworkingV1NetworkPolicySpec NetworkPolicySpec provides the specification of a NetworkPolicy

swagger:model io.k8s.api.networking.v1.NetworkPolicySpec

func (*IoK8sAPINetworkingV1NetworkPolicySpec) MarshalBinary

func (m *IoK8sAPINetworkingV1NetworkPolicySpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1NetworkPolicySpec) UnmarshalBinary

func (m *IoK8sAPINetworkingV1NetworkPolicySpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1NetworkPolicySpec) Validate

Validate validates this io k8s api networking v1 network policy spec

type IoK8sAPINetworkingV1ServiceBackendPort

type IoK8sAPINetworkingV1ServiceBackendPort struct {

	// Name is the name of the port on the Service. This is a mutually exclusive setting with "Number".
	Name string `json:"name,omitempty"`

	// Number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name".
	Number int32 `json:"number,omitempty"`
}

IoK8sAPINetworkingV1ServiceBackendPort ServiceBackendPort is the service port being referenced.

swagger:model io.k8s.api.networking.v1.ServiceBackendPort

func (*IoK8sAPINetworkingV1ServiceBackendPort) MarshalBinary

func (m *IoK8sAPINetworkingV1ServiceBackendPort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1ServiceBackendPort) UnmarshalBinary

func (m *IoK8sAPINetworkingV1ServiceBackendPort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1ServiceBackendPort) Validate

Validate validates this io k8s api networking v1 service backend port

type IoK8sAPINetworkingV1beta1HTTPIngressPath

type IoK8sAPINetworkingV1beta1HTTPIngressPath struct {

	// Backend defines the referenced service endpoint to which the traffic will be forwarded to.
	// Required: true
	Backend *IoK8sAPINetworkingV1beta1IngressBackend `json:"backend"`

	// Path is 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 '/'. When unspecified, all paths from incoming requests are matched.
	Path string `json:"path,omitempty"`

	// PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is
	//   done on a path element by element basis. A path element refers is the
	//   list of labels in the path split by the '/' separator. A request is a
	//   match for path p if every p is an element-wise prefix of p of the
	//   request path. Note that if the last element of the path is a substring
	//   of the last element in request path, it is not a match (e.g. /foo/bar
	//   matches /foo/bar/baz, but does not match /foo/barbaz).
	// * ImplementationSpecific: Interpretation of the Path matching is up to
	//   the IngressClass. Implementations can treat this as a separate PathType
	//   or treat it identically to Prefix or Exact path types.
	// Implementations are required to support all path types. Defaults to ImplementationSpecific.
	PathType string `json:"pathType,omitempty"`
}

IoK8sAPINetworkingV1beta1HTTPIngressPath HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.

swagger:model io.k8s.api.networking.v1beta1.HTTPIngressPath

func (*IoK8sAPINetworkingV1beta1HTTPIngressPath) MarshalBinary

func (m *IoK8sAPINetworkingV1beta1HTTPIngressPath) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1HTTPIngressPath) UnmarshalBinary

func (m *IoK8sAPINetworkingV1beta1HTTPIngressPath) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1HTTPIngressPath) Validate

Validate validates this io k8s api networking v1beta1 HTTP ingress path

type IoK8sAPINetworkingV1beta1HTTPIngressRuleValue

type IoK8sAPINetworkingV1beta1HTTPIngressRuleValue struct {

	// A collection of paths that map requests to backends.
	// Required: true
	Paths []*IoK8sAPINetworkingV1beta1HTTPIngressPath `json:"paths"`
}

IoK8sAPINetworkingV1beta1HTTPIngressRuleValue 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 '#'.

swagger:model io.k8s.api.networking.v1beta1.HTTPIngressRuleValue

func (*IoK8sAPINetworkingV1beta1HTTPIngressRuleValue) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1HTTPIngressRuleValue) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1HTTPIngressRuleValue) Validate

Validate validates this io k8s api networking v1beta1 HTTP ingress rule value

type IoK8sAPINetworkingV1beta1Ingress

type IoK8sAPINetworkingV1beta1Ingress struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPINetworkingV1beta1IngressSpec `json:"spec,omitempty"`

	// Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IoK8sAPINetworkingV1beta1IngressStatus `json:"status,omitempty"`
}

IoK8sAPINetworkingV1beta1Ingress 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.

swagger:model io.k8s.api.networking.v1beta1.Ingress

func (*IoK8sAPINetworkingV1beta1Ingress) MarshalBinary

func (m *IoK8sAPINetworkingV1beta1Ingress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1Ingress) UnmarshalBinary

func (m *IoK8sAPINetworkingV1beta1Ingress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1Ingress) Validate

Validate validates this io k8s api networking v1beta1 ingress

type IoK8sAPINetworkingV1beta1IngressBackend

type IoK8sAPINetworkingV1beta1IngressBackend struct {

	// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified.
	Resource *IoK8sAPICoreV1TypedLocalObjectReference `json:"resource,omitempty"`

	// Specifies the name of the referenced service.
	ServiceName string `json:"serviceName,omitempty"`

	// Specifies the port of the referenced service.
	ServicePort IoK8sApimachineryPkgUtilIntstrIntOrString `json:"servicePort,omitempty"`
}

IoK8sAPINetworkingV1beta1IngressBackend IngressBackend describes all endpoints for a given service and port.

swagger:model io.k8s.api.networking.v1beta1.IngressBackend

func (*IoK8sAPINetworkingV1beta1IngressBackend) MarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressBackend) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressBackend) UnmarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressBackend) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressBackend) Validate

Validate validates this io k8s api networking v1beta1 ingress backend

type IoK8sAPINetworkingV1beta1IngressClass

type IoK8sAPINetworkingV1beta1IngressClass struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IoK8sAPINetworkingV1beta1IngressClassSpec `json:"spec,omitempty"`
}

IoK8sAPINetworkingV1beta1IngressClass IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.

swagger:model io.k8s.api.networking.v1beta1.IngressClass

func (*IoK8sAPINetworkingV1beta1IngressClass) MarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressClass) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressClass) UnmarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressClass) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressClass) Validate

Validate validates this io k8s api networking v1beta1 ingress class

type IoK8sAPINetworkingV1beta1IngressClassList

type IoK8sAPINetworkingV1beta1IngressClassList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is the list of IngressClasses.
	// Required: true
	Items []*IoK8sAPINetworkingV1beta1IngressClass `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPINetworkingV1beta1IngressClassList IngressClassList is a collection of IngressClasses.

swagger:model io.k8s.api.networking.v1beta1.IngressClassList

func (*IoK8sAPINetworkingV1beta1IngressClassList) MarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressClassList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressClassList) UnmarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressClassList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressClassList) Validate

Validate validates this io k8s api networking v1beta1 ingress class list

type IoK8sAPINetworkingV1beta1IngressClassSpec

type IoK8sAPINetworkingV1beta1IngressClassSpec struct {

	// Controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.
	Controller string `json:"controller,omitempty"`

	// Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters.
	Parameters *IoK8sAPICoreV1TypedLocalObjectReference `json:"parameters,omitempty"`
}

IoK8sAPINetworkingV1beta1IngressClassSpec IngressClassSpec provides information about the class of an Ingress.

swagger:model io.k8s.api.networking.v1beta1.IngressClassSpec

func (*IoK8sAPINetworkingV1beta1IngressClassSpec) MarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressClassSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressClassSpec) UnmarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressClassSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressClassSpec) Validate

Validate validates this io k8s api networking v1beta1 ingress class spec

type IoK8sAPINetworkingV1beta1IngressList

type IoK8sAPINetworkingV1beta1IngressList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is the list of Ingress.
	// Required: true
	Items []*IoK8sAPINetworkingV1beta1Ingress `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPINetworkingV1beta1IngressList IngressList is a collection of Ingress.

swagger:model io.k8s.api.networking.v1beta1.IngressList

func (*IoK8sAPINetworkingV1beta1IngressList) MarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressList) UnmarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressList) Validate

Validate validates this io k8s api networking v1beta1 ingress list

type IoK8sAPINetworkingV1beta1IngressRule

type IoK8sAPINetworkingV1beta1IngressRule struct {

	// 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 RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to
	//    the IP in the Spec of the parent Ingress.
	// 2. The `:` delimiter is not respected because ports are not allowed.
	// 	  Currently the port of an Ingress is implicitly :80 for http and
	// 	  :443 for https.
	// Both 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.
	//
	// Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.
	Host string `json:"host,omitempty"`

	// http
	HTTP *IoK8sAPINetworkingV1beta1HTTPIngressRuleValue `json:"http,omitempty"`
}

IoK8sAPINetworkingV1beta1IngressRule 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.

swagger:model io.k8s.api.networking.v1beta1.IngressRule

func (*IoK8sAPINetworkingV1beta1IngressRule) MarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressRule) UnmarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressRule) Validate

Validate validates this io k8s api networking v1beta1 ingress rule

type IoK8sAPINetworkingV1beta1IngressSpec

type IoK8sAPINetworkingV1beta1IngressSpec struct {

	// 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.
	Backend *IoK8sAPINetworkingV1beta1IngressBackend `json:"backend,omitempty"`

	// IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.
	IngressClassName string `json:"ingressClassName,omitempty"`

	// A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.
	Rules []*IoK8sAPINetworkingV1beta1IngressRule `json:"rules"`

	// 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.
	TLS []*IoK8sAPINetworkingV1beta1IngressTLS `json:"tls"`
}

IoK8sAPINetworkingV1beta1IngressSpec IngressSpec describes the Ingress the user wishes to exist.

swagger:model io.k8s.api.networking.v1beta1.IngressSpec

func (*IoK8sAPINetworkingV1beta1IngressSpec) MarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressSpec) UnmarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressSpec) Validate

Validate validates this io k8s api networking v1beta1 ingress spec

type IoK8sAPINetworkingV1beta1IngressStatus

type IoK8sAPINetworkingV1beta1IngressStatus struct {

	// LoadBalancer contains the current status of the load-balancer.
	LoadBalancer *IoK8sAPICoreV1LoadBalancerStatus `json:"loadBalancer,omitempty"`
}

IoK8sAPINetworkingV1beta1IngressStatus IngressStatus describe the current state of the Ingress.

swagger:model io.k8s.api.networking.v1beta1.IngressStatus

func (*IoK8sAPINetworkingV1beta1IngressStatus) MarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressStatus) UnmarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressStatus) Validate

Validate validates this io k8s api networking v1beta1 ingress status

type IoK8sAPINetworkingV1beta1IngressTLS

type IoK8sAPINetworkingV1beta1IngressTLS struct {

	// 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.
	Hosts []string `json:"hosts"`

	// SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS 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.
	SecretName string `json:"secretName,omitempty"`
}

IoK8sAPINetworkingV1beta1IngressTLS IngressTLS describes the transport layer security associated with an Ingress.

swagger:model io.k8s.api.networking.v1beta1.IngressTLS

func (*IoK8sAPINetworkingV1beta1IngressTLS) MarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressTLS) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressTLS) UnmarshalBinary

func (m *IoK8sAPINetworkingV1beta1IngressTLS) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINetworkingV1beta1IngressTLS) Validate

Validate validates this io k8s api networking v1beta1 ingress TLS

type IoK8sAPINodeV1alpha1Overhead

type IoK8sAPINodeV1alpha1Overhead struct {

	// PodFixed represents the fixed resource overhead associated with running a pod.
	PodFixed map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"podFixed,omitempty"`
}

IoK8sAPINodeV1alpha1Overhead Overhead structure represents the resource overhead associated with running a pod.

swagger:model io.k8s.api.node.v1alpha1.Overhead

func (*IoK8sAPINodeV1alpha1Overhead) MarshalBinary

func (m *IoK8sAPINodeV1alpha1Overhead) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINodeV1alpha1Overhead) UnmarshalBinary

func (m *IoK8sAPINodeV1alpha1Overhead) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINodeV1alpha1Overhead) Validate

func (m *IoK8sAPINodeV1alpha1Overhead) Validate(formats strfmt.Registry) error

Validate validates this io k8s api node v1alpha1 overhead

type IoK8sAPINodeV1alpha1RuntimeClass

type IoK8sAPINodeV1alpha1RuntimeClass struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// Required: true
	Spec *IoK8sAPINodeV1alpha1RuntimeClassSpec `json:"spec"`
}

IoK8sAPINodeV1alpha1RuntimeClass RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md

swagger:model io.k8s.api.node.v1alpha1.RuntimeClass

func (*IoK8sAPINodeV1alpha1RuntimeClass) MarshalBinary

func (m *IoK8sAPINodeV1alpha1RuntimeClass) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINodeV1alpha1RuntimeClass) UnmarshalBinary

func (m *IoK8sAPINodeV1alpha1RuntimeClass) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINodeV1alpha1RuntimeClass) Validate

Validate validates this io k8s api node v1alpha1 runtime class

type IoK8sAPINodeV1alpha1RuntimeClassList

type IoK8sAPINodeV1alpha1RuntimeClassList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of schema objects.
	// Required: true
	Items []*IoK8sAPINodeV1alpha1RuntimeClass `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPINodeV1alpha1RuntimeClassList RuntimeClassList is a list of RuntimeClass objects.

swagger:model io.k8s.api.node.v1alpha1.RuntimeClassList

func (*IoK8sAPINodeV1alpha1RuntimeClassList) MarshalBinary

func (m *IoK8sAPINodeV1alpha1RuntimeClassList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINodeV1alpha1RuntimeClassList) UnmarshalBinary

func (m *IoK8sAPINodeV1alpha1RuntimeClassList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINodeV1alpha1RuntimeClassList) Validate

Validate validates this io k8s api node v1alpha1 runtime class list

type IoK8sAPINodeV1alpha1RuntimeClassSpec

type IoK8sAPINodeV1alpha1RuntimeClassSpec struct {

	// Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature.
	Overhead *IoK8sAPINodeV1alpha1Overhead `json:"overhead,omitempty"`

	// RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration.  It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The RuntimeHandler must conform to the DNS Label (RFC 1123) requirements and is immutable.
	// Required: true
	RuntimeHandler *string `json:"runtimeHandler"`

	// Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.
	Scheduling *IoK8sAPINodeV1alpha1Scheduling `json:"scheduling,omitempty"`
}

IoK8sAPINodeV1alpha1RuntimeClassSpec RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.

swagger:model io.k8s.api.node.v1alpha1.RuntimeClassSpec

func (*IoK8sAPINodeV1alpha1RuntimeClassSpec) MarshalBinary

func (m *IoK8sAPINodeV1alpha1RuntimeClassSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINodeV1alpha1RuntimeClassSpec) UnmarshalBinary

func (m *IoK8sAPINodeV1alpha1RuntimeClassSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINodeV1alpha1RuntimeClassSpec) Validate

Validate validates this io k8s api node v1alpha1 runtime class spec

type IoK8sAPINodeV1alpha1Scheduling

type IoK8sAPINodeV1alpha1Scheduling struct {

	// nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`

	// tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
	Tolerations []*IoK8sAPICoreV1Toleration `json:"tolerations"`
}

IoK8sAPINodeV1alpha1Scheduling Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.

swagger:model io.k8s.api.node.v1alpha1.Scheduling

func (*IoK8sAPINodeV1alpha1Scheduling) MarshalBinary

func (m *IoK8sAPINodeV1alpha1Scheduling) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINodeV1alpha1Scheduling) UnmarshalBinary

func (m *IoK8sAPINodeV1alpha1Scheduling) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINodeV1alpha1Scheduling) Validate

func (m *IoK8sAPINodeV1alpha1Scheduling) Validate(formats strfmt.Registry) error

Validate validates this io k8s api node v1alpha1 scheduling

type IoK8sAPINodeV1beta1Overhead

type IoK8sAPINodeV1beta1Overhead struct {

	// PodFixed represents the fixed resource overhead associated with running a pod.
	PodFixed map[string]IoK8sApimachineryPkgAPIResourceQuantity `json:"podFixed,omitempty"`
}

IoK8sAPINodeV1beta1Overhead Overhead structure represents the resource overhead associated with running a pod.

swagger:model io.k8s.api.node.v1beta1.Overhead

func (*IoK8sAPINodeV1beta1Overhead) MarshalBinary

func (m *IoK8sAPINodeV1beta1Overhead) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINodeV1beta1Overhead) UnmarshalBinary

func (m *IoK8sAPINodeV1beta1Overhead) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINodeV1beta1Overhead) Validate

func (m *IoK8sAPINodeV1beta1Overhead) Validate(formats strfmt.Registry) error

Validate validates this io k8s api node v1beta1 overhead

type IoK8sAPINodeV1beta1RuntimeClass

type IoK8sAPINodeV1beta1RuntimeClass struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration.  It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must conform to the DNS Label (RFC 1123) requirements, and is immutable.
	// Required: true
	Handler *string `json:"handler"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature.
	Overhead *IoK8sAPINodeV1beta1Overhead `json:"overhead,omitempty"`

	// Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.
	Scheduling *IoK8sAPINodeV1beta1Scheduling `json:"scheduling,omitempty"`
}

IoK8sAPINodeV1beta1RuntimeClass RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md

swagger:model io.k8s.api.node.v1beta1.RuntimeClass

func (*IoK8sAPINodeV1beta1RuntimeClass) MarshalBinary

func (m *IoK8sAPINodeV1beta1RuntimeClass) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINodeV1beta1RuntimeClass) UnmarshalBinary

func (m *IoK8sAPINodeV1beta1RuntimeClass) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINodeV1beta1RuntimeClass) Validate

Validate validates this io k8s api node v1beta1 runtime class

type IoK8sAPINodeV1beta1RuntimeClassList

type IoK8sAPINodeV1beta1RuntimeClassList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of schema objects.
	// Required: true
	Items []*IoK8sAPINodeV1beta1RuntimeClass `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPINodeV1beta1RuntimeClassList RuntimeClassList is a list of RuntimeClass objects.

swagger:model io.k8s.api.node.v1beta1.RuntimeClassList

func (*IoK8sAPINodeV1beta1RuntimeClassList) MarshalBinary

func (m *IoK8sAPINodeV1beta1RuntimeClassList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINodeV1beta1RuntimeClassList) UnmarshalBinary

func (m *IoK8sAPINodeV1beta1RuntimeClassList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINodeV1beta1RuntimeClassList) Validate

Validate validates this io k8s api node v1beta1 runtime class list

type IoK8sAPINodeV1beta1Scheduling

type IoK8sAPINodeV1beta1Scheduling struct {

	// nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`

	// tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
	Tolerations []*IoK8sAPICoreV1Toleration `json:"tolerations"`
}

IoK8sAPINodeV1beta1Scheduling Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.

swagger:model io.k8s.api.node.v1beta1.Scheduling

func (*IoK8sAPINodeV1beta1Scheduling) MarshalBinary

func (m *IoK8sAPINodeV1beta1Scheduling) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPINodeV1beta1Scheduling) UnmarshalBinary

func (m *IoK8sAPINodeV1beta1Scheduling) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPINodeV1beta1Scheduling) Validate

func (m *IoK8sAPINodeV1beta1Scheduling) Validate(formats strfmt.Registry) error

Validate validates this io k8s api node v1beta1 scheduling

type IoK8sAPIPolicyV1beta1AllowedCSIDriver

type IoK8sAPIPolicyV1beta1AllowedCSIDriver struct {

	// Name is the registered name of the CSI driver
	// Required: true
	Name *string `json:"name"`
}

IoK8sAPIPolicyV1beta1AllowedCSIDriver AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.

swagger:model io.k8s.api.policy.v1beta1.AllowedCSIDriver

func (*IoK8sAPIPolicyV1beta1AllowedCSIDriver) MarshalBinary

func (m *IoK8sAPIPolicyV1beta1AllowedCSIDriver) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1AllowedCSIDriver) UnmarshalBinary

func (m *IoK8sAPIPolicyV1beta1AllowedCSIDriver) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1AllowedCSIDriver) Validate

Validate validates this io k8s api policy v1beta1 allowed c s i driver

type IoK8sAPIPolicyV1beta1AllowedFlexVolume

type IoK8sAPIPolicyV1beta1AllowedFlexVolume struct {

	// driver is the name of the Flexvolume driver.
	// Required: true
	Driver *string `json:"driver"`
}

IoK8sAPIPolicyV1beta1AllowedFlexVolume AllowedFlexVolume represents a single Flexvolume that is allowed to be used.

swagger:model io.k8s.api.policy.v1beta1.AllowedFlexVolume

func (*IoK8sAPIPolicyV1beta1AllowedFlexVolume) MarshalBinary

func (m *IoK8sAPIPolicyV1beta1AllowedFlexVolume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1AllowedFlexVolume) UnmarshalBinary

func (m *IoK8sAPIPolicyV1beta1AllowedFlexVolume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1AllowedFlexVolume) Validate

Validate validates this io k8s api policy v1beta1 allowed flex volume

type IoK8sAPIPolicyV1beta1AllowedHostPath

type IoK8sAPIPolicyV1beta1AllowedHostPath struct {

	// pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.
	//
	// Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`
	PathPrefix string `json:"pathPrefix,omitempty"`

	// when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
	ReadOnly bool `json:"readOnly,omitempty"`
}

IoK8sAPIPolicyV1beta1AllowedHostPath AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.

swagger:model io.k8s.api.policy.v1beta1.AllowedHostPath

func (*IoK8sAPIPolicyV1beta1AllowedHostPath) MarshalBinary

func (m *IoK8sAPIPolicyV1beta1AllowedHostPath) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1AllowedHostPath) UnmarshalBinary

func (m *IoK8sAPIPolicyV1beta1AllowedHostPath) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1AllowedHostPath) Validate

Validate validates this io k8s api policy v1beta1 allowed host path

type IoK8sAPIPolicyV1beta1Eviction

type IoK8sAPIPolicyV1beta1Eviction struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// DeleteOptions may be provided
	DeleteOptions *IoK8sApimachineryPkgApisMetaV1DeleteOptions `json:"deleteOptions,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// ObjectMeta describes the pod that is being evicted.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`
}

IoK8sAPIPolicyV1beta1Eviction 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.

swagger:model io.k8s.api.policy.v1beta1.Eviction

func (*IoK8sAPIPolicyV1beta1Eviction) MarshalBinary

func (m *IoK8sAPIPolicyV1beta1Eviction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1Eviction) UnmarshalBinary

func (m *IoK8sAPIPolicyV1beta1Eviction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1Eviction) Validate

func (m *IoK8sAPIPolicyV1beta1Eviction) Validate(formats strfmt.Registry) error

Validate validates this io k8s api policy v1beta1 eviction

type IoK8sAPIPolicyV1beta1FSGroupStrategyOptions

type IoK8sAPIPolicyV1beta1FSGroupStrategyOptions struct {

	// 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. Required for MustRunAs.
	Ranges []*IoK8sAPIPolicyV1beta1IDRange `json:"ranges"`

	// rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
	Rule string `json:"rule,omitempty"`
}

IoK8sAPIPolicyV1beta1FSGroupStrategyOptions FSGroupStrategyOptions defines the strategy type and options used to create the strategy.

swagger:model io.k8s.api.policy.v1beta1.FSGroupStrategyOptions

func (*IoK8sAPIPolicyV1beta1FSGroupStrategyOptions) MarshalBinary

func (m *IoK8sAPIPolicyV1beta1FSGroupStrategyOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1FSGroupStrategyOptions) UnmarshalBinary

func (m *IoK8sAPIPolicyV1beta1FSGroupStrategyOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1FSGroupStrategyOptions) Validate

Validate validates this io k8s api policy v1beta1 f s group strategy options

type IoK8sAPIPolicyV1beta1HostPortRange

type IoK8sAPIPolicyV1beta1HostPortRange struct {

	// max is the end of the range, inclusive.
	// Required: true
	Max *int32 `json:"max"`

	// min is the start of the range, inclusive.
	// Required: true
	Min *int32 `json:"min"`
}

IoK8sAPIPolicyV1beta1HostPortRange 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.

swagger:model io.k8s.api.policy.v1beta1.HostPortRange

func (*IoK8sAPIPolicyV1beta1HostPortRange) MarshalBinary

func (m *IoK8sAPIPolicyV1beta1HostPortRange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1HostPortRange) UnmarshalBinary

func (m *IoK8sAPIPolicyV1beta1HostPortRange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1HostPortRange) Validate

Validate validates this io k8s api policy v1beta1 host port range

type IoK8sAPIPolicyV1beta1IDRange

type IoK8sAPIPolicyV1beta1IDRange struct {

	// max is the end of the range, inclusive.
	// Required: true
	Max *int64 `json:"max"`

	// min is the start of the range, inclusive.
	// Required: true
	Min *int64 `json:"min"`
}

IoK8sAPIPolicyV1beta1IDRange IDRange provides a min/max of an allowed range of IDs.

swagger:model io.k8s.api.policy.v1beta1.IDRange

func (*IoK8sAPIPolicyV1beta1IDRange) MarshalBinary

func (m *IoK8sAPIPolicyV1beta1IDRange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1IDRange) UnmarshalBinary

func (m *IoK8sAPIPolicyV1beta1IDRange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1IDRange) Validate

func (m *IoK8sAPIPolicyV1beta1IDRange) Validate(formats strfmt.Registry) error

Validate validates this io k8s api policy v1beta1 ID range

type IoK8sAPIPolicyV1beta1PodDisruptionBudget

type IoK8sAPIPolicyV1beta1PodDisruptionBudget struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the desired behavior of the PodDisruptionBudget.
	Spec *IoK8sAPIPolicyV1beta1PodDisruptionBudgetSpec `json:"spec,omitempty"`

	// Most recently observed status of the PodDisruptionBudget.
	Status *IoK8sAPIPolicyV1beta1PodDisruptionBudgetStatus `json:"status,omitempty"`
}

IoK8sAPIPolicyV1beta1PodDisruptionBudget PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods

swagger:model io.k8s.api.policy.v1beta1.PodDisruptionBudget

func (*IoK8sAPIPolicyV1beta1PodDisruptionBudget) MarshalBinary

func (m *IoK8sAPIPolicyV1beta1PodDisruptionBudget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1PodDisruptionBudget) UnmarshalBinary

func (m *IoK8sAPIPolicyV1beta1PodDisruptionBudget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1PodDisruptionBudget) Validate

Validate validates this io k8s api policy v1beta1 pod disruption budget

type IoK8sAPIPolicyV1beta1PodDisruptionBudgetList

type IoK8sAPIPolicyV1beta1PodDisruptionBudgetList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items
	// Required: true
	Items []*IoK8sAPIPolicyV1beta1PodDisruptionBudget `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIPolicyV1beta1PodDisruptionBudgetList PodDisruptionBudgetList is a collection of PodDisruptionBudgets.

swagger:model io.k8s.api.policy.v1beta1.PodDisruptionBudgetList

func (*IoK8sAPIPolicyV1beta1PodDisruptionBudgetList) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1PodDisruptionBudgetList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1PodDisruptionBudgetList) Validate

Validate validates this io k8s api policy v1beta1 pod disruption budget list

type IoK8sAPIPolicyV1beta1PodDisruptionBudgetSpec

type IoK8sAPIPolicyV1beta1PodDisruptionBudgetSpec struct {

	// An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".
	MaxUnavailable IoK8sApimachineryPkgUtilIntstrIntOrString `json:"maxUnavailable,omitempty"`

	// 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%".
	MinAvailable IoK8sApimachineryPkgUtilIntstrIntOrString `json:"minAvailable,omitempty"`

	// Label query over pods whose evictions are managed by the disruption budget.
	Selector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"selector,omitempty"`
}

IoK8sAPIPolicyV1beta1PodDisruptionBudgetSpec PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.

swagger:model io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec

func (*IoK8sAPIPolicyV1beta1PodDisruptionBudgetSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1PodDisruptionBudgetSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1PodDisruptionBudgetSpec) Validate

Validate validates this io k8s api policy v1beta1 pod disruption budget spec

type IoK8sAPIPolicyV1beta1PodDisruptionBudgetStatus

type IoK8sAPIPolicyV1beta1PodDisruptionBudgetStatus struct {

	// current number of healthy pods
	// Required: true
	CurrentHealthy *int32 `json:"currentHealthy"`

	// minimum desired number of healthy pods
	// Required: true
	DesiredHealthy *int32 `json:"desiredHealthy"`

	// 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.
	DisruptedPods map[string]IoK8sApimachineryPkgApisMetaV1Time `json:"disruptedPods,omitempty"`

	// Number of pod disruptions that are currently allowed.
	// Required: true
	DisruptionsAllowed *int32 `json:"disruptionsAllowed"`

	// total number of pods counted by this disruption budget
	// Required: true
	ExpectedPods *int32 `json:"expectedPods"`

	// Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

IoK8sAPIPolicyV1beta1PodDisruptionBudgetStatus PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.

swagger:model io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus

func (*IoK8sAPIPolicyV1beta1PodDisruptionBudgetStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1PodDisruptionBudgetStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1PodDisruptionBudgetStatus) Validate

Validate validates this io k8s api policy v1beta1 pod disruption budget status

type IoK8sAPIPolicyV1beta1PodSecurityPolicy

type IoK8sAPIPolicyV1beta1PodSecurityPolicy struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// spec defines the policy enforced.
	Spec *IoK8sAPIPolicyV1beta1PodSecurityPolicySpec `json:"spec,omitempty"`
}

IoK8sAPIPolicyV1beta1PodSecurityPolicy PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.

swagger:model io.k8s.api.policy.v1beta1.PodSecurityPolicy

func (*IoK8sAPIPolicyV1beta1PodSecurityPolicy) MarshalBinary

func (m *IoK8sAPIPolicyV1beta1PodSecurityPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1PodSecurityPolicy) UnmarshalBinary

func (m *IoK8sAPIPolicyV1beta1PodSecurityPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1PodSecurityPolicy) Validate

Validate validates this io k8s api policy v1beta1 pod security policy

type IoK8sAPIPolicyV1beta1PodSecurityPolicyList

type IoK8sAPIPolicyV1beta1PodSecurityPolicyList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is a list of schema objects.
	// Required: true
	Items []*IoK8sAPIPolicyV1beta1PodSecurityPolicy `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIPolicyV1beta1PodSecurityPolicyList PodSecurityPolicyList is a list of PodSecurityPolicy objects.

swagger:model io.k8s.api.policy.v1beta1.PodSecurityPolicyList

func (*IoK8sAPIPolicyV1beta1PodSecurityPolicyList) MarshalBinary

func (m *IoK8sAPIPolicyV1beta1PodSecurityPolicyList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1PodSecurityPolicyList) UnmarshalBinary

func (m *IoK8sAPIPolicyV1beta1PodSecurityPolicyList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1PodSecurityPolicyList) Validate

Validate validates this io k8s api policy v1beta1 pod security policy list

type IoK8sAPIPolicyV1beta1PodSecurityPolicySpec

type IoK8sAPIPolicyV1beta1PodSecurityPolicySpec struct {

	// allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.
	AllowPrivilegeEscalation bool `json:"allowPrivilegeEscalation,omitempty"`

	// AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate.
	AllowedCSIDrivers []*IoK8sAPIPolicyV1beta1AllowedCSIDriver `json:"allowedCSIDrivers"`

	// 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.
	AllowedCapabilities []string `json:"allowedCapabilities"`

	// allowedFlexVolumes is an allowlist of Flexvolumes.  Empty or nil indicates that all Flexvolumes may be used.  This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field.
	AllowedFlexVolumes []*IoK8sAPIPolicyV1beta1AllowedFlexVolume `json:"allowedFlexVolumes"`

	// allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used.
	AllowedHostPaths []*IoK8sAPIPolicyV1beta1AllowedHostPath `json:"allowedHostPaths"`

	// AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.
	AllowedProcMountTypes []string `json:"allowedProcMountTypes"`

	// allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection.
	//
	// Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc.
	AllowedUnsafeSysctls []string `json:"allowedUnsafeSysctls"`

	// 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. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.
	DefaultAddCapabilities []string `json:"defaultAddCapabilities"`

	// defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.
	DefaultAllowPrivilegeEscalation bool `json:"defaultAllowPrivilegeEscalation,omitempty"`

	// forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.
	//
	// Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc.
	ForbiddenSysctls []string `json:"forbiddenSysctls"`

	// fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.
	// Required: true
	FsGroup *IoK8sAPIPolicyV1beta1FSGroupStrategyOptions `json:"fsGroup"`

	// hostIPC determines if the policy allows the use of HostIPC in the pod spec.
	HostIPC bool `json:"hostIPC,omitempty"`

	// hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
	HostNetwork bool `json:"hostNetwork,omitempty"`

	// hostPID determines if the policy allows the use of HostPID in the pod spec.
	HostPID bool `json:"hostPID,omitempty"`

	// hostPorts determines which host port ranges are allowed to be exposed.
	HostPorts []*IoK8sAPIPolicyV1beta1HostPortRange `json:"hostPorts"`

	// privileged determines if a pod can request to be run as privileged.
	Privileged bool `json:"privileged,omitempty"`

	// 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.
	ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem,omitempty"`

	// requiredDropCapabilities are the capabilities that will be dropped from the container.  These are required to be dropped and cannot be added.
	RequiredDropCapabilities []string `json:"requiredDropCapabilities"`

	// RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled.
	RunAsGroup *IoK8sAPIPolicyV1beta1RunAsGroupStrategyOptions `json:"runAsGroup,omitempty"`

	// runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
	// Required: true
	RunAsUser *IoK8sAPIPolicyV1beta1RunAsUserStrategyOptions `json:"runAsUser"`

	// runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled.
	RuntimeClass *IoK8sAPIPolicyV1beta1RuntimeClassStrategyOptions `json:"runtimeClass,omitempty"`

	// seLinux is the strategy that will dictate the allowable labels that may be set.
	// Required: true
	SeLinux *IoK8sAPIPolicyV1beta1SELinuxStrategyOptions `json:"seLinux"`

	// supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
	// Required: true
	SupplementalGroups *IoK8sAPIPolicyV1beta1SupplementalGroupsStrategyOptions `json:"supplementalGroups"`

	// volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.
	Volumes []string `json:"volumes"`
}

IoK8sAPIPolicyV1beta1PodSecurityPolicySpec PodSecurityPolicySpec defines the policy enforced.

swagger:model io.k8s.api.policy.v1beta1.PodSecurityPolicySpec

func (*IoK8sAPIPolicyV1beta1PodSecurityPolicySpec) MarshalBinary

func (m *IoK8sAPIPolicyV1beta1PodSecurityPolicySpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1PodSecurityPolicySpec) UnmarshalBinary

func (m *IoK8sAPIPolicyV1beta1PodSecurityPolicySpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1PodSecurityPolicySpec) Validate

Validate validates this io k8s api policy v1beta1 pod security policy spec

type IoK8sAPIPolicyV1beta1RunAsGroupStrategyOptions

type IoK8sAPIPolicyV1beta1RunAsGroupStrategyOptions struct {

	// ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.
	Ranges []*IoK8sAPIPolicyV1beta1IDRange `json:"ranges"`

	// rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
	// Required: true
	Rule *string `json:"rule"`
}

IoK8sAPIPolicyV1beta1RunAsGroupStrategyOptions RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.

swagger:model io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions

func (*IoK8sAPIPolicyV1beta1RunAsGroupStrategyOptions) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1RunAsGroupStrategyOptions) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1RunAsGroupStrategyOptions) Validate

Validate validates this io k8s api policy v1beta1 run as group strategy options

type IoK8sAPIPolicyV1beta1RunAsUserStrategyOptions

type IoK8sAPIPolicyV1beta1RunAsUserStrategyOptions struct {

	// ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.
	Ranges []*IoK8sAPIPolicyV1beta1IDRange `json:"ranges"`

	// rule is the strategy that will dictate the allowable RunAsUser values that may be set.
	// Required: true
	Rule *string `json:"rule"`
}

IoK8sAPIPolicyV1beta1RunAsUserStrategyOptions RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.

swagger:model io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions

func (*IoK8sAPIPolicyV1beta1RunAsUserStrategyOptions) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1RunAsUserStrategyOptions) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1RunAsUserStrategyOptions) Validate

Validate validates this io k8s api policy v1beta1 run as user strategy options

type IoK8sAPIPolicyV1beta1RuntimeClassStrategyOptions

type IoK8sAPIPolicyV1beta1RuntimeClassStrategyOptions struct {

	// allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
	// Required: true
	AllowedRuntimeClassNames []string `json:"allowedRuntimeClassNames"`

	// defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
	DefaultRuntimeClassName string `json:"defaultRuntimeClassName,omitempty"`
}

IoK8sAPIPolicyV1beta1RuntimeClassStrategyOptions RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.

swagger:model io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions

func (*IoK8sAPIPolicyV1beta1RuntimeClassStrategyOptions) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1RuntimeClassStrategyOptions) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1RuntimeClassStrategyOptions) Validate

Validate validates this io k8s api policy v1beta1 runtime class strategy options

type IoK8sAPIPolicyV1beta1SELinuxStrategyOptions

type IoK8sAPIPolicyV1beta1SELinuxStrategyOptions struct {

	// rule is the strategy that will dictate the allowable labels that may be set.
	// Required: true
	Rule *string `json:"rule"`

	// seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
	SeLinuxOptions *IoK8sAPICoreV1SELinuxOptions `json:"seLinuxOptions,omitempty"`
}

IoK8sAPIPolicyV1beta1SELinuxStrategyOptions SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.

swagger:model io.k8s.api.policy.v1beta1.SELinuxStrategyOptions

func (*IoK8sAPIPolicyV1beta1SELinuxStrategyOptions) MarshalBinary

func (m *IoK8sAPIPolicyV1beta1SELinuxStrategyOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1SELinuxStrategyOptions) UnmarshalBinary

func (m *IoK8sAPIPolicyV1beta1SELinuxStrategyOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1SELinuxStrategyOptions) Validate

Validate validates this io k8s api policy v1beta1 s e linux strategy options

type IoK8sAPIPolicyV1beta1SupplementalGroupsStrategyOptions

type IoK8sAPIPolicyV1beta1SupplementalGroupsStrategyOptions struct {

	// 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. Required for MustRunAs.
	Ranges []*IoK8sAPIPolicyV1beta1IDRange `json:"ranges"`

	// rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
	Rule string `json:"rule,omitempty"`
}

IoK8sAPIPolicyV1beta1SupplementalGroupsStrategyOptions SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.

swagger:model io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions

func (*IoK8sAPIPolicyV1beta1SupplementalGroupsStrategyOptions) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1SupplementalGroupsStrategyOptions) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIPolicyV1beta1SupplementalGroupsStrategyOptions) Validate

Validate validates this io k8s api policy v1beta1 supplemental groups strategy options

type IoK8sAPIRbacV1AggregationRule

type IoK8sAPIRbacV1AggregationRule struct {

	// ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added
	ClusterRoleSelectors []*IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"clusterRoleSelectors"`
}

IoK8sAPIRbacV1AggregationRule AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole

swagger:model io.k8s.api.rbac.v1.AggregationRule

func (*IoK8sAPIRbacV1AggregationRule) MarshalBinary

func (m *IoK8sAPIRbacV1AggregationRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1AggregationRule) UnmarshalBinary

func (m *IoK8sAPIRbacV1AggregationRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1AggregationRule) Validate

func (m *IoK8sAPIRbacV1AggregationRule) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1 aggregation rule

type IoK8sAPIRbacV1ClusterRole

type IoK8sAPIRbacV1ClusterRole struct {

	// AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.
	AggregationRule *IoK8sAPIRbacV1AggregationRule `json:"aggregationRule,omitempty"`

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Rules holds all the PolicyRules for this ClusterRole
	Rules []*IoK8sAPIRbacV1PolicyRule `json:"rules"`
}

IoK8sAPIRbacV1ClusterRole ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.

swagger:model io.k8s.api.rbac.v1.ClusterRole

func (*IoK8sAPIRbacV1ClusterRole) MarshalBinary

func (m *IoK8sAPIRbacV1ClusterRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1ClusterRole) UnmarshalBinary

func (m *IoK8sAPIRbacV1ClusterRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1ClusterRole) Validate

func (m *IoK8sAPIRbacV1ClusterRole) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1 cluster role

type IoK8sAPIRbacV1ClusterRoleBinding

type IoK8sAPIRbacV1ClusterRoleBinding struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
	// Required: true
	RoleRef *IoK8sAPIRbacV1RoleRef `json:"roleRef"`

	// Subjects holds references to the objects the role applies to.
	Subjects []*IoK8sAPIRbacV1Subject `json:"subjects"`
}

IoK8sAPIRbacV1ClusterRoleBinding ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.

swagger:model io.k8s.api.rbac.v1.ClusterRoleBinding

func (*IoK8sAPIRbacV1ClusterRoleBinding) MarshalBinary

func (m *IoK8sAPIRbacV1ClusterRoleBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1ClusterRoleBinding) UnmarshalBinary

func (m *IoK8sAPIRbacV1ClusterRoleBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1ClusterRoleBinding) Validate

Validate validates this io k8s api rbac v1 cluster role binding

type IoK8sAPIRbacV1ClusterRoleBindingList

type IoK8sAPIRbacV1ClusterRoleBindingList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of ClusterRoleBindings
	// Required: true
	Items []*IoK8sAPIRbacV1ClusterRoleBinding `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIRbacV1ClusterRoleBindingList ClusterRoleBindingList is a collection of ClusterRoleBindings

swagger:model io.k8s.api.rbac.v1.ClusterRoleBindingList

func (*IoK8sAPIRbacV1ClusterRoleBindingList) MarshalBinary

func (m *IoK8sAPIRbacV1ClusterRoleBindingList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1ClusterRoleBindingList) UnmarshalBinary

func (m *IoK8sAPIRbacV1ClusterRoleBindingList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1ClusterRoleBindingList) Validate

Validate validates this io k8s api rbac v1 cluster role binding list

type IoK8sAPIRbacV1ClusterRoleList

type IoK8sAPIRbacV1ClusterRoleList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of ClusterRoles
	// Required: true
	Items []*IoK8sAPIRbacV1ClusterRole `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIRbacV1ClusterRoleList ClusterRoleList is a collection of ClusterRoles

swagger:model io.k8s.api.rbac.v1.ClusterRoleList

func (*IoK8sAPIRbacV1ClusterRoleList) MarshalBinary

func (m *IoK8sAPIRbacV1ClusterRoleList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1ClusterRoleList) UnmarshalBinary

func (m *IoK8sAPIRbacV1ClusterRoleList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1ClusterRoleList) Validate

func (m *IoK8sAPIRbacV1ClusterRoleList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1 cluster role list

type IoK8sAPIRbacV1PolicyRule

type IoK8sAPIRbacV1PolicyRule struct {

	// 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.
	APIGroups []string `json:"apiGroups"`

	// 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 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.
	NonResourceURLs []string `json:"nonResourceURLs"`

	// ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.
	ResourceNames []string `json:"resourceNames"`

	// Resources is a list of resources this rule applies to.  ResourceAll represents all resources.
	Resources []string `json:"resources"`

	// Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.  VerbAll represents all kinds.
	// Required: true
	Verbs []string `json:"verbs"`
}

IoK8sAPIRbacV1PolicyRule 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.

swagger:model io.k8s.api.rbac.v1.PolicyRule

func (*IoK8sAPIRbacV1PolicyRule) MarshalBinary

func (m *IoK8sAPIRbacV1PolicyRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1PolicyRule) UnmarshalBinary

func (m *IoK8sAPIRbacV1PolicyRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1PolicyRule) Validate

func (m *IoK8sAPIRbacV1PolicyRule) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1 policy rule

type IoK8sAPIRbacV1Role

type IoK8sAPIRbacV1Role struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Rules holds all the PolicyRules for this Role
	Rules []*IoK8sAPIRbacV1PolicyRule `json:"rules"`
}

IoK8sAPIRbacV1Role Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.

swagger:model io.k8s.api.rbac.v1.Role

func (*IoK8sAPIRbacV1Role) MarshalBinary

func (m *IoK8sAPIRbacV1Role) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1Role) UnmarshalBinary

func (m *IoK8sAPIRbacV1Role) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1Role) Validate

func (m *IoK8sAPIRbacV1Role) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1 role

type IoK8sAPIRbacV1RoleBinding

type IoK8sAPIRbacV1RoleBinding struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// 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.
	// Required: true
	RoleRef *IoK8sAPIRbacV1RoleRef `json:"roleRef"`

	// Subjects holds references to the objects the role applies to.
	Subjects []*IoK8sAPIRbacV1Subject `json:"subjects"`
}

IoK8sAPIRbacV1RoleBinding 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.

swagger:model io.k8s.api.rbac.v1.RoleBinding

func (*IoK8sAPIRbacV1RoleBinding) MarshalBinary

func (m *IoK8sAPIRbacV1RoleBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1RoleBinding) UnmarshalBinary

func (m *IoK8sAPIRbacV1RoleBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1RoleBinding) Validate

func (m *IoK8sAPIRbacV1RoleBinding) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1 role binding

type IoK8sAPIRbacV1RoleBindingList

type IoK8sAPIRbacV1RoleBindingList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of RoleBindings
	// Required: true
	Items []*IoK8sAPIRbacV1RoleBinding `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIRbacV1RoleBindingList RoleBindingList is a collection of RoleBindings

swagger:model io.k8s.api.rbac.v1.RoleBindingList

func (*IoK8sAPIRbacV1RoleBindingList) MarshalBinary

func (m *IoK8sAPIRbacV1RoleBindingList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1RoleBindingList) UnmarshalBinary

func (m *IoK8sAPIRbacV1RoleBindingList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1RoleBindingList) Validate

func (m *IoK8sAPIRbacV1RoleBindingList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1 role binding list

type IoK8sAPIRbacV1RoleList

type IoK8sAPIRbacV1RoleList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of Roles
	// Required: true
	Items []*IoK8sAPIRbacV1Role `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIRbacV1RoleList RoleList is a collection of Roles

swagger:model io.k8s.api.rbac.v1.RoleList

func (*IoK8sAPIRbacV1RoleList) MarshalBinary

func (m *IoK8sAPIRbacV1RoleList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1RoleList) UnmarshalBinary

func (m *IoK8sAPIRbacV1RoleList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1RoleList) Validate

func (m *IoK8sAPIRbacV1RoleList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1 role list

type IoK8sAPIRbacV1RoleRef

type IoK8sAPIRbacV1RoleRef struct {

	// APIGroup is the group for the resource being referenced
	// Required: true
	APIGroup *string `json:"apiGroup"`

	// Kind is the type of resource being referenced
	// Required: true
	Kind *string `json:"kind"`

	// Name is the name of resource being referenced
	// Required: true
	Name *string `json:"name"`
}

IoK8sAPIRbacV1RoleRef RoleRef contains information that points to the role being used

swagger:model io.k8s.api.rbac.v1.RoleRef

func (*IoK8sAPIRbacV1RoleRef) MarshalBinary

func (m *IoK8sAPIRbacV1RoleRef) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1RoleRef) UnmarshalBinary

func (m *IoK8sAPIRbacV1RoleRef) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1RoleRef) Validate

func (m *IoK8sAPIRbacV1RoleRef) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1 role ref

type IoK8sAPIRbacV1Subject

type IoK8sAPIRbacV1Subject struct {

	// APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.
	APIGroup string `json:"apiGroup,omitempty"`

	// 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.
	// Required: true
	Kind *string `json:"kind"`

	// Name of the object being referenced.
	// Required: true
	Name *string `json:"name"`

	// 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.
	Namespace string `json:"namespace,omitempty"`
}

IoK8sAPIRbacV1Subject 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.

swagger:model io.k8s.api.rbac.v1.Subject

func (*IoK8sAPIRbacV1Subject) MarshalBinary

func (m *IoK8sAPIRbacV1Subject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1Subject) UnmarshalBinary

func (m *IoK8sAPIRbacV1Subject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1Subject) Validate

func (m *IoK8sAPIRbacV1Subject) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1 subject

type IoK8sAPIRbacV1alpha1AggregationRule

type IoK8sAPIRbacV1alpha1AggregationRule struct {

	// ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added
	ClusterRoleSelectors []*IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"clusterRoleSelectors"`
}

IoK8sAPIRbacV1alpha1AggregationRule AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole

swagger:model io.k8s.api.rbac.v1alpha1.AggregationRule

func (*IoK8sAPIRbacV1alpha1AggregationRule) MarshalBinary

func (m *IoK8sAPIRbacV1alpha1AggregationRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1AggregationRule) UnmarshalBinary

func (m *IoK8sAPIRbacV1alpha1AggregationRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1AggregationRule) Validate

Validate validates this io k8s api rbac v1alpha1 aggregation rule

type IoK8sAPIRbacV1alpha1ClusterRole

type IoK8sAPIRbacV1alpha1ClusterRole struct {

	// AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.
	AggregationRule *IoK8sAPIRbacV1alpha1AggregationRule `json:"aggregationRule,omitempty"`

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Rules holds all the PolicyRules for this ClusterRole
	Rules []*IoK8sAPIRbacV1alpha1PolicyRule `json:"rules"`
}

IoK8sAPIRbacV1alpha1ClusterRole ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22.

swagger:model io.k8s.api.rbac.v1alpha1.ClusterRole

func (*IoK8sAPIRbacV1alpha1ClusterRole) MarshalBinary

func (m *IoK8sAPIRbacV1alpha1ClusterRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1ClusterRole) UnmarshalBinary

func (m *IoK8sAPIRbacV1alpha1ClusterRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1ClusterRole) Validate

Validate validates this io k8s api rbac v1alpha1 cluster role

type IoK8sAPIRbacV1alpha1ClusterRoleBinding

type IoK8sAPIRbacV1alpha1ClusterRoleBinding struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
	// Required: true
	RoleRef *IoK8sAPIRbacV1alpha1RoleRef `json:"roleRef"`

	// Subjects holds references to the objects the role applies to.
	Subjects []*IoK8sAPIRbacV1alpha1Subject `json:"subjects"`
}

IoK8sAPIRbacV1alpha1ClusterRoleBinding ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22.

swagger:model io.k8s.api.rbac.v1alpha1.ClusterRoleBinding

func (*IoK8sAPIRbacV1alpha1ClusterRoleBinding) MarshalBinary

func (m *IoK8sAPIRbacV1alpha1ClusterRoleBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1ClusterRoleBinding) UnmarshalBinary

func (m *IoK8sAPIRbacV1alpha1ClusterRoleBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1ClusterRoleBinding) Validate

Validate validates this io k8s api rbac v1alpha1 cluster role binding

type IoK8sAPIRbacV1alpha1ClusterRoleBindingList

type IoK8sAPIRbacV1alpha1ClusterRoleBindingList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of ClusterRoleBindings
	// Required: true
	Items []*IoK8sAPIRbacV1alpha1ClusterRoleBinding `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIRbacV1alpha1ClusterRoleBindingList ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.22.

swagger:model io.k8s.api.rbac.v1alpha1.ClusterRoleBindingList

func (*IoK8sAPIRbacV1alpha1ClusterRoleBindingList) MarshalBinary

func (m *IoK8sAPIRbacV1alpha1ClusterRoleBindingList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1ClusterRoleBindingList) UnmarshalBinary

func (m *IoK8sAPIRbacV1alpha1ClusterRoleBindingList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1ClusterRoleBindingList) Validate

Validate validates this io k8s api rbac v1alpha1 cluster role binding list

type IoK8sAPIRbacV1alpha1ClusterRoleList

type IoK8sAPIRbacV1alpha1ClusterRoleList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of ClusterRoles
	// Required: true
	Items []*IoK8sAPIRbacV1alpha1ClusterRole `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIRbacV1alpha1ClusterRoleList ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.22.

swagger:model io.k8s.api.rbac.v1alpha1.ClusterRoleList

func (*IoK8sAPIRbacV1alpha1ClusterRoleList) MarshalBinary

func (m *IoK8sAPIRbacV1alpha1ClusterRoleList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1ClusterRoleList) UnmarshalBinary

func (m *IoK8sAPIRbacV1alpha1ClusterRoleList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1ClusterRoleList) Validate

Validate validates this io k8s api rbac v1alpha1 cluster role list

type IoK8sAPIRbacV1alpha1PolicyRule

type IoK8sAPIRbacV1alpha1PolicyRule struct {

	// 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.
	APIGroups []string `json:"apiGroups"`

	// 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 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.
	NonResourceURLs []string `json:"nonResourceURLs"`

	// ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.
	ResourceNames []string `json:"resourceNames"`

	// Resources is a list of resources this rule applies to.  ResourceAll represents all resources.
	Resources []string `json:"resources"`

	// Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.  VerbAll represents all kinds.
	// Required: true
	Verbs []string `json:"verbs"`
}

IoK8sAPIRbacV1alpha1PolicyRule 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.

swagger:model io.k8s.api.rbac.v1alpha1.PolicyRule

func (*IoK8sAPIRbacV1alpha1PolicyRule) MarshalBinary

func (m *IoK8sAPIRbacV1alpha1PolicyRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1PolicyRule) UnmarshalBinary

func (m *IoK8sAPIRbacV1alpha1PolicyRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1PolicyRule) Validate

func (m *IoK8sAPIRbacV1alpha1PolicyRule) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1alpha1 policy rule

type IoK8sAPIRbacV1alpha1Role

type IoK8sAPIRbacV1alpha1Role struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Rules holds all the PolicyRules for this Role
	Rules []*IoK8sAPIRbacV1alpha1PolicyRule `json:"rules"`
}

IoK8sAPIRbacV1alpha1Role Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22.

swagger:model io.k8s.api.rbac.v1alpha1.Role

func (*IoK8sAPIRbacV1alpha1Role) MarshalBinary

func (m *IoK8sAPIRbacV1alpha1Role) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1Role) UnmarshalBinary

func (m *IoK8sAPIRbacV1alpha1Role) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1Role) Validate

func (m *IoK8sAPIRbacV1alpha1Role) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1alpha1 role

type IoK8sAPIRbacV1alpha1RoleBinding

type IoK8sAPIRbacV1alpha1RoleBinding struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// 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.
	// Required: true
	RoleRef *IoK8sAPIRbacV1alpha1RoleRef `json:"roleRef"`

	// Subjects holds references to the objects the role applies to.
	Subjects []*IoK8sAPIRbacV1alpha1Subject `json:"subjects"`
}

IoK8sAPIRbacV1alpha1RoleBinding 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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.

swagger:model io.k8s.api.rbac.v1alpha1.RoleBinding

func (*IoK8sAPIRbacV1alpha1RoleBinding) MarshalBinary

func (m *IoK8sAPIRbacV1alpha1RoleBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1RoleBinding) UnmarshalBinary

func (m *IoK8sAPIRbacV1alpha1RoleBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1RoleBinding) Validate

Validate validates this io k8s api rbac v1alpha1 role binding

type IoK8sAPIRbacV1alpha1RoleBindingList

type IoK8sAPIRbacV1alpha1RoleBindingList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of RoleBindings
	// Required: true
	Items []*IoK8sAPIRbacV1alpha1RoleBinding `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIRbacV1alpha1RoleBindingList RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.22.

swagger:model io.k8s.api.rbac.v1alpha1.RoleBindingList

func (*IoK8sAPIRbacV1alpha1RoleBindingList) MarshalBinary

func (m *IoK8sAPIRbacV1alpha1RoleBindingList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1RoleBindingList) UnmarshalBinary

func (m *IoK8sAPIRbacV1alpha1RoleBindingList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1RoleBindingList) Validate

Validate validates this io k8s api rbac v1alpha1 role binding list

type IoK8sAPIRbacV1alpha1RoleList

type IoK8sAPIRbacV1alpha1RoleList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of Roles
	// Required: true
	Items []*IoK8sAPIRbacV1alpha1Role `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIRbacV1alpha1RoleList RoleList is a collection of Roles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.22.

swagger:model io.k8s.api.rbac.v1alpha1.RoleList

func (*IoK8sAPIRbacV1alpha1RoleList) MarshalBinary

func (m *IoK8sAPIRbacV1alpha1RoleList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1RoleList) UnmarshalBinary

func (m *IoK8sAPIRbacV1alpha1RoleList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1RoleList) Validate

func (m *IoK8sAPIRbacV1alpha1RoleList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1alpha1 role list

type IoK8sAPIRbacV1alpha1RoleRef

type IoK8sAPIRbacV1alpha1RoleRef struct {

	// APIGroup is the group for the resource being referenced
	// Required: true
	APIGroup *string `json:"apiGroup"`

	// Kind is the type of resource being referenced
	// Required: true
	Kind *string `json:"kind"`

	// Name is the name of resource being referenced
	// Required: true
	Name *string `json:"name"`
}

IoK8sAPIRbacV1alpha1RoleRef RoleRef contains information that points to the role being used

swagger:model io.k8s.api.rbac.v1alpha1.RoleRef

func (*IoK8sAPIRbacV1alpha1RoleRef) MarshalBinary

func (m *IoK8sAPIRbacV1alpha1RoleRef) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1RoleRef) UnmarshalBinary

func (m *IoK8sAPIRbacV1alpha1RoleRef) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1RoleRef) Validate

func (m *IoK8sAPIRbacV1alpha1RoleRef) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1alpha1 role ref

type IoK8sAPIRbacV1alpha1Subject

type IoK8sAPIRbacV1alpha1Subject struct {

	// APIVersion holds the API group and version of the referenced subject. Defaults to "v1" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io/v1alpha1" for User and Group subjects.
	APIVersion string `json:"apiVersion,omitempty"`

	// 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.
	// Required: true
	Kind *string `json:"kind"`

	// Name of the object being referenced.
	// Required: true
	Name *string `json:"name"`

	// 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.
	Namespace string `json:"namespace,omitempty"`
}

IoK8sAPIRbacV1alpha1Subject 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.

swagger:model io.k8s.api.rbac.v1alpha1.Subject

func (*IoK8sAPIRbacV1alpha1Subject) MarshalBinary

func (m *IoK8sAPIRbacV1alpha1Subject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1Subject) UnmarshalBinary

func (m *IoK8sAPIRbacV1alpha1Subject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1alpha1Subject) Validate

func (m *IoK8sAPIRbacV1alpha1Subject) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1alpha1 subject

type IoK8sAPIRbacV1beta1AggregationRule

type IoK8sAPIRbacV1beta1AggregationRule struct {

	// ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added
	ClusterRoleSelectors []*IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"clusterRoleSelectors"`
}

IoK8sAPIRbacV1beta1AggregationRule AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole

swagger:model io.k8s.api.rbac.v1beta1.AggregationRule

func (*IoK8sAPIRbacV1beta1AggregationRule) MarshalBinary

func (m *IoK8sAPIRbacV1beta1AggregationRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1AggregationRule) UnmarshalBinary

func (m *IoK8sAPIRbacV1beta1AggregationRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1AggregationRule) Validate

Validate validates this io k8s api rbac v1beta1 aggregation rule

type IoK8sAPIRbacV1beta1ClusterRole

type IoK8sAPIRbacV1beta1ClusterRole struct {

	// AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.
	AggregationRule *IoK8sAPIRbacV1beta1AggregationRule `json:"aggregationRule,omitempty"`

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Rules holds all the PolicyRules for this ClusterRole
	Rules []*IoK8sAPIRbacV1beta1PolicyRule `json:"rules"`
}

IoK8sAPIRbacV1beta1ClusterRole ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22.

swagger:model io.k8s.api.rbac.v1beta1.ClusterRole

func (*IoK8sAPIRbacV1beta1ClusterRole) MarshalBinary

func (m *IoK8sAPIRbacV1beta1ClusterRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1ClusterRole) UnmarshalBinary

func (m *IoK8sAPIRbacV1beta1ClusterRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1ClusterRole) Validate

func (m *IoK8sAPIRbacV1beta1ClusterRole) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1beta1 cluster role

type IoK8sAPIRbacV1beta1ClusterRoleBinding

type IoK8sAPIRbacV1beta1ClusterRoleBinding struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
	// Required: true
	RoleRef *IoK8sAPIRbacV1beta1RoleRef `json:"roleRef"`

	// Subjects holds references to the objects the role applies to.
	Subjects []*IoK8sAPIRbacV1beta1Subject `json:"subjects"`
}

IoK8sAPIRbacV1beta1ClusterRoleBinding ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22.

swagger:model io.k8s.api.rbac.v1beta1.ClusterRoleBinding

func (*IoK8sAPIRbacV1beta1ClusterRoleBinding) MarshalBinary

func (m *IoK8sAPIRbacV1beta1ClusterRoleBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1ClusterRoleBinding) UnmarshalBinary

func (m *IoK8sAPIRbacV1beta1ClusterRoleBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1ClusterRoleBinding) Validate

Validate validates this io k8s api rbac v1beta1 cluster role binding

type IoK8sAPIRbacV1beta1ClusterRoleBindingList

type IoK8sAPIRbacV1beta1ClusterRoleBindingList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of ClusterRoleBindings
	// Required: true
	Items []*IoK8sAPIRbacV1beta1ClusterRoleBinding `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIRbacV1beta1ClusterRoleBindingList ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindingList, and will no longer be served in v1.22.

swagger:model io.k8s.api.rbac.v1beta1.ClusterRoleBindingList

func (*IoK8sAPIRbacV1beta1ClusterRoleBindingList) MarshalBinary

func (m *IoK8sAPIRbacV1beta1ClusterRoleBindingList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1ClusterRoleBindingList) UnmarshalBinary

func (m *IoK8sAPIRbacV1beta1ClusterRoleBindingList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1ClusterRoleBindingList) Validate

Validate validates this io k8s api rbac v1beta1 cluster role binding list

type IoK8sAPIRbacV1beta1ClusterRoleList

type IoK8sAPIRbacV1beta1ClusterRoleList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of ClusterRoles
	// Required: true
	Items []*IoK8sAPIRbacV1beta1ClusterRole `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIRbacV1beta1ClusterRoleList ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.22.

swagger:model io.k8s.api.rbac.v1beta1.ClusterRoleList

func (*IoK8sAPIRbacV1beta1ClusterRoleList) MarshalBinary

func (m *IoK8sAPIRbacV1beta1ClusterRoleList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1ClusterRoleList) UnmarshalBinary

func (m *IoK8sAPIRbacV1beta1ClusterRoleList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1ClusterRoleList) Validate

Validate validates this io k8s api rbac v1beta1 cluster role list

type IoK8sAPIRbacV1beta1PolicyRule

type IoK8sAPIRbacV1beta1PolicyRule struct {

	// 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.
	APIGroups []string `json:"apiGroups"`

	// 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 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.
	NonResourceURLs []string `json:"nonResourceURLs"`

	// ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.
	ResourceNames []string `json:"resourceNames"`

	// Resources is a list of resources this rule applies to.  '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups.
	Resources []string `json:"resources"`

	// Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.  VerbAll represents all kinds.
	// Required: true
	Verbs []string `json:"verbs"`
}

IoK8sAPIRbacV1beta1PolicyRule 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.

swagger:model io.k8s.api.rbac.v1beta1.PolicyRule

func (*IoK8sAPIRbacV1beta1PolicyRule) MarshalBinary

func (m *IoK8sAPIRbacV1beta1PolicyRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1PolicyRule) UnmarshalBinary

func (m *IoK8sAPIRbacV1beta1PolicyRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1PolicyRule) Validate

func (m *IoK8sAPIRbacV1beta1PolicyRule) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1beta1 policy rule

type IoK8sAPIRbacV1beta1Role

type IoK8sAPIRbacV1beta1Role struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Rules holds all the PolicyRules for this Role
	Rules []*IoK8sAPIRbacV1beta1PolicyRule `json:"rules"`
}

IoK8sAPIRbacV1beta1Role Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22.

swagger:model io.k8s.api.rbac.v1beta1.Role

func (*IoK8sAPIRbacV1beta1Role) MarshalBinary

func (m *IoK8sAPIRbacV1beta1Role) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1Role) UnmarshalBinary

func (m *IoK8sAPIRbacV1beta1Role) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1Role) Validate

func (m *IoK8sAPIRbacV1beta1Role) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1beta1 role

type IoK8sAPIRbacV1beta1RoleBinding

type IoK8sAPIRbacV1beta1RoleBinding struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// 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.
	// Required: true
	RoleRef *IoK8sAPIRbacV1beta1RoleRef `json:"roleRef"`

	// Subjects holds references to the objects the role applies to.
	Subjects []*IoK8sAPIRbacV1beta1Subject `json:"subjects"`
}

IoK8sAPIRbacV1beta1RoleBinding 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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.

swagger:model io.k8s.api.rbac.v1beta1.RoleBinding

func (*IoK8sAPIRbacV1beta1RoleBinding) MarshalBinary

func (m *IoK8sAPIRbacV1beta1RoleBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1RoleBinding) UnmarshalBinary

func (m *IoK8sAPIRbacV1beta1RoleBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1RoleBinding) Validate

func (m *IoK8sAPIRbacV1beta1RoleBinding) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1beta1 role binding

type IoK8sAPIRbacV1beta1RoleBindingList

type IoK8sAPIRbacV1beta1RoleBindingList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of RoleBindings
	// Required: true
	Items []*IoK8sAPIRbacV1beta1RoleBinding `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIRbacV1beta1RoleBindingList RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.22.

swagger:model io.k8s.api.rbac.v1beta1.RoleBindingList

func (*IoK8sAPIRbacV1beta1RoleBindingList) MarshalBinary

func (m *IoK8sAPIRbacV1beta1RoleBindingList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1RoleBindingList) UnmarshalBinary

func (m *IoK8sAPIRbacV1beta1RoleBindingList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1RoleBindingList) Validate

Validate validates this io k8s api rbac v1beta1 role binding list

type IoK8sAPIRbacV1beta1RoleList

type IoK8sAPIRbacV1beta1RoleList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of Roles
	// Required: true
	Items []*IoK8sAPIRbacV1beta1Role `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata.
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIRbacV1beta1RoleList RoleList is a collection of Roles Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.22.

swagger:model io.k8s.api.rbac.v1beta1.RoleList

func (*IoK8sAPIRbacV1beta1RoleList) MarshalBinary

func (m *IoK8sAPIRbacV1beta1RoleList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1RoleList) UnmarshalBinary

func (m *IoK8sAPIRbacV1beta1RoleList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1RoleList) Validate

func (m *IoK8sAPIRbacV1beta1RoleList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1beta1 role list

type IoK8sAPIRbacV1beta1RoleRef

type IoK8sAPIRbacV1beta1RoleRef struct {

	// APIGroup is the group for the resource being referenced
	// Required: true
	APIGroup *string `json:"apiGroup"`

	// Kind is the type of resource being referenced
	// Required: true
	Kind *string `json:"kind"`

	// Name is the name of resource being referenced
	// Required: true
	Name *string `json:"name"`
}

IoK8sAPIRbacV1beta1RoleRef RoleRef contains information that points to the role being used

swagger:model io.k8s.api.rbac.v1beta1.RoleRef

func (*IoK8sAPIRbacV1beta1RoleRef) MarshalBinary

func (m *IoK8sAPIRbacV1beta1RoleRef) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1RoleRef) UnmarshalBinary

func (m *IoK8sAPIRbacV1beta1RoleRef) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1RoleRef) Validate

func (m *IoK8sAPIRbacV1beta1RoleRef) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1beta1 role ref

type IoK8sAPIRbacV1beta1Subject

type IoK8sAPIRbacV1beta1Subject struct {

	// APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.
	APIGroup string `json:"apiGroup,omitempty"`

	// 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.
	// Required: true
	Kind *string `json:"kind"`

	// Name of the object being referenced.
	// Required: true
	Name *string `json:"name"`

	// 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.
	Namespace string `json:"namespace,omitempty"`
}

IoK8sAPIRbacV1beta1Subject 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.

swagger:model io.k8s.api.rbac.v1beta1.Subject

func (*IoK8sAPIRbacV1beta1Subject) MarshalBinary

func (m *IoK8sAPIRbacV1beta1Subject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1Subject) UnmarshalBinary

func (m *IoK8sAPIRbacV1beta1Subject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIRbacV1beta1Subject) Validate

func (m *IoK8sAPIRbacV1beta1Subject) Validate(formats strfmt.Registry) error

Validate validates this io k8s api rbac v1beta1 subject

type IoK8sAPISchedulingV1PriorityClass

type IoK8sAPISchedulingV1PriorityClass struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// description is an arbitrary string that usually provides guidelines on when this priority class should be used.
	Description string `json:"description,omitempty"`

	// globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.
	GlobalDefault bool `json:"globalDefault,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate.
	PreemptionPolicy string `json:"preemptionPolicy,omitempty"`

	// The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
	// Required: true
	Value *int32 `json:"value"`
}

IoK8sAPISchedulingV1PriorityClass PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.

swagger:model io.k8s.api.scheduling.v1.PriorityClass

func (*IoK8sAPISchedulingV1PriorityClass) MarshalBinary

func (m *IoK8sAPISchedulingV1PriorityClass) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPISchedulingV1PriorityClass) UnmarshalBinary

func (m *IoK8sAPISchedulingV1PriorityClass) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPISchedulingV1PriorityClass) Validate

Validate validates this io k8s api scheduling v1 priority class

type IoK8sAPISchedulingV1PriorityClassList

type IoK8sAPISchedulingV1PriorityClassList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is the list of PriorityClasses
	// Required: true
	Items []*IoK8sAPISchedulingV1PriorityClass `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPISchedulingV1PriorityClassList PriorityClassList is a collection of priority classes.

swagger:model io.k8s.api.scheduling.v1.PriorityClassList

func (*IoK8sAPISchedulingV1PriorityClassList) MarshalBinary

func (m *IoK8sAPISchedulingV1PriorityClassList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPISchedulingV1PriorityClassList) UnmarshalBinary

func (m *IoK8sAPISchedulingV1PriorityClassList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPISchedulingV1PriorityClassList) Validate

Validate validates this io k8s api scheduling v1 priority class list

type IoK8sAPISchedulingV1alpha1PriorityClass

type IoK8sAPISchedulingV1alpha1PriorityClass struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// description is an arbitrary string that usually provides guidelines on when this priority class should be used.
	Description string `json:"description,omitempty"`

	// globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.
	GlobalDefault bool `json:"globalDefault,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate.
	PreemptionPolicy string `json:"preemptionPolicy,omitempty"`

	// The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
	// Required: true
	Value *int32 `json:"value"`
}

IoK8sAPISchedulingV1alpha1PriorityClass DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.

swagger:model io.k8s.api.scheduling.v1alpha1.PriorityClass

func (*IoK8sAPISchedulingV1alpha1PriorityClass) MarshalBinary

func (m *IoK8sAPISchedulingV1alpha1PriorityClass) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPISchedulingV1alpha1PriorityClass) UnmarshalBinary

func (m *IoK8sAPISchedulingV1alpha1PriorityClass) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPISchedulingV1alpha1PriorityClass) Validate

Validate validates this io k8s api scheduling v1alpha1 priority class

type IoK8sAPISchedulingV1alpha1PriorityClassList

type IoK8sAPISchedulingV1alpha1PriorityClassList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is the list of PriorityClasses
	// Required: true
	Items []*IoK8sAPISchedulingV1alpha1PriorityClass `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPISchedulingV1alpha1PriorityClassList PriorityClassList is a collection of priority classes.

swagger:model io.k8s.api.scheduling.v1alpha1.PriorityClassList

func (*IoK8sAPISchedulingV1alpha1PriorityClassList) MarshalBinary

func (m *IoK8sAPISchedulingV1alpha1PriorityClassList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPISchedulingV1alpha1PriorityClassList) UnmarshalBinary

func (m *IoK8sAPISchedulingV1alpha1PriorityClassList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPISchedulingV1alpha1PriorityClassList) Validate

Validate validates this io k8s api scheduling v1alpha1 priority class list

type IoK8sAPISchedulingV1beta1PriorityClass

type IoK8sAPISchedulingV1beta1PriorityClass struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// description is an arbitrary string that usually provides guidelines on when this priority class should be used.
	Description string `json:"description,omitempty"`

	// globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.
	GlobalDefault bool `json:"globalDefault,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate.
	PreemptionPolicy string `json:"preemptionPolicy,omitempty"`

	// The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
	// Required: true
	Value *int32 `json:"value"`
}

IoK8sAPISchedulingV1beta1PriorityClass DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.

swagger:model io.k8s.api.scheduling.v1beta1.PriorityClass

func (*IoK8sAPISchedulingV1beta1PriorityClass) MarshalBinary

func (m *IoK8sAPISchedulingV1beta1PriorityClass) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPISchedulingV1beta1PriorityClass) UnmarshalBinary

func (m *IoK8sAPISchedulingV1beta1PriorityClass) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPISchedulingV1beta1PriorityClass) Validate

Validate validates this io k8s api scheduling v1beta1 priority class

type IoK8sAPISchedulingV1beta1PriorityClassList

type IoK8sAPISchedulingV1beta1PriorityClassList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is the list of PriorityClasses
	// Required: true
	Items []*IoK8sAPISchedulingV1beta1PriorityClass `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPISchedulingV1beta1PriorityClassList PriorityClassList is a collection of priority classes.

swagger:model io.k8s.api.scheduling.v1beta1.PriorityClassList

func (*IoK8sAPISchedulingV1beta1PriorityClassList) MarshalBinary

func (m *IoK8sAPISchedulingV1beta1PriorityClassList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPISchedulingV1beta1PriorityClassList) UnmarshalBinary

func (m *IoK8sAPISchedulingV1beta1PriorityClassList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPISchedulingV1beta1PriorityClassList) Validate

Validate validates this io k8s api scheduling v1beta1 priority class list

type IoK8sAPISettingsV1alpha1PodPreset

type IoK8sAPISettingsV1alpha1PodPreset struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// spec
	Spec *IoK8sAPISettingsV1alpha1PodPresetSpec `json:"spec,omitempty"`
}

IoK8sAPISettingsV1alpha1PodPreset PodPreset is a policy resource that defines additional runtime requirements for a Pod.

swagger:model io.k8s.api.settings.v1alpha1.PodPreset

func (*IoK8sAPISettingsV1alpha1PodPreset) MarshalBinary

func (m *IoK8sAPISettingsV1alpha1PodPreset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPISettingsV1alpha1PodPreset) UnmarshalBinary

func (m *IoK8sAPISettingsV1alpha1PodPreset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPISettingsV1alpha1PodPreset) Validate

Validate validates this io k8s api settings v1alpha1 pod preset

type IoK8sAPISettingsV1alpha1PodPresetList

type IoK8sAPISettingsV1alpha1PodPresetList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is a list of schema objects.
	// Required: true
	Items []*IoK8sAPISettingsV1alpha1PodPreset `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPISettingsV1alpha1PodPresetList PodPresetList is a list of PodPreset objects.

swagger:model io.k8s.api.settings.v1alpha1.PodPresetList

func (*IoK8sAPISettingsV1alpha1PodPresetList) MarshalBinary

func (m *IoK8sAPISettingsV1alpha1PodPresetList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPISettingsV1alpha1PodPresetList) UnmarshalBinary

func (m *IoK8sAPISettingsV1alpha1PodPresetList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPISettingsV1alpha1PodPresetList) Validate

Validate validates this io k8s api settings v1alpha1 pod preset list

type IoK8sAPISettingsV1alpha1PodPresetSpec

type IoK8sAPISettingsV1alpha1PodPresetSpec struct {

	// Env defines the collection of EnvVar to inject into containers.
	Env []*IoK8sAPICoreV1EnvVar `json:"env"`

	// EnvFrom defines the collection of EnvFromSource to inject into containers.
	EnvFrom []*IoK8sAPICoreV1EnvFromSource `json:"envFrom"`

	// Selector is a label query over a set of resources, in this case pods. Required.
	Selector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"selector,omitempty"`

	// VolumeMounts defines the collection of VolumeMount to inject into containers.
	VolumeMounts []*IoK8sAPICoreV1VolumeMount `json:"volumeMounts"`

	// Volumes defines the collection of Volume to inject into the pod.
	Volumes []*IoK8sAPICoreV1Volume `json:"volumes"`
}

IoK8sAPISettingsV1alpha1PodPresetSpec PodPresetSpec is a description of a pod preset.

swagger:model io.k8s.api.settings.v1alpha1.PodPresetSpec

func (*IoK8sAPISettingsV1alpha1PodPresetSpec) MarshalBinary

func (m *IoK8sAPISettingsV1alpha1PodPresetSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPISettingsV1alpha1PodPresetSpec) UnmarshalBinary

func (m *IoK8sAPISettingsV1alpha1PodPresetSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPISettingsV1alpha1PodPresetSpec) Validate

Validate validates this io k8s api settings v1alpha1 pod preset spec

type IoK8sAPIStorageV1CSIDriver

type IoK8sAPIStorageV1CSIDriver struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the CSI Driver.
	// Required: true
	Spec *IoK8sAPIStorageV1CSIDriverSpec `json:"spec"`
}

IoK8sAPIStorageV1CSIDriver CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.

swagger:model io.k8s.api.storage.v1.CSIDriver

func (*IoK8sAPIStorageV1CSIDriver) MarshalBinary

func (m *IoK8sAPIStorageV1CSIDriver) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1CSIDriver) UnmarshalBinary

func (m *IoK8sAPIStorageV1CSIDriver) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1CSIDriver) Validate

func (m *IoK8sAPIStorageV1CSIDriver) Validate(formats strfmt.Registry) error

Validate validates this io k8s api storage v1 c s i driver

type IoK8sAPIStorageV1CSIDriverList

type IoK8sAPIStorageV1CSIDriverList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is the list of CSIDriver
	// Required: true
	Items []*IoK8sAPIStorageV1CSIDriver `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIStorageV1CSIDriverList CSIDriverList is a collection of CSIDriver objects.

swagger:model io.k8s.api.storage.v1.CSIDriverList

func (*IoK8sAPIStorageV1CSIDriverList) MarshalBinary

func (m *IoK8sAPIStorageV1CSIDriverList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1CSIDriverList) UnmarshalBinary

func (m *IoK8sAPIStorageV1CSIDriverList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1CSIDriverList) Validate

func (m *IoK8sAPIStorageV1CSIDriverList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api storage v1 c s i driver list

type IoK8sAPIStorageV1CSIDriverSpec

type IoK8sAPIStorageV1CSIDriverSpec struct {

	// attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
	AttachRequired bool `json:"attachRequired,omitempty"`

	// Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
	FsGroupPolicy string `json:"fsGroupPolicy,omitempty"`

	// If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
	//                                 defined by a CSIVolumeSource, otherwise "false"
	//
	// "csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.
	PodInfoOnMount bool `json:"podInfoOnMount,omitempty"`

	// If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.
	//
	// The check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.
	//
	// Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.
	//
	// This is an alpha field and only available when the CSIStorageCapacity feature is enabled. The default is false.
	StorageCapacity bool `json:"storageCapacity,omitempty"`

	// volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. This field is beta.
	VolumeLifecycleModes []string `json:"volumeLifecycleModes"`
}

IoK8sAPIStorageV1CSIDriverSpec CSIDriverSpec is the specification of a CSIDriver.

swagger:model io.k8s.api.storage.v1.CSIDriverSpec

func (*IoK8sAPIStorageV1CSIDriverSpec) MarshalBinary

func (m *IoK8sAPIStorageV1CSIDriverSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1CSIDriverSpec) UnmarshalBinary

func (m *IoK8sAPIStorageV1CSIDriverSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1CSIDriverSpec) Validate

func (m *IoK8sAPIStorageV1CSIDriverSpec) Validate(formats strfmt.Registry) error

Validate validates this io k8s api storage v1 c s i driver spec

type IoK8sAPIStorageV1CSINode

type IoK8sAPIStorageV1CSINode struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata.name must be the Kubernetes node name.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// spec is the specification of CSINode
	// Required: true
	Spec *IoK8sAPIStorageV1CSINodeSpec `json:"spec"`
}

IoK8sAPIStorageV1CSINode CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.

swagger:model io.k8s.api.storage.v1.CSINode

func (*IoK8sAPIStorageV1CSINode) MarshalBinary

func (m *IoK8sAPIStorageV1CSINode) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1CSINode) UnmarshalBinary

func (m *IoK8sAPIStorageV1CSINode) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1CSINode) Validate

func (m *IoK8sAPIStorageV1CSINode) Validate(formats strfmt.Registry) error

Validate validates this io k8s api storage v1 c s i node

type IoK8sAPIStorageV1CSINodeDriver

type IoK8sAPIStorageV1CSINodeDriver struct {

	// allocatable represents the volume resources of a node that are available for scheduling. This field is beta.
	Allocatable *IoK8sAPIStorageV1VolumeNodeResources `json:"allocatable,omitempty"`

	// This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
	// Required: true
	Name *string `json:"name"`

	// nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
	// Required: true
	NodeID *string `json:"nodeID"`

	// topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
	TopologyKeys []string `json:"topologyKeys"`
}

IoK8sAPIStorageV1CSINodeDriver CSINodeDriver holds information about the specification of one CSI driver installed on a node

swagger:model io.k8s.api.storage.v1.CSINodeDriver

func (*IoK8sAPIStorageV1CSINodeDriver) MarshalBinary

func (m *IoK8sAPIStorageV1CSINodeDriver) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1CSINodeDriver) UnmarshalBinary

func (m *IoK8sAPIStorageV1CSINodeDriver) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1CSINodeDriver) Validate

func (m *IoK8sAPIStorageV1CSINodeDriver) Validate(formats strfmt.Registry) error

Validate validates this io k8s api storage v1 c s i node driver

type IoK8sAPIStorageV1CSINodeList

type IoK8sAPIStorageV1CSINodeList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is the list of CSINode
	// Required: true
	Items []*IoK8sAPIStorageV1CSINode `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIStorageV1CSINodeList CSINodeList is a collection of CSINode objects.

swagger:model io.k8s.api.storage.v1.CSINodeList

func (*IoK8sAPIStorageV1CSINodeList) MarshalBinary

func (m *IoK8sAPIStorageV1CSINodeList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1CSINodeList) UnmarshalBinary

func (m *IoK8sAPIStorageV1CSINodeList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1CSINodeList) Validate

func (m *IoK8sAPIStorageV1CSINodeList) Validate(formats strfmt.Registry) error

Validate validates this io k8s api storage v1 c s i node list

type IoK8sAPIStorageV1CSINodeSpec

type IoK8sAPIStorageV1CSINodeSpec struct {

	// drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.
	// Required: true
	Drivers []*IoK8sAPIStorageV1CSINodeDriver `json:"drivers"`
}

IoK8sAPIStorageV1CSINodeSpec CSINodeSpec holds information about the specification of all CSI drivers installed on a node

swagger:model io.k8s.api.storage.v1.CSINodeSpec

func (*IoK8sAPIStorageV1CSINodeSpec) MarshalBinary

func (m *IoK8sAPIStorageV1CSINodeSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1CSINodeSpec) UnmarshalBinary

func (m *IoK8sAPIStorageV1CSINodeSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1CSINodeSpec) Validate

func (m *IoK8sAPIStorageV1CSINodeSpec) Validate(formats strfmt.Registry) error

Validate validates this io k8s api storage v1 c s i node spec

type IoK8sAPIStorageV1StorageClass

type IoK8sAPIStorageV1StorageClass struct {

	// AllowVolumeExpansion shows whether the storage class allow volume expand
	AllowVolumeExpansion bool `json:"allowVolumeExpansion,omitempty"`

	// Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.
	AllowedTopologies []*IoK8sAPICoreV1TopologySelectorTerm `json:"allowedTopologies"`

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
	MountOptions []string `json:"mountOptions"`

	// Parameters holds the parameters for the provisioner that should create volumes of this storage class.
	Parameters map[string]string `json:"parameters,omitempty"`

	// Provisioner indicates the type of the provisioner.
	// Required: true
	Provisioner *string `json:"provisioner"`

	// Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.
	ReclaimPolicy string `json:"reclaimPolicy,omitempty"`

	// VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.  When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.
	VolumeBindingMode string `json:"volumeBindingMode,omitempty"`
}

IoK8sAPIStorageV1StorageClass StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.

StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.

swagger:model io.k8s.api.storage.v1.StorageClass

func (*IoK8sAPIStorageV1StorageClass) MarshalBinary

func (m *IoK8sAPIStorageV1StorageClass) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1StorageClass) UnmarshalBinary

func (m *IoK8sAPIStorageV1StorageClass) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1StorageClass) Validate

func (m *IoK8sAPIStorageV1StorageClass) Validate(formats strfmt.Registry) error

Validate validates this io k8s api storage v1 storage class

type IoK8sAPIStorageV1StorageClassList

type IoK8sAPIStorageV1StorageClassList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is the list of StorageClasses
	// Required: true
	Items []*IoK8sAPIStorageV1StorageClass `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIStorageV1StorageClassList StorageClassList is a collection of storage classes.

swagger:model io.k8s.api.storage.v1.StorageClassList

func (*IoK8sAPIStorageV1StorageClassList) MarshalBinary

func (m *IoK8sAPIStorageV1StorageClassList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1StorageClassList) UnmarshalBinary

func (m *IoK8sAPIStorageV1StorageClassList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1StorageClassList) Validate

Validate validates this io k8s api storage v1 storage class list

type IoK8sAPIStorageV1VolumeAttachment

type IoK8sAPIStorageV1VolumeAttachment struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
	// Required: true
	Spec *IoK8sAPIStorageV1VolumeAttachmentSpec `json:"spec"`

	// Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.
	Status *IoK8sAPIStorageV1VolumeAttachmentStatus `json:"status,omitempty"`
}

IoK8sAPIStorageV1VolumeAttachment VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.

VolumeAttachment objects are non-namespaced.

swagger:model io.k8s.api.storage.v1.VolumeAttachment

func (*IoK8sAPIStorageV1VolumeAttachment) MarshalBinary

func (m *IoK8sAPIStorageV1VolumeAttachment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1VolumeAttachment) UnmarshalBinary

func (m *IoK8sAPIStorageV1VolumeAttachment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1VolumeAttachment) Validate

Validate validates this io k8s api storage v1 volume attachment

type IoK8sAPIStorageV1VolumeAttachmentList

type IoK8sAPIStorageV1VolumeAttachmentList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is the list of VolumeAttachments
	// Required: true
	Items []*IoK8sAPIStorageV1VolumeAttachment `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIStorageV1VolumeAttachmentList VolumeAttachmentList is a collection of VolumeAttachment objects.

swagger:model io.k8s.api.storage.v1.VolumeAttachmentList

func (*IoK8sAPIStorageV1VolumeAttachmentList) MarshalBinary

func (m *IoK8sAPIStorageV1VolumeAttachmentList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1VolumeAttachmentList) UnmarshalBinary

func (m *IoK8sAPIStorageV1VolumeAttachmentList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1VolumeAttachmentList) Validate

Validate validates this io k8s api storage v1 volume attachment list

type IoK8sAPIStorageV1VolumeAttachmentSource

type IoK8sAPIStorageV1VolumeAttachmentSource struct {

	// inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature.
	InlineVolumeSpec *IoK8sAPICoreV1PersistentVolumeSpec `json:"inlineVolumeSpec,omitempty"`

	// Name of the persistent volume to attach.
	PersistentVolumeName string `json:"persistentVolumeName,omitempty"`
}

IoK8sAPIStorageV1VolumeAttachmentSource VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.

swagger:model io.k8s.api.storage.v1.VolumeAttachmentSource

func (*IoK8sAPIStorageV1VolumeAttachmentSource) MarshalBinary

func (m *IoK8sAPIStorageV1VolumeAttachmentSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1VolumeAttachmentSource) UnmarshalBinary

func (m *IoK8sAPIStorageV1VolumeAttachmentSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1VolumeAttachmentSource) Validate

Validate validates this io k8s api storage v1 volume attachment source

type IoK8sAPIStorageV1VolumeAttachmentSpec

type IoK8sAPIStorageV1VolumeAttachmentSpec struct {

	// Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
	// Required: true
	Attacher *string `json:"attacher"`

	// The node that the volume should be attached to.
	// Required: true
	NodeName *string `json:"nodeName"`

	// Source represents the volume that should be attached.
	// Required: true
	Source *IoK8sAPIStorageV1VolumeAttachmentSource `json:"source"`
}

IoK8sAPIStorageV1VolumeAttachmentSpec VolumeAttachmentSpec is the specification of a VolumeAttachment request.

swagger:model io.k8s.api.storage.v1.VolumeAttachmentSpec

func (*IoK8sAPIStorageV1VolumeAttachmentSpec) MarshalBinary

func (m *IoK8sAPIStorageV1VolumeAttachmentSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1VolumeAttachmentSpec) UnmarshalBinary

func (m *IoK8sAPIStorageV1VolumeAttachmentSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1VolumeAttachmentSpec) Validate

Validate validates this io k8s api storage v1 volume attachment spec

type IoK8sAPIStorageV1VolumeAttachmentStatus

type IoK8sAPIStorageV1VolumeAttachmentStatus struct {

	// The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
	AttachError *IoK8sAPIStorageV1VolumeError `json:"attachError,omitempty"`

	// Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
	// Required: true
	Attached *bool `json:"attached"`

	// Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
	AttachmentMetadata map[string]string `json:"attachmentMetadata,omitempty"`

	// The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.
	DetachError *IoK8sAPIStorageV1VolumeError `json:"detachError,omitempty"`
}

IoK8sAPIStorageV1VolumeAttachmentStatus VolumeAttachmentStatus is the status of a VolumeAttachment request.

swagger:model io.k8s.api.storage.v1.VolumeAttachmentStatus

func (*IoK8sAPIStorageV1VolumeAttachmentStatus) MarshalBinary

func (m *IoK8sAPIStorageV1VolumeAttachmentStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1VolumeAttachmentStatus) UnmarshalBinary

func (m *IoK8sAPIStorageV1VolumeAttachmentStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1VolumeAttachmentStatus) Validate

Validate validates this io k8s api storage v1 volume attachment status

type IoK8sAPIStorageV1VolumeError

type IoK8sAPIStorageV1VolumeError struct {

	// String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
	Message string `json:"message,omitempty"`

	// Time the error was encountered.
	// Format: date-time
	Time IoK8sApimachineryPkgApisMetaV1Time `json:"time,omitempty"`
}

IoK8sAPIStorageV1VolumeError VolumeError captures an error encountered during a volume operation.

swagger:model io.k8s.api.storage.v1.VolumeError

func (*IoK8sAPIStorageV1VolumeError) MarshalBinary

func (m *IoK8sAPIStorageV1VolumeError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1VolumeError) UnmarshalBinary

func (m *IoK8sAPIStorageV1VolumeError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1VolumeError) Validate

func (m *IoK8sAPIStorageV1VolumeError) Validate(formats strfmt.Registry) error

Validate validates this io k8s api storage v1 volume error

type IoK8sAPIStorageV1VolumeNodeResources

type IoK8sAPIStorageV1VolumeNodeResources struct {

	// Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
	Count int32 `json:"count,omitempty"`
}

IoK8sAPIStorageV1VolumeNodeResources VolumeNodeResources is a set of resource limits for scheduling of volumes.

swagger:model io.k8s.api.storage.v1.VolumeNodeResources

func (*IoK8sAPIStorageV1VolumeNodeResources) MarshalBinary

func (m *IoK8sAPIStorageV1VolumeNodeResources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1VolumeNodeResources) UnmarshalBinary

func (m *IoK8sAPIStorageV1VolumeNodeResources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1VolumeNodeResources) Validate

Validate validates this io k8s api storage v1 volume node resources

type IoK8sAPIStorageV1alpha1VolumeAttachment

type IoK8sAPIStorageV1alpha1VolumeAttachment struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
	// Required: true
	Spec *IoK8sAPIStorageV1alpha1VolumeAttachmentSpec `json:"spec"`

	// Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.
	Status *IoK8sAPIStorageV1alpha1VolumeAttachmentStatus `json:"status,omitempty"`
}

IoK8sAPIStorageV1alpha1VolumeAttachment VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.

VolumeAttachment objects are non-namespaced.

swagger:model io.k8s.api.storage.v1alpha1.VolumeAttachment

func (*IoK8sAPIStorageV1alpha1VolumeAttachment) MarshalBinary

func (m *IoK8sAPIStorageV1alpha1VolumeAttachment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1alpha1VolumeAttachment) UnmarshalBinary

func (m *IoK8sAPIStorageV1alpha1VolumeAttachment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1alpha1VolumeAttachment) Validate

Validate validates this io k8s api storage v1alpha1 volume attachment

type IoK8sAPIStorageV1alpha1VolumeAttachmentList

type IoK8sAPIStorageV1alpha1VolumeAttachmentList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is the list of VolumeAttachments
	// Required: true
	Items []*IoK8sAPIStorageV1alpha1VolumeAttachment `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIStorageV1alpha1VolumeAttachmentList VolumeAttachmentList is a collection of VolumeAttachment objects.

swagger:model io.k8s.api.storage.v1alpha1.VolumeAttachmentList

func (*IoK8sAPIStorageV1alpha1VolumeAttachmentList) MarshalBinary

func (m *IoK8sAPIStorageV1alpha1VolumeAttachmentList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1alpha1VolumeAttachmentList) UnmarshalBinary

func (m *IoK8sAPIStorageV1alpha1VolumeAttachmentList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1alpha1VolumeAttachmentList) Validate

Validate validates this io k8s api storage v1alpha1 volume attachment list

type IoK8sAPIStorageV1alpha1VolumeAttachmentSource

type IoK8sAPIStorageV1alpha1VolumeAttachmentSource struct {

	// inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature.
	InlineVolumeSpec *IoK8sAPICoreV1PersistentVolumeSpec `json:"inlineVolumeSpec,omitempty"`

	// Name of the persistent volume to attach.
	PersistentVolumeName string `json:"persistentVolumeName,omitempty"`
}

IoK8sAPIStorageV1alpha1VolumeAttachmentSource VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.

swagger:model io.k8s.api.storage.v1alpha1.VolumeAttachmentSource

func (*IoK8sAPIStorageV1alpha1VolumeAttachmentSource) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1alpha1VolumeAttachmentSource) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1alpha1VolumeAttachmentSource) Validate

Validate validates this io k8s api storage v1alpha1 volume attachment source

type IoK8sAPIStorageV1alpha1VolumeAttachmentSpec

type IoK8sAPIStorageV1alpha1VolumeAttachmentSpec struct {

	// Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
	// Required: true
	Attacher *string `json:"attacher"`

	// The node that the volume should be attached to.
	// Required: true
	NodeName *string `json:"nodeName"`

	// Source represents the volume that should be attached.
	// Required: true
	Source *IoK8sAPIStorageV1alpha1VolumeAttachmentSource `json:"source"`
}

IoK8sAPIStorageV1alpha1VolumeAttachmentSpec VolumeAttachmentSpec is the specification of a VolumeAttachment request.

swagger:model io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec

func (*IoK8sAPIStorageV1alpha1VolumeAttachmentSpec) MarshalBinary

func (m *IoK8sAPIStorageV1alpha1VolumeAttachmentSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1alpha1VolumeAttachmentSpec) UnmarshalBinary

func (m *IoK8sAPIStorageV1alpha1VolumeAttachmentSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1alpha1VolumeAttachmentSpec) Validate

Validate validates this io k8s api storage v1alpha1 volume attachment spec

type IoK8sAPIStorageV1alpha1VolumeAttachmentStatus

type IoK8sAPIStorageV1alpha1VolumeAttachmentStatus struct {

	// The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
	AttachError *IoK8sAPIStorageV1alpha1VolumeError `json:"attachError,omitempty"`

	// Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
	// Required: true
	Attached *bool `json:"attached"`

	// Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
	AttachmentMetadata map[string]string `json:"attachmentMetadata,omitempty"`

	// The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.
	DetachError *IoK8sAPIStorageV1alpha1VolumeError `json:"detachError,omitempty"`
}

IoK8sAPIStorageV1alpha1VolumeAttachmentStatus VolumeAttachmentStatus is the status of a VolumeAttachment request.

swagger:model io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus

func (*IoK8sAPIStorageV1alpha1VolumeAttachmentStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1alpha1VolumeAttachmentStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1alpha1VolumeAttachmentStatus) Validate

Validate validates this io k8s api storage v1alpha1 volume attachment status

type IoK8sAPIStorageV1alpha1VolumeError

type IoK8sAPIStorageV1alpha1VolumeError struct {

	// String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information.
	Message string `json:"message,omitempty"`

	// Time the error was encountered.
	// Format: date-time
	Time IoK8sApimachineryPkgApisMetaV1Time `json:"time,omitempty"`
}

IoK8sAPIStorageV1alpha1VolumeError VolumeError captures an error encountered during a volume operation.

swagger:model io.k8s.api.storage.v1alpha1.VolumeError

func (*IoK8sAPIStorageV1alpha1VolumeError) MarshalBinary

func (m *IoK8sAPIStorageV1alpha1VolumeError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1alpha1VolumeError) UnmarshalBinary

func (m *IoK8sAPIStorageV1alpha1VolumeError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1alpha1VolumeError) Validate

Validate validates this io k8s api storage v1alpha1 volume error

type IoK8sAPIStorageV1beta1CSIDriver

type IoK8sAPIStorageV1beta1CSIDriver struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the CSI Driver.
	// Required: true
	Spec *IoK8sAPIStorageV1beta1CSIDriverSpec `json:"spec"`
}

IoK8sAPIStorageV1beta1CSIDriver CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.

swagger:model io.k8s.api.storage.v1beta1.CSIDriver

func (*IoK8sAPIStorageV1beta1CSIDriver) MarshalBinary

func (m *IoK8sAPIStorageV1beta1CSIDriver) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1CSIDriver) UnmarshalBinary

func (m *IoK8sAPIStorageV1beta1CSIDriver) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1CSIDriver) Validate

Validate validates this io k8s api storage v1beta1 c s i driver

type IoK8sAPIStorageV1beta1CSIDriverList

type IoK8sAPIStorageV1beta1CSIDriverList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is the list of CSIDriver
	// Required: true
	Items []*IoK8sAPIStorageV1beta1CSIDriver `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIStorageV1beta1CSIDriverList CSIDriverList is a collection of CSIDriver objects.

swagger:model io.k8s.api.storage.v1beta1.CSIDriverList

func (*IoK8sAPIStorageV1beta1CSIDriverList) MarshalBinary

func (m *IoK8sAPIStorageV1beta1CSIDriverList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1CSIDriverList) UnmarshalBinary

func (m *IoK8sAPIStorageV1beta1CSIDriverList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1CSIDriverList) Validate

Validate validates this io k8s api storage v1beta1 c s i driver list

type IoK8sAPIStorageV1beta1CSIDriverSpec

type IoK8sAPIStorageV1beta1CSIDriverSpec struct {

	// attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
	AttachRequired bool `json:"attachRequired,omitempty"`

	// Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
	FsGroupPolicy string `json:"fsGroupPolicy,omitempty"`

	// If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
	//                                 defined by a CSIVolumeSource, otherwise "false"
	//
	// "csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.
	PodInfoOnMount bool `json:"podInfoOnMount,omitempty"`

	// If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.
	//
	// The check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.
	//
	// Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.
	//
	// This is an alpha field and only available when the CSIStorageCapacity feature is enabled. The default is false.
	StorageCapacity bool `json:"storageCapacity,omitempty"`

	// VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.
	VolumeLifecycleModes []string `json:"volumeLifecycleModes"`
}

IoK8sAPIStorageV1beta1CSIDriverSpec CSIDriverSpec is the specification of a CSIDriver.

swagger:model io.k8s.api.storage.v1beta1.CSIDriverSpec

func (*IoK8sAPIStorageV1beta1CSIDriverSpec) MarshalBinary

func (m *IoK8sAPIStorageV1beta1CSIDriverSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1CSIDriverSpec) UnmarshalBinary

func (m *IoK8sAPIStorageV1beta1CSIDriverSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1CSIDriverSpec) Validate

Validate validates this io k8s api storage v1beta1 c s i driver spec

type IoK8sAPIStorageV1beta1CSINode

type IoK8sAPIStorageV1beta1CSINode struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata.name must be the Kubernetes node name.
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// spec is the specification of CSINode
	// Required: true
	Spec *IoK8sAPIStorageV1beta1CSINodeSpec `json:"spec"`
}

IoK8sAPIStorageV1beta1CSINode DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.

swagger:model io.k8s.api.storage.v1beta1.CSINode

func (*IoK8sAPIStorageV1beta1CSINode) MarshalBinary

func (m *IoK8sAPIStorageV1beta1CSINode) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1CSINode) UnmarshalBinary

func (m *IoK8sAPIStorageV1beta1CSINode) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1CSINode) Validate

func (m *IoK8sAPIStorageV1beta1CSINode) Validate(formats strfmt.Registry) error

Validate validates this io k8s api storage v1beta1 c s i node

type IoK8sAPIStorageV1beta1CSINodeDriver

type IoK8sAPIStorageV1beta1CSINodeDriver struct {

	// allocatable represents the volume resources of a node that are available for scheduling.
	Allocatable *IoK8sAPIStorageV1beta1VolumeNodeResources `json:"allocatable,omitempty"`

	// This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
	// Required: true
	Name *string `json:"name"`

	// nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
	// Required: true
	NodeID *string `json:"nodeID"`

	// topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
	TopologyKeys []string `json:"topologyKeys"`
}

IoK8sAPIStorageV1beta1CSINodeDriver CSINodeDriver holds information about the specification of one CSI driver installed on a node

swagger:model io.k8s.api.storage.v1beta1.CSINodeDriver

func (*IoK8sAPIStorageV1beta1CSINodeDriver) MarshalBinary

func (m *IoK8sAPIStorageV1beta1CSINodeDriver) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1CSINodeDriver) UnmarshalBinary

func (m *IoK8sAPIStorageV1beta1CSINodeDriver) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1CSINodeDriver) Validate

Validate validates this io k8s api storage v1beta1 c s i node driver

type IoK8sAPIStorageV1beta1CSINodeList

type IoK8sAPIStorageV1beta1CSINodeList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items is the list of CSINode
	// Required: true
	Items []*IoK8sAPIStorageV1beta1CSINode `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIStorageV1beta1CSINodeList CSINodeList is a collection of CSINode objects.

swagger:model io.k8s.api.storage.v1beta1.CSINodeList

func (*IoK8sAPIStorageV1beta1CSINodeList) MarshalBinary

func (m *IoK8sAPIStorageV1beta1CSINodeList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1CSINodeList) UnmarshalBinary

func (m *IoK8sAPIStorageV1beta1CSINodeList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1CSINodeList) Validate

Validate validates this io k8s api storage v1beta1 c s i node list

type IoK8sAPIStorageV1beta1CSINodeSpec

type IoK8sAPIStorageV1beta1CSINodeSpec struct {

	// drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.
	// Required: true
	Drivers []*IoK8sAPIStorageV1beta1CSINodeDriver `json:"drivers"`
}

IoK8sAPIStorageV1beta1CSINodeSpec CSINodeSpec holds information about the specification of all CSI drivers installed on a node

swagger:model io.k8s.api.storage.v1beta1.CSINodeSpec

func (*IoK8sAPIStorageV1beta1CSINodeSpec) MarshalBinary

func (m *IoK8sAPIStorageV1beta1CSINodeSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1CSINodeSpec) UnmarshalBinary

func (m *IoK8sAPIStorageV1beta1CSINodeSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1CSINodeSpec) Validate

Validate validates this io k8s api storage v1beta1 c s i node spec

type IoK8sAPIStorageV1beta1StorageClass

type IoK8sAPIStorageV1beta1StorageClass struct {

	// AllowVolumeExpansion shows whether the storage class allow volume expand
	AllowVolumeExpansion bool `json:"allowVolumeExpansion,omitempty"`

	// Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.
	AllowedTopologies []*IoK8sAPICoreV1TopologySelectorTerm `json:"allowedTopologies"`

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
	MountOptions []string `json:"mountOptions"`

	// Parameters holds the parameters for the provisioner that should create volumes of this storage class.
	Parameters map[string]string `json:"parameters,omitempty"`

	// Provisioner indicates the type of the provisioner.
	// Required: true
	Provisioner *string `json:"provisioner"`

	// Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.
	ReclaimPolicy string `json:"reclaimPolicy,omitempty"`

	// VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.  When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.
	VolumeBindingMode string `json:"volumeBindingMode,omitempty"`
}

IoK8sAPIStorageV1beta1StorageClass StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.

StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.

swagger:model io.k8s.api.storage.v1beta1.StorageClass

func (*IoK8sAPIStorageV1beta1StorageClass) MarshalBinary

func (m *IoK8sAPIStorageV1beta1StorageClass) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1StorageClass) UnmarshalBinary

func (m *IoK8sAPIStorageV1beta1StorageClass) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1StorageClass) Validate

Validate validates this io k8s api storage v1beta1 storage class

type IoK8sAPIStorageV1beta1StorageClassList

type IoK8sAPIStorageV1beta1StorageClassList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is the list of StorageClasses
	// Required: true
	Items []*IoK8sAPIStorageV1beta1StorageClass `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIStorageV1beta1StorageClassList StorageClassList is a collection of storage classes.

swagger:model io.k8s.api.storage.v1beta1.StorageClassList

func (*IoK8sAPIStorageV1beta1StorageClassList) MarshalBinary

func (m *IoK8sAPIStorageV1beta1StorageClassList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1StorageClassList) UnmarshalBinary

func (m *IoK8sAPIStorageV1beta1StorageClassList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1StorageClassList) Validate

Validate validates this io k8s api storage v1beta1 storage class list

type IoK8sAPIStorageV1beta1VolumeAttachment

type IoK8sAPIStorageV1beta1VolumeAttachment struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
	// Required: true
	Spec *IoK8sAPIStorageV1beta1VolumeAttachmentSpec `json:"spec"`

	// Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.
	Status *IoK8sAPIStorageV1beta1VolumeAttachmentStatus `json:"status,omitempty"`
}

IoK8sAPIStorageV1beta1VolumeAttachment VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.

VolumeAttachment objects are non-namespaced.

swagger:model io.k8s.api.storage.v1beta1.VolumeAttachment

func (*IoK8sAPIStorageV1beta1VolumeAttachment) MarshalBinary

func (m *IoK8sAPIStorageV1beta1VolumeAttachment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1VolumeAttachment) UnmarshalBinary

func (m *IoK8sAPIStorageV1beta1VolumeAttachment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1VolumeAttachment) Validate

Validate validates this io k8s api storage v1beta1 volume attachment

type IoK8sAPIStorageV1beta1VolumeAttachmentList

type IoK8sAPIStorageV1beta1VolumeAttachmentList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Items is the list of VolumeAttachments
	// Required: true
	Items []*IoK8sAPIStorageV1beta1VolumeAttachment `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sAPIStorageV1beta1VolumeAttachmentList VolumeAttachmentList is a collection of VolumeAttachment objects.

swagger:model io.k8s.api.storage.v1beta1.VolumeAttachmentList

func (*IoK8sAPIStorageV1beta1VolumeAttachmentList) MarshalBinary

func (m *IoK8sAPIStorageV1beta1VolumeAttachmentList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1VolumeAttachmentList) UnmarshalBinary

func (m *IoK8sAPIStorageV1beta1VolumeAttachmentList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1VolumeAttachmentList) Validate

Validate validates this io k8s api storage v1beta1 volume attachment list

type IoK8sAPIStorageV1beta1VolumeAttachmentSource

type IoK8sAPIStorageV1beta1VolumeAttachmentSource struct {

	// inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature.
	InlineVolumeSpec *IoK8sAPICoreV1PersistentVolumeSpec `json:"inlineVolumeSpec,omitempty"`

	// Name of the persistent volume to attach.
	PersistentVolumeName string `json:"persistentVolumeName,omitempty"`
}

IoK8sAPIStorageV1beta1VolumeAttachmentSource VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.

swagger:model io.k8s.api.storage.v1beta1.VolumeAttachmentSource

func (*IoK8sAPIStorageV1beta1VolumeAttachmentSource) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1VolumeAttachmentSource) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1VolumeAttachmentSource) Validate

Validate validates this io k8s api storage v1beta1 volume attachment source

type IoK8sAPIStorageV1beta1VolumeAttachmentSpec

type IoK8sAPIStorageV1beta1VolumeAttachmentSpec struct {

	// Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
	// Required: true
	Attacher *string `json:"attacher"`

	// The node that the volume should be attached to.
	// Required: true
	NodeName *string `json:"nodeName"`

	// Source represents the volume that should be attached.
	// Required: true
	Source *IoK8sAPIStorageV1beta1VolumeAttachmentSource `json:"source"`
}

IoK8sAPIStorageV1beta1VolumeAttachmentSpec VolumeAttachmentSpec is the specification of a VolumeAttachment request.

swagger:model io.k8s.api.storage.v1beta1.VolumeAttachmentSpec

func (*IoK8sAPIStorageV1beta1VolumeAttachmentSpec) MarshalBinary

func (m *IoK8sAPIStorageV1beta1VolumeAttachmentSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1VolumeAttachmentSpec) UnmarshalBinary

func (m *IoK8sAPIStorageV1beta1VolumeAttachmentSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1VolumeAttachmentSpec) Validate

Validate validates this io k8s api storage v1beta1 volume attachment spec

type IoK8sAPIStorageV1beta1VolumeAttachmentStatus

type IoK8sAPIStorageV1beta1VolumeAttachmentStatus struct {

	// The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
	AttachError *IoK8sAPIStorageV1beta1VolumeError `json:"attachError,omitempty"`

	// Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
	// Required: true
	Attached *bool `json:"attached"`

	// Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
	AttachmentMetadata map[string]string `json:"attachmentMetadata,omitempty"`

	// The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.
	DetachError *IoK8sAPIStorageV1beta1VolumeError `json:"detachError,omitempty"`
}

IoK8sAPIStorageV1beta1VolumeAttachmentStatus VolumeAttachmentStatus is the status of a VolumeAttachment request.

swagger:model io.k8s.api.storage.v1beta1.VolumeAttachmentStatus

func (*IoK8sAPIStorageV1beta1VolumeAttachmentStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1VolumeAttachmentStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1VolumeAttachmentStatus) Validate

Validate validates this io k8s api storage v1beta1 volume attachment status

type IoK8sAPIStorageV1beta1VolumeError

type IoK8sAPIStorageV1beta1VolumeError struct {

	// String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
	Message string `json:"message,omitempty"`

	// Time the error was encountered.
	// Format: date-time
	Time IoK8sApimachineryPkgApisMetaV1Time `json:"time,omitempty"`
}

IoK8sAPIStorageV1beta1VolumeError VolumeError captures an error encountered during a volume operation.

swagger:model io.k8s.api.storage.v1beta1.VolumeError

func (*IoK8sAPIStorageV1beta1VolumeError) MarshalBinary

func (m *IoK8sAPIStorageV1beta1VolumeError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1VolumeError) UnmarshalBinary

func (m *IoK8sAPIStorageV1beta1VolumeError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1VolumeError) Validate

Validate validates this io k8s api storage v1beta1 volume error

type IoK8sAPIStorageV1beta1VolumeNodeResources

type IoK8sAPIStorageV1beta1VolumeNodeResources struct {

	// Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.
	Count int32 `json:"count,omitempty"`
}

IoK8sAPIStorageV1beta1VolumeNodeResources VolumeNodeResources is a set of resource limits for scheduling of volumes.

swagger:model io.k8s.api.storage.v1beta1.VolumeNodeResources

func (*IoK8sAPIStorageV1beta1VolumeNodeResources) MarshalBinary

func (m *IoK8sAPIStorageV1beta1VolumeNodeResources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1VolumeNodeResources) UnmarshalBinary

func (m *IoK8sAPIStorageV1beta1VolumeNodeResources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sAPIStorageV1beta1VolumeNodeResources) Validate

Validate validates this io k8s api storage v1beta1 volume node resources

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition struct {

	// description is a human readable description of this column.
	Description string `json:"description,omitempty"`

	// format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
	Format string `json:"format,omitempty"`

	// jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.
	// Required: true
	JSONPath *string `json:"jsonPath"`

	// name is a human readable name for the column.
	// Required: true
	Name *string `json:"name"`

	// priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.
	Priority int32 `json:"priority,omitempty"`

	// type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
	// Required: true
	Type *string `json:"type"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition CustomResourceColumnDefinition specifies a column for server side printing.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 custom resource column definition

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion struct {

	// strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information
	//   is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.
	// Required: true
	Strategy *string `json:"strategy"`

	// webhook describes how to call the conversion webhook. Required when `strategy` is set to `Webhook`.
	Webhook *IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion `json:"webhook,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion CustomResourceConversion describes how to convert different versions of a CR.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 custom resource conversion

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// spec describes how the user wants the resources to appear
	// Required: true
	Spec *IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec `json:"spec"`

	// status indicates the actual state of the CustomResourceDefinition
	Status *IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus `json:"status,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 custom resource definition

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition struct {

	// lastTransitionTime last time the condition transitioned from one status to another.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// message is a human-readable message indicating details about last transition.
	Message string `json:"message,omitempty"`

	// reason is a unique, one-word, CamelCase reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// status is the status of the condition. Can be True, False, Unknown.
	// Required: true
	Status *string `json:"status"`

	// type is the type of the condition. Types include Established, NamesAccepted and Terminating.
	// Required: true
	Type *string `json:"type"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition CustomResourceDefinitionCondition contains details for the current condition of this pod.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 custom resource definition condition

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items list individual CustomResourceDefinition objects
	// Required: true
	Items []*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinition `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList CustomResourceDefinitionList is a list of CustomResourceDefinition objects.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionList) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 custom resource definition list

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames struct {

	// categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.
	Categories []string `json:"categories"`

	// kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.
	// Required: true
	Kind *string `json:"kind"`

	// listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".
	ListKind string `json:"listKind,omitempty"`

	// plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase.
	// Required: true
	Plural *string `json:"plural"`

	// shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase.
	ShortNames []string `json:"shortNames"`

	// singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
	Singular string `json:"singular,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 custom resource definition names

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec struct {

	// conversion defines conversion settings for the CRD.
	Conversion *IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceConversion `json:"conversion,omitempty"`

	// group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).
	// Required: true
	Group *string `json:"group"`

	// names specify the resource and kind names for the custom resource.
	// Required: true
	Names *IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames `json:"names"`

	// preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details.
	PreserveUnknownFields bool `json:"preserveUnknownFields,omitempty"`

	// scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.
	// Required: true
	Scope *string `json:"scope"`

	// versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.
	// Required: true
	Versions []*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion `json:"versions"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec CustomResourceDefinitionSpec describes how a user wants their resource to appear

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionSpec) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 custom resource definition spec

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus struct {

	// acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec.
	AcceptedNames *IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionNames `json:"acceptedNames,omitempty"`

	// conditions indicate state for particular aspects of a CustomResourceDefinition
	Conditions []*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionCondition `json:"conditions"`

	// storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.
	StoredVersions []string `json:"storedVersions"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionStatus) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 custom resource definition status

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion struct {

	// additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.
	AdditionalPrinterColumns []*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceColumnDefinition `json:"additionalPrinterColumns"`

	// deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.
	Deprecated bool `json:"deprecated,omitempty"`

	// deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.
	DeprecationWarning string `json:"deprecationWarning,omitempty"`

	// name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true.
	// Required: true
	Name *string `json:"name"`

	// schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.
	Schema *IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation `json:"schema,omitempty"`

	// served is a flag enabling/disabling this version from being served via REST APIs
	// Required: true
	Served *bool `json:"served"`

	// storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
	// Required: true
	Storage *bool `json:"storage"`

	// subresources specify what subresources this version of the defined custom resource have.
	Subresources *IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources `json:"subresources,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion CustomResourceDefinitionVersion describes a version for CRD.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceDefinitionVersion) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 custom resource definition version

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale struct {

	// labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.
	LabelSelectorPath string `json:"labelSelectorPath,omitempty"`

	// specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.
	// Required: true
	SpecReplicasPath *string `json:"specReplicasPath"`

	// statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.
	// Required: true
	StatusReplicasPath *string `json:"statusReplicasPath"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 custom resource subresource scale

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus interface{}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources struct {

	// scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object.
	Scale *IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceScale `json:"scale,omitempty"`

	// status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object.
	Status IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresourceStatus `json:"status,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources CustomResourceSubresources defines the status and scale subresources for CustomResources.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceSubresources) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 custom resource subresources

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation struct {

	// openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning.
	OpenAPIV3Schema *IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps `json:"openAPIV3Schema,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation CustomResourceValidation is a list of validation methods for CustomResources.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1CustomResourceValidation) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 custom resource validation

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation struct {

	// description
	Description string `json:"description,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation ExternalDocumentation allows referencing an external resource for extended documentation.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 external documentation

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON interface{}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps struct {

	// dollar ref
	DollarRef string `json:"$ref,omitempty"`

	// dollar schema
	DollarSchema string `json:"$schema,omitempty"`

	// additional items
	AdditionalItems IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool `json:"additionalItems,omitempty"`

	// additional properties
	AdditionalProperties IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool `json:"additionalProperties,omitempty"`

	// all of
	AllOf []*IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps `json:"allOf"`

	// any of
	AnyOf []*IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps `json:"anyOf"`

	// default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false.
	Default IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON `json:"default,omitempty"`

	// definitions
	Definitions map[string]IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps `json:"definitions,omitempty"`

	// dependencies
	Dependencies map[string]IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray `json:"dependencies,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// enum
	Enum []IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON `json:"enum"`

	// example
	Example IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSON `json:"example,omitempty"`

	// exclusive maximum
	ExclusiveMaximum bool `json:"exclusiveMaximum,omitempty"`

	// exclusive minimum
	ExclusiveMinimum bool `json:"exclusiveMinimum,omitempty"`

	// external docs
	ExternalDocs *IoK8sApiextensionsApiserverPkgApisApiextensionsV1ExternalDocumentation `json:"externalDocs,omitempty"`

	// format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
	//
	// - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$ - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary data - password: any kind of string - date: a date string like "2006-01-02" as defined by full-date in RFC3339 - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.
	Format string `json:"format,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// items
	Items IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray `json:"items,omitempty"`

	// max items
	MaxItems int64 `json:"maxItems,omitempty"`

	// max length
	MaxLength int64 `json:"maxLength,omitempty"`

	// max properties
	MaxProperties int64 `json:"maxProperties,omitempty"`

	// maximum
	Maximum float64 `json:"maximum,omitempty"`

	// min items
	MinItems int64 `json:"minItems,omitempty"`

	// min length
	MinLength int64 `json:"minLength,omitempty"`

	// min properties
	MinProperties int64 `json:"minProperties,omitempty"`

	// minimum
	Minimum float64 `json:"minimum,omitempty"`

	// multiple of
	MultipleOf float64 `json:"multipleOf,omitempty"`

	// not
	Not *IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps `json:"not,omitempty"`

	// nullable
	Nullable bool `json:"nullable,omitempty"`

	// one of
	OneOf []*IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps `json:"oneOf"`

	// pattern
	Pattern string `json:"pattern,omitempty"`

	// pattern properties
	PatternProperties map[string]IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps `json:"patternProperties,omitempty"`

	// properties
	Properties map[string]IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps `json:"properties,omitempty"`

	// required
	Required []string `json:"required"`

	// title
	Title string `json:"title,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// unique items
	UniqueItems bool `json:"uniqueItems,omitempty"`

	// x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).
	XKubernetesEmbeddedResource bool `json:"x-kubernetes-embedded-resource,omitempty"`

	// x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:
	//
	// 1) anyOf:
	//    - type: integer
	//    - type: string
	// 2) allOf:
	//    - anyOf:
	//      - type: integer
	//      - type: string
	//    - ... zero or more
	XKubernetesIntOrString bool `json:"x-kubernetes-int-or-string,omitempty"`

	// x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.
	//
	// This tag MUST only be used on lists that have the "x-kubernetes-list-type" extension set to "map". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).
	//
	// The properties specified must either be required or have a default value, to ensure those properties are present for all list items.
	XKubernetesListMapKeys []string `json:"x-kubernetes-list-map-keys"`

	// x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:
	//
	// 1) `atomic`: the list is treated as a single entity, like a scalar.
	//      Atomic lists will be entirely replaced when updated. This extension
	//      may be used on any type of list (struct, scalar, ...).
	// 2) `set`:
	//      Sets are lists that must not have multiple items with the same value. Each
	//      value must be a scalar, an object with x-kubernetes-map-type `atomic` or an
	//      array with x-kubernetes-list-type `atomic`.
	// 3) `map`:
	//      These lists are like maps in that their elements have a non-index key
	//      used to identify them. Order is preserved upon merge. The map tag
	//      must only be used on a list with elements of type object.
	// Defaults to atomic for arrays.
	XKubernetesListType string `json:"x-kubernetes-list-type,omitempty"`

	// x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:
	//
	// 1) `granular`:
	//      These maps are actual maps (key-value pairs) and each fields are independent
	//      from each other (they can each be manipulated by separate actors). This is
	//      the default behaviour for all maps.
	// 2) `atomic`: the list is treated as a single entity, like a scalar.
	//      Atomic maps will be entirely replaced when updated.
	XKubernetesMapType string `json:"x-kubernetes-map-type,omitempty"`

	// x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.
	XKubernetesPreserveUnknownFields bool `json:"x-kubernetes-preserve-unknown-fields,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaProps) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 JSON schema props

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray interface{}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrArray JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool interface{}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrBool JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray interface{}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1JSONSchemaPropsOrStringArray JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference struct {

	// name is the name of the service. Required
	// Required: true
	Name *string `json:"name"`

	// namespace is the namespace of the service. Required
	// Required: true
	Namespace *string `json:"namespace"`

	// path is an optional URL path at which the webhook will be contacted.
	Path string `json:"path,omitempty"`

	// port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.
	Port int32 `json:"port,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference ServiceReference holds a reference to Service.legacy.k8s.io

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 service reference

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig struct {

	// caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
	// Format: byte
	CaBundle strfmt.Base64 `json:"caBundle,omitempty"`

	// service is a reference to the service for this webhook. Either service or url must be specified.
	//
	// If the webhook is running within the cluster, then you should use `service`.
	Service *IoK8sApiextensionsApiserverPkgApisApiextensionsV1ServiceReference `json:"service,omitempty"`

	// url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
	//
	// The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.
	//
	// Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.
	//
	// The scheme must be "https"; the URL must begin with "https://".
	//
	// A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.
	//
	// Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.
	URL string `json:"url,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig WebhookClientConfig contains the information to make a TLS connection with the webhook.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 webhook client config

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion struct {

	// clientConfig is the instructions for how to call the webhook if strategy is `Webhook`.
	ClientConfig *IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookClientConfig `json:"clientConfig,omitempty"`

	// conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.
	// Required: true
	ConversionReviewVersions []string `json:"conversionReviewVersions"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion WebhookConversion describes how to call a conversion webhook

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1WebhookConversion) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1 webhook conversion

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition struct {

	// JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.
	// Required: true
	JSONPath *string `json:"JSONPath"`

	// description is a human readable description of this column.
	Description string `json:"description,omitempty"`

	// format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
	Format string `json:"format,omitempty"`

	// name is a human readable name for the column.
	// Required: true
	Name *string `json:"name"`

	// priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.
	Priority int32 `json:"priority,omitempty"`

	// type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
	// Required: true
	Type *string `json:"type"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition CustomResourceColumnDefinition specifies a column for server side printing.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1beta1 custom resource column definition

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion struct {

	// conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. Defaults to `["v1beta1"]`.
	ConversionReviewVersions []string `json:"conversionReviewVersions"`

	// strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information
	//   is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhookClientConfig to be set.
	// Required: true
	Strategy *string `json:"strategy"`

	// webhookClientConfig is the instructions for how to call the webhook if strategy is `Webhook`. Required when `strategy` is set to `Webhook`.
	WebhookClientConfig *IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig `json:"webhookClientConfig,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion CustomResourceConversion describes how to convert different versions of a CR.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1beta1 custom resource conversion

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// spec describes how the user wants the resources to appear
	// Required: true
	Spec *IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec `json:"spec"`

	// status indicates the actual state of the CustomResourceDefinition
	Status *IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus `json:"status,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. Deprecated in v1.16, planned for removal in v1.22. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1beta1 custom resource definition

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition struct {

	// lastTransitionTime last time the condition transitioned from one status to another.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// message is a human-readable message indicating details about last transition.
	Message string `json:"message,omitempty"`

	// reason is a unique, one-word, CamelCase reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// status is the status of the condition. Can be True, False, Unknown.
	// Required: true
	Status *string `json:"status"`

	// type is the type of the condition. Types include Established, NamesAccepted and Terminating.
	// Required: true
	Type *string `json:"type"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition CustomResourceDefinitionCondition contains details for the current condition of this pod.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1beta1 custom resource definition condition

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items list individual CustomResourceDefinition objects
	// Required: true
	Items []*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinition `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList CustomResourceDefinitionList is a list of CustomResourceDefinition objects.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1beta1 custom resource definition list

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames struct {

	// categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.
	Categories []string `json:"categories"`

	// kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.
	// Required: true
	Kind *string `json:"kind"`

	// listKind is the serialized kind of the list for this resource. Defaults to "`kind`List".
	ListKind string `json:"listKind,omitempty"`

	// plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase.
	// Required: true
	Plural *string `json:"plural"`

	// shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase.
	ShortNames []string `json:"shortNames"`

	// singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.
	Singular string `json:"singular,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1beta1 custom resource definition names

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec struct {

	// additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.
	AdditionalPrinterColumns []*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition `json:"additionalPrinterColumns"`

	// conversion defines conversion settings for the CRD.
	Conversion *IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceConversion `json:"conversion,omitempty"`

	// group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).
	// Required: true
	Group *string `json:"group"`

	// names specify the resource and kind names for the custom resource.
	// Required: true
	Names *IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames `json:"names"`

	// preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details.
	PreserveUnknownFields bool `json:"preserveUnknownFields,omitempty"`

	// scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.
	// Required: true
	Scope *string `json:"scope"`

	// subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive.
	Subresources *IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources `json:"subresources,omitempty"`

	// validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive.
	Validation *IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation `json:"validation,omitempty"`

	// version is the API version of the defined custom resource. The custom resources are served under `/apis/<group>/<version>/...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead.
	Version string `json:"version,omitempty"`

	// versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.
	Versions []*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion `json:"versions"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec CustomResourceDefinitionSpec describes how a user wants their resource to appear

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionSpec) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1beta1 custom resource definition spec

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus struct {

	// acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec.
	AcceptedNames *IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionNames `json:"acceptedNames,omitempty"`

	// conditions indicate state for particular aspects of a CustomResourceDefinition
	Conditions []*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionCondition `json:"conditions"`

	// storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.
	StoredVersions []string `json:"storedVersions"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionStatus) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1beta1 custom resource definition status

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion struct {

	// additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.
	AdditionalPrinterColumns []*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceColumnDefinition `json:"additionalPrinterColumns"`

	// deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.
	Deprecated bool `json:"deprecated,omitempty"`

	// deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.
	DeprecationWarning string `json:"deprecationWarning,omitempty"`

	// name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true.
	// Required: true
	Name *string `json:"name"`

	// schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead).
	Schema *IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation `json:"schema,omitempty"`

	// served is a flag enabling/disabling this version from being served via REST APIs
	// Required: true
	Served *bool `json:"served"`

	// storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
	// Required: true
	Storage *bool `json:"storage"`

	// subresources specify what subresources this version of the defined custom resource have. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead).
	Subresources *IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources `json:"subresources,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion CustomResourceDefinitionVersion describes a version for CRD.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionVersion) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1beta1 custom resource definition version

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale struct {

	// labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.
	LabelSelectorPath string `json:"labelSelectorPath,omitempty"`

	// specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.
	// Required: true
	SpecReplicasPath *string `json:"specReplicasPath"`

	// statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.
	// Required: true
	StatusReplicasPath *string `json:"statusReplicasPath"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1beta1 custom resource subresource scale

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus interface{}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources struct {

	// scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object.
	Scale *IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceScale `json:"scale,omitempty"`

	// status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object.
	Status IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresourceStatus `json:"status,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources CustomResourceSubresources defines the status and scale subresources for CustomResources.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceSubresources) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1beta1 custom resource subresources

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation struct {

	// openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning.
	OpenAPIV3Schema *IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps `json:"openAPIV3Schema,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation CustomResourceValidation is a list of validation methods for CustomResources.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceValidation) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1beta1 custom resource validation

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation struct {

	// description
	Description string `json:"description,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation ExternalDocumentation allows referencing an external resource for extended documentation.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1beta1 external documentation

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON interface{}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps struct {

	// dollar ref
	DollarRef string `json:"$ref,omitempty"`

	// dollar schema
	DollarSchema string `json:"$schema,omitempty"`

	// additional items
	AdditionalItems IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool `json:"additionalItems,omitempty"`

	// additional properties
	AdditionalProperties IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool `json:"additionalProperties,omitempty"`

	// all of
	AllOf []*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps `json:"allOf"`

	// any of
	AnyOf []*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps `json:"anyOf"`

	// default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. CustomResourceDefinitions with defaults must be created using the v1 (or newer) CustomResourceDefinition API.
	Default IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON `json:"default,omitempty"`

	// definitions
	Definitions map[string]IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps `json:"definitions,omitempty"`

	// dependencies
	Dependencies map[string]IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray `json:"dependencies,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// enum
	Enum []IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON `json:"enum"`

	// example
	Example IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSON `json:"example,omitempty"`

	// exclusive maximum
	ExclusiveMaximum bool `json:"exclusiveMaximum,omitempty"`

	// exclusive minimum
	ExclusiveMinimum bool `json:"exclusiveMinimum,omitempty"`

	// external docs
	ExternalDocs *IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ExternalDocumentation `json:"externalDocs,omitempty"`

	// format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
	//
	// - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$ - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary data - password: any kind of string - date: a date string like "2006-01-02" as defined by full-date in RFC3339 - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.
	Format string `json:"format,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// items
	Items IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray `json:"items,omitempty"`

	// max items
	MaxItems int64 `json:"maxItems,omitempty"`

	// max length
	MaxLength int64 `json:"maxLength,omitempty"`

	// max properties
	MaxProperties int64 `json:"maxProperties,omitempty"`

	// maximum
	Maximum float64 `json:"maximum,omitempty"`

	// min items
	MinItems int64 `json:"minItems,omitempty"`

	// min length
	MinLength int64 `json:"minLength,omitempty"`

	// min properties
	MinProperties int64 `json:"minProperties,omitempty"`

	// minimum
	Minimum float64 `json:"minimum,omitempty"`

	// multiple of
	MultipleOf float64 `json:"multipleOf,omitempty"`

	// not
	Not *IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps `json:"not,omitempty"`

	// nullable
	Nullable bool `json:"nullable,omitempty"`

	// one of
	OneOf []*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps `json:"oneOf"`

	// pattern
	Pattern string `json:"pattern,omitempty"`

	// pattern properties
	PatternProperties map[string]IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps `json:"patternProperties,omitempty"`

	// properties
	Properties map[string]IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps `json:"properties,omitempty"`

	// required
	Required []string `json:"required"`

	// title
	Title string `json:"title,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// unique items
	UniqueItems bool `json:"uniqueItems,omitempty"`

	// x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).
	XKubernetesEmbeddedResource bool `json:"x-kubernetes-embedded-resource,omitempty"`

	// x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:
	//
	// 1) anyOf:
	//    - type: integer
	//    - type: string
	// 2) allOf:
	//    - anyOf:
	//      - type: integer
	//      - type: string
	//    - ... zero or more
	XKubernetesIntOrString bool `json:"x-kubernetes-int-or-string,omitempty"`

	// x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.
	//
	// This tag MUST only be used on lists that have the "x-kubernetes-list-type" extension set to "map". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).
	//
	// The properties specified must either be required or have a default value, to ensure those properties are present for all list items.
	XKubernetesListMapKeys []string `json:"x-kubernetes-list-map-keys"`

	// x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:
	//
	// 1) `atomic`: the list is treated as a single entity, like a scalar.
	//      Atomic lists will be entirely replaced when updated. This extension
	//      may be used on any type of list (struct, scalar, ...).
	// 2) `set`:
	//      Sets are lists that must not have multiple items with the same value. Each
	//      value must be a scalar, an object with x-kubernetes-map-type `atomic` or an
	//      array with x-kubernetes-list-type `atomic`.
	// 3) `map`:
	//      These lists are like maps in that their elements have a non-index key
	//      used to identify them. Order is preserved upon merge. The map tag
	//      must only be used on a list with elements of type object.
	// Defaults to atomic for arrays.
	XKubernetesListType string `json:"x-kubernetes-list-type,omitempty"`

	// x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:
	//
	// 1) `granular`:
	//      These maps are actual maps (key-value pairs) and each fields are independent
	//      from each other (they can each be manipulated by separate actors). This is
	//      the default behaviour for all maps.
	// 2) `atomic`: the list is treated as a single entity, like a scalar.
	//      Atomic maps will be entirely replaced when updated.
	XKubernetesMapType string `json:"x-kubernetes-map-type,omitempty"`

	// x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.
	XKubernetesPreserveUnknownFields bool `json:"x-kubernetes-preserve-unknown-fields,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaProps) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1beta1 JSON schema props

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray interface{}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrArray JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool interface{}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrBool JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray interface{}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1JSONSchemaPropsOrStringArray JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference struct {

	// name is the name of the service. Required
	// Required: true
	Name *string `json:"name"`

	// namespace is the namespace of the service. Required
	// Required: true
	Namespace *string `json:"namespace"`

	// path is an optional URL path at which the webhook will be contacted.
	Path string `json:"path,omitempty"`

	// port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.
	Port int32 `json:"port,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference ServiceReference holds a reference to Service.legacy.k8s.io

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1beta1 service reference

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig

type IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig struct {

	// caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
	// Format: byte
	CaBundle strfmt.Base64 `json:"caBundle,omitempty"`

	// service is a reference to the service for this webhook. Either service or url must be specified.
	//
	// If the webhook is running within the cluster, then you should use `service`.
	Service *IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1ServiceReference `json:"service,omitempty"`

	// url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
	//
	// The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.
	//
	// Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.
	//
	// The scheme must be "https"; the URL must begin with "https://".
	//
	// A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.
	//
	// Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.
	URL string `json:"url,omitempty"`
}

IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig WebhookClientConfig contains the information to make a TLS connection with the webhook.

swagger:model io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1WebhookClientConfig) Validate

Validate validates this io k8s apiextensions apiserver pkg apis apiextensions v1beta1 webhook client config

type IoK8sApimachineryPkgAPIResourceQuantity

type IoK8sApimachineryPkgAPIResourceQuantity string

IoK8sApimachineryPkgAPIResourceQuantity Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.

The serialization format is:

<quantity> ::= <signedNumber><suffix>

(Note that <suffix> may be empty, from the "" case in <decimalSI>.)

<digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= "+" | "-" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei

(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)

<decimalSI> ::= m | "" | k | M | G | T | P | E

(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)

<decimalExponent> ::= "e" <signedNumber> | "E" <signedNumber>

No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.

When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.

Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:

a. No precision is lost
b. No fractional digits will be emitted
c. The exponent (or suffix) is as large as possible.

The sign will be omitted unless the number is negative.

Examples:

1.5 will be serialized as "1500m"
1.5Gi will be serialized as "1536Mi"

Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.

Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)

This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.

swagger:model io.k8s.apimachinery.pkg.api.resource.Quantity

func (IoK8sApimachineryPkgAPIResourceQuantity) Validate

Validate validates this io k8s apimachinery pkg api resource quantity

type IoK8sApimachineryPkgApisMetaV1APIGroup

type IoK8sApimachineryPkgApisMetaV1APIGroup struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// name is the name of the group.
	// Required: true
	Name *string `json:"name"`

	// preferredVersion is the version preferred by the API server, which probably is the storage version.
	PreferredVersion *IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery `json:"preferredVersion,omitempty"`

	// 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.
	ServerAddressByClientCIDRs []*IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR `json:"serverAddressByClientCIDRs"`

	// versions are the versions supported in this group.
	// Required: true
	Versions []*IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery `json:"versions"`
}

IoK8sApimachineryPkgApisMetaV1APIGroup APIGroup contains the name, the supported versions, and the preferred version of a group.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup

func (*IoK8sApimachineryPkgApisMetaV1APIGroup) MarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1APIGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1APIGroup) UnmarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1APIGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1APIGroup) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 API group

type IoK8sApimachineryPkgApisMetaV1APIGroupList

type IoK8sApimachineryPkgApisMetaV1APIGroupList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// groups is a list of APIGroup.
	// Required: true
	Groups []*IoK8sApimachineryPkgApisMetaV1APIGroup `json:"groups"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`
}

IoK8sApimachineryPkgApisMetaV1APIGroupList APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList

func (*IoK8sApimachineryPkgApisMetaV1APIGroupList) MarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1APIGroupList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1APIGroupList) UnmarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1APIGroupList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1APIGroupList) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 API group list

type IoK8sApimachineryPkgApisMetaV1APIResource

type IoK8sApimachineryPkgApisMetaV1APIResource struct {

	// categories is a list of the grouped resources this resource belongs to (e.g. 'all')
	Categories []string `json:"categories"`

	// group is the preferred group of the resource.  Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale".
	Group string `json:"group,omitempty"`

	// kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
	// Required: true
	Kind *string `json:"kind"`

	// name is the plural name of the resource.
	// Required: true
	Name *string `json:"name"`

	// namespaced indicates if a resource is namespaced or not.
	// Required: true
	Namespaced *bool `json:"namespaced"`

	// shortNames is a list of suggested short names of the resource.
	ShortNames []string `json:"shortNames"`

	// singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.
	// Required: true
	SingularName *string `json:"singularName"`

	// The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.
	StorageVersionHash string `json:"storageVersionHash,omitempty"`

	// verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)
	// Required: true
	Verbs []string `json:"verbs"`

	// version is the preferred version of the resource.  Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
	Version string `json:"version,omitempty"`
}

IoK8sApimachineryPkgApisMetaV1APIResource APIResource specifies the name of a resource and whether it is namespaced.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.APIResource

func (*IoK8sApimachineryPkgApisMetaV1APIResource) MarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1APIResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1APIResource) UnmarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1APIResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1APIResource) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 API resource

type IoK8sApimachineryPkgApisMetaV1APIResourceList

type IoK8sApimachineryPkgApisMetaV1APIResourceList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// groupVersion is the group and version this APIResourceList is for.
	// Required: true
	GroupVersion *string `json:"groupVersion"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// resources contains the name of the resources and if they are namespaced.
	// Required: true
	Resources []*IoK8sApimachineryPkgApisMetaV1APIResource `json:"resources"`
}

IoK8sApimachineryPkgApisMetaV1APIResourceList 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.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList

func (*IoK8sApimachineryPkgApisMetaV1APIResourceList) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1APIResourceList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1APIResourceList) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 API resource list

type IoK8sApimachineryPkgApisMetaV1APIVersions

type IoK8sApimachineryPkgApisMetaV1APIVersions struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// 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.
	// Required: true
	ServerAddressByClientCIDRs []*IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR `json:"serverAddressByClientCIDRs"`

	// versions are the api versions that are available.
	// Required: true
	Versions []string `json:"versions"`
}

IoK8sApimachineryPkgApisMetaV1APIVersions 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.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.APIVersions

func (*IoK8sApimachineryPkgApisMetaV1APIVersions) MarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1APIVersions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1APIVersions) UnmarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1APIVersions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1APIVersions) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 API versions

type IoK8sApimachineryPkgApisMetaV1DeleteOptions

type IoK8sApimachineryPkgApisMetaV1DeleteOptions struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
	DryRun []string `json:"dryRun"`

	// 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.
	GracePeriodSeconds int64 `json:"gracePeriodSeconds,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
	OrphanDependents bool `json:"orphanDependents,omitempty"`

	// Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.
	Preconditions *IoK8sApimachineryPkgApisMetaV1Preconditions `json:"preconditions,omitempty"`

	// Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
	PropagationPolicy string `json:"propagationPolicy,omitempty"`
}

IoK8sApimachineryPkgApisMetaV1DeleteOptions DeleteOptions may be provided when deleting an API object.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions

func (*IoK8sApimachineryPkgApisMetaV1DeleteOptions) MarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1DeleteOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1DeleteOptions) UnmarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1DeleteOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1DeleteOptions) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 delete options

type IoK8sApimachineryPkgApisMetaV1FieldsV1

type IoK8sApimachineryPkgApisMetaV1FieldsV1 interface{}

IoK8sApimachineryPkgApisMetaV1FieldsV1 FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.

Each key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.

The exact format is defined in sigs.k8s.io/structured-merge-diff

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1

type IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery

type IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery struct {

	// groupVersion specifies the API group and version in the form "group/version"
	// Required: true
	GroupVersion *string `json:"groupVersion"`

	// version specifies the version in the form of "version". This is to save the clients the trouble of splitting the GroupVersion.
	// Required: true
	Version *string `json:"version"`
}

IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery

func (*IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 group version for discovery

type IoK8sApimachineryPkgApisMetaV1LabelSelector

type IoK8sApimachineryPkgApisMetaV1LabelSelector struct {

	// matchExpressions is a list of label selector requirements. The requirements are ANDed.
	MatchExpressions []*IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement `json:"matchExpressions"`

	// 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.
	MatchLabels map[string]string `json:"matchLabels,omitempty"`
}

IoK8sApimachineryPkgApisMetaV1LabelSelector 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.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector

func (*IoK8sApimachineryPkgApisMetaV1LabelSelector) MarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1LabelSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1LabelSelector) UnmarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1LabelSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1LabelSelector) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 label selector

type IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement

type IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement struct {

	// key is the label key that the selector applies to.
	// Required: true
	Key *string `json:"key"`

	// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
	// Required: true
	Operator *string `json:"operator"`

	// 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.
	Values []string `json:"values"`
}

IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement

func (*IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 label selector requirement

type IoK8sApimachineryPkgApisMetaV1ListMeta

type IoK8sApimachineryPkgApisMetaV1ListMeta struct {

	// continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.
	Continue string `json:"continue,omitempty"`

	// remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.
	RemainingItemCount int64 `json:"remainingItemCount,omitempty"`

	// 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// selfLink is a URL representing this object. Populated by the system. Read-only.
	//
	// DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.
	SelfLink string `json:"selfLink,omitempty"`
}

IoK8sApimachineryPkgApisMetaV1ListMeta ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta

func (*IoK8sApimachineryPkgApisMetaV1ListMeta) MarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1ListMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1ListMeta) UnmarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1ListMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1ListMeta) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 list meta

type IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry

type IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry struct {

	// APIVersion defines the version of this resource that this field set applies to. The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.
	APIVersion string `json:"apiVersion,omitempty"`

	// FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: "FieldsV1"
	FieldsType string `json:"fieldsType,omitempty"`

	// FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
	FieldsV1 IoK8sApimachineryPkgApisMetaV1FieldsV1 `json:"fieldsV1,omitempty"`

	// Manager is an identifier of the workflow managing these fields.
	Manager string `json:"manager,omitempty"`

	// Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.
	Operation string `json:"operation,omitempty"`

	// Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
	// Format: date-time
	Time IoK8sApimachineryPkgApisMetaV1Time `json:"time,omitempty"`
}

IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry

func (*IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 managed fields entry

type IoK8sApimachineryPkgApisMetaV1MicroTime

type IoK8sApimachineryPkgApisMetaV1MicroTime strfmt.DateTime

IoK8sApimachineryPkgApisMetaV1MicroTime MicroTime is version of Time with microsecond level precision.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime

func (*IoK8sApimachineryPkgApisMetaV1MicroTime) MarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1MicroTime) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IoK8sApimachineryPkgApisMetaV1MicroTime) MarshalJSON

func (m IoK8sApimachineryPkgApisMetaV1MicroTime) MarshalJSON() ([]byte, error)

MarshalJSON retrieves a IoK8sApimachineryPkgApisMetaV1MicroTime value as JSON output

func (*IoK8sApimachineryPkgApisMetaV1MicroTime) UnmarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1MicroTime) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1MicroTime) UnmarshalJSON

func (m *IoK8sApimachineryPkgApisMetaV1MicroTime) UnmarshalJSON(b []byte) error

UnmarshalJSON sets a IoK8sApimachineryPkgApisMetaV1MicroTime value from JSON input

func (IoK8sApimachineryPkgApisMetaV1MicroTime) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 micro time

type IoK8sApimachineryPkgApisMetaV1ObjectMeta

type IoK8sApimachineryPkgApisMetaV1ObjectMeta struct {

	// 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
	Annotations map[string]string `json:"annotations,omitempty"`

	// 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.
	ClusterName string `json:"clusterName,omitempty"`

	// 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.
	//
	// Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// Format: date-time
	CreationTimestamp IoK8sApimachineryPkgApisMetaV1Time `json:"creationTimestamp,omitempty"`

	// 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.
	DeletionGracePeriodSeconds int64 `json:"deletionGracePeriodSeconds,omitempty"`

	// 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 the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is 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.
	//
	// Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// Format: date-time
	DeletionTimestamp IoK8sApimachineryPkgApisMetaV1Time `json:"deletionTimestamp,omitempty"`

	// 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. Finalizers may be processed and removed in any order.  Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.
	Finalizers []string `json:"finalizers"`

	// 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.
	//
	// If 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).
	//
	// Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
	GenerateName string `json:"generateName,omitempty"`

	// A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
	Generation int64 `json:"generation,omitempty"`

	// 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
	Labels map[string]string `json:"labels,omitempty"`

	// ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object.
	ManagedFields []*IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry `json:"managedFields"`

	// 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
	Name string `json:"name,omitempty"`

	// Namespace defines the space within which 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.
	//
	// Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
	Namespace string `json:"namespace,omitempty"`

	// 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.
	OwnerReferences []*IoK8sApimachineryPkgApisMetaV1OwnerReference `json:"ownerReferences"`

	// 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.
	//
	// Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// SelfLink is a URL representing this object. Populated by the system. Read-only.
	//
	// DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.
	SelfLink string `json:"selfLink,omitempty"`

	// 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.
	//
	// Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
	UID string `json:"uid,omitempty"`
}

IoK8sApimachineryPkgApisMetaV1ObjectMeta ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta

func (*IoK8sApimachineryPkgApisMetaV1ObjectMeta) MarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1ObjectMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1ObjectMeta) UnmarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1ObjectMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1ObjectMeta) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 object meta

type IoK8sApimachineryPkgApisMetaV1OwnerReference

type IoK8sApimachineryPkgApisMetaV1OwnerReference struct {

	// API version of the referent.
	// Required: true
	APIVersion *string `json:"apiVersion"`

	// If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
	BlockOwnerDeletion bool `json:"blockOwnerDeletion,omitempty"`

	// If true, this reference points to the managing controller.
	Controller bool `json:"controller,omitempty"`

	// Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// Required: true
	Kind *string `json:"kind"`

	// Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
	// Required: true
	Name *string `json:"name"`

	// UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
	// Required: true
	UID *string `json:"uid"`
}

IoK8sApimachineryPkgApisMetaV1OwnerReference OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference

func (*IoK8sApimachineryPkgApisMetaV1OwnerReference) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1OwnerReference) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1OwnerReference) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 owner reference

type IoK8sApimachineryPkgApisMetaV1Patch

type IoK8sApimachineryPkgApisMetaV1Patch interface{}

IoK8sApimachineryPkgApisMetaV1Patch Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.Patch

type IoK8sApimachineryPkgApisMetaV1Preconditions

type IoK8sApimachineryPkgApisMetaV1Preconditions struct {

	// Specifies the target ResourceVersion
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// Specifies the target UID.
	UID string `json:"uid,omitempty"`
}

IoK8sApimachineryPkgApisMetaV1Preconditions Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions

func (*IoK8sApimachineryPkgApisMetaV1Preconditions) MarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1Preconditions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1Preconditions) UnmarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1Preconditions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1Preconditions) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 preconditions

type IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR

type IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR struct {

	// The CIDR with which clients can match their IP to figure out the server address that they should use.
	// Required: true
	ClientCIDR *string `json:"clientCIDR"`

	// Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.
	// Required: true
	ServerAddress *string `json:"serverAddress"`
}

IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR

func (*IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1ServerAddressByClientCIDR) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 server address by client c ID r

type IoK8sApimachineryPkgApisMetaV1Status

type IoK8sApimachineryPkgApisMetaV1Status struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Suggested HTTP return code for this status, 0 if not set.
	Code int32 `json:"code,omitempty"`

	// 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.
	Details *IoK8sApimachineryPkgApisMetaV1StatusDetails `json:"details,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// A human-readable description of the status of this operation.
	Message string `json:"message,omitempty"`

	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`

	// 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.
	Reason string `json:"reason,omitempty"`

	// Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status string `json:"status,omitempty"`
}

IoK8sApimachineryPkgApisMetaV1Status Status is a return value for calls that don't return other objects.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.Status

func (*IoK8sApimachineryPkgApisMetaV1Status) MarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1Status) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1Status) UnmarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1Status) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1Status) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 status

type IoK8sApimachineryPkgApisMetaV1StatusCause

type IoK8sApimachineryPkgApisMetaV1StatusCause struct {

	// 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.
	//
	// Examples:
	//   "name" - the field "name" on the current resource
	//   "items[0].name" - the field "name" on the first array entry in "items"
	Field string `json:"field,omitempty"`

	// A human-readable description of the cause of the error.  This field may be presented as-is to a reader.
	Message string `json:"message,omitempty"`

	// A machine-readable description of the cause of the error. If this value is empty there is no information available.
	Reason string `json:"reason,omitempty"`
}

IoK8sApimachineryPkgApisMetaV1StatusCause StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause

func (*IoK8sApimachineryPkgApisMetaV1StatusCause) MarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1StatusCause) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1StatusCause) UnmarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1StatusCause) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1StatusCause) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 status cause

type IoK8sApimachineryPkgApisMetaV1StatusDetails

type IoK8sApimachineryPkgApisMetaV1StatusDetails struct {

	// The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.
	Causes []*IoK8sApimachineryPkgApisMetaV1StatusCause `json:"causes"`

	// The group attribute of the resource associated with the status StatusReason.
	Group string `json:"group,omitempty"`

	// The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).
	Name string `json:"name,omitempty"`

	// If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.
	RetryAfterSeconds int32 `json:"retryAfterSeconds,omitempty"`

	// UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids
	UID string `json:"uid,omitempty"`
}

IoK8sApimachineryPkgApisMetaV1StatusDetails 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.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails

func (*IoK8sApimachineryPkgApisMetaV1StatusDetails) MarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1StatusDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1StatusDetails) UnmarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1StatusDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1StatusDetails) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 status details

type IoK8sApimachineryPkgApisMetaV1Time

type IoK8sApimachineryPkgApisMetaV1Time strfmt.DateTime

IoK8sApimachineryPkgApisMetaV1Time Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.Time

func (*IoK8sApimachineryPkgApisMetaV1Time) MarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1Time) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IoK8sApimachineryPkgApisMetaV1Time) MarshalJSON

func (m IoK8sApimachineryPkgApisMetaV1Time) MarshalJSON() ([]byte, error)

MarshalJSON retrieves a IoK8sApimachineryPkgApisMetaV1Time value as JSON output

func (*IoK8sApimachineryPkgApisMetaV1Time) UnmarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1Time) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1Time) UnmarshalJSON

func (m *IoK8sApimachineryPkgApisMetaV1Time) UnmarshalJSON(b []byte) error

UnmarshalJSON sets a IoK8sApimachineryPkgApisMetaV1Time value from JSON input

func (IoK8sApimachineryPkgApisMetaV1Time) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 time

type IoK8sApimachineryPkgApisMetaV1WatchEvent

type IoK8sApimachineryPkgApisMetaV1WatchEvent struct {

	// Object is:
	//  * If Type is Added or Modified: the new state of the object.
	//  * If Type is Deleted: the state of the object immediately before deletion.
	//  * If Type is Error: *Status is recommended; other types may make sense
	//    depending on context.
	// Required: true
	Object IoK8sApimachineryPkgRuntimeRawExtension `json:"object"`

	// type
	// Required: true
	Type *string `json:"type"`
}

IoK8sApimachineryPkgApisMetaV1WatchEvent Event represents a single event to a watched resource.

swagger:model io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent

func (*IoK8sApimachineryPkgApisMetaV1WatchEvent) MarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1WatchEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1WatchEvent) UnmarshalBinary

func (m *IoK8sApimachineryPkgApisMetaV1WatchEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgApisMetaV1WatchEvent) Validate

Validate validates this io k8s apimachinery pkg apis meta v1 watch event

type IoK8sApimachineryPkgRuntimeRawExtension

type IoK8sApimachineryPkgRuntimeRawExtension interface{}

IoK8sApimachineryPkgRuntimeRawExtension RawExtension is used to hold extensions in external versions.

To 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.

// Internal package: type MyAPIObject struct {
	runtime.TypeMeta `json:",inline"`
	MyPlugin runtime.Object `json:"myPlugin"`
} type PluginA struct {
	AOption string `json:"aOption"`
}
// External package: type MyAPIObject struct {
	runtime.TypeMeta `json:",inline"`
	MyPlugin runtime.RawExtension `json:"myPlugin"`
} type PluginA struct {
	AOption string `json:"aOption"`
}
// On the wire, the JSON will look something like this: {
	"kind":"MyAPIObject",
	"apiVersion":"v1",
	"myPlugin": {
		"kind":"PluginA",
		"aOption":"foo",
	},
}

So 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.)

swagger:model io.k8s.apimachinery.pkg.runtime.RawExtension

type IoK8sApimachineryPkgUtilIntstrIntOrString

type IoK8sApimachineryPkgUtilIntstrIntOrString string

IoK8sApimachineryPkgUtilIntstrIntOrString IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.

swagger:model io.k8s.apimachinery.pkg.util.intstr.IntOrString

func (IoK8sApimachineryPkgUtilIntstrIntOrString) Validate

Validate validates this io k8s apimachinery pkg util intstr int or string

type IoK8sApimachineryPkgVersionInfo

type IoK8sApimachineryPkgVersionInfo struct {

	// build date
	// Required: true
	BuildDate *string `json:"buildDate"`

	// compiler
	// Required: true
	Compiler *string `json:"compiler"`

	// git commit
	// Required: true
	GitCommit *string `json:"gitCommit"`

	// git tree state
	// Required: true
	GitTreeState *string `json:"gitTreeState"`

	// git version
	// Required: true
	GitVersion *string `json:"gitVersion"`

	// go version
	// Required: true
	GoVersion *string `json:"goVersion"`

	// major
	// Required: true
	Major *string `json:"major"`

	// minor
	// Required: true
	Minor *string `json:"minor"`

	// platform
	// Required: true
	Platform *string `json:"platform"`
}

IoK8sApimachineryPkgVersionInfo Info contains versioning information. how we'll want to distribute that information.

swagger:model io.k8s.apimachinery.pkg.version.Info

func (*IoK8sApimachineryPkgVersionInfo) MarshalBinary

func (m *IoK8sApimachineryPkgVersionInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoK8sApimachineryPkgVersionInfo) UnmarshalBinary

func (m *IoK8sApimachineryPkgVersionInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoK8sApimachineryPkgVersionInfo) Validate

Validate validates this io k8s apimachinery pkg version info

type IoK8sKubeAggregatorPkgApisApiregistrationV1APIService

type IoK8sKubeAggregatorPkgApisApiregistrationV1APIService struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec contains information for locating and communicating with a server
	Spec *IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec `json:"spec,omitempty"`

	// Status contains derived information about an API server
	Status *IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus `json:"status,omitempty"`
}

IoK8sKubeAggregatorPkgApisApiregistrationV1APIService APIService represents a server for a particular GroupVersion. Name must be "version.group".

swagger:model io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1APIService) Validate

Validate validates this io k8s kube aggregator pkg apis apiregistration v1 API service

type IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition

type IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition struct {

	// Last time the condition transitioned from one status to another.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// Human-readable message indicating details about last transition.
	Message string `json:"message,omitempty"`

	// Unique, one-word, CamelCase reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// Status is the status of the condition. Can be True, False, Unknown.
	// Required: true
	Status *string `json:"status"`

	// Type is the type of the condition.
	// Required: true
	Type *string `json:"type"`
}

IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition APIServiceCondition describes the state of an APIService at a particular point

swagger:model io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition) Validate

Validate validates this io k8s kube aggregator pkg apis apiregistration v1 API service condition

type IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList

type IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items
	// Required: true
	Items []*IoK8sKubeAggregatorPkgApisApiregistrationV1APIService `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList APIServiceList is a list of APIService objects.

swagger:model io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceList) Validate

Validate validates this io k8s kube aggregator pkg apis apiregistration v1 API service list

type IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec

type IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec struct {

	// CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.
	// Format: byte
	CaBundle strfmt.Base64 `json:"caBundle,omitempty"`

	// Group is the API group name this server hosts
	Group string `json:"group,omitempty"`

	// GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object.  (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s
	// Required: true
	GroupPriorityMinimum *int32 `json:"groupPriorityMinimum"`

	// InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged.  You should use the CABundle instead.
	InsecureSkipTLSVerify bool `json:"insecureSkipTLSVerify,omitempty"`

	// Service is a reference to the service for this API server.  It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.
	Service *IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference `json:"service,omitempty"`

	// Version is the API version this server hosts.  For example, "v1"
	Version string `json:"version,omitempty"`

	// VersionPriority controls the ordering of this API version inside of its group.  Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.
	// Required: true
	VersionPriority *int32 `json:"versionPriority"`
}

IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.

swagger:model io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceSpec) Validate

Validate validates this io k8s kube aggregator pkg apis apiregistration v1 API service spec

type IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus

type IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus struct {

	// Current service state of apiService.
	Conditions []*IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceCondition `json:"conditions"`
}

IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus APIServiceStatus contains derived information about an API server

swagger:model io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1APIServiceStatus) Validate

Validate validates this io k8s kube aggregator pkg apis apiregistration v1 API service status

type IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference

type IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference struct {

	// Name is the name of the service
	Name string `json:"name,omitempty"`

	// Namespace is the namespace of the service
	Namespace string `json:"namespace,omitempty"`

	// If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
	Port int32 `json:"port,omitempty"`
}

IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference ServiceReference holds a reference to Service.legacy.k8s.io

swagger:model io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference) Validate

Validate validates this io k8s kube aggregator pkg apis apiregistration v1 service reference

type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService

type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ObjectMeta `json:"metadata,omitempty"`

	// Spec contains information for locating and communicating with a server
	Spec *IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec `json:"spec,omitempty"`

	// Status contains derived information about an API server
	Status *IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus `json:"status,omitempty"`
}

IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService APIService represents a server for a particular GroupVersion. Name must be "version.group".

swagger:model io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService) Validate

Validate validates this io k8s kube aggregator pkg apis apiregistration v1beta1 API service

type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition

type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition struct {

	// Last time the condition transitioned from one status to another.
	// Format: date-time
	LastTransitionTime IoK8sApimachineryPkgApisMetaV1Time `json:"lastTransitionTime,omitempty"`

	// Human-readable message indicating details about last transition.
	Message string `json:"message,omitempty"`

	// Unique, one-word, CamelCase reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// Status is the status of the condition. Can be True, False, Unknown.
	// Required: true
	Status *string `json:"status"`

	// Type is the type of the condition.
	// Required: true
	Type *string `json:"type"`
}

IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition APIServiceCondition describes the state of an APIService at a particular point

swagger:model io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition) Validate

Validate validates this io k8s kube aggregator pkg apis apiregistration v1beta1 API service condition

type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList

type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList struct {

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	APIVersion string `json:"apiVersion,omitempty"`

	// items
	// Required: true
	Items []*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIService `json:"items"`

	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"`
}

IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList APIServiceList is a list of APIService objects.

swagger:model io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceList

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceList) Validate

Validate validates this io k8s kube aggregator pkg apis apiregistration v1beta1 API service list

type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec

type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec struct {

	// CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.
	// Format: byte
	CaBundle strfmt.Base64 `json:"caBundle,omitempty"`

	// Group is the API group name this server hosts
	Group string `json:"group,omitempty"`

	// GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object.  (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s
	// Required: true
	GroupPriorityMinimum *int32 `json:"groupPriorityMinimum"`

	// InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged.  You should use the CABundle instead.
	InsecureSkipTLSVerify bool `json:"insecureSkipTLSVerify,omitempty"`

	// Service is a reference to the service for this API server.  It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.
	Service *IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference `json:"service,omitempty"`

	// Version is the API version this server hosts.  For example, "v1"
	Version string `json:"version,omitempty"`

	// VersionPriority controls the ordering of this API version inside of its group.  Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.
	// Required: true
	VersionPriority *int32 `json:"versionPriority"`
}

IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.

swagger:model io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceSpec) Validate

Validate validates this io k8s kube aggregator pkg apis apiregistration v1beta1 API service spec

type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus

type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus struct {

	// Current service state of apiService.
	Conditions []*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceCondition `json:"conditions"`
}

IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus APIServiceStatus contains derived information about an API server

swagger:model io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1APIServiceStatus) Validate

Validate validates this io k8s kube aggregator pkg apis apiregistration v1beta1 API service status

type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference

type IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference struct {

	// Name is the name of the service
	Name string `json:"name,omitempty"`

	// Namespace is the namespace of the service
	Namespace string `json:"namespace,omitempty"`

	// If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
	Port int32 `json:"port,omitempty"`
}

IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference ServiceReference holds a reference to Service.legacy.k8s.io

swagger:model io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference) MarshalBinary

MarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IoK8sKubeAggregatorPkgApisApiregistrationV1beta1ServiceReference) Validate

Validate validates this io k8s kube aggregator pkg apis apiregistration v1beta1 service reference

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳