Documentation ¶
Index ¶
- func NewKarpenterK8SAwsEc2NodeClassV1Manifest() datasource.DataSource
- type KarpenterK8SAwsEc2NodeClassV1Manifest
- func (r *KarpenterK8SAwsEc2NodeClassV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *KarpenterK8SAwsEc2NodeClassV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *KarpenterK8SAwsEc2NodeClassV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type KarpenterK8SAwsEc2NodeClassV1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKarpenterK8SAwsEc2NodeClassV1Manifest ¶
func NewKarpenterK8SAwsEc2NodeClassV1Manifest() datasource.DataSource
Types ¶
type KarpenterK8SAwsEc2NodeClassV1Manifest ¶
type KarpenterK8SAwsEc2NodeClassV1Manifest struct{}
func (*KarpenterK8SAwsEc2NodeClassV1Manifest) Metadata ¶
func (r *KarpenterK8SAwsEc2NodeClassV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*KarpenterK8SAwsEc2NodeClassV1Manifest) Read ¶
func (r *KarpenterK8SAwsEc2NodeClassV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*KarpenterK8SAwsEc2NodeClassV1Manifest) Schema ¶
func (r *KarpenterK8SAwsEc2NodeClassV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type KarpenterK8SAwsEc2NodeClassV1ManifestData ¶
type KarpenterK8SAwsEc2NodeClassV1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { AmiFamily *string `tfsdk:"ami_family" json:"amiFamily,omitempty"` AmiSelectorTerms *[]struct { Alias *string `tfsdk:"alias" json:"alias,omitempty"` Id *string `tfsdk:"id" json:"id,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Owner *string `tfsdk:"owner" json:"owner,omitempty"` Tags *map[string]string `tfsdk:"tags" json:"tags,omitempty"` } `tfsdk:"ami_selector_terms" json:"amiSelectorTerms,omitempty"` AssociatePublicIPAddress *bool `tfsdk:"associate_public_ip_address" json:"associatePublicIPAddress,omitempty"` BlockDeviceMappings *[]struct { DeviceName *string `tfsdk:"device_name" json:"deviceName,omitempty"` Ebs *struct { DeleteOnTermination *bool `tfsdk:"delete_on_termination" json:"deleteOnTermination,omitempty"` Encrypted *bool `tfsdk:"encrypted" json:"encrypted,omitempty"` Iops *int64 `tfsdk:"iops" json:"iops,omitempty"` KmsKeyID *string `tfsdk:"kms_key_id" json:"kmsKeyID,omitempty"` SnapshotID *string `tfsdk:"snapshot_id" json:"snapshotID,omitempty"` Throughput *int64 `tfsdk:"throughput" json:"throughput,omitempty"` VolumeSize *string `tfsdk:"volume_size" json:"volumeSize,omitempty"` VolumeType *string `tfsdk:"volume_type" json:"volumeType,omitempty"` } `tfsdk:"ebs" json:"ebs,omitempty"` RootVolume *bool `tfsdk:"root_volume" json:"rootVolume,omitempty"` } `tfsdk:"block_device_mappings" json:"blockDeviceMappings,omitempty"` Context *string `tfsdk:"context" json:"context,omitempty"` DetailedMonitoring *bool `tfsdk:"detailed_monitoring" json:"detailedMonitoring,omitempty"` InstanceProfile *string `tfsdk:"instance_profile" json:"instanceProfile,omitempty"` InstanceStorePolicy *string `tfsdk:"instance_store_policy" json:"instanceStorePolicy,omitempty"` Kubelet *struct { ClusterDNS *[]string `tfsdk:"cluster_dns" json:"clusterDNS,omitempty"` CpuCFSQuota *bool `tfsdk:"cpu_cfs_quota" json:"cpuCFSQuota,omitempty"` EvictionHard *map[string]string `tfsdk:"eviction_hard" json:"evictionHard,omitempty"` EvictionMaxPodGracePeriod *int64 `tfsdk:"eviction_max_pod_grace_period" json:"evictionMaxPodGracePeriod,omitempty"` EvictionSoft *map[string]string `tfsdk:"eviction_soft" json:"evictionSoft,omitempty"` EvictionSoftGracePeriod *map[string]string `tfsdk:"eviction_soft_grace_period" json:"evictionSoftGracePeriod,omitempty"` ImageGCHighThresholdPercent *int64 `tfsdk:"image_gc_high_threshold_percent" json:"imageGCHighThresholdPercent,omitempty"` ImageGCLowThresholdPercent *int64 `tfsdk:"image_gc_low_threshold_percent" json:"imageGCLowThresholdPercent,omitempty"` KubeReserved *map[string]string `tfsdk:"kube_reserved" json:"kubeReserved,omitempty"` MaxPods *int64 `tfsdk:"max_pods" json:"maxPods,omitempty"` PodsPerCore *int64 `tfsdk:"pods_per_core" json:"podsPerCore,omitempty"` SystemReserved *map[string]string `tfsdk:"system_reserved" json:"systemReserved,omitempty"` } `tfsdk:"kubelet" json:"kubelet,omitempty"` MetadataOptions *struct { HttpEndpoint *string `tfsdk:"http_endpoint" json:"httpEndpoint,omitempty"` HttpProtocolIPv6 *string `tfsdk:"http_protocol_i_pv6" json:"httpProtocolIPv6,omitempty"` HttpPutResponseHopLimit *int64 `tfsdk:"http_put_response_hop_limit" json:"httpPutResponseHopLimit,omitempty"` HttpTokens *string `tfsdk:"http_tokens" json:"httpTokens,omitempty"` } `tfsdk:"metadata_options" json:"metadataOptions,omitempty"` Role *string `tfsdk:"role" json:"role,omitempty"` SecurityGroupSelectorTerms *[]struct { Id *string `tfsdk:"id" json:"id,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Tags *map[string]string `tfsdk:"tags" json:"tags,omitempty"` } `tfsdk:"security_group_selector_terms" json:"securityGroupSelectorTerms,omitempty"` SubnetSelectorTerms *[]struct { Id *string `tfsdk:"id" json:"id,omitempty"` Tags *map[string]string `tfsdk:"tags" json:"tags,omitempty"` } `tfsdk:"subnet_selector_terms" json:"subnetSelectorTerms,omitempty"` Tags *map[string]string `tfsdk:"tags" json:"tags,omitempty"` UserData *string `tfsdk:"user_data" json:"userData,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
Click to show internal directories.
Click to hide internal directories.