Documentation ¶
Index ¶
- type ConfigMapInfo
- type DeploymentInfo
- type JobInfo
- type K8s
- func (k *K8s) DescribeConfigMap(ns string, configMapName string) (*v1Core.ConfigMap, error)
- func (k *K8s) DescribeDeployment(ns string, deploymentname string) (*v1Apps.Deployment, error)
- func (k *K8s) DescribeJob(ns string, jobname string) (*v1Batch.Job, error)
- func (k *K8s) DescribePod(ns string, podname string) (*v1Core.Pod, error)
- func (k *K8s) DescribeSecret(ns string, secretName string) (*v1Core.Secret, error)
- func (k *K8s) DescribeService(ns string, servicename string) (*v1Core.Service, error)
- func (k *K8s) GetNamespace(ns string) (*v1Core.Namespace, error)
- func (k *K8s) GetServerInfo() (*version.Info, error)
- func (k *K8s) ListConfigMap(namespace string) ([]ConfigMapInfo, error)
- func (k *K8s) ListDeployments(namespace string) ([]DeploymentInfo, error)
- func (k *K8s) ListJobs(namespace string) ([]JobInfo, error)
- func (k *K8s) ListNamespace() ([]NamespaceInfo, error)
- func (k *K8s) ListNode() ([]NodeInfo, error)
- func (k *K8s) ListPods(namespace string) ([]PodInfo, error)
- func (k *K8s) ListSecrets(namespace string) ([]SecretInfo, error)
- func (k *K8s) ListServices(namespace string) ([]ServiceInfo, error)
- func (k *K8s) ListStatefulsets(namespace string) ([]StatefulsetInfo, error)
- func (k *K8s) StreamPodLogs(ns string, podname string) *restclient.Request
- func (k *K8s) WatchNamespace() (watch.Interface, error)
- func (k *K8s) WatchNodes() (watch.Interface, error)
- func (k *K8s) WatchPods(namespace string) (watch.Interface, error)
- type NamespaceInfo
- type NodeInfo
- type PodInfo
- type SecretInfo
- type ServiceInfo
- type ServiceInfoPort
- type StatefulsetInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapInfo ¶
type DeploymentInfo ¶
type K8s ¶
type K8s struct {
// contains filtered or unexported fields
}
func (*K8s) DescribeConfigMap ¶ added in v0.1.1
func (*K8s) DescribeDeployment ¶ added in v0.1.1
func (*K8s) DescribeJob ¶ added in v0.1.1
func (*K8s) DescribePod ¶ added in v0.1.1
func (*K8s) DescribeSecret ¶ added in v0.1.1
func (*K8s) DescribeService ¶ added in v0.1.1
func (*K8s) GetNamespace ¶ added in v0.1.1
func (*K8s) ListConfigMap ¶
func (k *K8s) ListConfigMap(namespace string) ([]ConfigMapInfo, error)
func (*K8s) ListDeployments ¶
func (k *K8s) ListDeployments(namespace string) ([]DeploymentInfo, error)
func (*K8s) ListNamespace ¶
func (k *K8s) ListNamespace() ([]NamespaceInfo, error)
func (*K8s) ListSecrets ¶
func (k *K8s) ListSecrets(namespace string) ([]SecretInfo, error)
func (*K8s) ListServices ¶ added in v0.1.1
func (k *K8s) ListServices(namespace string) ([]ServiceInfo, error)
func (*K8s) ListStatefulsets ¶
func (k *K8s) ListStatefulsets(namespace string) ([]StatefulsetInfo, error)
func (*K8s) StreamPodLogs ¶ added in v0.1.1
func (k *K8s) StreamPodLogs(ns string, podname string) *restclient.Request
func (*K8s) WatchNamespace ¶ added in v0.1.1
TODO: Verify timeout and handle it
type SecretInfo ¶
type ServiceInfo ¶ added in v0.1.1
type ServiceInfoPort ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.