hcp

package
v1.6.6-prerelease.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Policy IDs from type operator roles
	ImageRegistry                   = "openshift_hcp_image_registry_installer_cloud_credentials_policy"
	IngressOperator                 = "openshift_hcp_ingress_operator_cloud_credentials_policy"
	ClusterCSI                      = "openshift_hcp_cluster_csi_drivers_ebs_cloud_credentials_policy"
	CloudNetwork                    = "openshift_hcp_cloud_network_config_controller_cloud_credentials_policy"
	KubeControllerManagerKubeSystem = "openshift_hcp_kube_controller_manager_credentials_policy"
	CapaControllerManagerKubeSystem = "openshift_hcp_capa_controller_manager_credentials_policy"
	ControlPlaneOperatorKubeSystem  = "openshift_hcp_control_plane_operator_credentials_policy"
	KmsProviderKubeSystem           = "openshift_hcp_kms_provider_credentials_policy"

	// Policy IDs from type account roles
	Installer        = "sts_hcp_installer_permission_policy"
	Support          = "sts_hcp_support_permission_policy"
	SupportRhSreRole = "sts_support_rh_sre_role"
	InstanceWorker   = "sts_hcp_instance_worker_permission_policy"
)

Variables

This section is empty.

Functions

func New

func New() datasource.DataSource

Types

type AccountRolePolicies

type AccountRolePolicies struct {
	Installer        types.String `tfsdk:"sts_hcp_installer_permission_policy"`
	Support          types.String `tfsdk:"sts_hcp_support_permission_policy"`
	SupportRhSreRole types.String `tfsdk:"sts_support_rh_sre_role"`
	InstanceWorker   types.String `tfsdk:"sts_hcp_instance_worker_permission_policy"`
}

type OcmPoliciesDataSource

type OcmPoliciesDataSource struct {
	// contains filtered or unexported fields
}

func (*OcmPoliciesDataSource) Configure

func (*OcmPoliciesDataSource) Metadata

func (*OcmPoliciesDataSource) Read

func (*OcmPoliciesDataSource) Schema

type OcmPoliciesState

type OcmPoliciesState struct {
	OperatorRolePolicies *OperatorRolePolicies `tfsdk:"operator_role_policies"`
	AccountRolePolicies  *AccountRolePolicies  `tfsdk:"account_role_policies"`
}

type OperatorRolePolicies

type OperatorRolePolicies struct {
	ImageRegistry                   types.String `tfsdk:"openshift_hcp_image_registry_installer_cloud_credentials_policy"`
	IngressOperator                 types.String `tfsdk:"openshift_hcp_ingress_operator_cloud_credentials_policy"`
	ClusterCSI                      types.String `tfsdk:"openshift_hcp_cluster_csi_drivers_ebs_cloud_credentials_policy"`
	CloudNetwork                    types.String `tfsdk:"openshift_hcp_cloud_network_config_controller_cloud_credentials_policy"`
	KubeControllerManagerKubeSystem types.String `tfsdk:"openshift_hcp_kube_controller_manager_credentials_policy"`
	CapaControllerManagerKubeSystem types.String `tfsdk:"openshift_hcp_capa_controller_manager_credentials_policy"`
	ControlPlaneOperatorKubeSystem  types.String `tfsdk:"openshift_hcp_control_plane_operator_credentials_policy"`
	KmsProviderKubeSystem           types.String `tfsdk:"openshift_hcp_kms_provider_credentials_policy"`
}

Jump to

Keyboard shortcuts

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