datasource_cluster

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterDataSourceSchema

func ClusterDataSourceSchema(ctx context.Context) schema.Schema

Types

type AddonsType

type AddonsType struct {
	basetypes.ObjectType
}

func (AddonsType) Equal

func (t AddonsType) Equal(o attr.Type) bool

func (AddonsType) String

func (t AddonsType) String() string

func (AddonsType) ValueFromObject

func (AddonsType) ValueFromTerraform

func (t AddonsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (AddonsType) ValueType

func (t AddonsType) ValueType(ctx context.Context) attr.Value

type AddonsValue

type AddonsValue struct {
	Enabled basetypes.BoolValue   `tfsdk:"enabled"`
	Params  basetypes.MapValue    `tfsdk:"params"`
	Phase   basetypes.StringValue `tfsdk:"phase"`
	Version basetypes.StringValue `tfsdk:"version"`
	// contains filtered or unexported fields
}

func NewAddonsValue

func NewAddonsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (AddonsValue, diag.Diagnostics)

func NewAddonsValueMust

func NewAddonsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) AddonsValue

func NewAddonsValueNull

func NewAddonsValueNull() AddonsValue

func NewAddonsValueUnknown

func NewAddonsValueUnknown() AddonsValue

func (AddonsValue) AttributeTypes

func (v AddonsValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (AddonsValue) Equal

func (v AddonsValue) Equal(o attr.Value) bool

func (AddonsValue) IsNull

func (v AddonsValue) IsNull() bool

func (AddonsValue) IsUnknown

func (v AddonsValue) IsUnknown() bool

func (AddonsValue) String

func (v AddonsValue) String() string

func (AddonsValue) ToObjectValue

func (AddonsValue) ToTerraformValue

func (v AddonsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (AddonsValue) Type

func (v AddonsValue) Type(ctx context.Context) attr.Type

type CalicoLimitsType

type CalicoLimitsType struct {
	basetypes.ObjectType
}

func (CalicoLimitsType) Equal

func (t CalicoLimitsType) Equal(o attr.Type) bool

func (CalicoLimitsType) String

func (t CalicoLimitsType) String() string

func (CalicoLimitsType) ValueFromObject

func (CalicoLimitsType) ValueFromTerraform

func (t CalicoLimitsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (CalicoLimitsType) ValueType

func (t CalicoLimitsType) ValueType(ctx context.Context) attr.Value

type CalicoLimitsValue

type CalicoLimitsValue struct {
	ControllerCpuLimit    basetypes.StringValue `tfsdk:"controller_cpu_limit"`
	ControllerMemoryLimit basetypes.StringValue `tfsdk:"controller_memory_limit"`
	NodeCpuLimit          basetypes.StringValue `tfsdk:"node_cpu_limit"`
	NodeMemoryLimit       basetypes.StringValue `tfsdk:"node_memory_limit"`
	TyphaCpuLimit         basetypes.StringValue `tfsdk:"typha_cpu_limit"`
	TyphaMemoryLimit      basetypes.StringValue `tfsdk:"typha_memory_limit"`
	// contains filtered or unexported fields
}

func NewCalicoLimitsValue

func NewCalicoLimitsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (CalicoLimitsValue, diag.Diagnostics)

func NewCalicoLimitsValueMust

func NewCalicoLimitsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) CalicoLimitsValue

func NewCalicoLimitsValueNull

func NewCalicoLimitsValueNull() CalicoLimitsValue

func NewCalicoLimitsValueUnknown

func NewCalicoLimitsValueUnknown() CalicoLimitsValue

func (CalicoLimitsValue) AttributeTypes

func (v CalicoLimitsValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (CalicoLimitsValue) Equal

func (v CalicoLimitsValue) Equal(o attr.Value) bool

func (CalicoLimitsValue) IsNull

func (v CalicoLimitsValue) IsNull() bool

func (CalicoLimitsValue) IsUnknown

func (v CalicoLimitsValue) IsUnknown() bool

func (CalicoLimitsValue) String

func (v CalicoLimitsValue) String() string

func (CalicoLimitsValue) ToObjectValue

func (CalicoLimitsValue) ToTerraformValue

func (v CalicoLimitsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (CalicoLimitsValue) Type

type CloudProviderType

type CloudProviderType struct {
	basetypes.ObjectType
}

func (CloudProviderType) Equal

func (t CloudProviderType) Equal(o attr.Type) bool

func (CloudProviderType) String

func (t CloudProviderType) String() string

func (CloudProviderType) ValueFromObject

func (CloudProviderType) ValueFromTerraform

func (t CloudProviderType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (CloudProviderType) ValueType

func (t CloudProviderType) ValueType(ctx context.Context) attr.Value

type CloudProviderValue

type CloudProviderValue struct {
	Name              basetypes.StringValue `tfsdk:"name"`
	CloudProviderType basetypes.StringValue `tfsdk:"type"`
	Uuid              basetypes.StringValue `tfsdk:"uuid"`
	// contains filtered or unexported fields
}

func NewCloudProviderValue

func NewCloudProviderValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (CloudProviderValue, diag.Diagnostics)

func NewCloudProviderValueMust

func NewCloudProviderValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) CloudProviderValue

func NewCloudProviderValueNull

func NewCloudProviderValueNull() CloudProviderValue

func NewCloudProviderValueUnknown

func NewCloudProviderValueUnknown() CloudProviderValue

func (CloudProviderValue) AttributeTypes

func (v CloudProviderValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (CloudProviderValue) Equal

func (v CloudProviderValue) Equal(o attr.Value) bool

func (CloudProviderValue) IsNull

func (v CloudProviderValue) IsNull() bool

func (CloudProviderValue) IsUnknown

func (v CloudProviderValue) IsUnknown() bool

func (CloudProviderValue) String

func (v CloudProviderValue) String() string

func (CloudProviderValue) ToObjectValue

func (CloudProviderValue) ToTerraformValue

func (v CloudProviderValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (CloudProviderValue) Type

type ClusterModel

type ClusterModel struct {
	Addons                     types.Map           `tfsdk:"addons"`
	AllowWorkloadsOnMaster     types.Bool          `tfsdk:"allow_workloads_on_master"`
	BatchUpgradePercent        types.Int64         `tfsdk:"batch_upgrade_percent"`
	CalicoIpIpMode             types.String        `tfsdk:"calico_ip_ip_mode"`
	CalicoIpv4                 types.String        `tfsdk:"calico_ipv4"`
	CalicoIpv4DetectionMethod  types.String        `tfsdk:"calico_ipv4_detection_method"`
	CalicoIpv6                 types.String        `tfsdk:"calico_ipv6"`
	CalicoIpv6DetectionMethod  types.String        `tfsdk:"calico_ipv6_detection_method"`
	CalicoIpv6PoolBlockSize    types.String        `tfsdk:"calico_ipv6_pool_block_size"`
	CalicoIpv6PoolCidr         types.String        `tfsdk:"calico_ipv6_pool_cidr"`
	CalicoIpv6PoolNatOutgoing  types.Bool          `tfsdk:"calico_ipv6_pool_nat_outgoing"`
	CalicoLimits               CalicoLimitsValue   `tfsdk:"calico_limits"`
	CalicoNatOutgoing          types.Bool          `tfsdk:"calico_nat_outgoing"`
	CalicoRouterId             types.String        `tfsdk:"calico_router_id"`
	CalicoV4BlockSize          types.String        `tfsdk:"calico_v4_block_size"`
	CertExpiryHrs              types.Int64         `tfsdk:"cert_expiry_hrs"`
	CloudProvider              CloudProviderValue  `tfsdk:"cloud_provider"`
	ContainerRuntime           types.String        `tfsdk:"container_runtime"`
	ContainersCidr             types.String        `tfsdk:"containers_cidr"`
	CpuManagerPolicy           types.String        `tfsdk:"cpu_manager_policy"`
	CreatedAt                  types.String        `tfsdk:"created_at"`
	CustomRegistry             CustomRegistryValue `tfsdk:"custom_registry"`
	DockerCentosPackageRepoUrl types.String        `tfsdk:"docker_centos_package_repo_url"`
	DockerPrivateRegistry      types.String        `tfsdk:"docker_private_registry"`
	DockerRoot                 types.String        `tfsdk:"docker_root"`
	DockerUbuntuPackageRepoUrl types.String        `tfsdk:"docker_ubuntu_package_repo_url"`
	EnableCatapultMonitoring   types.Bool          `tfsdk:"enable_catapult_monitoring"`
	Etcd                       EtcdValue           `tfsdk:"etcd"`
	EtcdBackup                 EtcdBackupValue     `tfsdk:"etcd_backup"`
	ExternalDnsName            types.String        `tfsdk:"external_dns_name"`
	FelixIpv6Support           types.Bool          `tfsdk:"felix_ipv6_support"`
	FlannelIfaceLabel          types.String        `tfsdk:"flannel_iface_label"`
	FlannelPublicIfaceLabel    types.String        `tfsdk:"flannel_public_iface_label"`
	GcrPrivateRegistry         types.String        `tfsdk:"gcr_private_registry"`
	Id                         types.String        `tfsdk:"id"`
	InterfaceDetectionMethod   types.String        `tfsdk:"interface_detection_method"`
	InterfaceName              types.String        `tfsdk:"interface_name"`
	InterfaceReachableIp       types.String        `tfsdk:"interface_reachable_ip"`
	Ipv6                       types.Bool          `tfsdk:"ipv6"`
	K8sApiPort                 types.Int64         `tfsdk:"k8s_api_port"`
	K8sConfig                  K8sConfigValue      `tfsdk:"k8s_config"`
	K8sPrivateRegistry         types.String        `tfsdk:"k8s_private_registry"`
	KubeRoleVersion            types.String        `tfsdk:"kube_role_version"`
	MasterIp                   types.String        `tfsdk:"master_ip"`
	MasterNodes                types.Set           `tfsdk:"master_nodes"`
	MasterVipIface             types.String        `tfsdk:"master_vip_iface"`
	MasterVipIpv4              types.String        `tfsdk:"master_vip_ipv4"`
	MasterVipVrouterId         types.String        `tfsdk:"master_vip_vrouter_id"`
	Masterless                 types.Bool          `tfsdk:"masterless"`
	MtuSize                    types.Int64         `tfsdk:"mtu_size"`
	Name                       types.String        `tfsdk:"name"`
	NetworkPlugin              types.String        `tfsdk:"network_plugin"`
	NodePoolName               types.String        `tfsdk:"node_pool_name"`
	NodePoolUuid               types.String        `tfsdk:"node_pool_uuid"`
	Privileged                 types.Bool          `tfsdk:"privileged"`
	ProjectId                  types.String        `tfsdk:"project_id"`
	QuayPrivateRegistry        types.String        `tfsdk:"quay_private_registry"`
	ReservedCpus               types.String        `tfsdk:"reserved_cpus"`
	ServicesCidr               types.String        `tfsdk:"services_cidr"`
	Status                     StatusValue         `tfsdk:"status"`
	Tags                       types.Map           `tfsdk:"tags"`
	TopologyManagerPolicy      types.String        `tfsdk:"topology_manager_policy"`
	UpgradeKubeRoleVersion     types.String        `tfsdk:"upgrade_kube_role_version"`
	UseHostname                types.Bool          `tfsdk:"use_hostname"`
	WorkerNodes                types.Set           `tfsdk:"worker_nodes"`
}

type CustomRegistryType

type CustomRegistryType struct {
	basetypes.ObjectType
}

func (CustomRegistryType) Equal

func (t CustomRegistryType) Equal(o attr.Type) bool

func (CustomRegistryType) String

func (t CustomRegistryType) String() string

func (CustomRegistryType) ValueFromObject

func (CustomRegistryType) ValueFromTerraform

func (t CustomRegistryType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (CustomRegistryType) ValueType

func (t CustomRegistryType) ValueType(ctx context.Context) attr.Value

type CustomRegistryValue

type CustomRegistryValue struct {
	CertPath        basetypes.StringValue `tfsdk:"cert_path"`
	Password        basetypes.StringValue `tfsdk:"password"`
	RepoPath        basetypes.StringValue `tfsdk:"repo_path"`
	SelfSignedCerts basetypes.BoolValue   `tfsdk:"self_signed_certs"`
	SkipTls         basetypes.BoolValue   `tfsdk:"skip_tls"`
	Url             basetypes.StringValue `tfsdk:"url"`
	Username        basetypes.StringValue `tfsdk:"username"`
	// contains filtered or unexported fields
}

func NewCustomRegistryValue

func NewCustomRegistryValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (CustomRegistryValue, diag.Diagnostics)

func NewCustomRegistryValueMust

func NewCustomRegistryValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) CustomRegistryValue

func NewCustomRegistryValueNull

func NewCustomRegistryValueNull() CustomRegistryValue

func NewCustomRegistryValueUnknown

func NewCustomRegistryValueUnknown() CustomRegistryValue

func (CustomRegistryValue) AttributeTypes

func (v CustomRegistryValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (CustomRegistryValue) Equal

func (v CustomRegistryValue) Equal(o attr.Value) bool

func (CustomRegistryValue) IsNull

func (v CustomRegistryValue) IsNull() bool

func (CustomRegistryValue) IsUnknown

func (v CustomRegistryValue) IsUnknown() bool

func (CustomRegistryValue) String

func (v CustomRegistryValue) String() string

func (CustomRegistryValue) ToObjectValue

func (CustomRegistryValue) ToTerraformValue

func (v CustomRegistryValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (CustomRegistryValue) Type

type DailyType

type DailyType struct {
	basetypes.ObjectType
}

func (DailyType) Equal

func (t DailyType) Equal(o attr.Type) bool

func (DailyType) String

func (t DailyType) String() string

func (DailyType) ValueFromObject

func (DailyType) ValueFromTerraform

func (t DailyType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (DailyType) ValueType

func (t DailyType) ValueType(ctx context.Context) attr.Value

type DailyValue

type DailyValue struct {
	BackupTime         basetypes.StringValue `tfsdk:"backup_time"`
	MaxBackupsToRetain basetypes.Int64Value  `tfsdk:"max_backups_to_retain"`
	// contains filtered or unexported fields
}

func NewDailyValue

func NewDailyValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (DailyValue, diag.Diagnostics)

func NewDailyValueMust

func NewDailyValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) DailyValue

func NewDailyValueNull

func NewDailyValueNull() DailyValue

func NewDailyValueUnknown

func NewDailyValueUnknown() DailyValue

func (DailyValue) AttributeTypes

func (v DailyValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (DailyValue) Equal

func (v DailyValue) Equal(o attr.Value) bool

func (DailyValue) IsNull

func (v DailyValue) IsNull() bool

func (DailyValue) IsUnknown

func (v DailyValue) IsUnknown() bool

func (DailyValue) String

func (v DailyValue) String() string

func (DailyValue) ToObjectValue

func (DailyValue) ToTerraformValue

func (v DailyValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (DailyValue) Type

func (v DailyValue) Type(ctx context.Context) attr.Type

type EtcdBackupType

type EtcdBackupType struct {
	basetypes.ObjectType
}

func (EtcdBackupType) Equal

func (t EtcdBackupType) Equal(o attr.Type) bool

func (EtcdBackupType) String

func (t EtcdBackupType) String() string

func (EtcdBackupType) ValueFromObject

func (EtcdBackupType) ValueFromTerraform

func (t EtcdBackupType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (EtcdBackupType) ValueType

func (t EtcdBackupType) ValueType(ctx context.Context) attr.Value

type EtcdBackupValue

type EtcdBackupValue struct {
	Daily            basetypes.ObjectValue `tfsdk:"daily"`
	Interval         basetypes.ObjectValue `tfsdk:"interval"`
	StorageLocalPath basetypes.StringValue `tfsdk:"storage_local_path"`
	StorageType      basetypes.StringValue `tfsdk:"storage_type"`
	// contains filtered or unexported fields
}

func NewEtcdBackupValue

func NewEtcdBackupValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (EtcdBackupValue, diag.Diagnostics)

func NewEtcdBackupValueMust

func NewEtcdBackupValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) EtcdBackupValue

func NewEtcdBackupValueNull

func NewEtcdBackupValueNull() EtcdBackupValue

func NewEtcdBackupValueUnknown

func NewEtcdBackupValueUnknown() EtcdBackupValue

func (EtcdBackupValue) AttributeTypes

func (v EtcdBackupValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (EtcdBackupValue) Equal

func (v EtcdBackupValue) Equal(o attr.Value) bool

func (EtcdBackupValue) IsNull

func (v EtcdBackupValue) IsNull() bool

func (EtcdBackupValue) IsUnknown

func (v EtcdBackupValue) IsUnknown() bool

func (EtcdBackupValue) String

func (v EtcdBackupValue) String() string

func (EtcdBackupValue) ToObjectValue

func (EtcdBackupValue) ToTerraformValue

func (v EtcdBackupValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (EtcdBackupValue) Type

func (v EtcdBackupValue) Type(ctx context.Context) attr.Type

type EtcdType

type EtcdType struct {
	basetypes.ObjectType
}

func (EtcdType) Equal

func (t EtcdType) Equal(o attr.Type) bool

func (EtcdType) String

func (t EtcdType) String() string

func (EtcdType) ValueFromObject

func (EtcdType) ValueFromTerraform

func (t EtcdType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (EtcdType) ValueType

func (t EtcdType) ValueType(ctx context.Context) attr.Value

type EtcdValue

type EtcdValue struct {
	DataDir             basetypes.StringValue `tfsdk:"data_dir"`
	ElectionTimeoutMs   basetypes.Int64Value  `tfsdk:"election_timeout_ms"`
	EnableEncryption    basetypes.BoolValue   `tfsdk:"enable_encryption"`
	HeartbeatIntervalMs basetypes.Int64Value  `tfsdk:"heartbeat_interval_ms"`
	Version             basetypes.StringValue `tfsdk:"version"`
	// contains filtered or unexported fields
}

func NewEtcdValue

func NewEtcdValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (EtcdValue, diag.Diagnostics)

func NewEtcdValueMust

func NewEtcdValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) EtcdValue

func NewEtcdValueNull

func NewEtcdValueNull() EtcdValue

func NewEtcdValueUnknown

func NewEtcdValueUnknown() EtcdValue

func (EtcdValue) AttributeTypes

func (v EtcdValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (EtcdValue) Equal

func (v EtcdValue) Equal(o attr.Value) bool

func (EtcdValue) IsNull

func (v EtcdValue) IsNull() bool

func (EtcdValue) IsUnknown

func (v EtcdValue) IsUnknown() bool

func (EtcdValue) String

func (v EtcdValue) String() string

func (EtcdValue) ToObjectValue

func (v EtcdValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (EtcdValue) ToTerraformValue

func (v EtcdValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (EtcdValue) Type

func (v EtcdValue) Type(ctx context.Context) attr.Type

type IntervalType

type IntervalType struct {
	basetypes.ObjectType
}

func (IntervalType) Equal

func (t IntervalType) Equal(o attr.Type) bool

func (IntervalType) String

func (t IntervalType) String() string

func (IntervalType) ValueFromObject

func (IntervalType) ValueFromTerraform

func (t IntervalType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (IntervalType) ValueType

func (t IntervalType) ValueType(ctx context.Context) attr.Value

type IntervalValue

type IntervalValue struct {
	BackupInterval     basetypes.StringValue `tfsdk:"backup_interval"`
	MaxBackupsToRetain basetypes.Int64Value  `tfsdk:"max_backups_to_retain"`
	// contains filtered or unexported fields
}

func NewIntervalValue

func NewIntervalValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (IntervalValue, diag.Diagnostics)

func NewIntervalValueMust

func NewIntervalValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) IntervalValue

func NewIntervalValueNull

func NewIntervalValueNull() IntervalValue

func NewIntervalValueUnknown

func NewIntervalValueUnknown() IntervalValue

func (IntervalValue) AttributeTypes

func (v IntervalValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (IntervalValue) Equal

func (v IntervalValue) Equal(o attr.Value) bool

func (IntervalValue) IsNull

func (v IntervalValue) IsNull() bool

func (IntervalValue) IsUnknown

func (v IntervalValue) IsUnknown() bool

func (IntervalValue) String

func (v IntervalValue) String() string

func (IntervalValue) ToObjectValue

func (IntervalValue) ToTerraformValue

func (v IntervalValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (IntervalValue) Type

func (v IntervalValue) Type(ctx context.Context) attr.Type

type K8sConfigType

type K8sConfigType struct {
	basetypes.ObjectType
}

func (K8sConfigType) Equal

func (t K8sConfigType) Equal(o attr.Type) bool

func (K8sConfigType) String

func (t K8sConfigType) String() string

func (K8sConfigType) ValueFromObject

func (K8sConfigType) ValueFromTerraform

func (t K8sConfigType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (K8sConfigType) ValueType

func (t K8sConfigType) ValueType(ctx context.Context) attr.Value

type K8sConfigValue

type K8sConfigValue struct {
	ApiServerFlags         basetypes.ListValue   `tfsdk:"api_server_flags"`
	ApiServerRuntimeConfig basetypes.StringValue `tfsdk:"api_server_runtime_config"`
	ControllerManagerFlags basetypes.ListValue   `tfsdk:"controller_manager_flags"`
	SchedulerFlags         basetypes.ListValue   `tfsdk:"scheduler_flags"`
	// contains filtered or unexported fields
}

func NewK8sConfigValue

func NewK8sConfigValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (K8sConfigValue, diag.Diagnostics)

func NewK8sConfigValueMust

func NewK8sConfigValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) K8sConfigValue

func NewK8sConfigValueNull

func NewK8sConfigValueNull() K8sConfigValue

func NewK8sConfigValueUnknown

func NewK8sConfigValueUnknown() K8sConfigValue

func (K8sConfigValue) AttributeTypes

func (v K8sConfigValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (K8sConfigValue) Equal

func (v K8sConfigValue) Equal(o attr.Value) bool

func (K8sConfigValue) IsNull

func (v K8sConfigValue) IsNull() bool

func (K8sConfigValue) IsUnknown

func (v K8sConfigValue) IsUnknown() bool

func (K8sConfigValue) String

func (v K8sConfigValue) String() string

func (K8sConfigValue) ToObjectValue

func (K8sConfigValue) ToTerraformValue

func (v K8sConfigValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (K8sConfigValue) Type

func (v K8sConfigValue) Type(ctx context.Context) attr.Type

type StatusType

type StatusType struct {
	basetypes.ObjectType
}

func (StatusType) Equal

func (t StatusType) Equal(o attr.Type) bool

func (StatusType) String

func (t StatusType) String() string

func (StatusType) ValueFromObject

func (StatusType) ValueFromTerraform

func (t StatusType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (StatusType) ValueType

func (t StatusType) ValueType(ctx context.Context) attr.Value

type StatusValue

type StatusValue struct {
	LastOk       basetypes.StringValue `tfsdk:"last_ok"`
	LastOp       basetypes.StringValue `tfsdk:"last_op"`
	MasterStatus basetypes.StringValue `tfsdk:"master_status"`
	Status       basetypes.StringValue `tfsdk:"status"`
	TaskError    basetypes.StringValue `tfsdk:"task_error"`
	TaskStatus   basetypes.StringValue `tfsdk:"task_status"`
	WorkerStatus basetypes.StringValue `tfsdk:"worker_status"`
	// contains filtered or unexported fields
}

func NewStatusValue

func NewStatusValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (StatusValue, diag.Diagnostics)

func NewStatusValueMust

func NewStatusValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) StatusValue

func NewStatusValueNull

func NewStatusValueNull() StatusValue

func NewStatusValueUnknown

func NewStatusValueUnknown() StatusValue

func (StatusValue) AttributeTypes

func (v StatusValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (StatusValue) Equal

func (v StatusValue) Equal(o attr.Value) bool

func (StatusValue) IsNull

func (v StatusValue) IsNull() bool

func (StatusValue) IsUnknown

func (v StatusValue) IsUnknown() bool

func (StatusValue) String

func (v StatusValue) String() string

func (StatusValue) ToObjectValue

func (StatusValue) ToTerraformValue

func (v StatusValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (StatusValue) Type

func (v StatusValue) Type(ctx context.Context) attr.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL