{"modulePath":"github.com/stackpointcloud/kubernetes","version":"v1.3.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\nCAUTION: If you update code in this file, you may need to also update code\n\n\tin contrib/mesos/cmd/km/hyperkube.go\n\nCAUTION: If you update code in this file, you may need to also update code\n\n\tin contrib/mesos/cmd/km/kube-apiserver.go\n\nCAUTION: If you update code in this file, you may need to also update code\n\n\tin contrib/mesos/cmd/km/k8sm-controllermanager.go\n\nCAUTION: If you update code in this file, you may need to also update code\n\n\tin contrib/mesos/cmd/km/kube-proxy.go\n\nCAUTION: If you update code in this file, you may need to also update code\n\n\tin contrib/mesos/cmd/km/k8sm-scheduler.go\n\nA binary that can morph into all of the other kubernetes binaries. You can also soft-link to it busybox style.\n\nCAUTION: If you update code in this file, you may need to also update code\n\n\tin contrib/mesos/cmd/km/km.go\n\nCAUTION: If you update code in this file, you may need to also update code\n\n\tin contrib/mesos/cmd/km/server.go\n\n## Types\n\n```go\ntype HyperKube struct {\n\tName string // The executable name, used for help and soft-link invocation\n\tLong string // A long description of the binary.  It will be world wrapped before output.\n\t// contains filtered or unexported fields\n}\n```\nHyperKube represents a single binary that can morph/manage into multiple servers.\n\n```go\nfunc (hk *HyperKube) AddServer(s *Server)\n```\nAddServer adds a server to the HyperKube object.\n\n```go\nfunc (hk *HyperKube) FindServer(name string) (*Server, error)\n```\nFindServer will find a specific server named name.\n\n```go\nfunc (hk *HyperKube) Flags() *pflag.FlagSet\n```\nFlags returns a flagset for \"global\" flags.\n\n```go\nfunc (hk *HyperKube) MakeSymlinks(command string) error\n```\nMakeSymlinks will create a symlink for each registered hyperkube server in the local directory.\n\n```go\nfunc (hk *HyperKube) Out() io.Writer\n```\nOut returns the io.Writer that is used for all usage/error information\n\n```go\nfunc (hk *HyperKube) Print(i ...interface{})\n```\nPrint is a convenience method to Print to the defined output\n\n```go\nfunc (hk *HyperKube) Printf(format string, i ...interface{})\n```\nPrintf is a convenience method to Printf to the defined output\n\n```go\nfunc (hk *HyperKube) Println(i ...interface{})\n```\nPrintln is a convenience method to Println to the defined output\n\n```go\nfunc (hk *HyperKube) Run(args []string) error\n```\nRun the server.  This will pick the appropriate server and run it.\n\n```go\nfunc (hk *HyperKube) RunToExit(args []string)\n```\nRunToExit will run the hyperkube and then call os.Exit with an appropriate exit code.\n\n```go\nfunc (hk *HyperKube) Servers() []Server\n```\nServers returns a list of all of the registred servers\n\n```go\nfunc (hk *HyperKube) SetOut(w io.Writer)\n```\nSetOut sets the output writer for all usage/error information\n\n```go\nfunc (hk *HyperKube) Usage()\n```\nUsage will write out a summary for all servers that this binary supports.\n\n```go\ntype Server struct {\n\tSimpleUsage string        // One line description of the server.\n\tLong        string        // Longer free form description of the server\n\tRun         serverRunFunc // Run the server.  This is not expected to return.\n\t// contains filtered or unexported fields\n}\n```\nServer describes a server that this binary can morph into.\n\n```go\nfunc NewFederationAPIServer() *Server\n```\nNewFederationAPIServer creates a new hyperkube Server object that includes the description and flags.\n\n```go\nfunc NewFederationCMServer() *Server\n```\nNewFederationCMServer creates a new hyperkube Server object that includes the description and flags.\n\n```go\nfunc NewKubeAPIServer() *Server\n```\nNewKubeAPIServer creates a new hyperkube Server object that includes the description and flags.\n\n```go\nfunc NewKubeControllerManager() *Server\n```\nNewKubeControllerManager creates a new hyperkube Server object that includes the description and flags.\n\n```go\nfunc NewKubeProxy() *Server\n```\nNewKubeProxy creates a new hyperkube Server object that includes the description and flags.\n\n```go\nfunc NewKubectlServer() *Server\n```\n\n```go\nfunc NewKubelet() *Server\n```\nNewKubelet creates a new hyperkube Server object that includes the description and flags.\n\n```go\nfunc NewScheduler() *Server\n```\nNewScheduler creates a new hyperkube Server object that includes the description and flags.\n\n```go\nfunc (s *Server) Flags() *pflag.FlagSet\n```\nFlags returns a flagset for this server\n\n```go\nfunc (s *Server) Name() string\n```\nName returns the name of the command as derived from the usage line.\n\n```go\nfunc (s *Server) Usage() error\n```\nUsage returns the full usage string including all of the flags.\n\n","path":"github.com/stackpointcloud/kubernetes/cmd/hyperkube","name":"main","synopsis":"CAUTION: If you update code in this file, you may need to also update code in contrib/mesos/cmd/km/hyperkube.go CAUTION: If you update code in this file, you may need to also update code in contrib/mesos/cmd/km/kube-apiserver.go CAUTION: If you update code in this file, you may need to also update code in contrib/mesos/cmd/km/k8sm-controllermanager.go CAUTION: If you update code in this file, you may need to also update code in contrib/mesos/cmd/km/kube-proxy.go CAUTION: If you update code in this file, you may need to also update code in contrib/mesos/cmd/km/k8sm-scheduler.go A binary that can morph into all of the other kubernetes binaries.","isRedistributable":true}
