cmd

package
v0.0.0-...-60784e1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: Apache-2.0 Imports: 78 Imported by: 0

Documentation

Overview

Commands for Cobra based command line tools.

Index

Constants

View Source
const LocalCASecretNamespace = "educates-secrets"

LocalCASecretNamespace is where laptop-mode CA Secrets live, matching the v3 convention. The deploy command pushes the local secrets cache into this namespace before applying the CRs.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminDiagnosticsAnalyzeOptions

type AdminDiagnosticsAnalyzeOptions struct {
	File string
	Dir  string
}

func (*AdminDiagnosticsAnalyzeOptions) Run

type AdminDiagnosticsCollectOptions

type AdminDiagnosticsCollectOptions struct {
	KubeconfigOptions
	Dest    string
	Verbose bool
}

func (*AdminDiagnosticsCollectOptions) Run

type ClusterConfigViewOptions

type ClusterConfigViewOptions struct {
	KubeconfigOptions
	Portal       string
	Hostname     string
	Repository   string
	Capacity     uint
	Password     string
	ThemeName    string
	CookieDomain string
	Labels       []string
}

func (*ClusterConfigViewOptions) Run

func (o *ClusterConfigViewOptions) Run(isPasswordSet bool) error

type ClusterPortalDeleteOptions

type ClusterPortalDeleteOptions struct {
	KubeconfigOptions
	Portal string
}

func (*ClusterPortalDeleteOptions) Run

type ClusterPortalExportOptions

type ClusterPortalExportOptions struct {
	KubeconfigOptions
	Portal          string
	AsFiles         string
	Repository      string
	WorkshopVersion string
}

func (*ClusterPortalExportOptions) Run

type ClusterPortalListOptions

type ClusterPortalListOptions struct {
	KubeconfigOptions
}

func (*ClusterPortalListOptions) Run

type ClusterPortalOpenOptions

type ClusterPortalOpenOptions struct {
	KubeconfigOptions
	Admin  bool
	Portal string
}

func (*ClusterPortalOpenOptions) Run

type ClusterPortalPasswordOptions

type ClusterPortalPasswordOptions struct {
	KubeconfigOptions
	Admin  bool
	Portal string
}

func (*ClusterPortalPasswordOptions) Run

type ClusterSessionExtendOptions

type ClusterSessionExtendOptions struct {
	KubeconfigOptions
	Portal string
	Name   string
}

func (*ClusterSessionExtendOptions) Run

type ClusterSessionListOptions

type ClusterSessionListOptions struct {
	KubeconfigOptions
	Portal      string
	Environment string
}

func (*ClusterSessionListOptions) Run

type ClusterSessionStatusOptions

type ClusterSessionStatusOptions struct {
	KubeconfigOptions
	Portal string
	Name   string
}

func (*ClusterSessionStatusOptions) Run

type ClusterSessionTerminateOptions

type ClusterSessionTerminateOptions struct {
	KubeconfigOptions
	Portal string
	Name   string
}

func (*ClusterSessionTerminateOptions) Run

type ClusterWorkshopDeleteOptions

type ClusterWorkshopDeleteOptions struct {
	KubeconfigOptions
	Name            string
	Alias           string
	Path            string
	Portal          string
	WorkshopFile    string
	WorkshopVersion string
	DataValuesFlags yttcmd.DataValuesFlags
}

func (*ClusterWorkshopDeleteOptions) Run

type ClusterWorkshopDeployOptions

type ClusterWorkshopDeployOptions struct {
	KubeconfigOptions
	Name            string
	Alias           string
	Path            string
	Portal          string
	Capacity        uint
	Reserved        uint
	Initial         uint
	Expires         string
	Overtime        string
	Deadline        string
	Orphaned        string
	Overdue         string
	Refresh         string
	Repository      string
	Environ         []string
	Labels          []string
	WorkshopFile    string
	WorkshopVersion string
	OpenBrowser     bool
	DataValuesFlags yttcmd.DataValuesFlags
}

func (*ClusterWorkshopDeployOptions) Run

type ClusterWorkshopRequestOptions

type ClusterWorkshopRequestOptions struct {
	KubeconfigOptions
	Name              string
	Path              string
	Portal            string
	Params            []string
	ParamFiles        []string
	ParamsFiles       []string
	IndexUrl          string
	UserIdentity      string
	EnvironmentName   string
	ActivationTimeout int
	NoBrowser         bool
	WorkshopFile      string
	WorkshopVersion   string
	DataValuesFlags   yttcmd.DataValuesFlags
}

func (*ClusterWorkshopRequestOptions) Run

type ClusterWorkshopServeOptions

type ClusterWorkshopServeOptions struct {
	KubeconfigOptions
	Name            string
	Path            string
	Portal          string
	ProxyProtocol   string
	ProxyHost       string
	ProxyPort       int
	LocalHost       string
	LocalPort       int
	HugoPort        int
	Token           string
	RefreshToken    bool
	Files           bool
	WorkshopFile    string
	WorkshopVersion string
	PatchWorkshop   bool
	DataValuesFlags yttcmd.DataValuesFlags
}

func (*ClusterWorkshopServeOptions) Run

type ClusterWorkshopUpdateOptions

type ClusterWorkshopUpdateOptions struct {
	KubeconfigOptions
	Name            string
	Path            string
	Portal          string
	WorkshopFile    string
	WorkshopVersion string
	DataValuesFlags yttcmd.DataValuesFlags
}

func (*ClusterWorkshopUpdateOptions) Run

type ClusterWorkshopsListOptions

type ClusterWorkshopsListOptions struct {
	KubeconfigOptions
	Portal string
}

func (*ClusterWorkshopsListOptions) Run

type DockerExtensionBackendOptions

type DockerExtensionBackendOptions struct {
	Socket string
}

func (*DockerExtensionBackendOptions) Run

type DockerWorkshopDeleteOptions

type DockerWorkshopDeleteOptions struct {
	Name            string
	Path            string
	WorkshopFile    string
	WorkshopVersion string
	DataValuesFlags yttcmd.DataValuesFlags
}

func (*DockerWorkshopDeleteOptions) Run

type DockerWorkshopDeployOptions

type DockerWorkshopDeployOptions struct {
	Path               string
	Host               string
	Port               uint
	LocalRepository    string
	DisableOpenBrowser bool
	ImageRepository    string
	ImageVersion       string
	Cluster            string
	KubeConfig         string
	Assets             string
	WorkshopFile       string
	WorkshopImage      string
	WorkshopVersion    string
	DataValuesFlags    yttcmd.DataValuesFlags
}

func (*DockerWorkshopDeployOptions) Run

type DockerWorkshopDetails

type DockerWorkshopDetails struct {
	Name   string `json:"name"`
	Url    string `json:"url,omitempty"`
	Source string `json:"source,omitempty"`
	Status string `json:"status"`
}

type DockerWorkshopLogsOptions

type DockerWorkshopLogsOptions struct {
	Name            string
	Path            string
	Follow          bool
	WorkshopFile    string
	WorkshopVersion string
	DataValuesFlags yttcmd.DataValuesFlags
}

func (*DockerWorkshopLogsOptions) Run

type DockerWorkshopOpenOptions

type DockerWorkshopOpenOptions struct {
	Name            string
	Path            string
	WorkshopFile    string
	WorkshopVersion string
	DataValuesFlags yttcmd.DataValuesFlags
}

func (*DockerWorkshopOpenOptions) Run

type DockerWorkshopsBackend

type DockerWorkshopsBackend struct {
	Manager         DockerWorkshopsManager
	ImageRepository string
	ImageVersion    string
}

func NewDockerWorkshopsBackend

func NewDockerWorkshopsBackend(version string, imageRepository string) DockerWorkshopsBackend

func (*DockerWorkshopsBackend) DeleteWorkshop

func (b *DockerWorkshopsBackend) DeleteWorkshop(w http.ResponseWriter, r *http.Request)

func (*DockerWorkshopsBackend) DeployWorkshop

func (b *DockerWorkshopsBackend) DeployWorkshop(w http.ResponseWriter, r *http.Request)

func (*DockerWorkshopsBackend) ListWorkhops

func (b *DockerWorkshopsBackend) ListWorkhops(w http.ResponseWriter, r *http.Request)

type DockerWorkshopsManager

type DockerWorkshopsManager struct {
	Statuses      map[string]DockerWorkshopDetails
	StatusesMutex sync.Mutex
}

func NewDockerWorkshopsManager

func NewDockerWorkshopsManager() DockerWorkshopsManager

func (*DockerWorkshopsManager) ClearWorkshopStatus

func (m *DockerWorkshopsManager) ClearWorkshopStatus(name string)

func (*DockerWorkshopsManager) DeleteWorkshop

func (m *DockerWorkshopsManager) DeleteWorkshop(name string, stdout io.Writer, stderr io.Writer) error

func (*DockerWorkshopsManager) DeployWorkshop

func (m *DockerWorkshopsManager) DeployWorkshop(o *DockerWorkshopDeployOptions, stdout io.Writer, stderr io.Writer) (string, error)

func (*DockerWorkshopsManager) ListWorkhops

func (m *DockerWorkshopsManager) ListWorkhops() ([]DockerWorkshopDetails, error)

func (*DockerWorkshopsManager) SetWorkshopStatus

func (m *DockerWorkshopsManager) SetWorkshopStatus(name string, url string, source string, status string)

func (*DockerWorkshopsManager) WorkshopStatus

func (m *DockerWorkshopsManager) WorkshopStatus(name string) (DockerWorkshopDetails, bool)

type FilesRenderOptions

type FilesRenderOptions struct {
	Repository      string
	WorkshopFile    string
	WorkshopVersion string
	DataValuesFlags yttcmd.DataValuesFlags
	OutputFile      string
}

func (*FilesRenderOptions) Render

func (o *FilesRenderOptions) Render(directory string, outputFile string) error

func (*FilesRenderOptions) Run

func (o *FilesRenderOptions) Run(args []string) error

type KubeconfigOptions

type KubeconfigOptions struct {
	Kubeconfig string
	Context    string
}

type LocalClusterCreateOptions

type LocalClusterCreateOptions struct {
	Config            string
	LocalConfig       bool
	Kubeconfig        string
	Context           string
	ClusterImage      string
	KubernetesVersion string
	ClusterOnly       bool
	RegistryBindIP    string
	Timeout           time.Duration
	Verbose           bool
}

type LocalClusterDeleteOptions

type LocalClusterDeleteOptions struct {
	Kubeconfig    string
	AllComponents bool
}

func (*LocalClusterDeleteOptions) Run

type LocalConfigExplainOptions

type LocalConfigExplainOptions struct {
	Kind string
}

type LocalConfigInitOptions

type LocalConfigInitOptions struct {
	Force    bool
	Defaults bool
}

type LocalConfigViewOptions

type LocalConfigViewOptions struct {
	Raw bool
}

type LocalMirrorDeleteOptions

type LocalMirrorDeleteOptions struct {
	MirrorName string
}

func (*LocalMirrorDeleteOptions) Run

type LocalMirrorDeployOptions

type LocalMirrorDeployOptions struct {
	MirrorName string
	MirrorURL  string
	Username   string
	Password   string
	Verbose    bool
}

func (*LocalMirrorDeployOptions) Run

type LocalRegistryDeleteOptions

type LocalRegistryDeleteOptions struct {
}

func (*LocalRegistryDeleteOptions) Run

type LocalRegistryDeployOptions

type LocalRegistryDeployOptions struct {
	KubeconfigOptions
	BindIP  string
	Verbose bool
}

func (*LocalRegistryDeployOptions) Run

type LocalRegistryPruneOptions

type LocalRegistryPruneOptions struct {
}

func (*LocalRegistryPruneOptions) Run

type LocalResolverDeployOptions

type LocalResolverDeployOptions struct {
	Config      string
	LocalConfig bool
	Domain      string
}

func (*LocalResolverDeployOptions) Run

type LocalResolverUpdateOptions

type LocalResolverUpdateOptions struct {
	Config      string
	LocalConfig bool
}

func (*LocalResolverUpdateOptions) Run

type LocalSecretsAddCaOptions

type LocalSecretsAddCaOptions struct {
	CertFile      string
	KeyFile       string
	IngressDomain string
}

func (*LocalSecretsAddCaOptions) Run

func (o *LocalSecretsAddCaOptions) Run(name string) error

type LocalSecretsAddDockerRegistryOptions

type LocalSecretsAddDockerRegistryOptions struct {
	Server   string
	Username string
	Password string
	Email    string
}

func (*LocalSecretsAddDockerRegistryOptions) Run

type LocalSecretsAddGenericOptions

type LocalSecretsAddGenericOptions struct {
	FileSources    []string
	LiteralSources []string
}

func (*LocalSecretsAddGenericOptions) Run

type LocalSecretsAddTlsOptions

type LocalSecretsAddTlsOptions struct {
	CertFile      string
	KeyFile       string
	IngressDomain string
}

func (*LocalSecretsAddTlsOptions) Run

func (o *LocalSecretsAddTlsOptions) Run(name string) error

type LocalSecretsImportOptions

type LocalSecretsImportOptions struct {
	File string
}

func (*LocalSecretsImportOptions) Run

type LocalSecretsSyncOptions

type LocalSecretsSyncOptions struct {
	KubeconfigOptions
}

func (*LocalSecretsSyncOptions) Run

func (o *LocalSecretsSyncOptions) Run() error

type LookupConfigOptions

type LookupConfigOptions struct {
	KubeconfigOptions
	OutputPath string
}

func (*LookupConfigOptions) Run

func (o *LookupConfigOptions) Run() error

type PlatformDeleteOptions

type PlatformDeleteOptions struct {
	Kubeconfig string
	Context    string
	Timeout    time.Duration
	Verbose    bool
	Yes        bool
	Purge      bool
}

type PlatformDeployOptions

type PlatformDeployOptions struct {
	Config      string
	LocalConfig bool
	Kubeconfig  string
	Context     string
	Timeout     time.Duration
	Verbose     bool
}

PlatformDeployOptions mirrors PlatformRenderOptions plus the kubectl connection flags consumed by the install path.

type PlatformRenderOptions

type PlatformRenderOptions struct {
	Config      string
	LocalConfig bool
}

type ProjectInfo

type ProjectInfo struct {
	Version         string
	ImageRepository string
	// GitCommit is the short commit the binary was built from, with a
	// "-dirty" suffix when the working tree had uncommitted changes. It
	// is informational only (shown by `educates version`) — unlike
	// Version, it never feeds image-tag resolution. Empty for a plain
	// `go build` with no ldflags.
	GitCommit string
	// BuildDate is the commit date (YYYY-MM-DD) of GitCommit. Empty when
	// GitCommit is.
	BuildDate string
}

Project information.

func NewProjectInfo

func NewProjectInfo(version string, imageRepository string, gitCommit string, buildDate string) ProjectInfo

Populate project information.

NOTE: This is expected to be provided with values corresponding to any defaults but where they could have been overridden at compile time as part of a release of the Educates CLI.

func (*ProjectInfo) NewAdminCmdGroup

func (p *ProjectInfo) NewAdminCmdGroup() *cobra.Command

func (*ProjectInfo) NewAdminDiagnosticsAnalyzeCmd

func (p *ProjectInfo) NewAdminDiagnosticsAnalyzeCmd() *cobra.Command

func (*ProjectInfo) NewAdminDiagnosticsCmdGroup

func (p *ProjectInfo) NewAdminDiagnosticsCmdGroup() *cobra.Command

func (*ProjectInfo) NewAdminDiagnosticsCollectCmd

func (p *ProjectInfo) NewAdminDiagnosticsCollectCmd() *cobra.Command

func (*ProjectInfo) NewAdminLookupCmdGroup

func (p *ProjectInfo) NewAdminLookupCmdGroup() *cobra.Command

func (*ProjectInfo) NewAdminLookupKubeconfigCmd

func (p *ProjectInfo) NewAdminLookupKubeconfigCmd() *cobra.Command

func (*ProjectInfo) NewAdminPlatformCmdGroup

func (p *ProjectInfo) NewAdminPlatformCmdGroup() *cobra.Command

func (*ProjectInfo) NewAdminPlatformDeleteCmd

func (p *ProjectInfo) NewAdminPlatformDeleteCmd() *cobra.Command

func (*ProjectInfo) NewAdminPlatformDeployCmd

func (p *ProjectInfo) NewAdminPlatformDeployCmd() *cobra.Command

func (*ProjectInfo) NewAdminPlatformRenderCmd

func (p *ProjectInfo) NewAdminPlatformRenderCmd() *cobra.Command

func (*ProjectInfo) NewClusterCmdGroup

func (p *ProjectInfo) NewClusterCmdGroup() *cobra.Command

func (*ProjectInfo) NewClusterPortalCmdGroup

func (p *ProjectInfo) NewClusterPortalCmdGroup() *cobra.Command

func (*ProjectInfo) NewClusterPortalCreateCmd

func (p *ProjectInfo) NewClusterPortalCreateCmd() *cobra.Command

func (*ProjectInfo) NewClusterPortalDeleteCmd

func (p *ProjectInfo) NewClusterPortalDeleteCmd() *cobra.Command

func (*ProjectInfo) NewClusterPortalExportCmd

func (p *ProjectInfo) NewClusterPortalExportCmd() *cobra.Command

func (*ProjectInfo) NewClusterPortalListCmd

func (p *ProjectInfo) NewClusterPortalListCmd() *cobra.Command

func (*ProjectInfo) NewClusterPortalOpenCmd

func (p *ProjectInfo) NewClusterPortalOpenCmd() *cobra.Command

func (*ProjectInfo) NewClusterPortalPasswordCmd

func (p *ProjectInfo) NewClusterPortalPasswordCmd() *cobra.Command

func (*ProjectInfo) NewClusterSessionCmdGroup

func (p *ProjectInfo) NewClusterSessionCmdGroup() *cobra.Command

func (*ProjectInfo) NewClusterSessionExtendCmd

func (p *ProjectInfo) NewClusterSessionExtendCmd() *cobra.Command

func (*ProjectInfo) NewClusterSessionListCmd

func (p *ProjectInfo) NewClusterSessionListCmd() *cobra.Command

func (*ProjectInfo) NewClusterSessionStatusCmd

func (p *ProjectInfo) NewClusterSessionStatusCmd() *cobra.Command

func (*ProjectInfo) NewClusterSessionTerminateCmd

func (p *ProjectInfo) NewClusterSessionTerminateCmd() *cobra.Command

func (*ProjectInfo) NewClusterWorkshopCmdGroup

func (p *ProjectInfo) NewClusterWorkshopCmdGroup() *cobra.Command

func (*ProjectInfo) NewClusterWorkshopDeleteCmd

func (p *ProjectInfo) NewClusterWorkshopDeleteCmd() *cobra.Command

func (*ProjectInfo) NewClusterWorkshopDeployCmd

func (p *ProjectInfo) NewClusterWorkshopDeployCmd() *cobra.Command

func (*ProjectInfo) NewClusterWorkshopListCmd

func (p *ProjectInfo) NewClusterWorkshopListCmd() *cobra.Command

func (*ProjectInfo) NewClusterWorkshopRequestCmd

func (p *ProjectInfo) NewClusterWorkshopRequestCmd() *cobra.Command

func (*ProjectInfo) NewClusterWorkshopServeCmd

func (p *ProjectInfo) NewClusterWorkshopServeCmd() *cobra.Command

func (*ProjectInfo) NewClusterWorkshopUpdateCmd

func (p *ProjectInfo) NewClusterWorkshopUpdateCmd() *cobra.Command

func (*ProjectInfo) NewDockerCmdGroup

func (p *ProjectInfo) NewDockerCmdGroup() *cobra.Command

func (*ProjectInfo) NewDockerExtensionBackendCmd

func (p *ProjectInfo) NewDockerExtensionBackendCmd() *cobra.Command

func (*ProjectInfo) NewDockerExtensionCmdGroup

func (p *ProjectInfo) NewDockerExtensionCmdGroup() *cobra.Command

func (*ProjectInfo) NewDockerWorkshopCmdGroup

func (p *ProjectInfo) NewDockerWorkshopCmdGroup() *cobra.Command

func (*ProjectInfo) NewDockerWorkshopDeleteCmd

func (p *ProjectInfo) NewDockerWorkshopDeleteCmd() *cobra.Command

func (*ProjectInfo) NewDockerWorkshopDeployCmd

func (p *ProjectInfo) NewDockerWorkshopDeployCmd() *cobra.Command

func (*ProjectInfo) NewDockerWorkshopListCmd

func (p *ProjectInfo) NewDockerWorkshopListCmd() *cobra.Command

func (*ProjectInfo) NewDockerWorkshopLogsCmd

func (p *ProjectInfo) NewDockerWorkshopLogsCmd() *cobra.Command

func (*ProjectInfo) NewDockerWorkshopOpenCmd

func (p *ProjectInfo) NewDockerWorkshopOpenCmd() *cobra.Command

func (*ProjectInfo) NewEducatesCmdGroup

func (p *ProjectInfo) NewEducatesCmdGroup() *cobra.Command

Create root Cobra command group for Educates CLI .

func (*ProjectInfo) NewLocalClusterCmdGroup

func (p *ProjectInfo) NewLocalClusterCmdGroup() *cobra.Command

func (*ProjectInfo) NewLocalClusterCreateCmd

func (p *ProjectInfo) NewLocalClusterCreateCmd() *cobra.Command

func (*ProjectInfo) NewLocalClusterDeleteCmd

func (p *ProjectInfo) NewLocalClusterDeleteCmd() *cobra.Command

func (*ProjectInfo) NewLocalClusterStartCmd

func (p *ProjectInfo) NewLocalClusterStartCmd() *cobra.Command

func (*ProjectInfo) NewLocalClusterStatusCmd

func (p *ProjectInfo) NewLocalClusterStatusCmd() *cobra.Command

func (*ProjectInfo) NewLocalClusterStopCmd

func (p *ProjectInfo) NewLocalClusterStopCmd() *cobra.Command

func (*ProjectInfo) NewLocalCmdGroup

func (p *ProjectInfo) NewLocalCmdGroup() *cobra.Command

func (*ProjectInfo) NewLocalConfigCmdGroup

func (p *ProjectInfo) NewLocalConfigCmdGroup() *cobra.Command

func (*ProjectInfo) NewLocalConfigEditCmd

func (p *ProjectInfo) NewLocalConfigEditCmd() *cobra.Command

func (*ProjectInfo) NewLocalConfigExplainCmd

func (p *ProjectInfo) NewLocalConfigExplainCmd() *cobra.Command

func (*ProjectInfo) NewLocalConfigGetCmd

func (p *ProjectInfo) NewLocalConfigGetCmd() *cobra.Command

func (*ProjectInfo) NewLocalConfigInitCmd

func (p *ProjectInfo) NewLocalConfigInitCmd() *cobra.Command

func (*ProjectInfo) NewLocalConfigSetCmd

func (p *ProjectInfo) NewLocalConfigSetCmd() *cobra.Command

func (*ProjectInfo) NewLocalConfigViewCmd

func (p *ProjectInfo) NewLocalConfigViewCmd() *cobra.Command

func (*ProjectInfo) NewLocalMirrorCmdGroup

func (p *ProjectInfo) NewLocalMirrorCmdGroup() *cobra.Command

func (*ProjectInfo) NewLocalMirrorDeleteCmd

func (p *ProjectInfo) NewLocalMirrorDeleteCmd() *cobra.Command

func (*ProjectInfo) NewLocalMirrorDeployCmd

func (p *ProjectInfo) NewLocalMirrorDeployCmd() *cobra.Command

func (*ProjectInfo) NewLocalMirrorListCmd

func (p *ProjectInfo) NewLocalMirrorListCmd() *cobra.Command

func (*ProjectInfo) NewLocalRegistryCmdGroup

func (p *ProjectInfo) NewLocalRegistryCmdGroup() *cobra.Command

func (*ProjectInfo) NewLocalRegistryDeleteCmd

func (p *ProjectInfo) NewLocalRegistryDeleteCmd() *cobra.Command

func (*ProjectInfo) NewLocalRegistryDeployCmd

func (p *ProjectInfo) NewLocalRegistryDeployCmd() *cobra.Command

func (*ProjectInfo) NewLocalRegistryPruneCmd

func (p *ProjectInfo) NewLocalRegistryPruneCmd() *cobra.Command

func (*ProjectInfo) NewLocalResolverCmdGroup

func (p *ProjectInfo) NewLocalResolverCmdGroup() *cobra.Command

func (*ProjectInfo) NewLocalResolverDeleteCmd

func (p *ProjectInfo) NewLocalResolverDeleteCmd() *cobra.Command

func (*ProjectInfo) NewLocalResolverDeployCmd

func (p *ProjectInfo) NewLocalResolverDeployCmd() *cobra.Command

func (*ProjectInfo) NewLocalResolverUpdateCmd

func (p *ProjectInfo) NewLocalResolverUpdateCmd() *cobra.Command

func (*ProjectInfo) NewLocalSecretsAddCaCmd

func (p *ProjectInfo) NewLocalSecretsAddCaCmd() *cobra.Command

func (*ProjectInfo) NewLocalSecretsAddCmdGroup

func (p *ProjectInfo) NewLocalSecretsAddCmdGroup() *cobra.Command

func (*ProjectInfo) NewLocalSecretsAddDockerRegistryCmd

func (p *ProjectInfo) NewLocalSecretsAddDockerRegistryCmd() *cobra.Command

func (*ProjectInfo) NewLocalSecretsAddGenericCmd

func (p *ProjectInfo) NewLocalSecretsAddGenericCmd() *cobra.Command

func (*ProjectInfo) NewLocalSecretsAddTlsCmd

func (p *ProjectInfo) NewLocalSecretsAddTlsCmd() *cobra.Command

func (*ProjectInfo) NewLocalSecretsCmdGroup

func (p *ProjectInfo) NewLocalSecretsCmdGroup() *cobra.Command

func (*ProjectInfo) NewLocalSecretsExportCmd

func (p *ProjectInfo) NewLocalSecretsExportCmd() *cobra.Command

func (*ProjectInfo) NewLocalSecretsImportCmd

func (p *ProjectInfo) NewLocalSecretsImportCmd() *cobra.Command

func (*ProjectInfo) NewLocalSecretsListCmd

func (p *ProjectInfo) NewLocalSecretsListCmd() *cobra.Command

func (*ProjectInfo) NewLocalSecretsRemoveCmd

func (p *ProjectInfo) NewLocalSecretsRemoveCmd() *cobra.Command

func (*ProjectInfo) NewLocalSecretsSyncCmd

func (p *ProjectInfo) NewLocalSecretsSyncCmd() *cobra.Command

func (*ProjectInfo) NewProjectCmdGroup

func (p *ProjectInfo) NewProjectCmdGroup() *cobra.Command

Create Cobra command group for commands related to project.

func (*ProjectInfo) NewProjectDocsCmdGroup

func (p *ProjectInfo) NewProjectDocsCmdGroup() *cobra.Command

Create Cobra command group for commands related to documentation.

NOTE: Using a command group here in case later on we want to support having the docs bundled in the binary, but still want to open hosted documentation, or have ability to download a newer version of development version of docs to local host for offline viewing.

func (*ProjectInfo) NewProjectDocsOpenCmd

func (p *ProjectInfo) NewProjectDocsOpenCmd() *cobra.Command

Create Cobra command object for opening hosted docs in browser.

func (*ProjectInfo) NewProjectVersionCmd

func (p *ProjectInfo) NewProjectVersionCmd() *cobra.Command

Create Cobra command object for displaying Educates version.

func (*ProjectInfo) NewTemplateCmdGroup

func (p *ProjectInfo) NewTemplateCmdGroup() *cobra.Command

Create Cobra command group for commands related to workshops.

func (*ProjectInfo) NewTemplateListCmd

func (p *ProjectInfo) NewTemplateListCmd() *cobra.Command

func (*ProjectInfo) NewTunnelCmdGroup

func (p *ProjectInfo) NewTunnelCmdGroup() *cobra.Command

func (*ProjectInfo) NewTunnelConnectCmd

func (p *ProjectInfo) NewTunnelConnectCmd() *cobra.Command

func (*ProjectInfo) NewWorkshopCmdGroup

func (p *ProjectInfo) NewWorkshopCmdGroup() *cobra.Command

Create Cobra command group for commands related to workshops.

func (*ProjectInfo) NewWorkshopExportCmd

func (p *ProjectInfo) NewWorkshopExportCmd() *cobra.Command

func (*ProjectInfo) NewWorkshopNewCmd

func (p *ProjectInfo) NewWorkshopNewCmd() *cobra.Command

func (*ProjectInfo) NewWorkshopPublishCmd

func (p *ProjectInfo) NewWorkshopPublishCmd() *cobra.Command

func (*ProjectInfo) NewWorkshopRenderCmd

func (p *ProjectInfo) NewWorkshopRenderCmd() *cobra.Command

type ProjectVersionOptions

type ProjectVersionOptions struct {
	// contains filtered or unexported fields
}

type TunnelConnectOptions

type TunnelConnectOptions struct {
	Url string
}

func (*TunnelConnectOptions) Run

func (o *TunnelConnectOptions) Run(cmd *cobra.Command) error

Source Files

Jump to

Keyboard shortcuts

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