resources

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppProfileDataResource added in v2.4.0

func AppProfileDataResource() *schema.Resource

func AppProfileResource added in v2.4.0

func AppProfileResource() *schema.Resource

func ApplicationDataSource

func ApplicationDataSource() *schema.Resource

func ApplicationInstanceDataSource

func ApplicationInstanceDataSource() *schema.Resource

func ApplicationInstanceResource

func ApplicationInstanceResource() *schema.Resource

func ApplicationResource

func ApplicationResource() *schema.Resource

func AssetGroupDataResource added in v2.4.0

func AssetGroupDataResource() *schema.Resource

func AssetGroupResource added in v2.4.0

func AssetGroupResource() *schema.Resource

func AuthProfileDataSource added in v2.3.0

func AuthProfileDataSource() *schema.Resource

func AuthProfileResource added in v2.3.0

func AuthProfileResource() *schema.Resource

func BearerToken

func BearerToken(token string) runtime.ClientAuthInfoWriter

BearerToken provides a header based oauth2 bearer access token auth info writer

func ClusterDataSource added in v2.4.0

func ClusterDataSource() *schema.Resource

func ClusterGroupDataSource added in v2.7.0

func ClusterGroupDataSource() *schema.Resource

func ClusterGroupManifestDataSource added in v2.7.0

func ClusterGroupManifestDataSource() *schema.Resource

func ClusterGroupManifestResource added in v2.7.0

func ClusterGroupManifestResource() *schema.Resource

func ClusterGroupManifestSchema added in v2.7.0

func ClusterGroupManifestSchema() map[string]*schema.Schema

func ClusterGroupResource added in v2.7.0

func ClusterGroupResource() *schema.Resource

func ClusterResource added in v2.4.0

func ClusterResource() *schema.Resource

func CreateAppProfile added in v2.4.0

func CreateAppProfile(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateApplication

func CreateApplication(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateApplicationInstance

func CreateApplicationInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateAssetGroup added in v2.4.0

func CreateAssetGroup(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateCluster added in v2.4.0

func CreateCluster(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateClusterGroup added in v2.7.0

func CreateClusterGroup(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateDatastore

func CreateDatastore(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateDeployment added in v2.4.0

func CreateDeployment(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

CreateDeployment creates a new deployment in ZedCloud.

func CreateEnterprise added in v2.4.0

func CreateEnterprise(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateGitRepo added in v2.7.0

func CreateGitRepo(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateHardwareBrand added in v2.3.0

func CreateHardwareBrand(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateHardwareModel added in v2.3.0

func CreateHardwareModel(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateHelmChart added in v2.7.0

func CreateHelmChart(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateImage

func CreateImage(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateK3sDeployment added in v2.7.0

func CreateK3sDeployment(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateNetwork

func CreateNetwork(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateNetworkInstance

func CreateNetworkInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateNode

func CreateNode(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreatePatchEnvelope

func CreatePatchEnvelope(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreatePatchEnvelopeReference

func CreatePatchEnvelopeReference(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreatePrivateRepo added in v2.7.0

func CreatePrivateRepo(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateProfileDeployment added in v2.4.0

func CreateProfileDeployment(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateProject

func CreateProject(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateSecret added in v2.7.0

func CreateSecret(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateVolumeInstance

func CreateVolumeInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CreateZKSInstance added in v2.7.0

func CreateZKSInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func CredentialDataSource

func CredentialDataSource() *schema.Resource

func CredentialResource

func CredentialResource() *schema.Resource

func DatastoreDataSource

func DatastoreDataSource() *schema.Resource

func DatastoreResource

func DatastoreResource() *schema.Resource

func DeleteAppProfile added in v2.4.0

func DeleteAppProfile(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteApplication

func DeleteApplication(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteApplicationInstance

func DeleteApplicationInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteAssetGroup added in v2.4.0

func DeleteAssetGroup(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteCluster added in v2.4.0

func DeleteCluster(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteClusterGroup added in v2.7.0

func DeleteClusterGroup(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteDatastore

func DeleteDatastore(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteDeployment added in v2.4.0

func DeleteDeployment(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

DeleteDeployment deletes a deployment in ZedCloud.

func DeleteEnterprise added in v2.4.0

func DeleteEnterprise(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteGitRepo added in v2.7.0

func DeleteGitRepo(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteHardwareBrand added in v2.3.0

func DeleteHardwareBrand(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteHardwareModel added in v2.3.0

func DeleteHardwareModel(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteHelmChart added in v2.7.0

func DeleteHelmChart(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteImage

func DeleteImage(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteK3sDeployment added in v2.7.0

func DeleteK3sDeployment(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteNetwork

func DeleteNetwork(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteNetworkInstance

func DeleteNetworkInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteNode

func DeleteNode(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeletePatchEnvelope

func DeletePatchEnvelope(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeletePatchEnvelopeReference

func DeletePatchEnvelopeReference(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeletePrivateRepo added in v2.7.0

func DeletePrivateRepo(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteProfileDeployment added in v2.4.0

func DeleteProfileDeployment(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteProject

func DeleteProject(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteVolumeInstance

func DeleteVolumeInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeleteZKSInstance added in v2.7.0

func DeleteZKSInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DeploymentResource added in v2.4.0

func DeploymentResource() *schema.Resource

DeploymentResource returns the schema and methods for the Deployment resource.

func EnterpriseDataSource added in v2.4.0

func EnterpriseDataSource() *schema.Resource

func EnterpriseResource added in v2.4.0

func EnterpriseResource() *schema.Resource

func GetAppProfileByID added in v2.4.0

func GetAppProfileByID(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetAppProfileByName added in v2.4.0

func GetAppProfileByName(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetAssetGroupByID added in v2.4.0

func GetAssetGroupByID(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetAssetGroupByName added in v2.4.0

func GetAssetGroupByName(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetAuthProfileById added in v2.3.0

func GetAuthProfileById(ctx context.Context, d *schema.ResourceData, m interface{}) (*models.AuthorizationProfile, diag.Diagnostics)

func GetAuthProfileByName added in v2.3.0

func GetAuthProfileByName(ctx context.Context, d *schema.ResourceData, m interface{}) (*models.AuthorizationProfile, diag.Diagnostics)

func GetCluster added in v2.4.0

func GetCluster(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetClusterByID added in v2.4.0

func GetClusterByID(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetClusterByName added in v2.4.0

func GetClusterByName(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetClusterGroupManifest added in v2.7.0

func GetClusterGroupManifest(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetDeploymentByID added in v2.4.0

func GetDeploymentByID(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

GetDeploymentByID reads a deployment by ID.

func GetEnterprise added in v2.4.0

func GetEnterprise(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetEnterpriseByID added in v2.4.0

func GetEnterpriseByID(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetEnterpriseByName added in v2.4.0

func GetEnterpriseByName(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetGitRepo added in v2.7.0

func GetGitRepo(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetHardwareBrand added in v2.3.0

func GetHardwareBrand(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetHardwareBrandById added in v2.3.0

func GetHardwareBrandById(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetHardwareBrandByName added in v2.3.0

func GetHardwareBrandByName(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetHardwareModel added in v2.3.0

func GetHardwareModel(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetHardwareModelById added in v2.3.0

func GetHardwareModelById(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetHardwareModelByName added in v2.3.0

func GetHardwareModelByName(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetK3sDeployment added in v2.7.0

func GetK3sDeployment(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetPrivateRepo added in v2.7.0

func GetPrivateRepo(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetProfileDeploymentByID added in v2.4.0

func GetProfileDeploymentByID(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetProfileDeploymentByName added in v2.4.0

func GetProfileDeploymentByName(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetProject

func GetProject(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetSecret added in v2.7.0

func GetSecret(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetVolumeInstanceByID

func GetVolumeInstanceByID(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetZKSInstance added in v2.7.0

func GetZKSInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func GetZKSInstanceStatus added in v2.7.0

func GetZKSInstanceStatus(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func HardwareBrandDataSource added in v2.3.0

func HardwareBrandDataSource() *schema.Resource

func HardwareBrandResource added in v2.3.0

func HardwareBrandResource() *schema.Resource

func HardwareModelDataSource added in v2.3.0

func HardwareModelDataSource() *schema.Resource

func HardwareModelResource added in v2.3.0

func HardwareModelResource() *schema.Resource

func HelmChartManagementDataSource added in v2.7.0

func HelmChartManagementDataSource() *schema.Resource

func HelmChartManagementResource added in v2.7.0

func HelmChartManagementResource() *schema.Resource

func IdentityAccessManagement_CreateAuthProfile added in v2.3.0

func IdentityAccessManagement_CreateAuthProfile(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_CreateCredential

func IdentityAccessManagement_CreateCredential(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_CreateRole

func IdentityAccessManagement_CreateRole(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_CreateUser

func IdentityAccessManagement_CreateUser(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_DeleteAuthProfile added in v2.3.0

func IdentityAccessManagement_DeleteAuthProfile(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_DeleteCredential

func IdentityAccessManagement_DeleteCredential(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_DeleteRole

func IdentityAccessManagement_DeleteRole(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_DeleteUser

func IdentityAccessManagement_DeleteUser(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_GetAuthProfile added in v2.3.0

func IdentityAccessManagement_GetAuthProfile(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_GetRole

func IdentityAccessManagement_GetRole(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_GetUser

func IdentityAccessManagement_GetUser(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_Login added in v2.3.0

func IdentityAccessManagement_Login(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_LoginExternal added in v2.3.0

func IdentityAccessManagement_LoginExternal(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_LoginExternalOAuth2Callback added in v2.3.0

func IdentityAccessManagement_LoginExternalOAuth2Callback(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_Logout added in v2.3.0

func IdentityAccessManagement_Logout(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_UpdateAuthProfile added in v2.3.0

func IdentityAccessManagement_UpdateAuthProfile(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_UpdateCredential

func IdentityAccessManagement_UpdateCredential(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_UpdateRole

func IdentityAccessManagement_UpdateRole(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func IdentityAccessManagement_UpdateUser2

func IdentityAccessManagement_UpdateUser2(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ImageDataSource

func ImageDataSource() *schema.Resource

func ImageResource

func ImageResource() *schema.Resource

func ImportZKSInstance added in v2.7.0

func ImportZKSInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func KubernetesDeploymentDataSource added in v2.7.0

func KubernetesDeploymentDataSource() *schema.Resource

func KubernetesDeploymentResource added in v2.7.0

func KubernetesDeploymentResource() *schema.Resource

func KubernetesGitOpsDataSource added in v2.7.0

func KubernetesGitOpsDataSource() *schema.Resource

func KubernetesGitOpsResource added in v2.7.0

func KubernetesGitOpsResource() *schema.Resource

func KubernetesSecretDataSource added in v2.7.0

func KubernetesSecretDataSource() *schema.Resource

func KubernetesSecretResource added in v2.7.0

func KubernetesSecretResource() *schema.Resource

func LoginDataSource added in v2.3.0

func LoginDataSource() *schema.Resource

func LoginExternalDataSource added in v2.3.0

func LoginExternalDataSource() *schema.Resource

func LoginExternalOAuth2CallbackDataSource added in v2.3.0

func LoginExternalOAuth2CallbackDataSource() *schema.Resource

func LoginExternalOAuth2CallbackResource added in v2.3.0

func LoginExternalOAuth2CallbackResource() *schema.Resource

func LoginExternalResource added in v2.3.0

func LoginExternalResource() *schema.Resource

func LoginResource added in v2.3.0

func LoginResource() *schema.Resource

func LogoutDataSource added in v2.3.0

func LogoutDataSource() *schema.Resource

func LogoutResource added in v2.3.0

func LogoutResource() *schema.Resource

func NetworkDataSource

func NetworkDataSource() *schema.Resource

func NetworkInstanceDataSource

func NetworkInstanceDataSource() *schema.Resource

func NetworkInstanceResource

func NetworkInstanceResource() *schema.Resource

func NetworkResource

func NetworkResource() *schema.Resource

func NodeDataSource

func NodeDataSource() *schema.Resource

func NodeResource

func NodeResource() *schema.Resource

func PatchEnvelopeDataSource

func PatchEnvelopeDataSource() *schema.Resource

func PatchEnvelopeReferenceUpdate

func PatchEnvelopeReferenceUpdate() *schema.Resource

Patch envelope reference update only updates the reference between patch envelope and app instance. Only POST api is supported for that. Hence both CreateContext and UpdateContext call the same function CreatePatchEnvelopeReference that does POST API call with updated params. Since there is no GET api support for getting the reference, ReadContext is set to noop. DeletePatchEnvelopeReference will remove any existing reference created for the app instance when the resource block is removed.

func PatchEnvelopeResource

func PatchEnvelopeResource() *schema.Resource

func PrivateHelmRepositoryDataSource added in v2.7.0

func PrivateHelmRepositoryDataSource() *schema.Resource

func PrivateHelmRepositoryResource added in v2.7.0

func PrivateHelmRepositoryResource() *schema.Resource

func ProfileDeploymentDataResource added in v2.4.0

func ProfileDeploymentDataResource() *schema.Resource

func ProfileDeploymentResource added in v2.4.0

func ProfileDeploymentResource() *schema.Resource

func ProjectDataSource

func ProjectDataSource() *schema.Resource

func ProjectResource

func ProjectResource() *schema.Resource

func Provider

func Provider() *schema.Provider

func ProviderConfigure

func ProviderConfigure(ctx context.Context, d *schema.ResourceData) (interface{}, diag.Diagnostics)

func ReadAppProfile added in v2.4.0

func ReadAppProfile(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ReadApplication

func ReadApplication(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ReadApplicationInstance

func ReadApplicationInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ReadAssetGroup added in v2.4.0

func ReadAssetGroup(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ReadDatastore

func ReadDatastore(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ReadImage

func ReadImage(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ReadNetwork

func ReadNetwork(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ReadNetworkInstance

func ReadNetworkInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ReadNode

func ReadNode(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ReadPatchEnvelope

func ReadPatchEnvelope(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ReadProfileDeployment added in v2.4.0

func ReadProfileDeployment(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ReadVolumeInstance

func ReadVolumeInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func RoleDataSource

func RoleDataSource() *schema.Resource

func RoleResource

func RoleResource() *schema.Resource

func UpdateAppProfile added in v2.4.0

func UpdateAppProfile(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateApplication

func UpdateApplication(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateApplicationInstance

func UpdateApplicationInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateAssetGroup added in v2.4.0

func UpdateAssetGroup(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateCluster added in v2.4.0

func UpdateCluster(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateDatastore

func UpdateDatastore(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateDeployment added in v2.4.0

func UpdateDeployment(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

UpdateDeployment updates a deployment in ZedCloud.

func UpdateEnterprise2 added in v2.4.0

func UpdateEnterprise2(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateGitRepo added in v2.7.0

func UpdateGitRepo(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateHardwareBrand added in v2.3.0

func UpdateHardwareBrand(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateHardwareModel added in v2.3.0

func UpdateHardwareModel(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateHelmChart added in v2.7.0

func UpdateHelmChart(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateImage

func UpdateImage(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateK3sDeployment added in v2.7.0

func UpdateK3sDeployment(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateNetwork

func UpdateNetwork(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateNetworkInstance

func UpdateNetworkInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateNode

func UpdateNode(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdatePatchEnvelope

func UpdatePatchEnvelope(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdatePrivateRepo added in v2.7.0

func UpdatePrivateRepo(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateProfileDeployment added in v2.4.0

func UpdateProfileDeployment(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateProject

func UpdateProject(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateVolumeInstance

func UpdateVolumeInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UpdateZKSInstance added in v2.7.0

func UpdateZKSInstance(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func UserDataSource

func UserDataSource() *schema.Resource

func UserResource

func UserResource() *schema.Resource

func VolumeInstanceDataSource

func VolumeInstanceDataSource() *schema.Resource

func VolumeInstanceResource

func VolumeInstanceResource() *schema.Resource

func ZksInstanceDataSource added in v2.7.0

func ZksInstanceDataSource() *schema.Resource

func ZksInstanceImportResource added in v2.7.0

func ZksInstanceImportResource() *schema.Resource

func ZksInstanceResource added in v2.7.0

func ZksInstanceResource() *schema.Resource

func ZksInstanceStatusDataSource added in v2.7.0

func ZksInstanceStatusDataSource() *schema.Resource

func ZksInstanceStatusResource added in v2.7.0

func ZksInstanceStatusResource() *schema.Resource

func ZsrvResponderToDiags added in v2.4.0

func ZsrvResponderToDiags(intf interface{}) (diag.Diagnostics, bool)

ZsrvResponderToDiags checks if x satisfies the `ZsrvResponder` interface and maps any error reasons from the response to TF `Diagnostic`s.

Types

type HTLogger added in v2.4.0

type HTLogger struct{}

HTLogger is a logger which satisfies the go-openapi/runtime/logger.Logger interface using go stdlib "log". It appends a prefix to each message to make them compatible with what TF expects for legacy logging (see https://developer.hashicorp.com/terraform/plugin/log/writing#legacy-logging).

func (HTLogger) Debugf added in v2.4.0

func (l HTLogger) Debugf(format string, args ...interface{})

Debugf prints a log message the same way as Printf does. The TF "logging level" is hardcoded to "DEBUG" since it's expected that this will only be used in the go-openapi/runtime to log HTTP transport debugging info.

func (HTLogger) Printf added in v2.4.0

func (l HTLogger) Printf(format string, args ...interface{})

Printf just prints a log message. The TF "logging level" is hardcoded to "DEBUG" since it's expected that this will only be used in the go-openapi/runtime to log HTTP transport debugging info.

type HttpTransportWrapper added in v2.3.0

type HttpTransportWrapper struct {
	http.RoundTripper
	// contains filtered or unexported fields
}

func NewHttpTransportWrapper added in v2.3.0

func NewHttpTransportWrapper(rt http.RoundTripper) *HttpTransportWrapper

func (*HttpTransportWrapper) RoundTrip added in v2.3.0

func (h *HttpTransportWrapper) RoundTrip(req *http.Request) (*http.Response, error)

type ZsrvResponder added in v2.4.0

type ZsrvResponder interface {
	GetPayload() *models.ZsrvResponse
	String() string
}

ZsrvResponder interface can be satistied by any API reponse struct that contains a models.ZsrvResponse and thus we can use that to extract additional information about the response (for example any error reasons send by the Zedcloud API).

Jump to

Keyboard shortcuts

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