@pulumi/harness 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/platform/azureCloudCostConnector.d.ts +3 -3
- package/platform/connectorJdbc.d.ts +189 -0
- package/platform/connectorJdbc.js +117 -0
- package/platform/connectorJdbc.js.map +1 -0
- package/platform/dbInstance.d.ts +189 -0
- package/platform/dbInstance.js +115 -0
- package/platform/dbInstance.js.map +1 -0
- package/platform/dbSchema.d.ts +169 -0
- package/platform/dbSchema.js +110 -0
- package/platform/dbSchema.js.map +1 -0
- package/platform/gcpCloudCostConnector.d.ts +3 -3
- package/platform/getConnectorJdbc.d.ts +119 -0
- package/platform/getConnectorJdbc.js +50 -0
- package/platform/getConnectorJdbc.js.map +1 -0
- package/platform/getDbInstance.d.ts +136 -0
- package/platform/getDbInstance.js +57 -0
- package/platform/getDbInstance.js.map +1 -0
- package/platform/getDbSchema.d.ts +119 -0
- package/platform/getDbSchema.js +54 -0
- package/platform/getDbSchema.js.map +1 -0
- package/platform/getGitopsApplications.d.ts +4 -0
- package/platform/getGitopsApplications.js.map +1 -1
- package/platform/getGitopsProject.d.ts +114 -0
- package/platform/getGitopsProject.js +31 -0
- package/platform/getGitopsProject.js.map +1 -0
- package/platform/gitOpsApplications.d.ts +14 -2
- package/platform/gitOpsApplications.js +2 -3
- package/platform/gitOpsApplications.js.map +1 -1
- package/platform/gitopsProject.d.ts +145 -0
- package/platform/gitopsProject.js +93 -0
- package/platform/gitopsProject.js.map +1 -0
- package/platform/index.d.ts +24 -0
- package/platform/index.js +39 -6
- package/platform/index.js.map +1 -1
- package/types/input.d.ts +202 -0
- package/types/output.d.ts +172 -0
package/types/input.d.ts
CHANGED
|
@@ -2164,6 +2164,20 @@ export declare namespace platform {
|
|
|
2164
2164
|
*/
|
|
2165
2165
|
valueEncrypted?: pulumi.Input<boolean>;
|
|
2166
2166
|
}
|
|
2167
|
+
interface ConnectorJdbcCredentials {
|
|
2168
|
+
/**
|
|
2169
|
+
* The reference to the Harness secret containing the password to use for the database server. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
2170
|
+
*/
|
|
2171
|
+
passwordRef: pulumi.Input<string>;
|
|
2172
|
+
/**
|
|
2173
|
+
* The username to use for the database server.
|
|
2174
|
+
*/
|
|
2175
|
+
username?: pulumi.Input<string>;
|
|
2176
|
+
/**
|
|
2177
|
+
* The reference to the Harness secret containing the username to use for the database server. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
2178
|
+
*/
|
|
2179
|
+
usernameRef?: pulumi.Input<string>;
|
|
2180
|
+
}
|
|
2167
2181
|
interface ConnectorPdcHost {
|
|
2168
2182
|
/**
|
|
2169
2183
|
* Host attributes with values. e.g. type, region, name, ip, etc.
|
|
@@ -2182,6 +2196,20 @@ export declare namespace platform {
|
|
|
2182
2196
|
*/
|
|
2183
2197
|
bearerTokenRef: pulumi.Input<string>;
|
|
2184
2198
|
}
|
|
2199
|
+
interface DbSchemaSchemaSource {
|
|
2200
|
+
/**
|
|
2201
|
+
* Connector to repository at which to find details about the database schema
|
|
2202
|
+
*/
|
|
2203
|
+
connector: pulumi.Input<string>;
|
|
2204
|
+
/**
|
|
2205
|
+
* The path within the specified repository at which to find details about the database schema
|
|
2206
|
+
*/
|
|
2207
|
+
location: pulumi.Input<string>;
|
|
2208
|
+
/**
|
|
2209
|
+
* If connector url is of account, which repository to connect to using the connector
|
|
2210
|
+
*/
|
|
2211
|
+
repo?: pulumi.Input<string>;
|
|
2212
|
+
}
|
|
2185
2213
|
interface DockerConnectorCredentials {
|
|
2186
2214
|
/**
|
|
2187
2215
|
* The reference to the Harness secret containing the password to use for the docker registry. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}. To reference a secret at the project scope, use directly without any prefix.
|
|
@@ -2648,6 +2676,122 @@ export declare namespace platform {
|
|
|
2648
2676
|
*/
|
|
2649
2677
|
trust?: pulumi.Input<string>;
|
|
2650
2678
|
}
|
|
2679
|
+
interface GetGitopsProjectProject {
|
|
2680
|
+
/**
|
|
2681
|
+
* Metadata details that all persisted resources must have.
|
|
2682
|
+
*/
|
|
2683
|
+
metadatas?: inputs.platform.GetGitopsProjectProjectMetadata[];
|
|
2684
|
+
/**
|
|
2685
|
+
* Spec is the specification of an AppProject.
|
|
2686
|
+
*/
|
|
2687
|
+
specs?: inputs.platform.GetGitopsProjectProjectSpec[];
|
|
2688
|
+
}
|
|
2689
|
+
interface GetGitopsProjectProjectArgs {
|
|
2690
|
+
/**
|
|
2691
|
+
* Metadata details that all persisted resources must have.
|
|
2692
|
+
*/
|
|
2693
|
+
metadatas?: pulumi.Input<pulumi.Input<inputs.platform.GetGitopsProjectProjectMetadataArgs>[]>;
|
|
2694
|
+
/**
|
|
2695
|
+
* Spec is the specification of an AppProject.
|
|
2696
|
+
*/
|
|
2697
|
+
specs?: pulumi.Input<pulumi.Input<inputs.platform.GetGitopsProjectProjectSpecArgs>[]>;
|
|
2698
|
+
}
|
|
2699
|
+
interface GetGitopsProjectProjectMetadata {
|
|
2700
|
+
/**
|
|
2701
|
+
* A sequence number representing a specific generation of the desired state.
|
|
2702
|
+
*/
|
|
2703
|
+
generation?: string;
|
|
2704
|
+
/**
|
|
2705
|
+
* Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically.
|
|
2706
|
+
*/
|
|
2707
|
+
name?: string;
|
|
2708
|
+
/**
|
|
2709
|
+
* The namespace where the GitOps project should be created.
|
|
2710
|
+
*/
|
|
2711
|
+
namespace?: string;
|
|
2712
|
+
}
|
|
2713
|
+
interface GetGitopsProjectProjectMetadataArgs {
|
|
2714
|
+
/**
|
|
2715
|
+
* A sequence number representing a specific generation of the desired state.
|
|
2716
|
+
*/
|
|
2717
|
+
generation?: pulumi.Input<string>;
|
|
2718
|
+
/**
|
|
2719
|
+
* Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically.
|
|
2720
|
+
*/
|
|
2721
|
+
name?: pulumi.Input<string>;
|
|
2722
|
+
/**
|
|
2723
|
+
* The namespace where the GitOps project should be created.
|
|
2724
|
+
*/
|
|
2725
|
+
namespace?: pulumi.Input<string>;
|
|
2726
|
+
}
|
|
2727
|
+
interface GetGitopsProjectProjectSpec {
|
|
2728
|
+
/**
|
|
2729
|
+
* ClusterResourceWhitelist contains list of whitelisted cluster level resources.
|
|
2730
|
+
*/
|
|
2731
|
+
clusterResourceWhitelists?: inputs.platform.GetGitopsProjectProjectSpecClusterResourceWhitelist[];
|
|
2732
|
+
/**
|
|
2733
|
+
* Destinations contains list of destinations available for deployment.
|
|
2734
|
+
*/
|
|
2735
|
+
destinations?: inputs.platform.GetGitopsProjectProjectSpecDestination[];
|
|
2736
|
+
/**
|
|
2737
|
+
* SourceRepos contains list of repository URLs which can be used for deployment.
|
|
2738
|
+
*/
|
|
2739
|
+
sourceRepos?: string[];
|
|
2740
|
+
}
|
|
2741
|
+
interface GetGitopsProjectProjectSpecArgs {
|
|
2742
|
+
/**
|
|
2743
|
+
* ClusterResourceWhitelist contains list of whitelisted cluster level resources.
|
|
2744
|
+
*/
|
|
2745
|
+
clusterResourceWhitelists?: pulumi.Input<pulumi.Input<inputs.platform.GetGitopsProjectProjectSpecClusterResourceWhitelistArgs>[]>;
|
|
2746
|
+
/**
|
|
2747
|
+
* Destinations contains list of destinations available for deployment.
|
|
2748
|
+
*/
|
|
2749
|
+
destinations?: pulumi.Input<pulumi.Input<inputs.platform.GetGitopsProjectProjectSpecDestinationArgs>[]>;
|
|
2750
|
+
/**
|
|
2751
|
+
* SourceRepos contains list of repository URLs which can be used for deployment.
|
|
2752
|
+
*/
|
|
2753
|
+
sourceRepos?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2754
|
+
}
|
|
2755
|
+
interface GetGitopsProjectProjectSpecClusterResourceWhitelist {
|
|
2756
|
+
/**
|
|
2757
|
+
* Cluster group name.
|
|
2758
|
+
*/
|
|
2759
|
+
group?: string;
|
|
2760
|
+
/**
|
|
2761
|
+
* Cluster kind.
|
|
2762
|
+
*/
|
|
2763
|
+
kind?: string;
|
|
2764
|
+
}
|
|
2765
|
+
interface GetGitopsProjectProjectSpecClusterResourceWhitelistArgs {
|
|
2766
|
+
/**
|
|
2767
|
+
* Cluster group name.
|
|
2768
|
+
*/
|
|
2769
|
+
group?: pulumi.Input<string>;
|
|
2770
|
+
/**
|
|
2771
|
+
* Cluster kind.
|
|
2772
|
+
*/
|
|
2773
|
+
kind?: pulumi.Input<string>;
|
|
2774
|
+
}
|
|
2775
|
+
interface GetGitopsProjectProjectSpecDestination {
|
|
2776
|
+
/**
|
|
2777
|
+
* Namespace specifies the target namespace for the application's resources.
|
|
2778
|
+
*/
|
|
2779
|
+
namespace?: string;
|
|
2780
|
+
/**
|
|
2781
|
+
* Server specifies the URL of the target cluster and must be set to the Kubernetes control plane API.
|
|
2782
|
+
*/
|
|
2783
|
+
server?: string;
|
|
2784
|
+
}
|
|
2785
|
+
interface GetGitopsProjectProjectSpecDestinationArgs {
|
|
2786
|
+
/**
|
|
2787
|
+
* Namespace specifies the target namespace for the application's resources.
|
|
2788
|
+
*/
|
|
2789
|
+
namespace?: pulumi.Input<string>;
|
|
2790
|
+
/**
|
|
2791
|
+
* Server specifies the URL of the target cluster and must be set to the Kubernetes control plane API.
|
|
2792
|
+
*/
|
|
2793
|
+
server?: pulumi.Input<string>;
|
|
2794
|
+
}
|
|
2651
2795
|
interface GetGitopsRepoCredCred {
|
|
2652
2796
|
/**
|
|
2653
2797
|
* Specifies whether helm-oci support should be enabled for this repo.
|
|
@@ -4570,6 +4714,64 @@ export declare namespace platform {
|
|
|
4570
4714
|
*/
|
|
4571
4715
|
sshKeyRef: pulumi.Input<string>;
|
|
4572
4716
|
}
|
|
4717
|
+
interface GitopsProjectProject {
|
|
4718
|
+
/**
|
|
4719
|
+
* Metadata details that all persisted resources must have.
|
|
4720
|
+
*/
|
|
4721
|
+
metadatas?: pulumi.Input<pulumi.Input<inputs.platform.GitopsProjectProjectMetadata>[]>;
|
|
4722
|
+
/**
|
|
4723
|
+
* Spec is the specification of an AppProject.
|
|
4724
|
+
*/
|
|
4725
|
+
specs?: pulumi.Input<pulumi.Input<inputs.platform.GitopsProjectProjectSpec>[]>;
|
|
4726
|
+
}
|
|
4727
|
+
interface GitopsProjectProjectMetadata {
|
|
4728
|
+
/**
|
|
4729
|
+
* A sequence number representing a specific generation of the desired state.
|
|
4730
|
+
*/
|
|
4731
|
+
generation?: pulumi.Input<string>;
|
|
4732
|
+
/**
|
|
4733
|
+
* Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically.
|
|
4734
|
+
*/
|
|
4735
|
+
name?: pulumi.Input<string>;
|
|
4736
|
+
/**
|
|
4737
|
+
* The namespace where the GitOps project should be created.
|
|
4738
|
+
*/
|
|
4739
|
+
namespace?: pulumi.Input<string>;
|
|
4740
|
+
}
|
|
4741
|
+
interface GitopsProjectProjectSpec {
|
|
4742
|
+
/**
|
|
4743
|
+
* ClusterResourceWhitelist contains list of whitelisted cluster level resources.
|
|
4744
|
+
*/
|
|
4745
|
+
clusterResourceWhitelists?: pulumi.Input<pulumi.Input<inputs.platform.GitopsProjectProjectSpecClusterResourceWhitelist>[]>;
|
|
4746
|
+
/**
|
|
4747
|
+
* Destinations contains list of destinations available for deployment.
|
|
4748
|
+
*/
|
|
4749
|
+
destinations?: pulumi.Input<pulumi.Input<inputs.platform.GitopsProjectProjectSpecDestination>[]>;
|
|
4750
|
+
/**
|
|
4751
|
+
* SourceRepos contains list of repository URLs which can be used for deployment.
|
|
4752
|
+
*/
|
|
4753
|
+
sourceRepos?: pulumi.Input<pulumi.Input<string>[]>;
|
|
4754
|
+
}
|
|
4755
|
+
interface GitopsProjectProjectSpecClusterResourceWhitelist {
|
|
4756
|
+
/**
|
|
4757
|
+
* Cluster group name.
|
|
4758
|
+
*/
|
|
4759
|
+
group?: pulumi.Input<string>;
|
|
4760
|
+
/**
|
|
4761
|
+
* Cluster kind.
|
|
4762
|
+
*/
|
|
4763
|
+
kind?: pulumi.Input<string>;
|
|
4764
|
+
}
|
|
4765
|
+
interface GitopsProjectProjectSpecDestination {
|
|
4766
|
+
/**
|
|
4767
|
+
* Namespace specifies the target namespace for the application's resources.
|
|
4768
|
+
*/
|
|
4769
|
+
namespace?: pulumi.Input<string>;
|
|
4770
|
+
/**
|
|
4771
|
+
* Server specifies the URL of the target cluster and must be set to the Kubernetes control plane API.
|
|
4772
|
+
*/
|
|
4773
|
+
server?: pulumi.Input<string>;
|
|
4774
|
+
}
|
|
4573
4775
|
interface HelmConnectorCredentials {
|
|
4574
4776
|
/**
|
|
4575
4777
|
* Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
package/types/output.d.ts
CHANGED
|
@@ -1923,6 +1923,20 @@ export declare namespace platform {
|
|
|
1923
1923
|
*/
|
|
1924
1924
|
valueEncrypted?: boolean;
|
|
1925
1925
|
}
|
|
1926
|
+
interface ConnectorJdbcCredentials {
|
|
1927
|
+
/**
|
|
1928
|
+
* The reference to the Harness secret containing the password to use for the database server. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
1929
|
+
*/
|
|
1930
|
+
passwordRef: string;
|
|
1931
|
+
/**
|
|
1932
|
+
* The username to use for the database server.
|
|
1933
|
+
*/
|
|
1934
|
+
username?: string;
|
|
1935
|
+
/**
|
|
1936
|
+
* The reference to the Harness secret containing the username to use for the database server. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
1937
|
+
*/
|
|
1938
|
+
usernameRef?: string;
|
|
1939
|
+
}
|
|
1926
1940
|
interface ConnectorPdcHost {
|
|
1927
1941
|
/**
|
|
1928
1942
|
* Host attributes with values. e.g. type, region, name, ip, etc.
|
|
@@ -1941,6 +1955,20 @@ export declare namespace platform {
|
|
|
1941
1955
|
*/
|
|
1942
1956
|
bearerTokenRef: string;
|
|
1943
1957
|
}
|
|
1958
|
+
interface DbSchemaSchemaSource {
|
|
1959
|
+
/**
|
|
1960
|
+
* Connector to repository at which to find details about the database schema
|
|
1961
|
+
*/
|
|
1962
|
+
connector: string;
|
|
1963
|
+
/**
|
|
1964
|
+
* The path within the specified repository at which to find details about the database schema
|
|
1965
|
+
*/
|
|
1966
|
+
location: string;
|
|
1967
|
+
/**
|
|
1968
|
+
* If connector url is of account, which repository to connect to using the connector
|
|
1969
|
+
*/
|
|
1970
|
+
repo?: string;
|
|
1971
|
+
}
|
|
1944
1972
|
interface DockerConnectorCredentials {
|
|
1945
1973
|
/**
|
|
1946
1974
|
* The reference to the Harness secret containing the password to use for the docker registry. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}. To reference a secret at the project scope, use directly without any prefix.
|
|
@@ -2646,6 +2674,20 @@ export declare namespace platform {
|
|
|
2646
2674
|
*/
|
|
2647
2675
|
valueEncrypted: boolean;
|
|
2648
2676
|
}
|
|
2677
|
+
interface GetConnectorJdbcCredential {
|
|
2678
|
+
/**
|
|
2679
|
+
* The reference to the Harness secret containing the password to use for the database server. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
2680
|
+
*/
|
|
2681
|
+
passwordRef: string;
|
|
2682
|
+
/**
|
|
2683
|
+
* The username to use for the database server.
|
|
2684
|
+
*/
|
|
2685
|
+
username: string;
|
|
2686
|
+
/**
|
|
2687
|
+
* The reference to the Harness secret containing the username to use for the database server. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
2688
|
+
*/
|
|
2689
|
+
usernameRef: string;
|
|
2690
|
+
}
|
|
2649
2691
|
interface GetConnectorPdcHost {
|
|
2650
2692
|
/**
|
|
2651
2693
|
* Host attributes with values. e.g. type, region, name, ip, etc.
|
|
@@ -2668,6 +2710,20 @@ export declare namespace platform {
|
|
|
2668
2710
|
*/
|
|
2669
2711
|
rancherUrl: string;
|
|
2670
2712
|
}
|
|
2713
|
+
interface GetDbSchemaSchemaSource {
|
|
2714
|
+
/**
|
|
2715
|
+
* Connector to repository at which to find details about the database schema
|
|
2716
|
+
*/
|
|
2717
|
+
connector: string;
|
|
2718
|
+
/**
|
|
2719
|
+
* The path within the specified repository at which to find details about the database schema
|
|
2720
|
+
*/
|
|
2721
|
+
location: string;
|
|
2722
|
+
/**
|
|
2723
|
+
* If connector url is of account, which repository to connect to using the connector
|
|
2724
|
+
*/
|
|
2725
|
+
repo: string;
|
|
2726
|
+
}
|
|
2671
2727
|
interface GetDockerConnectorCredential {
|
|
2672
2728
|
/**
|
|
2673
2729
|
* Execute on delegate or not.
|
|
@@ -3664,6 +3720,64 @@ export declare namespace platform {
|
|
|
3664
3720
|
*/
|
|
3665
3721
|
trust?: string;
|
|
3666
3722
|
}
|
|
3723
|
+
interface GetGitopsProjectProject {
|
|
3724
|
+
/**
|
|
3725
|
+
* Metadata details that all persisted resources must have.
|
|
3726
|
+
*/
|
|
3727
|
+
metadatas?: outputs.platform.GetGitopsProjectProjectMetadata[];
|
|
3728
|
+
/**
|
|
3729
|
+
* Spec is the specification of an AppProject.
|
|
3730
|
+
*/
|
|
3731
|
+
specs?: outputs.platform.GetGitopsProjectProjectSpec[];
|
|
3732
|
+
}
|
|
3733
|
+
interface GetGitopsProjectProjectMetadata {
|
|
3734
|
+
/**
|
|
3735
|
+
* A sequence number representing a specific generation of the desired state.
|
|
3736
|
+
*/
|
|
3737
|
+
generation?: string;
|
|
3738
|
+
/**
|
|
3739
|
+
* Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically.
|
|
3740
|
+
*/
|
|
3741
|
+
name?: string;
|
|
3742
|
+
/**
|
|
3743
|
+
* The namespace where the GitOps project should be created.
|
|
3744
|
+
*/
|
|
3745
|
+
namespace?: string;
|
|
3746
|
+
}
|
|
3747
|
+
interface GetGitopsProjectProjectSpec {
|
|
3748
|
+
/**
|
|
3749
|
+
* ClusterResourceWhitelist contains list of whitelisted cluster level resources.
|
|
3750
|
+
*/
|
|
3751
|
+
clusterResourceWhitelists?: outputs.platform.GetGitopsProjectProjectSpecClusterResourceWhitelist[];
|
|
3752
|
+
/**
|
|
3753
|
+
* Destinations contains list of destinations available for deployment.
|
|
3754
|
+
*/
|
|
3755
|
+
destinations?: outputs.platform.GetGitopsProjectProjectSpecDestination[];
|
|
3756
|
+
/**
|
|
3757
|
+
* SourceRepos contains list of repository URLs which can be used for deployment.
|
|
3758
|
+
*/
|
|
3759
|
+
sourceRepos?: string[];
|
|
3760
|
+
}
|
|
3761
|
+
interface GetGitopsProjectProjectSpecClusterResourceWhitelist {
|
|
3762
|
+
/**
|
|
3763
|
+
* Cluster group name.
|
|
3764
|
+
*/
|
|
3765
|
+
group?: string;
|
|
3766
|
+
/**
|
|
3767
|
+
* Cluster kind.
|
|
3768
|
+
*/
|
|
3769
|
+
kind?: string;
|
|
3770
|
+
}
|
|
3771
|
+
interface GetGitopsProjectProjectSpecDestination {
|
|
3772
|
+
/**
|
|
3773
|
+
* Namespace specifies the target namespace for the application's resources.
|
|
3774
|
+
*/
|
|
3775
|
+
namespace?: string;
|
|
3776
|
+
/**
|
|
3777
|
+
* Server specifies the URL of the target cluster and must be set to the Kubernetes control plane API.
|
|
3778
|
+
*/
|
|
3779
|
+
server?: string;
|
|
3780
|
+
}
|
|
3667
3781
|
interface GetGitopsRepoCredCred {
|
|
3668
3782
|
/**
|
|
3669
3783
|
* Specifies whether helm-oci support should be enabled for this repo.
|
|
@@ -6010,6 +6124,64 @@ export declare namespace platform {
|
|
|
6010
6124
|
*/
|
|
6011
6125
|
sshKeyRef: string;
|
|
6012
6126
|
}
|
|
6127
|
+
interface GitopsProjectProject {
|
|
6128
|
+
/**
|
|
6129
|
+
* Metadata details that all persisted resources must have.
|
|
6130
|
+
*/
|
|
6131
|
+
metadatas?: outputs.platform.GitopsProjectProjectMetadata[];
|
|
6132
|
+
/**
|
|
6133
|
+
* Spec is the specification of an AppProject.
|
|
6134
|
+
*/
|
|
6135
|
+
specs?: outputs.platform.GitopsProjectProjectSpec[];
|
|
6136
|
+
}
|
|
6137
|
+
interface GitopsProjectProjectMetadata {
|
|
6138
|
+
/**
|
|
6139
|
+
* A sequence number representing a specific generation of the desired state.
|
|
6140
|
+
*/
|
|
6141
|
+
generation?: string;
|
|
6142
|
+
/**
|
|
6143
|
+
* Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically.
|
|
6144
|
+
*/
|
|
6145
|
+
name?: string;
|
|
6146
|
+
/**
|
|
6147
|
+
* The namespace where the GitOps project should be created.
|
|
6148
|
+
*/
|
|
6149
|
+
namespace?: string;
|
|
6150
|
+
}
|
|
6151
|
+
interface GitopsProjectProjectSpec {
|
|
6152
|
+
/**
|
|
6153
|
+
* ClusterResourceWhitelist contains list of whitelisted cluster level resources.
|
|
6154
|
+
*/
|
|
6155
|
+
clusterResourceWhitelists?: outputs.platform.GitopsProjectProjectSpecClusterResourceWhitelist[];
|
|
6156
|
+
/**
|
|
6157
|
+
* Destinations contains list of destinations available for deployment.
|
|
6158
|
+
*/
|
|
6159
|
+
destinations?: outputs.platform.GitopsProjectProjectSpecDestination[];
|
|
6160
|
+
/**
|
|
6161
|
+
* SourceRepos contains list of repository URLs which can be used for deployment.
|
|
6162
|
+
*/
|
|
6163
|
+
sourceRepos?: string[];
|
|
6164
|
+
}
|
|
6165
|
+
interface GitopsProjectProjectSpecClusterResourceWhitelist {
|
|
6166
|
+
/**
|
|
6167
|
+
* Cluster group name.
|
|
6168
|
+
*/
|
|
6169
|
+
group?: string;
|
|
6170
|
+
/**
|
|
6171
|
+
* Cluster kind.
|
|
6172
|
+
*/
|
|
6173
|
+
kind?: string;
|
|
6174
|
+
}
|
|
6175
|
+
interface GitopsProjectProjectSpecDestination {
|
|
6176
|
+
/**
|
|
6177
|
+
* Namespace specifies the target namespace for the application's resources.
|
|
6178
|
+
*/
|
|
6179
|
+
namespace?: string;
|
|
6180
|
+
/**
|
|
6181
|
+
* Server specifies the URL of the target cluster and must be set to the Kubernetes control plane API.
|
|
6182
|
+
*/
|
|
6183
|
+
server?: string;
|
|
6184
|
+
}
|
|
6013
6185
|
interface HelmConnectorCredentials {
|
|
6014
6186
|
/**
|
|
6015
6187
|
* Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|