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