Welcome to mirror list, hosted at ThFree Co, Russian Federation.

state.js « store « clusters_list « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0023b43ed9204434f80e80e3e79d11414a9ced0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export default (initialState = {}) => ({
  endpoint: initialState.endpoint,
  hasAncestorClusters: false,
  loading: true,
  clusters: [],
  clustersPerPage: 0,
  page: 1,
  providers: {
    aws: { path: initialState.imgTagsAwsPath, text: initialState.imgTagsAwsText },
    default: { path: initialState.imgTagsDefaultPath, text: initialState.imgTagsDefaultText },
    gcp: { path: initialState.imgTagsGcpPath, text: initialState.imgTagsGcpText },
  },
  totalCulsters: 0,
});