Documentation
¶
Index ¶
- Constants
- Variables
- func CreateContainerInstance(ctx context.Context, machineType string, duration time.Duration, target string, ...) (*api.CreateContainersResponse, error)
- func InlineSsh(ctx context.Context, cluster *api.KubernetesCluster, sshAgent bool, ...) error
- func NewBareClusterCmd(hidden bool) *cobra.Command
- func NewBuildCmd() *cobra.Command
- func NewBuildkitCmd() *cobra.Command
- func NewClusterCmd(hidden bool) *cobra.Command
- func NewCreateCmd() *cobra.Command
- func NewDescribeCmd() *cobra.Command
- func NewDockerCmd() *cobra.Command
- func NewDockerCredHelperEraseCmd(hidden bool) *cobra.Command
- func NewDockerCredHelperGetCmd(hidden bool) *cobra.Command
- func NewDockerCredHelperListCmd(hidden bool) *cobra.Command
- func NewDockerCredHelperStoreCmd(hidden bool) *cobra.Command
- func NewExecScoped() *cobra.Command
- func NewExposeCmd() *cobra.Command
- func NewIngressCmd() *cobra.Command
- func NewKubeconfigCmd() *cobra.Command
- func NewKubectlCmd() *cobra.Command
- func NewListCmd() *cobra.Command
- func NewLogsCmd() *cobra.Command
- func NewMetadataCmd() *cobra.Command
- func NewProxyCmd() *cobra.Command
- func NewRunCmd() *cobra.Command
- func NewRunComposeCmd() *cobra.Command
- func NewSshCmd() *cobra.Command
- func NewTopCmd() *cobra.Command
- func NewVolumeCmd() *cobra.Command
- func PrintCreateClusterMsg(ctx context.Context)
- func PrintCreateContainersResult(ctx context.Context, output string, resp *api.CreateContainersResponse) error
- func SelectRunningCluster(ctx context.Context, args []string) (*api.KubernetesCluster, []string, error)
- type BuildClusterInstance
- type CreateContainerOpts
- type ProxyStatus
- type Stream
Constants ¶
View Source
const ( StartingProxyStatus = "Starting" RunningProxyStatus = "Running" FailingProxyStatus = "Failing" )
Variables ¶
View Source
var ErrEmptyClusterList = errors.New("no clusters")
Functions ¶
func CreateContainerInstance ¶ added in v0.0.291
func NewBareClusterCmd ¶ added in v0.0.204
Used by `nsc` (and as the basis to `ns cluster`)
func NewBuildCmd ¶ added in v0.0.178
func NewBuildkitCmd ¶ added in v0.0.204
func NewCreateCmd ¶ added in v0.0.203
func NewDescribeCmd ¶ added in v0.0.230
func NewDockerCmd ¶ added in v0.0.222
func NewDockerCredHelperEraseCmd ¶ added in v0.0.212
func NewDockerCredHelperGetCmd ¶ added in v0.0.212
func NewDockerCredHelperListCmd ¶ added in v0.0.212
func NewDockerCredHelperStoreCmd ¶ added in v0.0.212
func NewExecScoped ¶ added in v0.0.231
func NewExposeCmd ¶ added in v0.0.203
func NewIngressCmd ¶ added in v0.0.271
func NewKubeconfigCmd ¶ added in v0.0.209
func NewKubectlCmd ¶ added in v0.0.161
func NewListCmd ¶ added in v0.0.203
func NewLogsCmd ¶ added in v0.0.203
func NewMetadataCmd ¶ added in v0.0.203
func NewProxyCmd ¶ added in v0.0.185
func NewRunComposeCmd ¶ added in v0.0.203
func NewVolumeCmd ¶ added in v0.0.299
func PrintCreateClusterMsg ¶ added in v0.0.291
func PrintCreateContainersResult ¶ added in v0.0.291
func SelectRunningCluster ¶ added in v0.0.291
Types ¶
type BuildClusterInstance ¶ added in v0.0.215
type BuildClusterInstance struct {
// contains filtered or unexported fields
}
func NewBuildClusterInstance ¶ added in v0.0.215
func NewBuildClusterInstance(ctx context.Context, platformStr string) (*BuildClusterInstance, error)
func NewBuildClusterInstance0 ¶ added in v0.0.219
func NewBuildClusterInstance0(p api.BuildPlatform) *BuildClusterInstance
func (*BuildClusterInstance) Cleanup ¶ added in v0.0.215
func (bp *BuildClusterInstance) Cleanup() error
type CreateContainerOpts ¶ added in v0.0.291
type CreateContainerOpts struct { Name string Image string Args []string Env map[string]string Flags []string ExportedPorts []exportContainerPort Features []string Labels map[string]string InternalExtra string EnableDocker bool ForwardNscState bool ExposeNscBins bool Network string Experimental any InstanceExperimental any }
type ProxyStatus ¶ added in v0.0.303
type ProxyStatus string
Source Files
¶
- attachdocker.go
- build.go
- buildkit.go
- buildproxy.go
- buildx.go
- buildx_workers_def.go
- cmd.go
- create.go
- describe.go
- destroy.go
- docker.go
- execscoped.go
- expose.go
- extendduration.go
- grpcproxy.go
- history.go
- ingress.go
- kubectl.go
- logs.go
- metadata.go
- portforward.go
- proxy.go
- release.go
- run.go
- ssh.go
- unixsockproxy.go
- volume.go
Click to show internal directories.
Click to hide internal directories.