cmd

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 60 Imported by: 0

Documentation

Overview

Copyright © 2021 Antoine Martin <antoine@openance.com>

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 © 2021 Antoine Martin <antoine@openance.com>

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.

cSpell: words filesys kyaml forbidigo

Copyright © 2021 Antoine Martin <antoine@openance.com>

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 © 2021 Antoine Martin <antoine@openance.com>

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 © 2021 Antoine Martin <antoine@openance.com>

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 © 2021 Antoine Martin <antoine@openance.com>

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 © 2021 Antoine Martin <antoine@openance.com>

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

This section is empty.

Variables

View Source
var (
	IkniteVersion = "v0.5.2"
	Commit        = "unknown"
	BuildDate     = "unknown"
	BuiltBy       = "unknown"
)

Functions

func AddInitOtherFlags

func AddInitOtherFlags(flagSet *flag.FlagSet, initOptions *initOptions)

HACK: This is a hack to allow the use of the unexported initOptions struct in the kubeadm codebase. This is needed because the kubeadm codebase uses the unexported initOptions struct in the AddInitOtherFlags function.

func AddResetFlags

func AddResetFlags(flagSet *flag.FlagSet, resetOptions *resetOptions)

func IsIkniteReady

func IsIkniteReady(_ context.Context) (bool, error)

func NewCmdClean

func NewCmdClean(
	ikniteConfig *v1alpha1.IkniteClusterSpec,
	cleanOptions *cleanOptions,
) *cobra.Command

func NewImagesCmd added in v0.6.0

func NewImagesCmd(ikniteConfig *v1alpha1.IkniteClusterSpec) *cobra.Command

func NewInfoCmd added in v0.6.0

func NewInfoCmd(ikniteConfig *v1alpha1.IkniteClusterSpec) *cobra.Command

func NewKubeletCmd

func NewKubeletCmd(ikniteConfig *v1alpha1.IkniteClusterSpec) *cobra.Command

func NewKustomizeCmd

func NewKustomizeCmd() *cobra.Command

func NewMdnsCmd

func NewMdnsCmd() *cobra.Command

func NewPrepareCommand

func NewPrepareCommand(ikniteConfig *v1alpha1.IkniteClusterSpec) *cobra.Command

func NewPrintKustomizeCmd added in v0.6.0

func NewPrintKustomizeCmd() *cobra.Command

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd creates a new root command.

func NewStartCmd

func NewStartCmd(ikniteConfig *v1alpha1.IkniteClusterSpec) *cobra.Command

func NewStatusCmd

func NewStatusCmd(ikniteConfig *v1alpha1.IkniteClusterSpec) *cobra.Command

func NewVersionsCmd added in v0.6.0

func NewVersionsCmd() *cobra.Command

func PhaseName

func PhaseName(
	p workflow.Phase,
	parentPhases *[]workflow.Phase,
) string

func SetUpLogs

func SetUpLogs(out io.Writer, level string, json bool) error

func WrapPhase

func WrapPhase(
	p workflow.Phase,
	state ikniteApi.ClusterState,
	parentPhases *[]workflow.Phase,
) workflow.Phase

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL