Documentation ¶
Overview ¶
SPDX-License-Identifier: Apache-2.0
Copyright Contributors to the Submariner project.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
SPDX-License-Identifier: Apache-2.0
Copyright Contributors to the Submariner project.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
SPDX-License-Identifier: Apache-2.0
Copyright Contributors to the Submariner project.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func AddKubeConfigFlag(cmd *cobra.Command)
- func AddKubeContextFlag(cmd *cobra.Command)
- func AddKubeContextMultiFlag(cmd *cobra.Command, usage string)
- func AddToRootCommand(cmd *cobra.Command)
- func AllocateAndUpdateGlobalCIDRConfigMap(brokerAdminClientset *kubernetes.Clientset, brokerNamespace string, ...) error
- func CheckVersionMismatch(cmd *cobra.Command, args []string) error
- func CompareFiles(file1, file2 string) (bool, error)
- func Execute() error
- func ExecuteMultiCluster(run func(*Cluster) bool)
- type Cluster
Constants ¶
const (
OperatorNamespace = "submariner-operator"
)
const SubmMissingMessage = "Submariner is not installed"
const (
SubmarinerNamespace = "submariner-operator" // We currently expect everything in submariner-operator
)
Variables ¶
var (
GlobalCIDRConfigMap *v1.ConfigMap
)
Functions ¶
func AddKubeConfigFlag ¶ added in v0.10.1
func AddKubeContextFlag ¶ added in v0.10.1
AddKubeContextFlag adds a "kubeconfig" flag and a single "kubecontext" flag that can be used once and only once
func AddKubeContextMultiFlag ¶ added in v0.10.1
AddKubeContextMultiFlag adds a "kubeconfig" flag and a "kubecontext" flag that can be specified multiple times (or comma separated)
func AddToRootCommand ¶ added in v0.10.1
func AllocateAndUpdateGlobalCIDRConfigMap ¶ added in v0.5.0
func CheckVersionMismatch ¶ added in v0.10.1
func CompareFiles ¶ added in v0.10.1
func ExecuteMultiCluster ¶ added in v0.10.1
Types ¶
type Cluster ¶ added in v0.10.1
type Cluster struct { Config *rest.Config Name string KubeClient kubernetes.Interface DynClient dynamic.Interface SubmClient subClientsetv1.Interface Submariner *v1alpha1.Submariner }
func NewCluster ¶ added in v0.10.1
func (*Cluster) GetGateways ¶ added in v0.10.1
func (c *Cluster) GetGateways() ([]submarinerv1.Gateway, error)
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
aws
This package provides common functionality to run cloud prepare/cleanup on AWS
|
This package provides common functionality to run cloud prepare/cleanup on AWS |
gcp
This package provides common functionality to run cloud prepare/cleanup on GCP Clusters
|
This package provides common functionality to run cloud prepare/cleanup on GCP Clusters |
SPDX-License-Identifier: Apache-2.0 Copyright Contributors to the Submariner project.
|
SPDX-License-Identifier: Apache-2.0 Copyright Contributors to the Submariner project. |
SPDX-License-Identifier: Apache-2.0 Copyright Contributors to the Submariner project.
|
SPDX-License-Identifier: Apache-2.0 Copyright Contributors to the Submariner project. |
SPDX-License-Identifier: Apache-2.0 Copyright Contributors to the Submariner project.
|
SPDX-License-Identifier: Apache-2.0 Copyright Contributors to the Submariner project. |