Documentation ¶
Index ¶
- Constants
- func GetDeploymentCondition(status appsv1.DeploymentStatus, condType appsv1.DeploymentConditionType) *appsv1.DeploymentCondition
- func Provider() terraform.ResourceProvider
- type AddOperation
- type KubeClientsets
- type PatchOperation
- type PatchOperations
- type RemoveOperation
- type ReplaceOperation
Constants ¶
View Source
const (
// https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/deployment/util/deployment_util.go#L93
TimedOutReason = "ProgressDeadlineExceeded"
)
Variables ¶
This section is empty.
Functions ¶
func GetDeploymentCondition ¶
func GetDeploymentCondition(status appsv1.DeploymentStatus, condType appsv1.DeploymentConditionType) *appsv1.DeploymentCondition
GetDeploymentConditionInternal returns the condition with the provided type. Borrowed from: https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/deployment/util/deployment_util.go#L135
func Provider ¶
func Provider() terraform.ResourceProvider
Types ¶
type AddOperation ¶
type AddOperation struct { Path string `json:"path"` Value interface{} `json:"value"` Op string `json:"op"` }
func (*AddOperation) GetPath ¶
func (o *AddOperation) GetPath() string
func (*AddOperation) MarshalJSON ¶
func (o *AddOperation) MarshalJSON() ([]byte, error)
func (*AddOperation) String ¶
func (o *AddOperation) String() string
type KubeClientsets ¶
type KubeClientsets interface { MainClientset() (*kubernetes.Clientset, error) AggregatorClientset() (*aggregator.Clientset, error) }
type PatchOperation ¶
type PatchOperations ¶
type PatchOperations []PatchOperation
func (PatchOperations) Equal ¶
func (po PatchOperations) Equal(ops []PatchOperation) bool
func (PatchOperations) MarshalJSON ¶
func (po PatchOperations) MarshalJSON() ([]byte, error)
type RemoveOperation ¶
func (*RemoveOperation) GetPath ¶
func (o *RemoveOperation) GetPath() string
func (*RemoveOperation) MarshalJSON ¶
func (o *RemoveOperation) MarshalJSON() ([]byte, error)
func (*RemoveOperation) String ¶
func (o *RemoveOperation) String() string
type ReplaceOperation ¶
type ReplaceOperation struct { Path string `json:"path"` Value interface{} `json:"value"` Op string `json:"op"` }
func (*ReplaceOperation) GetPath ¶
func (o *ReplaceOperation) GetPath() string
func (*ReplaceOperation) MarshalJSON ¶
func (o *ReplaceOperation) MarshalJSON() ([]byte, error)
func (*ReplaceOperation) String ¶
func (o *ReplaceOperation) String() string
Source Files ¶
- data_source_kubernetes_all_namespaces.go
- data_source_kubernetes_config_map.go
- data_source_kubernetes_ingress.go
- data_source_kubernetes_namespace.go
- data_source_kubernetes_persistent_volume_claim.go
- data_source_kubernetes_pod.go
- data_source_kubernetes_secret.go
- data_source_kubernetes_service.go
- data_source_kubernetes_service_account.go
- data_source_kubernetes_storage_class.go
- diff_supress_funcs.go
- event_helpers.go
- options_helpers.go
- patch_operations.go
- provider.go
- resource_kubernetes_api_service.go
- resource_kubernetes_certificate_signing_request.go
- resource_kubernetes_cluster_role.go
- resource_kubernetes_cluster_role_binding.go
- resource_kubernetes_config_map.go
- resource_kubernetes_cron_job.go
- resource_kubernetes_csi_driver.go
- resource_kubernetes_daemonset.go
- resource_kubernetes_default_service_account.go
- resource_kubernetes_deployment.go
- resource_kubernetes_endpoints.go
- resource_kubernetes_horizontal_pod_autoscaler.go
- resource_kubernetes_horizontal_pod_autoscaler_v2.go
- resource_kubernetes_ingress.go
- resource_kubernetes_job.go
- resource_kubernetes_limit_range.go
- resource_kubernetes_mutating_webhook_configuration.go
- resource_kubernetes_namespace.go
- resource_kubernetes_network_policy.go
- resource_kubernetes_persistent_volume.go
- resource_kubernetes_persistent_volume_claim.go
- resource_kubernetes_pod.go
- resource_kubernetes_pod_disruption_budget.go
- resource_kubernetes_pod_security_policy.go
- resource_kubernetes_priority_class.go
- resource_kubernetes_replication_controller.go
- resource_kubernetes_resource_quota.go
- resource_kubernetes_role.go
- resource_kubernetes_role_binding.go
- resource_kubernetes_secret.go
- resource_kubernetes_service.go
- resource_kubernetes_service_account.go
- resource_kubernetes_stateful_set.go
- resource_kubernetes_storage_class.go
- resource_kubernetes_validating_webhook_configuration.go
- schema_affinity_spec.go
- schema_backend_spec.go
- schema_container.go
- schema_cron_job_spec.go
- schema_endpoints.go
- schema_helpers.go
- schema_horizontal_pod_autoscaler.go
- schema_job_spec.go
- schema_label_selector.go
- schema_metadata.go
- schema_node_selector_term.go
- schema_persistent_volume_claim.go
- schema_pod_spec.go
- schema_pod_template.go
- schema_rbac.go
- schema_rule_with_operations.go
- schema_stateful_set_spec.go
- schema_volume_source.go
- schema_webhook_client_config.go
- structure_api_service_spec.go
- structure_cron_job.go
- structure_csi_driver.go
- structure_endpoints.go
- structure_horizontal_pod_autoscaler.go
- structure_horizontal_pod_autoscaler_v2.go
- structure_hostalias.go
- structure_ingress_spec.go
- structure_job.go
- structure_label_selector.go
- structure_mutating_webhook_configuration.go
- structure_network_policy.go
- structure_persistent_volume_claim.go
- structure_persistent_volume_spec.go
- structure_pod_disruption_budget.go
- structure_pod_security_policy_spec.go
- structure_service_spec.go
- structure_validating_webhook_configuration.go
- structures.go
- structures_admissionregistration.go
- structures_affinity.go
- structures_certificate_signing_request.go
- structures_container.go
- structures_daemonset.go
- structures_deployment.go
- structures_pod.go
- structures_rbac.go
- structures_replication_controller.go
- structures_stateful_set.go
- validators.go
Click to show internal directories.
Click to hide internal directories.