Documentation
¶
Index ¶
- Constants
- type ConfigMap
- type DaemonSetList
- type Endpoints
- func (ep *Endpoints) ConfigMapRouters() []httpserver.Endpoint
- func (ep *Endpoints) CreateConfigMap(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) CreateDaemonSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) CreateNamespace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) CreatePod(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) CreateSecret(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (ep *Endpoints) CreateService(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) CreateStatefulSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) DaemonSetRouters() []httpserver.Endpoint
- func (ep *Endpoints) DeleteConfigMap(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) DeleteDaemonSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) DeleteNamespace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) DeletePod(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) DeleteSecret(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (ep *Endpoints) DeleteService(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) DeleteStatefulSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) DrainNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) GetClient(clusterName string) (client kubernetes.Interface, err error)
- func (ep *Endpoints) GetConfigMap(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (ep *Endpoints) GetDaemonSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) GetFilterSlice(r *http.Request, list interface{}) ([]interface{}, error)
- func (ep *Endpoints) GetLimitSlice(r *http.Request, list interface{}) ([]interface{}, error)
- func (ep *Endpoints) GetNamespace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) GetPod(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (ep *Endpoints) GetSecret(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (ep *Endpoints) GetService(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (ep *Endpoints) GetStatefulSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) ListConfigMap(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (ep *Endpoints) ListDaemonSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) ListNamespace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) ListPod(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (ep *Endpoints) ListSecret(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (ep *Endpoints) ListService(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (ep *Endpoints) ListStatefulSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) NamespaceRouters() []httpserver.Endpoint
- func (ep *Endpoints) NodeRouters() []httpserver.Endpoint
- func (ep *Endpoints) PodRouters() []httpserver.Endpoint
- func (ep *Endpoints) Routers() (slice []httpserver.Endpoint)
- func (ep *Endpoints) SecretRouters() []httpserver.Endpoint
- func (ep *Endpoints) ServiceRouters() []httpserver.Endpoint
- func (ep *Endpoints) StatefulSetRouters() []httpserver.Endpoint
- func (ep *Endpoints) UpdateConfigMap(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) UpdateDaemonSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) UpdateNamespace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) UpdateNodeTaints(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) UpdatePod(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) UpdateSecret(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (ep *Endpoints) UpdateService(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (ep *Endpoints) UpdateStatefulSet(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- type ListMetadata
- type ListSpec
- type NamespaceList
- type Node
- type NodeMeta
- type NodeSpec
- type Option
- type PageInfo
- type Pod
- type SecretList
- type Service
- type StatefulSetList
- type UpdateNodeTagsRequest
Constants ¶
View Source
const (
NamespaceAll = "-"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMap ¶
type ConfigMap struct {
ListMetadata
ListSpec
}
type DaemonSetList ¶
type DaemonSetList struct {
ListMetadata
ListSpec
}
type Endpoints ¶
type Endpoints struct {
Bundle *bundle.Bundle
ClientSet map[string]kubernetes.Interface
}
func (*Endpoints) ConfigMapRouters ¶
func (ep *Endpoints) ConfigMapRouters() []httpserver.Endpoint
func (*Endpoints) CreateConfigMap ¶
func (*Endpoints) CreateDaemonSet ¶
func (*Endpoints) CreateNamespace ¶
func (*Endpoints) CreateSecret ¶
func (*Endpoints) CreateService ¶
func (*Endpoints) CreateStatefulSet ¶
func (*Endpoints) DaemonSetRouters ¶
func (ep *Endpoints) DaemonSetRouters() []httpserver.Endpoint
func (*Endpoints) DeleteConfigMap ¶
func (*Endpoints) DeleteDaemonSet ¶
func (*Endpoints) DeleteNamespace ¶
func (*Endpoints) DeleteSecret ¶
func (*Endpoints) DeleteService ¶
func (*Endpoints) DeleteStatefulSet ¶
func (*Endpoints) GetClient ¶
func (ep *Endpoints) GetClient(clusterName string) (client kubernetes.Interface, err error)
func (*Endpoints) GetConfigMap ¶
func (*Endpoints) GetDaemonSet ¶
func (*Endpoints) GetFilterSlice ¶
func (*Endpoints) GetLimitSlice ¶
func (*Endpoints) GetNamespace ¶
func (*Endpoints) GetService ¶
func (*Endpoints) GetStatefulSet ¶
func (*Endpoints) ListConfigMap ¶
func (*Endpoints) ListDaemonSet ¶
func (*Endpoints) ListNamespace ¶
func (*Endpoints) ListSecret ¶
func (*Endpoints) ListService ¶
func (*Endpoints) ListStatefulSet ¶
func (*Endpoints) NamespaceRouters ¶
func (ep *Endpoints) NamespaceRouters() []httpserver.Endpoint
func (*Endpoints) NodeRouters ¶
func (ep *Endpoints) NodeRouters() []httpserver.Endpoint
func (*Endpoints) PodRouters ¶
func (ep *Endpoints) PodRouters() []httpserver.Endpoint
func (*Endpoints) Routers ¶
func (ep *Endpoints) Routers() (slice []httpserver.Endpoint)
func (*Endpoints) SecretRouters ¶
func (ep *Endpoints) SecretRouters() []httpserver.Endpoint
func (*Endpoints) ServiceRouters ¶
func (ep *Endpoints) ServiceRouters() []httpserver.Endpoint
func (*Endpoints) StatefulSetRouters ¶
func (ep *Endpoints) StatefulSetRouters() []httpserver.Endpoint
func (*Endpoints) UpdateConfigMap ¶
func (*Endpoints) UpdateDaemonSet ¶
func (*Endpoints) UpdateNamespace ¶
func (*Endpoints) UpdateNodeTaints ¶
func (*Endpoints) UpdateSecret ¶
func (*Endpoints) UpdateService ¶
type ListMetadata ¶
type ListMetadata struct {
Total int `json:"total"`
}
type NamespaceList ¶
type NamespaceList struct {
ListMetadata
ListSpec
}
type Pod ¶
type Pod struct {
ListMetadata
ListSpec
}
type SecretList ¶
type SecretList struct {
ListMetadata
ListSpec
}
type Service ¶
type Service struct {
ListMetadata
ListSpec
}
type StatefulSetList ¶
type StatefulSetList struct {
ListMetadata
ListSpec
}
type UpdateNodeTagsRequest ¶
Click to show internal directories.
Click to hide internal directories.