Documentation
¶
Overview ¶
Copyright The Pharmer Authors.
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.
Copyright The Pharmer Authors.
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.
Copyright The Pharmer Authors.
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.
Copyright The Pharmer Authors.
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.
Copyright The Pharmer Authors.
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.
Copyright The Pharmer Authors.
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.
Copyright The Pharmer Authors.
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.
Copyright The Pharmer Authors.
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.
Copyright The Pharmer Authors.
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.
Copyright The Pharmer Authors.
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.
Copyright The Pharmer Authors.
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.
Copyright The Pharmer Authors.
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.
Copyright The Pharmer Authors.
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 ¶
- type ApplyConfig
- type ClusterBackupConfig
- type ClusterCreateConfig
- type ClusterDeleteConfig
- type ClusterDescribeConfig
- type ClusterEditConfig
- type ClusterGetConfig
- type ClusterUseConfig
- type NodeGroupCreateConfig
- type NodeGroupEditConfig
- type NodeGroupGetConfig
- type NodeGroupNodeDeleteConfig
- type NodeSSHConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyConfig ¶
func NewApplyConfig ¶
func NewApplyConfig() *ApplyConfig
func (*ApplyConfig) AddFlags ¶
func (c *ApplyConfig) AddFlags(fs *pflag.FlagSet)
func (*ApplyConfig) ValidateFlags ¶
func (c *ApplyConfig) ValidateFlags(cmd *cobra.Command, args []string) error
type ClusterBackupConfig ¶
func NewClusterBackupConfig ¶
func NewClusterBackupConfig() *ClusterBackupConfig
func (*ClusterBackupConfig) AddFlags ¶
func (c *ClusterBackupConfig) AddFlags(fs *pflag.FlagSet)
func (*ClusterBackupConfig) ValidateFlags ¶
func (c *ClusterBackupConfig) ValidateFlags(cmd *cobra.Command, args []string) error
type ClusterCreateConfig ¶
type ClusterCreateConfig struct { Cluster *api.Cluster Nodes map[string]int Namespace string MasterCount int }
func NewClusterCreateConfig ¶
func NewClusterCreateConfig() *ClusterCreateConfig
func (*ClusterCreateConfig) AddFlags ¶
func (c *ClusterCreateConfig) AddFlags(fs *pflag.FlagSet)
func (*ClusterCreateConfig) ValidateFlags ¶
func (c *ClusterCreateConfig) ValidateFlags(cmd *cobra.Command, args []string) error
type ClusterDeleteConfig ¶
type ClusterDeleteConfig struct { Force bool ReleaseReservedIP bool KeepLBs bool DeleteDynamicVolumes bool Clusters []string }
func NewClusterDeleteConfig ¶
func NewClusterDeleteConfig() *ClusterDeleteConfig
func (*ClusterDeleteConfig) AddFlags ¶
func (c *ClusterDeleteConfig) AddFlags(fs *pflag.FlagSet)
func (*ClusterDeleteConfig) ValidateFlags ¶
func (c *ClusterDeleteConfig) ValidateFlags(cmd *cobra.Command, args []string) error
type ClusterDescribeConfig ¶
type ClusterDescribeConfig struct {
Clusters []string
}
func NewClusterDescribeConfig ¶
func NewClusterDescribeConfig() *ClusterDescribeConfig
func (*ClusterDescribeConfig) ValidateFlags ¶
func (c *ClusterDescribeConfig) ValidateFlags(cmd *cobra.Command, args []string) error
type ClusterEditConfig ¶
type ClusterEditConfig struct { ClusterName string File string KubernetesVersion string Locked bool Output string }
func NewClusterEditConfig ¶
func NewClusterEditConfig() *ClusterEditConfig
func (*ClusterEditConfig) AddFlags ¶
func (c *ClusterEditConfig) AddFlags(fs *pflag.FlagSet)
func (*ClusterEditConfig) CheckForUpdateFlags ¶
func (c *ClusterEditConfig) CheckForUpdateFlags() bool
func (*ClusterEditConfig) ValidateFlags ¶
func (c *ClusterEditConfig) ValidateFlags(cmd *cobra.Command, args []string) error
type ClusterGetConfig ¶
func NewClusterGetConfig ¶
func NewClusterGetConfig() *ClusterGetConfig
func (*ClusterGetConfig) AddFlags ¶
func (c *ClusterGetConfig) AddFlags(fs *pflag.FlagSet)
func (*ClusterGetConfig) ValidateFlags ¶
func (c *ClusterGetConfig) ValidateFlags(cmd *cobra.Command, args []string) error
type ClusterUseConfig ¶
func NewClusterUseConfig ¶
func NewClusterUseConfig() *ClusterUseConfig
func (*ClusterUseConfig) AddFlags ¶
func (c *ClusterUseConfig) AddFlags(fs *pflag.FlagSet)
func (*ClusterUseConfig) ValidateFlags ¶
func (c *ClusterUseConfig) ValidateFlags(cmd *cobra.Command, args []string) error
type NodeGroupCreateConfig ¶
func NewNodeGroupCreateConfig ¶
func NewNodeGroupCreateConfig() *NodeGroupCreateConfig
func (*NodeGroupCreateConfig) AddFlags ¶
func (c *NodeGroupCreateConfig) AddFlags(fs *pflag.FlagSet)
func (*NodeGroupCreateConfig) ValidateFlags ¶
func (c *NodeGroupCreateConfig) ValidateFlags(cmd *cobra.Command, args []string) error
type NodeGroupEditConfig ¶
type NodeGroupEditConfig struct { ClusterName string NgName string File string DoNotDelete bool Output string }
func NewNodeGroupEditConfig ¶
func NewNodeGroupEditConfig() *NodeGroupEditConfig
func (*NodeGroupEditConfig) AddFlags ¶
func (c *NodeGroupEditConfig) AddFlags(fs *pflag.FlagSet)
func (*NodeGroupEditConfig) ValidateFlags ¶
func (c *NodeGroupEditConfig) ValidateFlags(cmd *cobra.Command, args []string) error
type NodeGroupGetConfig ¶
func NewNodeGroupGetConfig ¶
func NewNodeGroupGetConfig() *NodeGroupGetConfig
func (*NodeGroupGetConfig) AddFlags ¶
func (c *NodeGroupGetConfig) AddFlags(fs *pflag.FlagSet)
func (*NodeGroupGetConfig) ValidateFlags ¶
func (c *NodeGroupGetConfig) ValidateFlags(cmd *cobra.Command, args []string) error
type NodeGroupNodeDeleteConfig ¶
type NodeGroupNodeDeleteConfig struct {
ClusterName string
}
func NewNodeGroupDeleteConfig ¶
func NewNodeGroupDeleteConfig() *NodeGroupNodeDeleteConfig
func (*NodeGroupNodeDeleteConfig) AddFlags ¶
func (c *NodeGroupNodeDeleteConfig) AddFlags(fs *pflag.FlagSet)
func (*NodeGroupNodeDeleteConfig) ValidateFlags ¶
func (c *NodeGroupNodeDeleteConfig) ValidateFlags(cmd *cobra.Command, args []string) error
type NodeSSHConfig ¶
func NewNodeSSHConfig ¶
func NewNodeSSHConfig() *NodeSSHConfig
func (*NodeSSHConfig) AddFlags ¶
func (c *NodeSSHConfig) AddFlags(fs *pflag.FlagSet)
func (*NodeSSHConfig) ValidateFlags ¶
func (c *NodeSSHConfig) ValidateFlags(cmd *cobra.Command, args []string) error