resources

package
v4.2.716+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAlamedaApplicationSpec

func NewAlamedaApplicationSpec(applicationSpec *types.AlamedaApplicationSpec) *resources.AlamedaApplicationSpec

func NewAlamedaControllerSpec

func NewAlamedaControllerSpec(controlSpec *types.AlamedaControllerSpec) *resources.AlamedaControllerSpec

func NewAlamedaNodeSpec

func NewAlamedaNodeSpec(nodeSpec *types.AlamedaNodeSpec) *resources.AlamedaNodeSpec

func NewAlamedaPodSpec

func NewAlamedaPodSpec(podSpec *types.AlamedaPodSpec) *resources.AlamedaPodSpec

func NewCapacity

func NewCapacity(capacity *types.Capacity) *resources.Capacity

func NewContainerStatus

func NewContainerStatus(containerStatus *types.ContainerStatus) *resources.ContainerStatus

func NewController

func NewController(controller *types.Controller) *resources.Controller

func NewObjectMeta

func NewObjectMeta(objectMeta *metadata.ObjectMeta) *resources.ObjectMeta

func NewPodStatus

func NewPodStatus(podStatus *types.PodStatus) *resources.PodStatus

func NewResourceRequirements

func NewResourceRequirements(requirements *types.ResourceRequirements) *resources.ResourceRequirements

Types

type ApplicationExtended

type ApplicationExtended struct {
	*types.Application
}

func (*ApplicationExtended) ProduceApplication

func (p *ApplicationExtended) ProduceApplication() *resources.Application

type ClusterExtended

type ClusterExtended struct {
	*types.Cluster
}

func (*ClusterExtended) ProduceCluster

func (p *ClusterExtended) ProduceCluster() *resources.Cluster

type ControllerExtended

type ControllerExtended struct {
	*types.Controller
}

func (*ControllerExtended) ProduceController

func (p *ControllerExtended) ProduceController() *resources.Controller

type NamespaceExtended

type NamespaceExtended struct {
	*types.Namespace
}

func (*NamespaceExtended) ProduceNamespace

func (p *NamespaceExtended) ProduceNamespace() *resources.Namespace

type NodeExtended

type NodeExtended struct {
	*types.Node
}

func (*NodeExtended) ProduceNode

func (p *NodeExtended) ProduceNode() *resources.Node

type PodExtended

type PodExtended struct {
	*types.Pod
}

func (*PodExtended) ProducePod

func (p *PodExtended) ProducePod() *resources.Pod

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL