Documentation ¶
Index ¶
- Variables
- func AllObject(Clusterns string)
- func Configmaps(Clusterns string, Output string, Wide bool)
- func CreateDeployment(Clusterns string, Deploymentname string, Podimage string, Containerport int32)
- func CreateNamespace(Namespacename string)
- func CreatePod(Clusterns string, Podname string, Podimage string, Ports string)
- func CreateService(Clusterns string, Podname string, Servicename string, Servicetype string, ...)
- func CurrentNs(Clusterns string) (string, error)
- func Daemonsets(Clusterns string, Output string, Wide bool)
- func Declarative(filename string, Delete bool)
- func DeleteAllObject(Clusterns string)
- func DeleteDeployment(Clusterns string, DeploymentName string)
- func DeleteNamespace(Namespacename string)
- func DeletePod(Clusterns string, PodName string)
- func DeleteService(Clusterns string, ServiceName string)
- func Deployments(Clusterns string, Output string, Wide bool)
- func Events(Clusterns string, Output string, Wide bool)
- func Main()
- func Namespaces() string
- func OutputType(otype string, list interface{}) string
- func OutsideClusterConfig()
- func OutsideClusterConfigFancy()
- func PodDetails(Clusterns string, ContainerDetails bool) string
- func PodLogs(Clusterns string, PodName string)
- func Pods(Clusterns string) error
- func Replicasets(Clusterns string, Output string, Wide bool)
- func Replicationcontrollers(Clusterns string, Output string, Wide bool)
- func Run(stderr io.Writer, namespace string)
- func Secrets(Clusterns string, Output string, Wide bool)
- func Services(Clusterns string, Output string, Wide bool)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Kconfig *kubernetes.Clientset
)
Functions ¶
func Configmaps ¶
func CreateDeployment ¶
func CreateService ¶
func CreateService(Clusterns string, Podname string, Servicename string, Servicetype string, Ports string, Nodeport int32)
This func will create any service
func Daemonsets ¶
func Declarative ¶
This function is used to apply declarative resource config in the cluster
func DeleteAllObject ¶
func DeleteAllObject(Clusterns string)
func DeleteDeployment ¶
This function Deletes the Deployments
func DeleteService ¶
This func will delete any service
func Deployments ¶
func Namespaces ¶
func Namespaces() string
func OutputType ¶
func OutsideClusterConfig ¶
func OutsideClusterConfig()
func OutsideClusterConfigFancy ¶
func OutsideClusterConfigFancy()
func PodDetails ¶
func Replicasets ¶
func Replicationcontrollers ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.