Documentation
¶
Index ¶
- Variables
- type AkpArgoCDBanner
- type AkpArgoCDChat
- type AkpArgoCDConfig
- type AkpArgoCDExtensionInstallEntry
- type AkpArgoCDGoogleAnalytics
- type AkpArgoCDHelmSettings
- type AkpArgoCDKustomizeSettings
- type AkpArgoCDRBACConfig
- type AkpArgoCDResourceSettings
- type AkpArgoCDStatusBadge
- type AkpArgoCDWebTerminal
- type AkpCluster
- type AkpClusterCustomization
- type AkpClusterKube
- type AkpIPAllowListEntry
- type AkpInstance
- type AkpInstanceSpec
- type AkpRepoServerDelegate
- type AkpRepoServerDelegateControlPlane
- type AkpRepoServerDelegateManagedCluster
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StringClusterSize = map[string]argocdv1.ClusterSize{ "small": argocdv1.ClusterSize_CLUSTER_SIZE_SMALL, "medium": argocdv1.ClusterSize_CLUSTER_SIZE_MEDIUM, "large": argocdv1.ClusterSize_CLUSTER_SIZE_LARGE, "unspecified": argocdv1.ClusterSize_CLUSTER_SIZE_UNSPECIFIED, } ClusterSizeString = map[argocdv1.ClusterSize]string{ argocdv1.ClusterSize_CLUSTER_SIZE_SMALL: "small", argocdv1.ClusterSize_CLUSTER_SIZE_MEDIUM: "medium", argocdv1.ClusterSize_CLUSTER_SIZE_LARGE: "large", argocdv1.ClusterSize_CLUSTER_SIZE_UNSPECIFIED: "unspecified", } )
View Source
var ( RBACConfigMapAttrTypes = map[string]attr.Type{ "default_policy": types.StringType, "policy_csv": types.StringType, "scopes": types.ListType{ ElemType: types.StringType, }, } )
Functions ¶
This section is empty.
Types ¶
type AkpArgoCDBanner ¶ added in v0.3.0
type AkpArgoCDBanner struct { Message types.String `tfsdk:"message"` Permanent types.Bool `tfsdk:"permanent"` Url types.String `tfsdk:"url"` }
func MergeBanner ¶ added in v0.3.0
func MergeBanner(state *AkpArgoCDBanner, plan *AkpArgoCDBanner) (*AkpArgoCDBanner, diag.Diagnostics)
func (*AkpArgoCDBanner) As ¶ added in v0.3.0
func (x *AkpArgoCDBanner) As(target *argocdv1.ArgoCDBannerConfig) diag.Diagnostics
func (*AkpArgoCDBanner) UpdateObject ¶ added in v0.3.0
func (x *AkpArgoCDBanner) UpdateObject(p *argocdv1.ArgoCDBannerConfig) diag.Diagnostics
type AkpArgoCDChat ¶ added in v0.3.0
func MergeChat ¶ added in v0.3.0
func MergeChat(state *AkpArgoCDChat, plan *AkpArgoCDChat) (*AkpArgoCDChat, diag.Diagnostics)
func (*AkpArgoCDChat) As ¶ added in v0.3.0
func (x *AkpArgoCDChat) As(target *argocdv1.ArgoCDAlertConfig) diag.Diagnostics
func (*AkpArgoCDChat) UpdateObject ¶ added in v0.3.0
func (x *AkpArgoCDChat) UpdateObject(p *argocdv1.ArgoCDAlertConfig) diag.Diagnostics
type AkpArgoCDConfig ¶ added in v0.3.0
type AkpArgoCDConfig struct { AdminEnabled types.Bool `tfsdk:"admin"` AllowAnonymousUser types.Bool `tfsdk:"allow_anonymous"` Banner types.Object `tfsdk:"banner"` Chat types.Object `tfsdk:"chat"` DexConfig types.String `tfsdk:"dex"` GoogleAnalytics types.Object `tfsdk:"google_analytics"` HelmSettings types.Object `tfsdk:"helm"` InstanceLabelKey types.String `tfsdk:"instance_label_key"` KustomizeSettings types.Object `tfsdk:"kustomize"` OidcConfig types.String `tfsdk:"oidc"` ResourceSettings types.Object `tfsdk:"resource_settings"` StatusBadge types.Object `tfsdk:"status_badge"` UsersSessionDuration types.String `tfsdk:"users_session"` WebTerminal types.Object `tfsdk:"web_terminal"` }
func MergeConfig ¶ added in v0.3.0
func MergeConfig(state *AkpArgoCDConfig, plan *AkpArgoCDConfig) (*AkpArgoCDConfig, diag.Diagnostics)
func (*AkpArgoCDConfig) As ¶ added in v0.3.0
func (x *AkpArgoCDConfig) As(target *argocdv1.ArgoCDConfigMap) diag.Diagnostics
func (*AkpArgoCDConfig) UpdateObject ¶ added in v0.3.0
func (x *AkpArgoCDConfig) UpdateObject(p *argocdv1.ArgoCDConfigMap) diag.Diagnostics
type AkpArgoCDExtensionInstallEntry ¶ added in v0.3.0
type AkpArgoCDExtensionInstallEntry struct { Id types.String `tfsdk:"id"` Version types.String `tfsdk:"version"` }
func (*AkpArgoCDExtensionInstallEntry) As ¶ added in v0.3.0
func (x *AkpArgoCDExtensionInstallEntry) As(target *argocdv1.ArgoCDExtensionInstallEntry) diag.Diagnostics
func (*AkpArgoCDExtensionInstallEntry) UpdateObject ¶ added in v0.3.0
func (x *AkpArgoCDExtensionInstallEntry) UpdateObject(p *argocdv1.ArgoCDExtensionInstallEntry) diag.Diagnostics
type AkpArgoCDGoogleAnalytics ¶ added in v0.3.0
type AkpArgoCDGoogleAnalytics struct { AnonymizeUsers types.Bool `tfsdk:"anonymize_users"` TrackingId types.String `tfsdk:"tracking_id"` }
func MergeGoogleAnalytics ¶ added in v0.3.0
func MergeGoogleAnalytics(state *AkpArgoCDGoogleAnalytics, plan *AkpArgoCDGoogleAnalytics) (*AkpArgoCDGoogleAnalytics, diag.Diagnostics)
func (*AkpArgoCDGoogleAnalytics) As ¶ added in v0.3.0
func (x *AkpArgoCDGoogleAnalytics) As(target *argocdv1.ArgoCDGoogleAnalyticsConfig) diag.Diagnostics
func (*AkpArgoCDGoogleAnalytics) UpdateObject ¶ added in v0.3.0
func (x *AkpArgoCDGoogleAnalytics) UpdateObject(p *argocdv1.ArgoCDGoogleAnalyticsConfig) diag.Diagnostics
type AkpArgoCDHelmSettings ¶ added in v0.3.0
type AkpArgoCDHelmSettings struct { Enabled types.Bool `tfsdk:"enabled"` ValueFileSchemas types.String `tfsdk:"value_file_schemas"` }
func MergeHelmSettings ¶ added in v0.3.0
func MergeHelmSettings(state *AkpArgoCDHelmSettings, plan *AkpArgoCDHelmSettings) (*AkpArgoCDHelmSettings, diag.Diagnostics)
func (*AkpArgoCDHelmSettings) As ¶ added in v0.3.0
func (x *AkpArgoCDHelmSettings) As(target *argocdv1.ArgoCDHelmSettings) diag.Diagnostics
func (*AkpArgoCDHelmSettings) UpdateObject ¶ added in v0.3.0
func (x *AkpArgoCDHelmSettings) UpdateObject(p *argocdv1.ArgoCDHelmSettings) diag.Diagnostics
type AkpArgoCDKustomizeSettings ¶ added in v0.3.0
type AkpArgoCDKustomizeSettings struct { BuildOptions types.String `tfsdk:"build_options"` Enabled types.Bool `tfsdk:"enabled"` }
func MergeKustomizeSettings ¶ added in v0.3.0
func MergeKustomizeSettings(state *AkpArgoCDKustomizeSettings, plan *AkpArgoCDKustomizeSettings) (*AkpArgoCDKustomizeSettings, diag.Diagnostics)
func (*AkpArgoCDKustomizeSettings) As ¶ added in v0.3.0
func (x *AkpArgoCDKustomizeSettings) As(target *argocdv1.ArgoCDKustomizeSettings) diag.Diagnostics
func (*AkpArgoCDKustomizeSettings) UpdateObject ¶ added in v0.3.0
func (x *AkpArgoCDKustomizeSettings) UpdateObject(p *argocdv1.ArgoCDKustomizeSettings) diag.Diagnostics
type AkpArgoCDRBACConfig ¶ added in v0.3.0
type AkpArgoCDRBACConfig struct { DefaultPolicy types.String `tfsdk:"default_policy"` PolicyCsv types.String `tfsdk:"policy_csv"` Scopes types.List `tfsdk:"scopes"` }
func MergeRbacConfig ¶ added in v0.3.0
func MergeRbacConfig(state *AkpArgoCDRBACConfig, plan *AkpArgoCDRBACConfig) (*AkpArgoCDRBACConfig, diag.Diagnostics)
func (*AkpArgoCDRBACConfig) As ¶ added in v0.3.0
func (x *AkpArgoCDRBACConfig) As(target *argocdv1.ArgoCDRBACConfigMap) diag.Diagnostics
func (*AkpArgoCDRBACConfig) UpdateObject ¶ added in v0.3.0
func (x *AkpArgoCDRBACConfig) UpdateObject(p *argocdv1.ArgoCDRBACConfigMap) diag.Diagnostics
type AkpArgoCDResourceSettings ¶ added in v0.3.0
type AkpArgoCDResourceSettings struct { CompareOptions types.String `tfsdk:"compare_options"` Exclusions types.String `tfsdk:"exclusions"` Inclusions types.String `tfsdk:"inclusions"` }
func MergeResourceSettings ¶ added in v0.3.0
func MergeResourceSettings(state *AkpArgoCDResourceSettings, plan *AkpArgoCDResourceSettings) (*AkpArgoCDResourceSettings, diag.Diagnostics)
func (*AkpArgoCDResourceSettings) As ¶ added in v0.3.0
func (x *AkpArgoCDResourceSettings) As(target *argocdv1.ArgoCDResourceSettings) diag.Diagnostics
func (*AkpArgoCDResourceSettings) UpdateObject ¶ added in v0.3.0
func (x *AkpArgoCDResourceSettings) UpdateObject(p *argocdv1.ArgoCDResourceSettings) diag.Diagnostics
type AkpArgoCDStatusBadge ¶ added in v0.3.0
type AkpArgoCDStatusBadge struct { Enabled types.Bool `tfsdk:"enabled"` Url types.String `tfsdk:"url"` }
func MergeStatusBadge ¶ added in v0.3.0
func MergeStatusBadge(state *AkpArgoCDStatusBadge, plan *AkpArgoCDStatusBadge) (*AkpArgoCDStatusBadge, diag.Diagnostics)
func (*AkpArgoCDStatusBadge) As ¶ added in v0.3.0
func (x *AkpArgoCDStatusBadge) As(target *argocdv1.ArgoCDStatusBadgeConfig) diag.Diagnostics
func (*AkpArgoCDStatusBadge) UpdateObject ¶ added in v0.3.0
func (x *AkpArgoCDStatusBadge) UpdateObject(p *argocdv1.ArgoCDStatusBadgeConfig) diag.Diagnostics
type AkpArgoCDWebTerminal ¶ added in v0.3.0
type AkpArgoCDWebTerminal struct { Enabled types.Bool `tfsdk:"enabled"` Shells types.String `tfsdk:"shells"` }
func MergeWebTerminal ¶ added in v0.3.0
func MergeWebTerminal(state *AkpArgoCDWebTerminal, plan *AkpArgoCDWebTerminal) (*AkpArgoCDWebTerminal, diag.Diagnostics)
func (*AkpArgoCDWebTerminal) As ¶ added in v0.3.0
func (x *AkpArgoCDWebTerminal) As(target *argocdv1.ArgoCDWebTerminalConfig) diag.Diagnostics
func (*AkpArgoCDWebTerminal) UpdateObject ¶ added in v0.3.0
func (x *AkpArgoCDWebTerminal) UpdateObject(p *argocdv1.ArgoCDWebTerminalConfig) diag.Diagnostics
type AkpCluster ¶
type AkpCluster struct { Id types.String `tfsdk:"id"` InstanceId types.String `tfsdk:"instance_id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Namespace types.String `tfsdk:"namespace"` NamespaceScoped types.Bool `tfsdk:"namespace_scoped"` Size types.String `tfsdk:"size"` AutoUpgradeDisabled types.Bool `tfsdk:"auto_upgrade_disabled"` CustomImageRegistryArgoproj types.String `tfsdk:"custom_image_registry_argoproj"` CustomImageRegistryAkuity types.String `tfsdk:"custom_image_registry_akuity"` Manifests types.String `tfsdk:"manifests"` Labels types.Map `tfsdk:"labels"` Annotations types.Map `tfsdk:"annotations"` AgentVersion types.String `tfsdk:"agent_version"` }
func (*AkpCluster) UpdateCluster ¶ added in v0.2.1
func (x *AkpCluster) UpdateCluster(p *argocdv1.Cluster) diag.Diagnostics
func (*AkpCluster) UpdateManifests ¶ added in v0.2.1
func (x *AkpCluster) UpdateManifests(ctx context.Context, client argocdv1.ArgoCDServiceGatewayClient, orgId string) diag.Diagnostics
type AkpClusterCustomization ¶ added in v0.3.0
type AkpClusterCustomization struct { AutoUpgradeDisabled types.Bool `tfsdk:"auto_upgrade_disabled"` CustomRegistryArgoproj types.String `tfsdk:"custom_image_registry_argoproj"` CustomRegistryAkuity types.String `tfsdk:"custom_image_registry_akuity"` }
func MergeClusterCustomization ¶ added in v0.3.0
func MergeClusterCustomization(state *AkpClusterCustomization, plan *AkpClusterCustomization) (*AkpClusterCustomization, diag.Diagnostics)
func (*AkpClusterCustomization) As ¶ added in v0.3.0
func (x *AkpClusterCustomization) As(target *argocdv1.ClusterCustomization) diag.Diagnostics
func (*AkpClusterCustomization) UpdateObject ¶ added in v0.3.0
func (x *AkpClusterCustomization) UpdateObject(p *argocdv1.ClusterCustomization) diag.Diagnostics
type AkpClusterKube ¶ added in v0.2.1
type AkpClusterKube struct { Id types.String `tfsdk:"id"` InstanceId types.String `tfsdk:"instance_id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Namespace types.String `tfsdk:"namespace"` NamespaceScoped types.Bool `tfsdk:"namespace_scoped"` Size types.String `tfsdk:"size"` AutoUpgradeDisabled types.Bool `tfsdk:"auto_upgrade_disabled"` CustomImageRegistryArgoproj types.String `tfsdk:"custom_image_registry_argoproj"` CustomImageRegistryAkuity types.String `tfsdk:"custom_image_registry_akuity"` Manifests types.String `tfsdk:"manifests"` Labels types.Map `tfsdk:"labels"` Annotations types.Map `tfsdk:"annotations"` AgentVersion types.String `tfsdk:"agent_version"` KubeConfig types.Object `tfsdk:"kube_config"` }
func (*AkpClusterKube) Update ¶ added in v0.2.1
func (x *AkpClusterKube) Update(p *AkpCluster) error
func (*AkpClusterKube) UpdateCluster ¶ added in v0.2.1
func (x *AkpClusterKube) UpdateCluster(p *argocdv1.Cluster) diag.Diagnostics
func (*AkpClusterKube) UpdateManifests ¶ added in v0.2.1
func (x *AkpClusterKube) UpdateManifests(ctx context.Context, client argocdv1.ArgoCDServiceGatewayClient, orgId string) diag.Diagnostics
type AkpIPAllowListEntry ¶ added in v0.3.0
type AkpIPAllowListEntry struct { Ip types.String `tfsdk:"ip"` Description types.String `tfsdk:"description"` }
func (*AkpIPAllowListEntry) As ¶ added in v0.3.0
func (x *AkpIPAllowListEntry) As(target *argocdv1.IPAllowListEntry) diag.Diagnostics
func (*AkpIPAllowListEntry) UpdateObject ¶ added in v0.3.0
func (x *AkpIPAllowListEntry) UpdateObject(p *argocdv1.IPAllowListEntry) diag.Diagnostics
type AkpInstance ¶
type AkpInstance struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Version types.String `tfsdk:"version"` Description types.String `tfsdk:"description"` Hostname types.String `tfsdk:"hostname"` RbacConfig types.Object `tfsdk:"rbac_config"` Config types.Object `tfsdk:"config"` Spec types.Object `tfsdk:"spec"` }
func MergeInstance ¶ added in v0.3.0
func MergeInstance(state *AkpInstance, plan *AkpInstance) (*AkpInstance, diag.Diagnostics)
func (*AkpInstance) As ¶ added in v0.3.0
func (x *AkpInstance) As(target *argocdv1.Instance) diag.Diagnostics
func (*AkpInstance) UpdateFrom ¶ added in v0.3.0
func (x *AkpInstance) UpdateFrom(p *argocdv1.Instance) diag.Diagnostics
type AkpInstanceSpec ¶ added in v0.3.0
type AkpInstanceSpec struct { AuditExtension types.Bool `tfsdk:"audit_extension"` BackendIpAllowList types.Bool `tfsdk:"backend_ip_allow_list"` ClusterCustomization types.Object `tfsdk:"cluster_customization_defaults"` DeclarativeManagement types.Bool `tfsdk:"declarative_management"` Extensions types.List `tfsdk:"extensions"` ImageUpdater types.Bool `tfsdk:"image_updater"` IpAllowList types.List `tfsdk:"ip_allow_list"` RepoServerDelegate types.Object `tfsdk:"repo_server_delegate"` Subdomain types.String `tfsdk:"subdomain"` }
func MergeSpec ¶ added in v0.3.0
func MergeSpec(state *AkpInstanceSpec, plan *AkpInstanceSpec) (*AkpInstanceSpec, diag.Diagnostics)
func (*AkpInstanceSpec) As ¶ added in v0.3.0
func (x *AkpInstanceSpec) As(target *argocdv1.InstanceSpec) diag.Diagnostics
func (*AkpInstanceSpec) UpdateObject ¶ added in v0.3.0
func (x *AkpInstanceSpec) UpdateObject(p *argocdv1.InstanceSpec) diag.Diagnostics
type AkpRepoServerDelegate ¶ added in v0.3.0
type AkpRepoServerDelegate struct { ControlPlane types.Object `tfsdk:"control_plane"` ManagedCluster types.Object `tfsdk:"managed_cluster"` }
func MergeRepoServerDelegate ¶ added in v0.3.0
func MergeRepoServerDelegate(state *AkpRepoServerDelegate, plan *AkpRepoServerDelegate) (*AkpRepoServerDelegate, diag.Diagnostics)
func (*AkpRepoServerDelegate) As ¶ added in v0.3.0
func (x *AkpRepoServerDelegate) As(target *argocdv1.RepoServerDelegate) diag.Diagnostics
func (*AkpRepoServerDelegate) UpdateObject ¶ added in v0.3.0
func (x *AkpRepoServerDelegate) UpdateObject(p *argocdv1.RepoServerDelegate) diag.Diagnostics
type AkpRepoServerDelegateControlPlane ¶ added in v0.3.0
type AkpRepoServerDelegateControlPlane struct{}
func MergeRepoServerDelegateControlPlane ¶ added in v0.3.0
func MergeRepoServerDelegateControlPlane(state *AkpRepoServerDelegateControlPlane, plan *AkpRepoServerDelegateControlPlane) (*AkpRepoServerDelegateControlPlane, diag.Diagnostics)
func (*AkpRepoServerDelegateControlPlane) As ¶ added in v0.3.0
func (x *AkpRepoServerDelegateControlPlane) As(target *argocdv1.RepoServerDelegateControlPlane) diag.Diagnostics
func (*AkpRepoServerDelegateControlPlane) UpdateObject ¶ added in v0.3.0
func (x *AkpRepoServerDelegateControlPlane) UpdateObject(p *argocdv1.RepoServerDelegateControlPlane) diag.Diagnostics
type AkpRepoServerDelegateManagedCluster ¶ added in v0.3.0
func MergeRepoServerDelegateManagedCluster ¶ added in v0.3.0
func MergeRepoServerDelegateManagedCluster(state *AkpRepoServerDelegateManagedCluster, plan *AkpRepoServerDelegateManagedCluster) (*AkpRepoServerDelegateManagedCluster, diag.Diagnostics)
func (*AkpRepoServerDelegateManagedCluster) As ¶ added in v0.3.0
func (x *AkpRepoServerDelegateManagedCluster) As(target *argocdv1.RepoServerDelegateManagedCluster) diag.Diagnostics
func (*AkpRepoServerDelegateManagedCluster) UpdateObject ¶ added in v0.3.0
func (x *AkpRepoServerDelegateManagedCluster) UpdateObject(p *argocdv1.RepoServerDelegateManagedCluster) diag.Diagnostics
Source Files
¶
Click to show internal directories.
Click to hide internal directories.