Documentation ¶
Index ¶
- func NewApplicationWithConfig(config InternalInflux.Config) DaoClusterTypes.ApplicationDAO
- func NewClusterWithConfig(config InternalInflux.Config) DaoClusterTypes.ClusterDAO
- func NewControllerWithConfig(config InternalInflux.Config) DaoClusterTypes.ControllerDAO
- func NewNamespaceWithConfig(config InternalInflux.Config) DaoClusterTypes.NamespaceDAO
- func NewNodeWithConfig(config InternalInflux.Config) DaoClusterTypes.NodeDAO
- func NewPodWithConfig(config InternalInflux.Config) DaoClusterTypes.PodDAO
- type Application
- type Cluster
- type Controller
- type Namespace
- type Node
- type Pod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplicationWithConfig ¶
func NewApplicationWithConfig(config InternalInflux.Config) DaoClusterTypes.ApplicationDAO
func NewClusterWithConfig ¶
func NewClusterWithConfig(config InternalInflux.Config) DaoClusterTypes.ClusterDAO
func NewControllerWithConfig ¶
func NewControllerWithConfig(config InternalInflux.Config) DaoClusterTypes.ControllerDAO
func NewNamespaceWithConfig ¶
func NewNamespaceWithConfig(config InternalInflux.Config) DaoClusterTypes.NamespaceDAO
func NewNodeWithConfig ¶
func NewNodeWithConfig(config InternalInflux.Config) DaoClusterTypes.NodeDAO
func NewPodWithConfig ¶
func NewPodWithConfig(config InternalInflux.Config) DaoClusterTypes.PodDAO
Types ¶
type Application ¶
type Application struct {
InfluxDBConfig InternalInflux.Config
}
func (*Application) CreateApplications ¶
func (p *Application) CreateApplications(applications []*DaoClusterTypes.Application) error
func (*Application) ListApplications ¶
func (p *Application) ListApplications(request DaoClusterTypes.ListApplicationsRequest) ([]*DaoClusterTypes.Application, error)
type Cluster ¶
type Cluster struct {
InfluxDBConfig InternalInflux.Config
}
func (*Cluster) CreateClusters ¶
func (p *Cluster) CreateClusters(clusters []*DaoClusterTypes.Cluster) error
func (*Cluster) ListClusters ¶
func (p *Cluster) ListClusters(request DaoClusterTypes.ListClustersRequest) ([]*DaoClusterTypes.Cluster, error)
type Controller ¶
type Controller struct {
InfluxDBConfig InternalInflux.Config
}
func (*Controller) CreateControllers ¶
func (c *Controller) CreateControllers(controllers []*DaoClusterTypes.Controller) error
func (*Controller) DeleteControllers ¶
func (c *Controller) DeleteControllers(in *ApiResources.DeleteControllersRequest) error
func (*Controller) ListControllers ¶
func (c *Controller) ListControllers(request DaoClusterTypes.ListControllersRequest) ([]*DaoClusterTypes.Controller, error)
type Namespace ¶
type Namespace struct {
InfluxDBConfig InternalInflux.Config
}
func (*Namespace) CreateNamespaces ¶
func (p *Namespace) CreateNamespaces(namespaces []*DaoClusterTypes.Namespace) error
func (*Namespace) ListNamespaces ¶
func (p *Namespace) ListNamespaces(request DaoClusterTypes.ListNamespacesRequest) ([]*DaoClusterTypes.Namespace, error)
type Node ¶
type Node struct {
InfluxDBConfig InternalInflux.Config
}
Implement Node interface
func (*Node) CreateNodes ¶
func (n *Node) CreateNodes(nodes []*DaoClusterTypes.Node) error
func (*Node) DeleteNodes ¶
func (n *Node) DeleteNodes(nodes []*ApiResources.Node) error
func (*Node) ListNodes ¶
func (n *Node) ListNodes(request DaoClusterTypes.ListNodesRequest) ([]*DaoClusterTypes.Node, error)
type Pod ¶
type Pod struct {
InfluxDBConfig InternalInflux.Config
}
Implement ContainerOperation interface
func (*Pod) CreatePods ¶
func (p *Pod) CreatePods(pods []*DaoClusterTypes.Pod) error
func (*Pod) ListPods ¶
func (p *Pod) ListPods(request DaoClusterTypes.ListPodsRequest) ([]*DaoClusterTypes.Pod, error)
Click to show internal directories.
Click to hide internal directories.