Exemple #1
0
        private ValidatingWebhook(
            ImmutableArray <string> admissionReviewVersions,

            Pulumi.Kubernetes.Types.Outputs.AdmissionRegistration.V1Beta1.WebhookClientConfig clientConfig,

            string failurePolicy,

            string matchPolicy,

            string name,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector namespaceSelector,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector objectSelector,

            ImmutableArray <Pulumi.Kubernetes.Types.Outputs.AdmissionRegistration.V1Beta1.RuleWithOperations> rules,

            string sideEffects,

            int timeoutSeconds)
        {
            AdmissionReviewVersions = admissionReviewVersions;
            ClientConfig            = clientConfig;
            FailurePolicy           = failurePolicy;
            MatchPolicy             = matchPolicy;
            Name = name;
            NamespaceSelector = namespaceSelector;
            ObjectSelector    = objectSelector;
            Rules             = rules;
            SideEffects       = sideEffects;
            TimeoutSeconds    = timeoutSeconds;
        }
        private StatefulSetSpec(
            string podManagementPolicy,

            int replicas,

            int revisionHistoryLimit,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector selector,

            string serviceName,

            Pulumi.Kubernetes.Types.Outputs.Core.V1.PodTemplateSpec template,

            Pulumi.Kubernetes.Types.Outputs.Apps.V1.StatefulSetUpdateStrategy updateStrategy,

            ImmutableArray <Pulumi.Kubernetes.Types.Outputs.Core.V1.PersistentVolumeClaim> volumeClaimTemplates)
        {
            PodManagementPolicy  = podManagementPolicy;
            Replicas             = replicas;
            RevisionHistoryLimit = revisionHistoryLimit;
            Selector             = selector;
            ServiceName          = serviceName;
            Template             = template;
            UpdateStrategy       = updateStrategy;
            VolumeClaimTemplates = volumeClaimTemplates;
        }
        private DeploymentSpec(
            int minReadySeconds,

            bool paused,

            int progressDeadlineSeconds,

            int replicas,

            int revisionHistoryLimit,

            Pulumi.Kubernetes.Types.Outputs.Extensions.V1Beta1.RollbackConfig rollbackTo,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector selector,

            Pulumi.Kubernetes.Types.Outputs.Extensions.V1Beta1.DeploymentStrategy strategy,

            Pulumi.Kubernetes.Types.Outputs.Core.V1.PodTemplateSpec template)
        {
            MinReadySeconds         = minReadySeconds;
            Paused                  = paused;
            ProgressDeadlineSeconds = progressDeadlineSeconds;
            Replicas                = replicas;
            RevisionHistoryLimit    = revisionHistoryLimit;
            RollbackTo              = rollbackTo;
            Selector                = selector;
            Strategy                = strategy;
            Template                = template;
        }
Exemple #4
0
        private JobSpec(
            int activeDeadlineSeconds,

            int backoffLimit,

            int completions,

            bool manualSelector,

            int parallelism,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector selector,

            Pulumi.Kubernetes.Types.Outputs.Core.V1.PodTemplateSpec template,

            int ttlSecondsAfterFinished)
        {
            ActiveDeadlineSeconds = activeDeadlineSeconds;
            BackoffLimit          = backoffLimit;
            Completions           = completions;
            ManualSelector        = manualSelector;
            Parallelism           = parallelism;
            Selector = selector;
            Template = template;
            TtlSecondsAfterFinished = ttlSecondsAfterFinished;
        }
Exemple #5
0
        private MetricIdentifier(
            string name,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector selector)
        {
            Name     = name;
            Selector = selector;
        }
        private PodsMetricStatus(
            string currentAverageValue,

            string metricName,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector selector)
        {
            CurrentAverageValue = currentAverageValue;
            MetricName          = metricName;
            Selector            = selector;
        }
Exemple #7
0
        private PodAffinityTerm(
            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector labelSelector,

            ImmutableArray <string> namespaces,

            string topologyKey)
        {
            LabelSelector = labelSelector;
            Namespaces    = namespaces;
            TopologyKey   = topologyKey;
        }
Exemple #8
0
        private PodDisruptionBudgetSpec(
            Union <int, string> maxUnavailable,

            Union <int, string> minAvailable,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector selector)
        {
            MaxUnavailable = maxUnavailable;
            MinAvailable   = minAvailable;
            Selector       = selector;
        }
Exemple #9
0
        private PodsMetricSource(
            string metricName,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector selector,

            string targetAverageValue)
        {
            MetricName         = metricName;
            Selector           = selector;
            TargetAverageValue = targetAverageValue;
        }
        private NetworkPolicyPeer(
            Pulumi.Kubernetes.Types.Outputs.Extensions.V1Beta1.IPBlock ipBlock,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector namespaceSelector,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector podSelector)
        {
            IpBlock           = ipBlock;
            NamespaceSelector = namespaceSelector;
            PodSelector       = podSelector;
        }
        private ExternalMetricSource(
            string metricName,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector metricSelector,

            string targetAverageValue,

            string targetValue)
        {
            MetricName         = metricName;
            MetricSelector     = metricSelector;
            TargetAverageValue = targetAverageValue;
            TargetValue        = targetValue;
        }
Exemple #12
0
        private ReplicaSetSpec(
            int minReadySeconds,

            int replicas,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector selector,

            Pulumi.Kubernetes.Types.Outputs.Core.V1.PodTemplateSpec template)
        {
            MinReadySeconds = minReadySeconds;
            Replicas        = replicas;
            Selector        = selector;
            Template        = template;
        }
        private TopologySpreadConstraint(
            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector labelSelector,

            int maxSkew,

            string topologyKey,

            string whenUnsatisfiable)
        {
            LabelSelector     = labelSelector;
            MaxSkew           = maxSkew;
            TopologyKey       = topologyKey;
            WhenUnsatisfiable = whenUnsatisfiable;
        }
Exemple #14
0
        private NetworkPolicySpec(
            ImmutableArray <Pulumi.Kubernetes.Types.Outputs.Networking.V1.NetworkPolicyEgressRule> egress,

            ImmutableArray <Pulumi.Kubernetes.Types.Outputs.Networking.V1.NetworkPolicyIngressRule> ingress,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector podSelector,

            ImmutableArray <string> policyTypes)
        {
            Egress      = egress;
            Ingress     = ingress;
            PodSelector = podSelector;
            PolicyTypes = policyTypes;
        }
        private ObjectMetricStatus(
            string averageValue,

            string currentValue,

            string metricName,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector selector,

            Pulumi.Kubernetes.Types.Outputs.Autoscaling.V2Beta1.CrossVersionObjectReference target)
        {
            AverageValue = averageValue;
            CurrentValue = currentValue;
            MetricName   = metricName;
            Selector     = selector;
            Target       = target;
        }
Exemple #16
0
        private DaemonSetSpec(
            int minReadySeconds,

            int revisionHistoryLimit,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector selector,

            Pulumi.Kubernetes.Types.Outputs.Core.V1.PodTemplateSpec template,

            Pulumi.Kubernetes.Types.Outputs.Apps.V1.DaemonSetUpdateStrategy updateStrategy)
        {
            MinReadySeconds      = minReadySeconds;
            RevisionHistoryLimit = revisionHistoryLimit;
            Selector             = selector;
            Template             = template;
            UpdateStrategy       = updateStrategy;
        }
        private PodPresetSpec(
            ImmutableArray <Pulumi.Kubernetes.Types.Outputs.Core.V1.EnvVar> env,

            ImmutableArray <Pulumi.Kubernetes.Types.Outputs.Core.V1.EnvFromSource> envFrom,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector selector,

            ImmutableArray <Pulumi.Kubernetes.Types.Outputs.Core.V1.VolumeMount> volumeMounts,

            ImmutableArray <Pulumi.Kubernetes.Types.Outputs.Core.V1.Volume> volumes)
        {
            Env          = env;
            EnvFrom      = envFrom;
            Selector     = selector;
            VolumeMounts = volumeMounts;
            Volumes      = volumes;
        }
Exemple #18
0
        private CSIStorageCapacity(
            string apiVersion,

            string capacity,

            string kind,

            string maximumVolumeSize,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.ObjectMeta metadata,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector nodeTopology,

            string storageClassName)
        {
            ApiVersion        = apiVersion;
            Capacity          = capacity;
            Kind              = kind;
            MaximumVolumeSize = maximumVolumeSize;
            Metadata          = metadata;
            NodeTopology      = nodeTopology;
            StorageClassName  = storageClassName;
        }
Exemple #19
0
        private PersistentVolumeClaimSpec(
            ImmutableArray <string> accessModes,

            Pulumi.Kubernetes.Types.Outputs.Core.V1.TypedLocalObjectReference dataSource,

            Pulumi.Kubernetes.Types.Outputs.Core.V1.ResourceRequirements resources,

            Pulumi.Kubernetes.Types.Outputs.Meta.V1.LabelSelector selector,

            string storageClassName,

            string volumeMode,

            string volumeName)
        {
            AccessModes      = accessModes;
            DataSource       = dataSource;
            Resources        = resources;
            Selector         = selector;
            StorageClassName = storageClassName;
            VolumeMode       = volumeMode;
            VolumeName       = volumeName;
        }