@halo-dev/api-client 0.0.12 → 0.0.13
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/README.md +37 -0
- package/dist/index.cjs +1333 -101
- package/dist/index.d.ts +2134 -263
- package/dist/index.mjs +1310 -102
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1767,10 +1767,1033 @@ class ContentHaloRunV1alpha1TagApi extends BaseAPI {
|
|
|
1767
1767
|
return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(name, tag, options).then((request) => request(this.axios, this.basePath));
|
|
1768
1768
|
}
|
|
1769
1769
|
}
|
|
1770
|
+
const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
1771
|
+
return {
|
|
1772
|
+
createcoreHaloRunV1alpha1Link: async (link, options = {}) => {
|
|
1773
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
1774
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1775
|
+
let baseOptions;
|
|
1776
|
+
if (configuration) {
|
|
1777
|
+
baseOptions = configuration.baseOptions;
|
|
1778
|
+
}
|
|
1779
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1780
|
+
const localVarHeaderParameter = {};
|
|
1781
|
+
const localVarQueryParameter = {};
|
|
1782
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1783
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1784
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1785
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1786
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1787
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1788
|
+
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
1789
|
+
return {
|
|
1790
|
+
url: toPathString(localVarUrlObj),
|
|
1791
|
+
options: localVarRequestOptions
|
|
1792
|
+
};
|
|
1793
|
+
},
|
|
1794
|
+
deletecoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
1795
|
+
assertParamExists("deletecoreHaloRunV1alpha1Link", "name", name);
|
|
1796
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1797
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1798
|
+
let baseOptions;
|
|
1799
|
+
if (configuration) {
|
|
1800
|
+
baseOptions = configuration.baseOptions;
|
|
1801
|
+
}
|
|
1802
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1803
|
+
const localVarHeaderParameter = {};
|
|
1804
|
+
const localVarQueryParameter = {};
|
|
1805
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1806
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1807
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1808
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1809
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1810
|
+
return {
|
|
1811
|
+
url: toPathString(localVarUrlObj),
|
|
1812
|
+
options: localVarRequestOptions
|
|
1813
|
+
};
|
|
1814
|
+
},
|
|
1815
|
+
getcoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
1816
|
+
assertParamExists("getcoreHaloRunV1alpha1Link", "name", name);
|
|
1817
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1818
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1819
|
+
let baseOptions;
|
|
1820
|
+
if (configuration) {
|
|
1821
|
+
baseOptions = configuration.baseOptions;
|
|
1822
|
+
}
|
|
1823
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1824
|
+
const localVarHeaderParameter = {};
|
|
1825
|
+
const localVarQueryParameter = {};
|
|
1826
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1827
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1828
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1829
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1830
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1831
|
+
return {
|
|
1832
|
+
url: toPathString(localVarUrlObj),
|
|
1833
|
+
options: localVarRequestOptions
|
|
1834
|
+
};
|
|
1835
|
+
},
|
|
1836
|
+
listcoreHaloRunV1alpha1Link: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1837
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
1838
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1839
|
+
let baseOptions;
|
|
1840
|
+
if (configuration) {
|
|
1841
|
+
baseOptions = configuration.baseOptions;
|
|
1842
|
+
}
|
|
1843
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1844
|
+
const localVarHeaderParameter = {};
|
|
1845
|
+
const localVarQueryParameter = {};
|
|
1846
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1847
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1848
|
+
if (page !== void 0) {
|
|
1849
|
+
localVarQueryParameter["page"] = page;
|
|
1850
|
+
}
|
|
1851
|
+
if (size !== void 0) {
|
|
1852
|
+
localVarQueryParameter["size"] = size;
|
|
1853
|
+
}
|
|
1854
|
+
if (labelSelector) {
|
|
1855
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1856
|
+
}
|
|
1857
|
+
if (fieldSelector) {
|
|
1858
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1859
|
+
}
|
|
1860
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1861
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1862
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1863
|
+
return {
|
|
1864
|
+
url: toPathString(localVarUrlObj),
|
|
1865
|
+
options: localVarRequestOptions
|
|
1866
|
+
};
|
|
1867
|
+
},
|
|
1868
|
+
updatecoreHaloRunV1alpha1Link: async (name, link, options = {}) => {
|
|
1869
|
+
assertParamExists("updatecoreHaloRunV1alpha1Link", "name", name);
|
|
1870
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1871
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1872
|
+
let baseOptions;
|
|
1873
|
+
if (configuration) {
|
|
1874
|
+
baseOptions = configuration.baseOptions;
|
|
1875
|
+
}
|
|
1876
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1877
|
+
const localVarHeaderParameter = {};
|
|
1878
|
+
const localVarQueryParameter = {};
|
|
1879
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1880
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1881
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1882
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1883
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1884
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1885
|
+
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
1886
|
+
return {
|
|
1887
|
+
url: toPathString(localVarUrlObj),
|
|
1888
|
+
options: localVarRequestOptions
|
|
1889
|
+
};
|
|
1890
|
+
}
|
|
1891
|
+
};
|
|
1892
|
+
};
|
|
1893
|
+
const CoreHaloRunV1alpha1LinkApiFp = function(configuration) {
|
|
1894
|
+
const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator(configuration);
|
|
1895
|
+
return {
|
|
1896
|
+
async createcoreHaloRunV1alpha1Link(link, options) {
|
|
1897
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1Link(link, options);
|
|
1898
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1899
|
+
},
|
|
1900
|
+
async deletecoreHaloRunV1alpha1Link(name, options) {
|
|
1901
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1Link(name, options);
|
|
1902
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1903
|
+
},
|
|
1904
|
+
async getcoreHaloRunV1alpha1Link(name, options) {
|
|
1905
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1Link(name, options);
|
|
1906
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1907
|
+
},
|
|
1908
|
+
async listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
1909
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options);
|
|
1910
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1911
|
+
},
|
|
1912
|
+
async updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
1913
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1Link(name, link, options);
|
|
1914
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1915
|
+
}
|
|
1916
|
+
};
|
|
1917
|
+
};
|
|
1918
|
+
const CoreHaloRunV1alpha1LinkApiFactory = function(configuration, basePath, axios) {
|
|
1919
|
+
const localVarFp = CoreHaloRunV1alpha1LinkApiFp(configuration);
|
|
1920
|
+
return {
|
|
1921
|
+
createcoreHaloRunV1alpha1Link(link, options) {
|
|
1922
|
+
return localVarFp.createcoreHaloRunV1alpha1Link(link, options).then((request) => request(axios, basePath));
|
|
1923
|
+
},
|
|
1924
|
+
deletecoreHaloRunV1alpha1Link(name, options) {
|
|
1925
|
+
return localVarFp.deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
1926
|
+
},
|
|
1927
|
+
getcoreHaloRunV1alpha1Link(name, options) {
|
|
1928
|
+
return localVarFp.getcoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
1929
|
+
},
|
|
1930
|
+
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
1931
|
+
return localVarFp.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1932
|
+
},
|
|
1933
|
+
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
1934
|
+
return localVarFp.updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(axios, basePath));
|
|
1935
|
+
}
|
|
1936
|
+
};
|
|
1937
|
+
};
|
|
1938
|
+
class CoreHaloRunV1alpha1LinkApi extends BaseAPI {
|
|
1939
|
+
createcoreHaloRunV1alpha1Link(link, options) {
|
|
1940
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).createcoreHaloRunV1alpha1Link(link, options).then((request) => request(this.axios, this.basePath));
|
|
1941
|
+
}
|
|
1942
|
+
deletecoreHaloRunV1alpha1Link(name, options) {
|
|
1943
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(this.axios, this.basePath));
|
|
1944
|
+
}
|
|
1945
|
+
getcoreHaloRunV1alpha1Link(name, options) {
|
|
1946
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).getcoreHaloRunV1alpha1Link(name, options).then((request) => request(this.axios, this.basePath));
|
|
1947
|
+
}
|
|
1948
|
+
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
1949
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1950
|
+
}
|
|
1951
|
+
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
1952
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(this.axios, this.basePath));
|
|
1953
|
+
}
|
|
1954
|
+
}
|
|
1955
|
+
const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration) {
|
|
1956
|
+
return {
|
|
1957
|
+
createcoreHaloRunV1alpha1LinkGroup: async (linkGroup, options = {}) => {
|
|
1958
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
1959
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1960
|
+
let baseOptions;
|
|
1961
|
+
if (configuration) {
|
|
1962
|
+
baseOptions = configuration.baseOptions;
|
|
1963
|
+
}
|
|
1964
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1965
|
+
const localVarHeaderParameter = {};
|
|
1966
|
+
const localVarQueryParameter = {};
|
|
1967
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1968
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1969
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1970
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1971
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1972
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1973
|
+
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
1974
|
+
return {
|
|
1975
|
+
url: toPathString(localVarUrlObj),
|
|
1976
|
+
options: localVarRequestOptions
|
|
1977
|
+
};
|
|
1978
|
+
},
|
|
1979
|
+
deletecoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
1980
|
+
assertParamExists("deletecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
1981
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1982
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1983
|
+
let baseOptions;
|
|
1984
|
+
if (configuration) {
|
|
1985
|
+
baseOptions = configuration.baseOptions;
|
|
1986
|
+
}
|
|
1987
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1988
|
+
const localVarHeaderParameter = {};
|
|
1989
|
+
const localVarQueryParameter = {};
|
|
1990
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1991
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1992
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1993
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1994
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1995
|
+
return {
|
|
1996
|
+
url: toPathString(localVarUrlObj),
|
|
1997
|
+
options: localVarRequestOptions
|
|
1998
|
+
};
|
|
1999
|
+
},
|
|
2000
|
+
getcoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
2001
|
+
assertParamExists("getcoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
2002
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2003
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2004
|
+
let baseOptions;
|
|
2005
|
+
if (configuration) {
|
|
2006
|
+
baseOptions = configuration.baseOptions;
|
|
2007
|
+
}
|
|
2008
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2009
|
+
const localVarHeaderParameter = {};
|
|
2010
|
+
const localVarQueryParameter = {};
|
|
2011
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2012
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2013
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2014
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2015
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2016
|
+
return {
|
|
2017
|
+
url: toPathString(localVarUrlObj),
|
|
2018
|
+
options: localVarRequestOptions
|
|
2019
|
+
};
|
|
2020
|
+
},
|
|
2021
|
+
listcoreHaloRunV1alpha1LinkGroup: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2022
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
2023
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2024
|
+
let baseOptions;
|
|
2025
|
+
if (configuration) {
|
|
2026
|
+
baseOptions = configuration.baseOptions;
|
|
2027
|
+
}
|
|
2028
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2029
|
+
const localVarHeaderParameter = {};
|
|
2030
|
+
const localVarQueryParameter = {};
|
|
2031
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2032
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2033
|
+
if (page !== void 0) {
|
|
2034
|
+
localVarQueryParameter["page"] = page;
|
|
2035
|
+
}
|
|
2036
|
+
if (size !== void 0) {
|
|
2037
|
+
localVarQueryParameter["size"] = size;
|
|
2038
|
+
}
|
|
2039
|
+
if (labelSelector) {
|
|
2040
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2041
|
+
}
|
|
2042
|
+
if (fieldSelector) {
|
|
2043
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2044
|
+
}
|
|
2045
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2046
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2047
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2048
|
+
return {
|
|
2049
|
+
url: toPathString(localVarUrlObj),
|
|
2050
|
+
options: localVarRequestOptions
|
|
2051
|
+
};
|
|
2052
|
+
},
|
|
2053
|
+
updatecoreHaloRunV1alpha1LinkGroup: async (name, linkGroup, options = {}) => {
|
|
2054
|
+
assertParamExists("updatecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
2055
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2056
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2057
|
+
let baseOptions;
|
|
2058
|
+
if (configuration) {
|
|
2059
|
+
baseOptions = configuration.baseOptions;
|
|
2060
|
+
}
|
|
2061
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2062
|
+
const localVarHeaderParameter = {};
|
|
2063
|
+
const localVarQueryParameter = {};
|
|
2064
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2065
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2066
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2067
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2068
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2069
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2070
|
+
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
2071
|
+
return {
|
|
2072
|
+
url: toPathString(localVarUrlObj),
|
|
2073
|
+
options: localVarRequestOptions
|
|
2074
|
+
};
|
|
2075
|
+
}
|
|
2076
|
+
};
|
|
2077
|
+
};
|
|
2078
|
+
const CoreHaloRunV1alpha1LinkGroupApiFp = function(configuration) {
|
|
2079
|
+
const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator(configuration);
|
|
2080
|
+
return {
|
|
2081
|
+
async createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
2082
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options);
|
|
2083
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2084
|
+
},
|
|
2085
|
+
async deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
2086
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1LinkGroup(name, options);
|
|
2087
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2088
|
+
},
|
|
2089
|
+
async getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
2090
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1LinkGroup(name, options);
|
|
2091
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2092
|
+
},
|
|
2093
|
+
async listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
2094
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options);
|
|
2095
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2096
|
+
},
|
|
2097
|
+
async updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
2098
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options);
|
|
2099
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2100
|
+
}
|
|
2101
|
+
};
|
|
2102
|
+
};
|
|
2103
|
+
const CoreHaloRunV1alpha1LinkGroupApiFactory = function(configuration, basePath, axios) {
|
|
2104
|
+
const localVarFp = CoreHaloRunV1alpha1LinkGroupApiFp(configuration);
|
|
2105
|
+
return {
|
|
2106
|
+
createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
2107
|
+
return localVarFp.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options).then((request) => request(axios, basePath));
|
|
2108
|
+
},
|
|
2109
|
+
deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
2110
|
+
return localVarFp.deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
2111
|
+
},
|
|
2112
|
+
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
2113
|
+
return localVarFp.getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
2114
|
+
},
|
|
2115
|
+
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
2116
|
+
return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2117
|
+
},
|
|
2118
|
+
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
2119
|
+
return localVarFp.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(axios, basePath));
|
|
2120
|
+
}
|
|
2121
|
+
};
|
|
2122
|
+
};
|
|
2123
|
+
class CoreHaloRunV1alpha1LinkGroupApi extends BaseAPI {
|
|
2124
|
+
createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
2125
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).createcoreHaloRunV1alpha1LinkGroup(linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
2126
|
+
}
|
|
2127
|
+
deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
2128
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(this.axios, this.basePath));
|
|
2129
|
+
}
|
|
2130
|
+
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
2131
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(this.axios, this.basePath));
|
|
2132
|
+
}
|
|
2133
|
+
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
2134
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2135
|
+
}
|
|
2136
|
+
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
2137
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
2138
|
+
}
|
|
2139
|
+
}
|
|
1770
2140
|
const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
1771
2141
|
return {
|
|
1772
|
-
createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
|
|
1773
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
|
|
2142
|
+
createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
|
|
2143
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
|
|
2144
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2145
|
+
let baseOptions;
|
|
2146
|
+
if (configuration) {
|
|
2147
|
+
baseOptions = configuration.baseOptions;
|
|
2148
|
+
}
|
|
2149
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2150
|
+
const localVarHeaderParameter = {};
|
|
2151
|
+
const localVarQueryParameter = {};
|
|
2152
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2153
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2154
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2155
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2156
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2157
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2158
|
+
localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
|
|
2159
|
+
return {
|
|
2160
|
+
url: toPathString(localVarUrlObj),
|
|
2161
|
+
options: localVarRequestOptions
|
|
2162
|
+
};
|
|
2163
|
+
},
|
|
2164
|
+
deletepluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
2165
|
+
assertParamExists("deletepluginHaloRunV1alpha1Plugin", "name", name);
|
|
2166
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2167
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2168
|
+
let baseOptions;
|
|
2169
|
+
if (configuration) {
|
|
2170
|
+
baseOptions = configuration.baseOptions;
|
|
2171
|
+
}
|
|
2172
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2173
|
+
const localVarHeaderParameter = {};
|
|
2174
|
+
const localVarQueryParameter = {};
|
|
2175
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2176
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2177
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2178
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2179
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2180
|
+
return {
|
|
2181
|
+
url: toPathString(localVarUrlObj),
|
|
2182
|
+
options: localVarRequestOptions
|
|
2183
|
+
};
|
|
2184
|
+
},
|
|
2185
|
+
getpluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
2186
|
+
assertParamExists("getpluginHaloRunV1alpha1Plugin", "name", name);
|
|
2187
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2188
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2189
|
+
let baseOptions;
|
|
2190
|
+
if (configuration) {
|
|
2191
|
+
baseOptions = configuration.baseOptions;
|
|
2192
|
+
}
|
|
2193
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2194
|
+
const localVarHeaderParameter = {};
|
|
2195
|
+
const localVarQueryParameter = {};
|
|
2196
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2197
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2198
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2199
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2200
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2201
|
+
return {
|
|
2202
|
+
url: toPathString(localVarUrlObj),
|
|
2203
|
+
options: localVarRequestOptions
|
|
2204
|
+
};
|
|
2205
|
+
},
|
|
2206
|
+
listpluginHaloRunV1alpha1Plugin: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2207
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
|
|
2208
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2209
|
+
let baseOptions;
|
|
2210
|
+
if (configuration) {
|
|
2211
|
+
baseOptions = configuration.baseOptions;
|
|
2212
|
+
}
|
|
2213
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2214
|
+
const localVarHeaderParameter = {};
|
|
2215
|
+
const localVarQueryParameter = {};
|
|
2216
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2217
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2218
|
+
if (page !== void 0) {
|
|
2219
|
+
localVarQueryParameter["page"] = page;
|
|
2220
|
+
}
|
|
2221
|
+
if (size !== void 0) {
|
|
2222
|
+
localVarQueryParameter["size"] = size;
|
|
2223
|
+
}
|
|
2224
|
+
if (labelSelector) {
|
|
2225
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2226
|
+
}
|
|
2227
|
+
if (fieldSelector) {
|
|
2228
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2229
|
+
}
|
|
2230
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2231
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2232
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2233
|
+
return {
|
|
2234
|
+
url: toPathString(localVarUrlObj),
|
|
2235
|
+
options: localVarRequestOptions
|
|
2236
|
+
};
|
|
2237
|
+
},
|
|
2238
|
+
updatepluginHaloRunV1alpha1Plugin: async (name, plugin, options = {}) => {
|
|
2239
|
+
assertParamExists("updatepluginHaloRunV1alpha1Plugin", "name", name);
|
|
2240
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2241
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2242
|
+
let baseOptions;
|
|
2243
|
+
if (configuration) {
|
|
2244
|
+
baseOptions = configuration.baseOptions;
|
|
2245
|
+
}
|
|
2246
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2247
|
+
const localVarHeaderParameter = {};
|
|
2248
|
+
const localVarQueryParameter = {};
|
|
2249
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2250
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2251
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2252
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2253
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2254
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2255
|
+
localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
|
|
2256
|
+
return {
|
|
2257
|
+
url: toPathString(localVarUrlObj),
|
|
2258
|
+
options: localVarRequestOptions
|
|
2259
|
+
};
|
|
2260
|
+
}
|
|
2261
|
+
};
|
|
2262
|
+
};
|
|
2263
|
+
const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
2264
|
+
const localVarAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
2265
|
+
return {
|
|
2266
|
+
async createpluginHaloRunV1alpha1Plugin(plugin, options) {
|
|
2267
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1Plugin(plugin, options);
|
|
2268
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2269
|
+
},
|
|
2270
|
+
async deletepluginHaloRunV1alpha1Plugin(name, options) {
|
|
2271
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1Plugin(name, options);
|
|
2272
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2273
|
+
},
|
|
2274
|
+
async getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
2275
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1Plugin(name, options);
|
|
2276
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2277
|
+
},
|
|
2278
|
+
async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
2279
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options);
|
|
2280
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2281
|
+
},
|
|
2282
|
+
async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
2283
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1Plugin(name, plugin, options);
|
|
2284
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2285
|
+
}
|
|
2286
|
+
};
|
|
2287
|
+
};
|
|
2288
|
+
const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
2289
|
+
const localVarFp = PluginHaloRunV1alpha1PluginApiFp(configuration);
|
|
2290
|
+
return {
|
|
2291
|
+
createpluginHaloRunV1alpha1Plugin(plugin, options) {
|
|
2292
|
+
return localVarFp.createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(axios, basePath));
|
|
2293
|
+
},
|
|
2294
|
+
deletepluginHaloRunV1alpha1Plugin(name, options) {
|
|
2295
|
+
return localVarFp.deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
2296
|
+
},
|
|
2297
|
+
getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
2298
|
+
return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
2299
|
+
},
|
|
2300
|
+
listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
2301
|
+
return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2302
|
+
},
|
|
2303
|
+
updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
2304
|
+
return localVarFp.updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(axios, basePath));
|
|
2305
|
+
}
|
|
2306
|
+
};
|
|
2307
|
+
};
|
|
2308
|
+
class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
2309
|
+
createpluginHaloRunV1alpha1Plugin(plugin, options) {
|
|
2310
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(this.axios, this.basePath));
|
|
2311
|
+
}
|
|
2312
|
+
deletepluginHaloRunV1alpha1Plugin(name, options) {
|
|
2313
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
|
|
2314
|
+
}
|
|
2315
|
+
getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
2316
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
|
|
2317
|
+
}
|
|
2318
|
+
listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
2319
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2320
|
+
}
|
|
2321
|
+
updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
2322
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(this.axios, this.basePath));
|
|
2323
|
+
}
|
|
2324
|
+
}
|
|
2325
|
+
const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configuration) {
|
|
2326
|
+
return {
|
|
2327
|
+
createpluginHaloRunV1alpha1ReverseProxy: async (reverseProxy, options = {}) => {
|
|
2328
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
|
|
2329
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2330
|
+
let baseOptions;
|
|
2331
|
+
if (configuration) {
|
|
2332
|
+
baseOptions = configuration.baseOptions;
|
|
2333
|
+
}
|
|
2334
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2335
|
+
const localVarHeaderParameter = {};
|
|
2336
|
+
const localVarQueryParameter = {};
|
|
2337
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2338
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2339
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2340
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2341
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2342
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2343
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
|
|
2344
|
+
return {
|
|
2345
|
+
url: toPathString(localVarUrlObj),
|
|
2346
|
+
options: localVarRequestOptions
|
|
2347
|
+
};
|
|
2348
|
+
},
|
|
2349
|
+
deletepluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
2350
|
+
assertParamExists("deletepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
2351
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2352
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2353
|
+
let baseOptions;
|
|
2354
|
+
if (configuration) {
|
|
2355
|
+
baseOptions = configuration.baseOptions;
|
|
2356
|
+
}
|
|
2357
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2358
|
+
const localVarHeaderParameter = {};
|
|
2359
|
+
const localVarQueryParameter = {};
|
|
2360
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2361
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2362
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2363
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2364
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2365
|
+
return {
|
|
2366
|
+
url: toPathString(localVarUrlObj),
|
|
2367
|
+
options: localVarRequestOptions
|
|
2368
|
+
};
|
|
2369
|
+
},
|
|
2370
|
+
getpluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
2371
|
+
assertParamExists("getpluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
2372
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2373
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2374
|
+
let baseOptions;
|
|
2375
|
+
if (configuration) {
|
|
2376
|
+
baseOptions = configuration.baseOptions;
|
|
2377
|
+
}
|
|
2378
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2379
|
+
const localVarHeaderParameter = {};
|
|
2380
|
+
const localVarQueryParameter = {};
|
|
2381
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2382
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2383
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2384
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2385
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2386
|
+
return {
|
|
2387
|
+
url: toPathString(localVarUrlObj),
|
|
2388
|
+
options: localVarRequestOptions
|
|
2389
|
+
};
|
|
2390
|
+
},
|
|
2391
|
+
listpluginHaloRunV1alpha1ReverseProxy: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2392
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
|
|
2393
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2394
|
+
let baseOptions;
|
|
2395
|
+
if (configuration) {
|
|
2396
|
+
baseOptions = configuration.baseOptions;
|
|
2397
|
+
}
|
|
2398
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2399
|
+
const localVarHeaderParameter = {};
|
|
2400
|
+
const localVarQueryParameter = {};
|
|
2401
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2402
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2403
|
+
if (page !== void 0) {
|
|
2404
|
+
localVarQueryParameter["page"] = page;
|
|
2405
|
+
}
|
|
2406
|
+
if (size !== void 0) {
|
|
2407
|
+
localVarQueryParameter["size"] = size;
|
|
2408
|
+
}
|
|
2409
|
+
if (labelSelector) {
|
|
2410
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2411
|
+
}
|
|
2412
|
+
if (fieldSelector) {
|
|
2413
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2414
|
+
}
|
|
2415
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2416
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2417
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2418
|
+
return {
|
|
2419
|
+
url: toPathString(localVarUrlObj),
|
|
2420
|
+
options: localVarRequestOptions
|
|
2421
|
+
};
|
|
2422
|
+
},
|
|
2423
|
+
updatepluginHaloRunV1alpha1ReverseProxy: async (name, reverseProxy, options = {}) => {
|
|
2424
|
+
assertParamExists("updatepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
2425
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2426
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2427
|
+
let baseOptions;
|
|
2428
|
+
if (configuration) {
|
|
2429
|
+
baseOptions = configuration.baseOptions;
|
|
2430
|
+
}
|
|
2431
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2432
|
+
const localVarHeaderParameter = {};
|
|
2433
|
+
const localVarQueryParameter = {};
|
|
2434
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2435
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2436
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2437
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2438
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2439
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2440
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
|
|
2441
|
+
return {
|
|
2442
|
+
url: toPathString(localVarUrlObj),
|
|
2443
|
+
options: localVarRequestOptions
|
|
2444
|
+
};
|
|
2445
|
+
}
|
|
2446
|
+
};
|
|
2447
|
+
};
|
|
2448
|
+
const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
2449
|
+
const localVarAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator(configuration);
|
|
2450
|
+
return {
|
|
2451
|
+
async createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
2452
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options);
|
|
2453
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2454
|
+
},
|
|
2455
|
+
async deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2456
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1ReverseProxy(name, options);
|
|
2457
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2458
|
+
},
|
|
2459
|
+
async getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2460
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1ReverseProxy(name, options);
|
|
2461
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2462
|
+
},
|
|
2463
|
+
async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
2464
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options);
|
|
2465
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2466
|
+
},
|
|
2467
|
+
async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
2468
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options);
|
|
2469
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2470
|
+
}
|
|
2471
|
+
};
|
|
2472
|
+
};
|
|
2473
|
+
const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, basePath, axios) {
|
|
2474
|
+
const localVarFp = PluginHaloRunV1alpha1ReverseProxyApiFp(configuration);
|
|
2475
|
+
return {
|
|
2476
|
+
createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
2477
|
+
return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(axios, basePath));
|
|
2478
|
+
},
|
|
2479
|
+
deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2480
|
+
return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
2481
|
+
},
|
|
2482
|
+
getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2483
|
+
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
2484
|
+
},
|
|
2485
|
+
listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
2486
|
+
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2487
|
+
},
|
|
2488
|
+
updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
2489
|
+
return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(axios, basePath));
|
|
2490
|
+
}
|
|
2491
|
+
};
|
|
2492
|
+
};
|
|
2493
|
+
class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
2494
|
+
createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
2495
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
2496
|
+
}
|
|
2497
|
+
deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2498
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
|
|
2499
|
+
}
|
|
2500
|
+
getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2501
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
|
|
2502
|
+
}
|
|
2503
|
+
listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
2504
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2505
|
+
}
|
|
2506
|
+
updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
2507
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
2508
|
+
}
|
|
2509
|
+
}
|
|
2510
|
+
const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
2511
|
+
return {
|
|
2512
|
+
createstorageHaloRunV1alpha1Attachment: async (attachment, options = {}) => {
|
|
2513
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments`;
|
|
2514
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2515
|
+
let baseOptions;
|
|
2516
|
+
if (configuration) {
|
|
2517
|
+
baseOptions = configuration.baseOptions;
|
|
2518
|
+
}
|
|
2519
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2520
|
+
const localVarHeaderParameter = {};
|
|
2521
|
+
const localVarQueryParameter = {};
|
|
2522
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2523
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2524
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2525
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2526
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2527
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2528
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attachment, localVarRequestOptions, configuration);
|
|
2529
|
+
return {
|
|
2530
|
+
url: toPathString(localVarUrlObj),
|
|
2531
|
+
options: localVarRequestOptions
|
|
2532
|
+
};
|
|
2533
|
+
},
|
|
2534
|
+
deletestorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
2535
|
+
assertParamExists("deletestorageHaloRunV1alpha1Attachment", "name", name);
|
|
2536
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2537
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2538
|
+
let baseOptions;
|
|
2539
|
+
if (configuration) {
|
|
2540
|
+
baseOptions = configuration.baseOptions;
|
|
2541
|
+
}
|
|
2542
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2543
|
+
const localVarHeaderParameter = {};
|
|
2544
|
+
const localVarQueryParameter = {};
|
|
2545
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2546
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2547
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2548
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2549
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2550
|
+
return {
|
|
2551
|
+
url: toPathString(localVarUrlObj),
|
|
2552
|
+
options: localVarRequestOptions
|
|
2553
|
+
};
|
|
2554
|
+
},
|
|
2555
|
+
getstorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
2556
|
+
assertParamExists("getstorageHaloRunV1alpha1Attachment", "name", name);
|
|
2557
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2558
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2559
|
+
let baseOptions;
|
|
2560
|
+
if (configuration) {
|
|
2561
|
+
baseOptions = configuration.baseOptions;
|
|
2562
|
+
}
|
|
2563
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2564
|
+
const localVarHeaderParameter = {};
|
|
2565
|
+
const localVarQueryParameter = {};
|
|
2566
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2567
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2568
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2569
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2570
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2571
|
+
return {
|
|
2572
|
+
url: toPathString(localVarUrlObj),
|
|
2573
|
+
options: localVarRequestOptions
|
|
2574
|
+
};
|
|
2575
|
+
},
|
|
2576
|
+
liststorageHaloRunV1alpha1Attachment: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2577
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments`;
|
|
2578
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2579
|
+
let baseOptions;
|
|
2580
|
+
if (configuration) {
|
|
2581
|
+
baseOptions = configuration.baseOptions;
|
|
2582
|
+
}
|
|
2583
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2584
|
+
const localVarHeaderParameter = {};
|
|
2585
|
+
const localVarQueryParameter = {};
|
|
2586
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2587
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2588
|
+
if (page !== void 0) {
|
|
2589
|
+
localVarQueryParameter["page"] = page;
|
|
2590
|
+
}
|
|
2591
|
+
if (size !== void 0) {
|
|
2592
|
+
localVarQueryParameter["size"] = size;
|
|
2593
|
+
}
|
|
2594
|
+
if (labelSelector) {
|
|
2595
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2596
|
+
}
|
|
2597
|
+
if (fieldSelector) {
|
|
2598
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2599
|
+
}
|
|
2600
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2601
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2602
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2603
|
+
return {
|
|
2604
|
+
url: toPathString(localVarUrlObj),
|
|
2605
|
+
options: localVarRequestOptions
|
|
2606
|
+
};
|
|
2607
|
+
},
|
|
2608
|
+
searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
2609
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/attachments`;
|
|
2610
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2611
|
+
let baseOptions;
|
|
2612
|
+
if (configuration) {
|
|
2613
|
+
baseOptions = configuration.baseOptions;
|
|
2614
|
+
}
|
|
2615
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2616
|
+
const localVarHeaderParameter = {};
|
|
2617
|
+
const localVarQueryParameter = {};
|
|
2618
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2619
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2620
|
+
if (policy !== void 0) {
|
|
2621
|
+
localVarQueryParameter["policy"] = policy;
|
|
2622
|
+
}
|
|
2623
|
+
if (displayName !== void 0) {
|
|
2624
|
+
localVarQueryParameter["displayName"] = displayName;
|
|
2625
|
+
}
|
|
2626
|
+
if (group !== void 0) {
|
|
2627
|
+
localVarQueryParameter["group"] = group;
|
|
2628
|
+
}
|
|
2629
|
+
if (uploadedBy !== void 0) {
|
|
2630
|
+
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
2631
|
+
}
|
|
2632
|
+
if (size !== void 0) {
|
|
2633
|
+
localVarQueryParameter["size"] = size;
|
|
2634
|
+
}
|
|
2635
|
+
if (page !== void 0) {
|
|
2636
|
+
localVarQueryParameter["page"] = page;
|
|
2637
|
+
}
|
|
2638
|
+
if (labelSelector) {
|
|
2639
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2640
|
+
}
|
|
2641
|
+
if (fieldSelector) {
|
|
2642
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2643
|
+
}
|
|
2644
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2645
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2646
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2647
|
+
return {
|
|
2648
|
+
url: toPathString(localVarUrlObj),
|
|
2649
|
+
options: localVarRequestOptions
|
|
2650
|
+
};
|
|
2651
|
+
},
|
|
2652
|
+
updatestorageHaloRunV1alpha1Attachment: async (name, attachment, options = {}) => {
|
|
2653
|
+
assertParamExists("updatestorageHaloRunV1alpha1Attachment", "name", name);
|
|
2654
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2655
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2656
|
+
let baseOptions;
|
|
2657
|
+
if (configuration) {
|
|
2658
|
+
baseOptions = configuration.baseOptions;
|
|
2659
|
+
}
|
|
2660
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2661
|
+
const localVarHeaderParameter = {};
|
|
2662
|
+
const localVarQueryParameter = {};
|
|
2663
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2664
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2665
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2666
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2667
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2668
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2669
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attachment, localVarRequestOptions, configuration);
|
|
2670
|
+
return {
|
|
2671
|
+
url: toPathString(localVarUrlObj),
|
|
2672
|
+
options: localVarRequestOptions
|
|
2673
|
+
};
|
|
2674
|
+
},
|
|
2675
|
+
uploadAttachment: async (file, policyName, groupName, options = {}) => {
|
|
2676
|
+
assertParamExists("uploadAttachment", "file", file);
|
|
2677
|
+
assertParamExists("uploadAttachment", "policyName", policyName);
|
|
2678
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/attachments/upload`;
|
|
2679
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2680
|
+
let baseOptions;
|
|
2681
|
+
if (configuration) {
|
|
2682
|
+
baseOptions = configuration.baseOptions;
|
|
2683
|
+
}
|
|
2684
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2685
|
+
const localVarHeaderParameter = {};
|
|
2686
|
+
const localVarQueryParameter = {};
|
|
2687
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
2688
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2689
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2690
|
+
if (file !== void 0) {
|
|
2691
|
+
localVarFormParams.append("file", file);
|
|
2692
|
+
}
|
|
2693
|
+
if (policyName !== void 0) {
|
|
2694
|
+
localVarFormParams.append("policyName", policyName);
|
|
2695
|
+
}
|
|
2696
|
+
if (groupName !== void 0) {
|
|
2697
|
+
localVarFormParams.append("groupName", groupName);
|
|
2698
|
+
}
|
|
2699
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
2700
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2701
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2702
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2703
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
2704
|
+
return {
|
|
2705
|
+
url: toPathString(localVarUrlObj),
|
|
2706
|
+
options: localVarRequestOptions
|
|
2707
|
+
};
|
|
2708
|
+
}
|
|
2709
|
+
};
|
|
2710
|
+
};
|
|
2711
|
+
const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
2712
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
2713
|
+
return {
|
|
2714
|
+
async createstorageHaloRunV1alpha1Attachment(attachment, options) {
|
|
2715
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Attachment(attachment, options);
|
|
2716
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2717
|
+
},
|
|
2718
|
+
async deletestorageHaloRunV1alpha1Attachment(name, options) {
|
|
2719
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Attachment(name, options);
|
|
2720
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2721
|
+
},
|
|
2722
|
+
async getstorageHaloRunV1alpha1Attachment(name, options) {
|
|
2723
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Attachment(name, options);
|
|
2724
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2725
|
+
},
|
|
2726
|
+
async liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
2727
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
|
|
2728
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2729
|
+
},
|
|
2730
|
+
async searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
2731
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options);
|
|
2732
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2733
|
+
},
|
|
2734
|
+
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
2735
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(name, attachment, options);
|
|
2736
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2737
|
+
},
|
|
2738
|
+
async uploadAttachment(file, policyName, groupName, options) {
|
|
2739
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadAttachment(file, policyName, groupName, options);
|
|
2740
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2741
|
+
}
|
|
2742
|
+
};
|
|
2743
|
+
};
|
|
2744
|
+
const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
2745
|
+
const localVarFp = StorageHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
2746
|
+
return {
|
|
2747
|
+
createstorageHaloRunV1alpha1Attachment(attachment, options) {
|
|
2748
|
+
return localVarFp.createstorageHaloRunV1alpha1Attachment(attachment, options).then((request) => request(axios, basePath));
|
|
2749
|
+
},
|
|
2750
|
+
deletestorageHaloRunV1alpha1Attachment(name, options) {
|
|
2751
|
+
return localVarFp.deletestorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
2752
|
+
},
|
|
2753
|
+
getstorageHaloRunV1alpha1Attachment(name, options) {
|
|
2754
|
+
return localVarFp.getstorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
2755
|
+
},
|
|
2756
|
+
liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
2757
|
+
return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2758
|
+
},
|
|
2759
|
+
searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
2760
|
+
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2761
|
+
},
|
|
2762
|
+
updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
2763
|
+
return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
|
|
2764
|
+
},
|
|
2765
|
+
uploadAttachment(file, policyName, groupName, options) {
|
|
2766
|
+
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
2767
|
+
}
|
|
2768
|
+
};
|
|
2769
|
+
};
|
|
2770
|
+
class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
2771
|
+
createstorageHaloRunV1alpha1Attachment(attachment, options) {
|
|
2772
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).createstorageHaloRunV1alpha1Attachment(attachment, options).then((request) => request(this.axios, this.basePath));
|
|
2773
|
+
}
|
|
2774
|
+
deletestorageHaloRunV1alpha1Attachment(name, options) {
|
|
2775
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).deletestorageHaloRunV1alpha1Attachment(name, options).then((request) => request(this.axios, this.basePath));
|
|
2776
|
+
}
|
|
2777
|
+
getstorageHaloRunV1alpha1Attachment(name, options) {
|
|
2778
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).getstorageHaloRunV1alpha1Attachment(name, options).then((request) => request(this.axios, this.basePath));
|
|
2779
|
+
}
|
|
2780
|
+
liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
2781
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2782
|
+
}
|
|
2783
|
+
searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
2784
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2785
|
+
}
|
|
2786
|
+
updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
2787
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(this.axios, this.basePath));
|
|
2788
|
+
}
|
|
2789
|
+
uploadAttachment(file, policyName, groupName, options) {
|
|
2790
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(file, policyName, groupName, options).then((request) => request(this.axios, this.basePath));
|
|
2791
|
+
}
|
|
2792
|
+
}
|
|
2793
|
+
const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration) {
|
|
2794
|
+
return {
|
|
2795
|
+
createstorageHaloRunV1alpha1Group: async (group, options = {}) => {
|
|
2796
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups`;
|
|
1774
2797
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1775
2798
|
let baseOptions;
|
|
1776
2799
|
if (configuration) {
|
|
@@ -1785,15 +2808,15 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
1785
2808
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1786
2809
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1787
2810
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1788
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2811
|
+
localVarRequestOptions.data = serializeDataIfNeeded(group, localVarRequestOptions, configuration);
|
|
1789
2812
|
return {
|
|
1790
2813
|
url: toPathString(localVarUrlObj),
|
|
1791
2814
|
options: localVarRequestOptions
|
|
1792
2815
|
};
|
|
1793
2816
|
},
|
|
1794
|
-
|
|
1795
|
-
assertParamExists("
|
|
1796
|
-
const localVarPath = `/apis/
|
|
2817
|
+
deletestorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
2818
|
+
assertParamExists("deletestorageHaloRunV1alpha1Group", "name", name);
|
|
2819
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1797
2820
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1798
2821
|
let baseOptions;
|
|
1799
2822
|
if (configuration) {
|
|
@@ -1812,9 +2835,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
1812
2835
|
options: localVarRequestOptions
|
|
1813
2836
|
};
|
|
1814
2837
|
},
|
|
1815
|
-
|
|
1816
|
-
assertParamExists("
|
|
1817
|
-
const localVarPath = `/apis/
|
|
2838
|
+
getstorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
2839
|
+
assertParamExists("getstorageHaloRunV1alpha1Group", "name", name);
|
|
2840
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1818
2841
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1819
2842
|
let baseOptions;
|
|
1820
2843
|
if (configuration) {
|
|
@@ -1833,8 +2856,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
1833
2856
|
options: localVarRequestOptions
|
|
1834
2857
|
};
|
|
1835
2858
|
},
|
|
1836
|
-
|
|
1837
|
-
const localVarPath = `/apis/
|
|
2859
|
+
liststorageHaloRunV1alpha1Group: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2860
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups`;
|
|
1838
2861
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1839
2862
|
let baseOptions;
|
|
1840
2863
|
if (configuration) {
|
|
@@ -1865,9 +2888,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
1865
2888
|
options: localVarRequestOptions
|
|
1866
2889
|
};
|
|
1867
2890
|
},
|
|
1868
|
-
|
|
1869
|
-
assertParamExists("
|
|
1870
|
-
const localVarPath = `/apis/
|
|
2891
|
+
updatestorageHaloRunV1alpha1Group: async (name, group, options = {}) => {
|
|
2892
|
+
assertParamExists("updatestorageHaloRunV1alpha1Group", "name", name);
|
|
2893
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1871
2894
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1872
2895
|
let baseOptions;
|
|
1873
2896
|
if (configuration) {
|
|
@@ -1882,7 +2905,7 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
1882
2905
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1883
2906
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1884
2907
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1885
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2908
|
+
localVarRequestOptions.data = serializeDataIfNeeded(group, localVarRequestOptions, configuration);
|
|
1886
2909
|
return {
|
|
1887
2910
|
url: toPathString(localVarUrlObj),
|
|
1888
2911
|
options: localVarRequestOptions
|
|
@@ -1890,72 +2913,72 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
1890
2913
|
}
|
|
1891
2914
|
};
|
|
1892
2915
|
};
|
|
1893
|
-
const
|
|
1894
|
-
const localVarAxiosParamCreator =
|
|
2916
|
+
const StorageHaloRunV1alpha1GroupApiFp = function(configuration) {
|
|
2917
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1GroupApiAxiosParamCreator(configuration);
|
|
1895
2918
|
return {
|
|
1896
|
-
async
|
|
1897
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2919
|
+
async createstorageHaloRunV1alpha1Group(group, options) {
|
|
2920
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Group(group, options);
|
|
1898
2921
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1899
2922
|
},
|
|
1900
|
-
async
|
|
1901
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2923
|
+
async deletestorageHaloRunV1alpha1Group(name, options) {
|
|
2924
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Group(name, options);
|
|
1902
2925
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1903
2926
|
},
|
|
1904
|
-
async
|
|
1905
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2927
|
+
async getstorageHaloRunV1alpha1Group(name, options) {
|
|
2928
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Group(name, options);
|
|
1906
2929
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1907
2930
|
},
|
|
1908
|
-
async
|
|
1909
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2931
|
+
async liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
|
|
2932
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options);
|
|
1910
2933
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1911
2934
|
},
|
|
1912
|
-
async
|
|
1913
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2935
|
+
async updatestorageHaloRunV1alpha1Group(name, group, options) {
|
|
2936
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Group(name, group, options);
|
|
1914
2937
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1915
2938
|
}
|
|
1916
2939
|
};
|
|
1917
2940
|
};
|
|
1918
|
-
const
|
|
1919
|
-
const localVarFp =
|
|
2941
|
+
const StorageHaloRunV1alpha1GroupApiFactory = function(configuration, basePath, axios) {
|
|
2942
|
+
const localVarFp = StorageHaloRunV1alpha1GroupApiFp(configuration);
|
|
1920
2943
|
return {
|
|
1921
|
-
|
|
1922
|
-
return localVarFp.
|
|
2944
|
+
createstorageHaloRunV1alpha1Group(group, options) {
|
|
2945
|
+
return localVarFp.createstorageHaloRunV1alpha1Group(group, options).then((request) => request(axios, basePath));
|
|
1923
2946
|
},
|
|
1924
|
-
|
|
1925
|
-
return localVarFp.
|
|
2947
|
+
deletestorageHaloRunV1alpha1Group(name, options) {
|
|
2948
|
+
return localVarFp.deletestorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
1926
2949
|
},
|
|
1927
|
-
|
|
1928
|
-
return localVarFp.
|
|
2950
|
+
getstorageHaloRunV1alpha1Group(name, options) {
|
|
2951
|
+
return localVarFp.getstorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
1929
2952
|
},
|
|
1930
|
-
|
|
1931
|
-
return localVarFp.
|
|
2953
|
+
liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
|
|
2954
|
+
return localVarFp.liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1932
2955
|
},
|
|
1933
|
-
|
|
1934
|
-
return localVarFp.
|
|
2956
|
+
updatestorageHaloRunV1alpha1Group(name, group, options) {
|
|
2957
|
+
return localVarFp.updatestorageHaloRunV1alpha1Group(name, group, options).then((request) => request(axios, basePath));
|
|
1935
2958
|
}
|
|
1936
2959
|
};
|
|
1937
2960
|
};
|
|
1938
|
-
class
|
|
1939
|
-
|
|
1940
|
-
return
|
|
2961
|
+
class StorageHaloRunV1alpha1GroupApi extends BaseAPI {
|
|
2962
|
+
createstorageHaloRunV1alpha1Group(group, options) {
|
|
2963
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).createstorageHaloRunV1alpha1Group(group, options).then((request) => request(this.axios, this.basePath));
|
|
1941
2964
|
}
|
|
1942
|
-
|
|
1943
|
-
return
|
|
2965
|
+
deletestorageHaloRunV1alpha1Group(name, options) {
|
|
2966
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).deletestorageHaloRunV1alpha1Group(name, options).then((request) => request(this.axios, this.basePath));
|
|
1944
2967
|
}
|
|
1945
|
-
|
|
1946
|
-
return
|
|
2968
|
+
getstorageHaloRunV1alpha1Group(name, options) {
|
|
2969
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).getstorageHaloRunV1alpha1Group(name, options).then((request) => request(this.axios, this.basePath));
|
|
1947
2970
|
}
|
|
1948
|
-
|
|
1949
|
-
return
|
|
2971
|
+
liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
|
|
2972
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1950
2973
|
}
|
|
1951
|
-
|
|
1952
|
-
return
|
|
2974
|
+
updatestorageHaloRunV1alpha1Group(name, group, options) {
|
|
2975
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).updatestorageHaloRunV1alpha1Group(name, group, options).then((request) => request(this.axios, this.basePath));
|
|
1953
2976
|
}
|
|
1954
2977
|
}
|
|
1955
|
-
const
|
|
2978
|
+
const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration) {
|
|
1956
2979
|
return {
|
|
1957
|
-
|
|
1958
|
-
const localVarPath = `/apis/
|
|
2980
|
+
createstorageHaloRunV1alpha1Policy: async (policy, options = {}) => {
|
|
2981
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies`;
|
|
1959
2982
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1960
2983
|
let baseOptions;
|
|
1961
2984
|
if (configuration) {
|
|
@@ -1970,15 +2993,15 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
1970
2993
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1971
2994
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1972
2995
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1973
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2996
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policy, localVarRequestOptions, configuration);
|
|
1974
2997
|
return {
|
|
1975
2998
|
url: toPathString(localVarUrlObj),
|
|
1976
2999
|
options: localVarRequestOptions
|
|
1977
3000
|
};
|
|
1978
3001
|
},
|
|
1979
|
-
|
|
1980
|
-
assertParamExists("
|
|
1981
|
-
const localVarPath = `/apis/
|
|
3002
|
+
deletestorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
3003
|
+
assertParamExists("deletestorageHaloRunV1alpha1Policy", "name", name);
|
|
3004
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1982
3005
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1983
3006
|
let baseOptions;
|
|
1984
3007
|
if (configuration) {
|
|
@@ -1997,9 +3020,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
1997
3020
|
options: localVarRequestOptions
|
|
1998
3021
|
};
|
|
1999
3022
|
},
|
|
2000
|
-
|
|
2001
|
-
assertParamExists("
|
|
2002
|
-
const localVarPath = `/apis/
|
|
3023
|
+
getstorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
3024
|
+
assertParamExists("getstorageHaloRunV1alpha1Policy", "name", name);
|
|
3025
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2003
3026
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2004
3027
|
let baseOptions;
|
|
2005
3028
|
if (configuration) {
|
|
@@ -2018,8 +3041,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
2018
3041
|
options: localVarRequestOptions
|
|
2019
3042
|
};
|
|
2020
3043
|
},
|
|
2021
|
-
|
|
2022
|
-
const localVarPath = `/apis/
|
|
3044
|
+
liststorageHaloRunV1alpha1Policy: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3045
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies`;
|
|
2023
3046
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2024
3047
|
let baseOptions;
|
|
2025
3048
|
if (configuration) {
|
|
@@ -2050,9 +3073,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
2050
3073
|
options: localVarRequestOptions
|
|
2051
3074
|
};
|
|
2052
3075
|
},
|
|
2053
|
-
|
|
2054
|
-
assertParamExists("
|
|
2055
|
-
const localVarPath = `/apis/
|
|
3076
|
+
updatestorageHaloRunV1alpha1Policy: async (name, policy, options = {}) => {
|
|
3077
|
+
assertParamExists("updatestorageHaloRunV1alpha1Policy", "name", name);
|
|
3078
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2056
3079
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2057
3080
|
let baseOptions;
|
|
2058
3081
|
if (configuration) {
|
|
@@ -2067,7 +3090,7 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
2067
3090
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2068
3091
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2069
3092
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2070
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3093
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policy, localVarRequestOptions, configuration);
|
|
2071
3094
|
return {
|
|
2072
3095
|
url: toPathString(localVarUrlObj),
|
|
2073
3096
|
options: localVarRequestOptions
|
|
@@ -2075,66 +3098,251 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
2075
3098
|
}
|
|
2076
3099
|
};
|
|
2077
3100
|
};
|
|
2078
|
-
const
|
|
2079
|
-
const localVarAxiosParamCreator =
|
|
3101
|
+
const StorageHaloRunV1alpha1PolicyApiFp = function(configuration) {
|
|
3102
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyApiAxiosParamCreator(configuration);
|
|
2080
3103
|
return {
|
|
2081
|
-
async
|
|
2082
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3104
|
+
async createstorageHaloRunV1alpha1Policy(policy, options) {
|
|
3105
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Policy(policy, options);
|
|
2083
3106
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2084
3107
|
},
|
|
2085
|
-
async
|
|
2086
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3108
|
+
async deletestorageHaloRunV1alpha1Policy(name, options) {
|
|
3109
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Policy(name, options);
|
|
2087
3110
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2088
3111
|
},
|
|
2089
|
-
async
|
|
2090
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3112
|
+
async getstorageHaloRunV1alpha1Policy(name, options) {
|
|
3113
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Policy(name, options);
|
|
2091
3114
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2092
3115
|
},
|
|
2093
|
-
async
|
|
2094
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3116
|
+
async liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
|
|
3117
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options);
|
|
2095
3118
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2096
3119
|
},
|
|
2097
|
-
async
|
|
2098
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3120
|
+
async updatestorageHaloRunV1alpha1Policy(name, policy, options) {
|
|
3121
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Policy(name, policy, options);
|
|
2099
3122
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2100
3123
|
}
|
|
2101
3124
|
};
|
|
2102
3125
|
};
|
|
2103
|
-
const
|
|
2104
|
-
const localVarFp =
|
|
3126
|
+
const StorageHaloRunV1alpha1PolicyApiFactory = function(configuration, basePath, axios) {
|
|
3127
|
+
const localVarFp = StorageHaloRunV1alpha1PolicyApiFp(configuration);
|
|
2105
3128
|
return {
|
|
2106
|
-
|
|
2107
|
-
return localVarFp.
|
|
3129
|
+
createstorageHaloRunV1alpha1Policy(policy, options) {
|
|
3130
|
+
return localVarFp.createstorageHaloRunV1alpha1Policy(policy, options).then((request) => request(axios, basePath));
|
|
2108
3131
|
},
|
|
2109
|
-
|
|
2110
|
-
return localVarFp.
|
|
3132
|
+
deletestorageHaloRunV1alpha1Policy(name, options) {
|
|
3133
|
+
return localVarFp.deletestorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
2111
3134
|
},
|
|
2112
|
-
|
|
2113
|
-
return localVarFp.
|
|
3135
|
+
getstorageHaloRunV1alpha1Policy(name, options) {
|
|
3136
|
+
return localVarFp.getstorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
2114
3137
|
},
|
|
2115
|
-
|
|
2116
|
-
return localVarFp.
|
|
3138
|
+
liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
|
|
3139
|
+
return localVarFp.liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2117
3140
|
},
|
|
2118
|
-
|
|
2119
|
-
return localVarFp.
|
|
3141
|
+
updatestorageHaloRunV1alpha1Policy(name, policy, options) {
|
|
3142
|
+
return localVarFp.updatestorageHaloRunV1alpha1Policy(name, policy, options).then((request) => request(axios, basePath));
|
|
2120
3143
|
}
|
|
2121
3144
|
};
|
|
2122
3145
|
};
|
|
2123
|
-
class
|
|
2124
|
-
|
|
2125
|
-
return
|
|
3146
|
+
class StorageHaloRunV1alpha1PolicyApi extends BaseAPI {
|
|
3147
|
+
createstorageHaloRunV1alpha1Policy(policy, options) {
|
|
3148
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).createstorageHaloRunV1alpha1Policy(policy, options).then((request) => request(this.axios, this.basePath));
|
|
2126
3149
|
}
|
|
2127
|
-
|
|
2128
|
-
return
|
|
3150
|
+
deletestorageHaloRunV1alpha1Policy(name, options) {
|
|
3151
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).deletestorageHaloRunV1alpha1Policy(name, options).then((request) => request(this.axios, this.basePath));
|
|
2129
3152
|
}
|
|
2130
|
-
|
|
2131
|
-
return
|
|
3153
|
+
getstorageHaloRunV1alpha1Policy(name, options) {
|
|
3154
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).getstorageHaloRunV1alpha1Policy(name, options).then((request) => request(this.axios, this.basePath));
|
|
2132
3155
|
}
|
|
2133
|
-
|
|
2134
|
-
return
|
|
3156
|
+
liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
|
|
3157
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2135
3158
|
}
|
|
2136
|
-
|
|
2137
|
-
return
|
|
3159
|
+
updatestorageHaloRunV1alpha1Policy(name, policy, options) {
|
|
3160
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).updatestorageHaloRunV1alpha1Policy(name, policy, options).then((request) => request(this.axios, this.basePath));
|
|
3161
|
+
}
|
|
3162
|
+
}
|
|
3163
|
+
const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(configuration) {
|
|
3164
|
+
return {
|
|
3165
|
+
createstorageHaloRunV1alpha1PolicyTemplate: async (policyTemplate, options = {}) => {
|
|
3166
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates`;
|
|
3167
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3168
|
+
let baseOptions;
|
|
3169
|
+
if (configuration) {
|
|
3170
|
+
baseOptions = configuration.baseOptions;
|
|
3171
|
+
}
|
|
3172
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3173
|
+
const localVarHeaderParameter = {};
|
|
3174
|
+
const localVarQueryParameter = {};
|
|
3175
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3176
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3177
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3178
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3179
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3180
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3181
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policyTemplate, localVarRequestOptions, configuration);
|
|
3182
|
+
return {
|
|
3183
|
+
url: toPathString(localVarUrlObj),
|
|
3184
|
+
options: localVarRequestOptions
|
|
3185
|
+
};
|
|
3186
|
+
},
|
|
3187
|
+
deletestorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
3188
|
+
assertParamExists("deletestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
3189
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3190
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3191
|
+
let baseOptions;
|
|
3192
|
+
if (configuration) {
|
|
3193
|
+
baseOptions = configuration.baseOptions;
|
|
3194
|
+
}
|
|
3195
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3196
|
+
const localVarHeaderParameter = {};
|
|
3197
|
+
const localVarQueryParameter = {};
|
|
3198
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3199
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3200
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3201
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3202
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3203
|
+
return {
|
|
3204
|
+
url: toPathString(localVarUrlObj),
|
|
3205
|
+
options: localVarRequestOptions
|
|
3206
|
+
};
|
|
3207
|
+
},
|
|
3208
|
+
getstorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
3209
|
+
assertParamExists("getstorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
3210
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3211
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3212
|
+
let baseOptions;
|
|
3213
|
+
if (configuration) {
|
|
3214
|
+
baseOptions = configuration.baseOptions;
|
|
3215
|
+
}
|
|
3216
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3217
|
+
const localVarHeaderParameter = {};
|
|
3218
|
+
const localVarQueryParameter = {};
|
|
3219
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3220
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3221
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3222
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3223
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3224
|
+
return {
|
|
3225
|
+
url: toPathString(localVarUrlObj),
|
|
3226
|
+
options: localVarRequestOptions
|
|
3227
|
+
};
|
|
3228
|
+
},
|
|
3229
|
+
liststorageHaloRunV1alpha1PolicyTemplate: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3230
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates`;
|
|
3231
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3232
|
+
let baseOptions;
|
|
3233
|
+
if (configuration) {
|
|
3234
|
+
baseOptions = configuration.baseOptions;
|
|
3235
|
+
}
|
|
3236
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3237
|
+
const localVarHeaderParameter = {};
|
|
3238
|
+
const localVarQueryParameter = {};
|
|
3239
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3240
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3241
|
+
if (page !== void 0) {
|
|
3242
|
+
localVarQueryParameter["page"] = page;
|
|
3243
|
+
}
|
|
3244
|
+
if (size !== void 0) {
|
|
3245
|
+
localVarQueryParameter["size"] = size;
|
|
3246
|
+
}
|
|
3247
|
+
if (labelSelector) {
|
|
3248
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3249
|
+
}
|
|
3250
|
+
if (fieldSelector) {
|
|
3251
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3252
|
+
}
|
|
3253
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3254
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3255
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3256
|
+
return {
|
|
3257
|
+
url: toPathString(localVarUrlObj),
|
|
3258
|
+
options: localVarRequestOptions
|
|
3259
|
+
};
|
|
3260
|
+
},
|
|
3261
|
+
updatestorageHaloRunV1alpha1PolicyTemplate: async (name, policyTemplate, options = {}) => {
|
|
3262
|
+
assertParamExists("updatestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
3263
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3264
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3265
|
+
let baseOptions;
|
|
3266
|
+
if (configuration) {
|
|
3267
|
+
baseOptions = configuration.baseOptions;
|
|
3268
|
+
}
|
|
3269
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3270
|
+
const localVarHeaderParameter = {};
|
|
3271
|
+
const localVarQueryParameter = {};
|
|
3272
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3273
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3274
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3275
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3276
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3277
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3278
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policyTemplate, localVarRequestOptions, configuration);
|
|
3279
|
+
return {
|
|
3280
|
+
url: toPathString(localVarUrlObj),
|
|
3281
|
+
options: localVarRequestOptions
|
|
3282
|
+
};
|
|
3283
|
+
}
|
|
3284
|
+
};
|
|
3285
|
+
};
|
|
3286
|
+
const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
3287
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator(configuration);
|
|
3288
|
+
return {
|
|
3289
|
+
async createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
|
|
3290
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options);
|
|
3291
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3292
|
+
},
|
|
3293
|
+
async deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
3294
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1PolicyTemplate(name, options);
|
|
3295
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3296
|
+
},
|
|
3297
|
+
async getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
3298
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1PolicyTemplate(name, options);
|
|
3299
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3300
|
+
},
|
|
3301
|
+
async liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
|
|
3302
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options);
|
|
3303
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3304
|
+
},
|
|
3305
|
+
async updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
|
|
3306
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options);
|
|
3307
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3308
|
+
}
|
|
3309
|
+
};
|
|
3310
|
+
};
|
|
3311
|
+
const StorageHaloRunV1alpha1PolicyTemplateApiFactory = function(configuration, basePath, axios) {
|
|
3312
|
+
const localVarFp = StorageHaloRunV1alpha1PolicyTemplateApiFp(configuration);
|
|
3313
|
+
return {
|
|
3314
|
+
createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
|
|
3315
|
+
return localVarFp.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options).then((request) => request(axios, basePath));
|
|
3316
|
+
},
|
|
3317
|
+
deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
3318
|
+
return localVarFp.deletestorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
3319
|
+
},
|
|
3320
|
+
getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
3321
|
+
return localVarFp.getstorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
3322
|
+
},
|
|
3323
|
+
liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
|
|
3324
|
+
return localVarFp.liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3325
|
+
},
|
|
3326
|
+
updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
|
|
3327
|
+
return localVarFp.updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options).then((request) => request(axios, basePath));
|
|
3328
|
+
}
|
|
3329
|
+
};
|
|
3330
|
+
};
|
|
3331
|
+
class StorageHaloRunV1alpha1PolicyTemplateApi extends BaseAPI {
|
|
3332
|
+
createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
|
|
3333
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options).then((request) => request(this.axios, this.basePath));
|
|
3334
|
+
}
|
|
3335
|
+
deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
3336
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).deletestorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(this.axios, this.basePath));
|
|
3337
|
+
}
|
|
3338
|
+
getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
3339
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).getstorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(this.axios, this.basePath));
|
|
3340
|
+
}
|
|
3341
|
+
liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
|
|
3342
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3343
|
+
}
|
|
3344
|
+
updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
|
|
3345
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options).then((request) => request(this.axios, this.basePath));
|
|
2138
3346
|
}
|
|
2139
3347
|
}
|
|
2140
3348
|
const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
@@ -3865,6 +5073,14 @@ exports.ContentHaloRunV1alpha1TagApi = ContentHaloRunV1alpha1TagApi;
|
|
|
3865
5073
|
exports.ContentHaloRunV1alpha1TagApiAxiosParamCreator = ContentHaloRunV1alpha1TagApiAxiosParamCreator;
|
|
3866
5074
|
exports.ContentHaloRunV1alpha1TagApiFactory = ContentHaloRunV1alpha1TagApiFactory;
|
|
3867
5075
|
exports.ContentHaloRunV1alpha1TagApiFp = ContentHaloRunV1alpha1TagApiFp;
|
|
5076
|
+
exports.CoreHaloRunV1alpha1LinkApi = CoreHaloRunV1alpha1LinkApi;
|
|
5077
|
+
exports.CoreHaloRunV1alpha1LinkApiAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator;
|
|
5078
|
+
exports.CoreHaloRunV1alpha1LinkApiFactory = CoreHaloRunV1alpha1LinkApiFactory;
|
|
5079
|
+
exports.CoreHaloRunV1alpha1LinkApiFp = CoreHaloRunV1alpha1LinkApiFp;
|
|
5080
|
+
exports.CoreHaloRunV1alpha1LinkGroupApi = CoreHaloRunV1alpha1LinkGroupApi;
|
|
5081
|
+
exports.CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator;
|
|
5082
|
+
exports.CoreHaloRunV1alpha1LinkGroupApiFactory = CoreHaloRunV1alpha1LinkGroupApiFactory;
|
|
5083
|
+
exports.CoreHaloRunV1alpha1LinkGroupApiFp = CoreHaloRunV1alpha1LinkGroupApiFp;
|
|
3868
5084
|
exports.PluginHaloRunV1alpha1PluginApi = PluginHaloRunV1alpha1PluginApi;
|
|
3869
5085
|
exports.PluginHaloRunV1alpha1PluginApiAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator;
|
|
3870
5086
|
exports.PluginHaloRunV1alpha1PluginApiFactory = PluginHaloRunV1alpha1PluginApiFactory;
|
|
@@ -3875,6 +5091,22 @@ exports.PluginHaloRunV1alpha1ReverseProxyApiFactory = PluginHaloRunV1alpha1Rever
|
|
|
3875
5091
|
exports.PluginHaloRunV1alpha1ReverseProxyApiFp = PluginHaloRunV1alpha1ReverseProxyApiFp;
|
|
3876
5092
|
exports.PluginStatusPhaseEnum = PluginStatusPhaseEnum;
|
|
3877
5093
|
exports.PostSpecVisibleEnum = PostSpecVisibleEnum;
|
|
5094
|
+
exports.StorageHaloRunV1alpha1AttachmentApi = StorageHaloRunV1alpha1AttachmentApi;
|
|
5095
|
+
exports.StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator;
|
|
5096
|
+
exports.StorageHaloRunV1alpha1AttachmentApiFactory = StorageHaloRunV1alpha1AttachmentApiFactory;
|
|
5097
|
+
exports.StorageHaloRunV1alpha1AttachmentApiFp = StorageHaloRunV1alpha1AttachmentApiFp;
|
|
5098
|
+
exports.StorageHaloRunV1alpha1GroupApi = StorageHaloRunV1alpha1GroupApi;
|
|
5099
|
+
exports.StorageHaloRunV1alpha1GroupApiAxiosParamCreator = StorageHaloRunV1alpha1GroupApiAxiosParamCreator;
|
|
5100
|
+
exports.StorageHaloRunV1alpha1GroupApiFactory = StorageHaloRunV1alpha1GroupApiFactory;
|
|
5101
|
+
exports.StorageHaloRunV1alpha1GroupApiFp = StorageHaloRunV1alpha1GroupApiFp;
|
|
5102
|
+
exports.StorageHaloRunV1alpha1PolicyApi = StorageHaloRunV1alpha1PolicyApi;
|
|
5103
|
+
exports.StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = StorageHaloRunV1alpha1PolicyApiAxiosParamCreator;
|
|
5104
|
+
exports.StorageHaloRunV1alpha1PolicyApiFactory = StorageHaloRunV1alpha1PolicyApiFactory;
|
|
5105
|
+
exports.StorageHaloRunV1alpha1PolicyApiFp = StorageHaloRunV1alpha1PolicyApiFp;
|
|
5106
|
+
exports.StorageHaloRunV1alpha1PolicyTemplateApi = StorageHaloRunV1alpha1PolicyTemplateApi;
|
|
5107
|
+
exports.StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator;
|
|
5108
|
+
exports.StorageHaloRunV1alpha1PolicyTemplateApiFactory = StorageHaloRunV1alpha1PolicyTemplateApiFactory;
|
|
5109
|
+
exports.StorageHaloRunV1alpha1PolicyTemplateApiFp = StorageHaloRunV1alpha1PolicyTemplateApiFp;
|
|
3878
5110
|
exports.ThemeHaloRunV1alpha1ThemeApi = ThemeHaloRunV1alpha1ThemeApi;
|
|
3879
5111
|
exports.ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator;
|
|
3880
5112
|
exports.ThemeHaloRunV1alpha1ThemeApiFactory = ThemeHaloRunV1alpha1ThemeApiFactory;
|