Documentation ¶
Index ¶
- func FormatBinaryVersion(out io.Writer, v *storage.NamespaceBinaryVersion)
- func FormatVersionInfo(out io.Writer, v *VersionInfo)
- func NewAttachCmd() *cobra.Command
- func NewBuildBinaryCmd() *cobra.Command
- func NewBuildCmd() *cobra.Command
- func NewCacheCmd() *cobra.Command
- func NewConfigCmd() *cobra.Command
- func NewDebugShellCmd() *cobra.Command
- func NewDeployCmd() *cobra.Command
- func NewDeployPlanCmd() *cobra.Command
- func NewDeploymentCmd() *cobra.Command
- func NewDevCmd() *cobra.Command
- func NewDoctorCmd() *cobra.Command
- func NewFmtCmd() *cobra.Command
- func NewGenerateCmd() *cobra.Command
- func NewImagesCmd() *cobra.Command
- func NewKeysCmd() *cobra.Command
- func NewLintCmd() *cobra.Command
- func NewLoginCmd() *cobra.Command
- func NewLogsCmd() *cobra.Command
- func NewLsCmd() *cobra.Command
- func NewRobotLogin(use string) *cobra.Command
- func NewTestCmd() *cobra.Command
- func NewUnprepareCmd() *cobra.Command
- func NewUpdateNSCmd() *cobra.Command
- func NewUseCmd() *cobra.Command
- func NewVersionCmd() *cobra.Command
- func RegisterCommands(root *cobra.Command)
- func RunCommand(ctx context.Context, args []string) error
- type Binary
- type DoctorResults
- type DoctorResults_BuildkitResults
- type DoctorResults_DockerInfo
- type DoctorResults_DockerRun
- type DoctorResults_KubeResults
- type Ingress
- type Output
- type VersionInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatBinaryVersion ¶ added in v0.0.73
func FormatBinaryVersion(out io.Writer, v *storage.NamespaceBinaryVersion)
func FormatVersionInfo ¶
func FormatVersionInfo(out io.Writer, v *VersionInfo)
func NewAttachCmd ¶
func NewBuildBinaryCmd ¶
func NewBuildCmd ¶
func NewCacheCmd ¶
func NewConfigCmd ¶ added in v0.0.92
func NewDebugShellCmd ¶
func NewDeployCmd ¶
func NewDeployPlanCmd ¶
func NewDeploymentCmd ¶
func NewDoctorCmd ¶
func NewGenerateCmd ¶
func NewImagesCmd ¶
func NewKeysCmd ¶
func NewLintCmd ¶
func NewLoginCmd ¶
func NewLogsCmd ¶
func NewRobotLogin ¶ added in v0.0.94
func NewTestCmd ¶
func NewUnprepareCmd ¶
func NewUpdateNSCmd ¶ added in v0.0.84
func NewVersionCmd ¶
func RegisterCommands ¶
Types ¶
type DoctorResults ¶ added in v0.0.80
type DoctorResults struct { NSVersion *VersionInfo `json:"ns"` NSBootVersion *storage.NamespaceBinaryVersion `json:"nsboot"` DockerInfo *DoctorResults_DockerInfo `json:"docker_info"` DockerRun *DoctorResults_DockerRun `json:"docker_run"` Buildkit *DoctorResults_BuildkitResults `json:"buildkit"` KubeResults *DoctorResults_KubeResults `json:"kubernetes"` }
type DoctorResults_BuildkitResults ¶ added in v0.0.80
type DoctorResults_DockerInfo ¶ added in v0.0.80
type DoctorResults_DockerInfo struct { dockertypes.Version dockertypes.Info }
type DoctorResults_DockerRun ¶ added in v0.0.80
type DoctorResults_KubeResults ¶ added in v0.0.80
type VersionInfo ¶
type VersionInfo struct { Binary *storage.NamespaceBinaryVersion `json:"binary"` GOOS string `json:"GOOS"` GOARCH string `json:"GOARCH"` APIVersion int `json:"api_version"` CacheVersion int `json:"cache_version"` ToolAPIVersion int `json:"tool_api_version"` }
func CollectVersionInfo ¶
func CollectVersionInfo() (*VersionInfo, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.