Documentation ¶
Index ¶
- func NewAlamedaApplicationSpec(applicationSpec *resources.AlamedaApplicationSpec) *types.AlamedaApplicationSpec
- func NewAlamedaControllerSpec(controllerSpec *resources.AlamedaControllerSpec) *types.AlamedaControllerSpec
- func NewAlamedaNodeSpec(nodeSpec *resources.AlamedaNodeSpec) *types.AlamedaNodeSpec
- func NewAlamedaPodSpec(podSpec *resources.AlamedaPodSpec) *types.AlamedaPodSpec
- func NewApplication(application *ApiResources.Application) *DaoClusterTypes.Application
- func NewCapacity(capacity *resources.Capacity) *types.Capacity
- func NewCluster(cluster *ApiResources.Cluster) *DaoClusterTypes.Cluster
- func NewContainer(pod *ApiResources.Pod, container *ApiResources.Container) *DaoClusterTypes.Container
- func NewContainerStatus(containerStatus *resources.ContainerStatus) *types.ContainerStatus
- func NewController(controller *ApiResources.Controller) *DaoClusterTypes.Controller
- func NewNamespace(namespace *ApiResources.Namespace) *DaoClusterTypes.Namespace
- func NewNode(node *ApiResources.Node) *DaoClusterTypes.Node
- func NewObjectMeta(objectMeta *resources.ObjectMeta) metadata.ObjectMeta
- func NewPod(pod *ApiResources.Pod) *DaoClusterTypes.Pod
- func NewPodStatus(podStatus *resources.PodStatus) *types.PodStatus
- func NewResourceRequirements(resourceReq *resources.ResourceRequirements) *types.ResourceRequirements
- type CreateApplicationsRequestExtended
- type CreateClustersRequestExtended
- type CreateControllersRequestExtended
- type CreateNamespacesRequestExtended
- type CreateNodesRequestExtended
- type CreatePodsRequestExtended
- type DeleteApplicationsRequestExtended
- type DeleteClustersRequestExtended
- type DeleteControllersRequestExtended
- type DeleteNamespacesRequestExtended
- type DeleteNodesRequestExtended
- type DeletePodsRequestExtended
- type ListApplicationsRequestExtended
- type ListClustersRequestExtended
- type ListControllersRequestExtended
- type ListNamespacesRequestExtended
- type ListNodesRequestExtended
- type ListPodsRequestExtended
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAlamedaApplicationSpec ¶
func NewAlamedaApplicationSpec(applicationSpec *resources.AlamedaApplicationSpec) *types.AlamedaApplicationSpec
func NewAlamedaControllerSpec ¶
func NewAlamedaControllerSpec(controllerSpec *resources.AlamedaControllerSpec) *types.AlamedaControllerSpec
func NewAlamedaNodeSpec ¶
func NewAlamedaNodeSpec(nodeSpec *resources.AlamedaNodeSpec) *types.AlamedaNodeSpec
func NewAlamedaPodSpec ¶
func NewAlamedaPodSpec(podSpec *resources.AlamedaPodSpec) *types.AlamedaPodSpec
func NewApplication ¶
func NewApplication(application *ApiResources.Application) *DaoClusterTypes.Application
func NewCluster ¶
func NewCluster(cluster *ApiResources.Cluster) *DaoClusterTypes.Cluster
func NewContainer ¶
func NewContainer(pod *ApiResources.Pod, container *ApiResources.Container) *DaoClusterTypes.Container
func NewContainerStatus ¶
func NewContainerStatus(containerStatus *resources.ContainerStatus) *types.ContainerStatus
func NewController ¶
func NewController(controller *ApiResources.Controller) *DaoClusterTypes.Controller
func NewNamespace ¶
func NewNamespace(namespace *ApiResources.Namespace) *DaoClusterTypes.Namespace
func NewNode ¶
func NewNode(node *ApiResources.Node) *DaoClusterTypes.Node
func NewObjectMeta ¶
func NewObjectMeta(objectMeta *resources.ObjectMeta) metadata.ObjectMeta
func NewPod ¶
func NewPod(pod *ApiResources.Pod) *DaoClusterTypes.Pod
func NewResourceRequirements ¶
func NewResourceRequirements(resourceReq *resources.ResourceRequirements) *types.ResourceRequirements
Types ¶
type CreateApplicationsRequestExtended ¶
type CreateApplicationsRequestExtended struct {
ApiResources.CreateApplicationsRequest
}
func (*CreateApplicationsRequestExtended) ProduceApplications ¶
func (p *CreateApplicationsRequestExtended) ProduceApplications() []*DaoClusterTypes.Application
func (*CreateApplicationsRequestExtended) Validate ¶
func (p *CreateApplicationsRequestExtended) Validate() error
type CreateClustersRequestExtended ¶
type CreateClustersRequestExtended struct {
ApiResources.CreateClustersRequest
}
func (*CreateClustersRequestExtended) ProduceClusters ¶
func (p *CreateClustersRequestExtended) ProduceClusters() []*DaoClusterTypes.Cluster
func (*CreateClustersRequestExtended) Validate ¶
func (p *CreateClustersRequestExtended) Validate() error
type CreateControllersRequestExtended ¶
type CreateControllersRequestExtended struct {
ApiResources.CreateControllersRequest
}
func (*CreateControllersRequestExtended) ProduceControllers ¶
func (p *CreateControllersRequestExtended) ProduceControllers() []*DaoClusterTypes.Controller
func (*CreateControllersRequestExtended) Validate ¶
func (p *CreateControllersRequestExtended) Validate() error
type CreateNamespacesRequestExtended ¶
type CreateNamespacesRequestExtended struct {
ApiResources.CreateNamespacesRequest
}
func (*CreateNamespacesRequestExtended) ProduceNamespaces ¶
func (p *CreateNamespacesRequestExtended) ProduceNamespaces() []*DaoClusterTypes.Namespace
func (*CreateNamespacesRequestExtended) Validate ¶
func (p *CreateNamespacesRequestExtended) Validate() error
type CreateNodesRequestExtended ¶
type CreateNodesRequestExtended struct {
ApiResources.CreateNodesRequest
}
func (*CreateNodesRequestExtended) ProduceNodes ¶
func (p *CreateNodesRequestExtended) ProduceNodes() []*DaoClusterTypes.Node
func (*CreateNodesRequestExtended) Validate ¶
func (p *CreateNodesRequestExtended) Validate() error
type CreatePodsRequestExtended ¶
type CreatePodsRequestExtended struct {
ApiResources.CreatePodsRequest
}
func (*CreatePodsRequestExtended) ProducePods ¶
func (p *CreatePodsRequestExtended) ProducePods() []*DaoClusterTypes.Pod
func (*CreatePodsRequestExtended) Validate ¶
func (p *CreatePodsRequestExtended) Validate() error
type DeleteApplicationsRequestExtended ¶
type DeleteApplicationsRequestExtended struct {
*ApiResources.DeleteApplicationsRequest
}
func (*DeleteApplicationsRequestExtended) ProduceRequest ¶
func (p *DeleteApplicationsRequestExtended) ProduceRequest() *DaoClusterTypes.DeleteApplicationsRequest
func (*DeleteApplicationsRequestExtended) Validate ¶
func (p *DeleteApplicationsRequestExtended) Validate() error
type DeleteClustersRequestExtended ¶
type DeleteClustersRequestExtended struct {
*ApiResources.DeleteClustersRequest
}
func (*DeleteClustersRequestExtended) ProduceRequest ¶
func (p *DeleteClustersRequestExtended) ProduceRequest() *DaoClusterTypes.DeleteClustersRequest
func (*DeleteClustersRequestExtended) Validate ¶
func (p *DeleteClustersRequestExtended) Validate() error
type DeleteControllersRequestExtended ¶
type DeleteControllersRequestExtended struct {
*ApiResources.DeleteControllersRequest
}
func (*DeleteControllersRequestExtended) ProduceRequest ¶
func (p *DeleteControllersRequestExtended) ProduceRequest() *DaoClusterTypes.DeleteControllersRequest
func (*DeleteControllersRequestExtended) Validate ¶
func (p *DeleteControllersRequestExtended) Validate() error
type DeleteNamespacesRequestExtended ¶
type DeleteNamespacesRequestExtended struct {
*ApiResources.DeleteNamespacesRequest
}
func (*DeleteNamespacesRequestExtended) ProduceRequest ¶
func (p *DeleteNamespacesRequestExtended) ProduceRequest() *DaoClusterTypes.DeleteNamespacesRequest
func (*DeleteNamespacesRequestExtended) Validate ¶
func (p *DeleteNamespacesRequestExtended) Validate() error
type DeleteNodesRequestExtended ¶
type DeleteNodesRequestExtended struct {
*ApiResources.DeleteNodesRequest
}
func (*DeleteNodesRequestExtended) ProduceRequest ¶
func (p *DeleteNodesRequestExtended) ProduceRequest() *DaoClusterTypes.DeleteNodesRequest
func (*DeleteNodesRequestExtended) Validate ¶
func (p *DeleteNodesRequestExtended) Validate() error
type DeletePodsRequestExtended ¶
type DeletePodsRequestExtended struct {
*ApiResources.DeletePodsRequest
}
func (*DeletePodsRequestExtended) ProduceRequest ¶
func (p *DeletePodsRequestExtended) ProduceRequest() *DaoClusterTypes.DeletePodsRequest
func (*DeletePodsRequestExtended) Validate ¶
func (p *DeletePodsRequestExtended) Validate() error
type ListApplicationsRequestExtended ¶
type ListApplicationsRequestExtended struct {
*ApiResources.ListApplicationsRequest
}
func (*ListApplicationsRequestExtended) ProduceRequest ¶
func (p *ListApplicationsRequestExtended) ProduceRequest() *DaoClusterTypes.ListApplicationsRequest
func (*ListApplicationsRequestExtended) Validate ¶
func (p *ListApplicationsRequestExtended) Validate() error
type ListClustersRequestExtended ¶
type ListClustersRequestExtended struct {
*ApiResources.ListClustersRequest
}
func (*ListClustersRequestExtended) ProduceRequest ¶
func (p *ListClustersRequestExtended) ProduceRequest() *DaoClusterTypes.ListClustersRequest
func (*ListClustersRequestExtended) Validate ¶
func (p *ListClustersRequestExtended) Validate() error
type ListControllersRequestExtended ¶
type ListControllersRequestExtended struct {
*ApiResources.ListControllersRequest
}
func (*ListControllersRequestExtended) ProduceRequest ¶
func (p *ListControllersRequestExtended) ProduceRequest() *DaoClusterTypes.ListControllersRequest
func (*ListControllersRequestExtended) Validate ¶
func (p *ListControllersRequestExtended) Validate() error
type ListNamespacesRequestExtended ¶
type ListNamespacesRequestExtended struct {
*ApiResources.ListNamespacesRequest
}
func (*ListNamespacesRequestExtended) ProduceRequest ¶
func (p *ListNamespacesRequestExtended) ProduceRequest() *DaoClusterTypes.ListNamespacesRequest
func (*ListNamespacesRequestExtended) Validate ¶
func (p *ListNamespacesRequestExtended) Validate() error
type ListNodesRequestExtended ¶
type ListNodesRequestExtended struct {
*ApiResources.ListNodesRequest
}
func (*ListNodesRequestExtended) ProduceRequest ¶
func (p *ListNodesRequestExtended) ProduceRequest() *DaoClusterTypes.ListNodesRequest
func (*ListNodesRequestExtended) Validate ¶
func (p *ListNodesRequestExtended) Validate() error
type ListPodsRequestExtended ¶
type ListPodsRequestExtended struct {
*ApiResources.ListPodsRequest
}
func (*ListPodsRequestExtended) ProduceRequest ¶
func (p *ListPodsRequestExtended) ProduceRequest() *DaoClusterTypes.ListPodsRequest
func (*ListPodsRequestExtended) Validate ¶
func (p *ListPodsRequestExtended) Validate() error
Click to show internal directories.
Click to hide internal directories.