mapper

package
v0.0.0-...-e5742bd Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AggregateTerms

func AggregateTerms(terms []v1.NodeSelectorTerm) v1.NodeSelectorTerm

func NewWorkloadTypeMapper

func NewWorkloadTypeMapper() types.Mapper

func NodeSelectorTermToStrings

func NodeSelectorTermToStrings(term v1.NodeSelectorTerm) []string

func StringsToNodeSelectorTerm

func StringsToNodeSelectorTerm(exprs []string) []v1.NodeSelectorTerm

Types

type Creator

type Creator struct {
	// contains filtered or unexported fields
}

func (*Creator) FromInternal

func (c *Creator) FromInternal(data map[string]interface{})

func (*Creator) ModifySchema

func (c *Creator) ModifySchema(schema *types.Schema, schemas *types.Schemas) error

func (*Creator) ToInternal

func (c *Creator) ToInternal(data map[string]interface{})

type DeploymentStrategyMapper

type DeploymentStrategyMapper struct {
}

func (DeploymentStrategyMapper) FromInternal

func (d DeploymentStrategyMapper) FromInternal(data map[string]interface{})

func (DeploymentStrategyMapper) ModifySchema

func (d DeploymentStrategyMapper) ModifySchema(schema *types.Schema, schemas *types.Schemas) error

func (DeploymentStrategyMapper) ToInternal

func (d DeploymentStrategyMapper) ToInternal(data map[string]interface{})

type EnvironmentMapper

type EnvironmentMapper struct {
}

func (EnvironmentMapper) FromInternal

func (e EnvironmentMapper) FromInternal(data map[string]interface{})

func (EnvironmentMapper) ModifySchema

func (e EnvironmentMapper) ModifySchema(schema *types.Schema, schemas *types.Schemas) error

func (EnvironmentMapper) ToInternal

func (e EnvironmentMapper) ToInternal(data map[string]interface{})

type InitContainerMapper

type InitContainerMapper struct {
}

func (InitContainerMapper) FromInternal

func (e InitContainerMapper) FromInternal(data map[string]interface{})

func (InitContainerMapper) ModifySchema

func (e InitContainerMapper) ModifySchema(schema *types.Schema, schemas *types.Schemas) error

func (InitContainerMapper) ToInternal

func (e InitContainerMapper) ToInternal(data map[string]interface{})

type NamespaceIDMapper

type NamespaceIDMapper struct {
	Move *mapper.Move
}

func (*NamespaceIDMapper) FromInternal

func (n *NamespaceIDMapper) FromInternal(data map[string]interface{})

func (*NamespaceIDMapper) ModifySchema

func (n *NamespaceIDMapper) ModifySchema(schema *types.Schema, schemas *types.Schemas) error

func (*NamespaceIDMapper) ToInternal

func (n *NamespaceIDMapper) ToInternal(data map[string]interface{})

type NamespaceMapper

type NamespaceMapper struct {
}

func (NamespaceMapper) FromInternal

func (e NamespaceMapper) FromInternal(data map[string]interface{})

func (NamespaceMapper) ModifySchema

func (e NamespaceMapper) ModifySchema(schema *types.Schema, schemas *types.Schemas) error

func (NamespaceMapper) ToInternal

func (e NamespaceMapper) ToInternal(data map[string]interface{})

type NodeAddressMapper

type NodeAddressMapper struct {
}

func (NodeAddressMapper) FromInternal

func (n NodeAddressMapper) FromInternal(data map[string]interface{})

func (NodeAddressMapper) ModifySchema

func (n NodeAddressMapper) ModifySchema(schema *types.Schema, schemas *types.Schemas) error

func (NodeAddressMapper) ToInternal

func (n NodeAddressMapper) ToInternal(data map[string]interface{})

type OSInfo

type OSInfo struct {
}

func (OSInfo) FromInternal

func (o OSInfo) FromInternal(data map[string]interface{})

func (OSInfo) ModifySchema

func (o OSInfo) ModifySchema(schema *types.Schema, schemas *types.Schemas) error

func (OSInfo) ToInternal

func (o OSInfo) ToInternal(data map[string]interface{})

type PivotMapper

type PivotMapper struct {
	Plural bool
}

func (PivotMapper) FromInternal

func (r PivotMapper) FromInternal(data map[string]interface{})

func (PivotMapper) ModifySchema

func (r PivotMapper) ModifySchema(schema *types.Schema, schemas *types.Schemas) error

func (PivotMapper) ToInternal

func (r PivotMapper) ToInternal(data map[string]interface{})

type SchedulingMapper

type SchedulingMapper struct {
}

func (SchedulingMapper) FromInternal

func (s SchedulingMapper) FromInternal(data map[string]interface{})

func (SchedulingMapper) ModifySchema

func (s SchedulingMapper) ModifySchema(schema *types.Schema, schemas *types.Schemas) error

func (SchedulingMapper) ToInternal

func (s SchedulingMapper) ToInternal(data map[string]interface{})

type StatefulSetSpecMapper

type StatefulSetSpecMapper struct {
}

func (StatefulSetSpecMapper) FromInternal

func (s StatefulSetSpecMapper) FromInternal(data map[string]interface{})

func (StatefulSetSpecMapper) ModifySchema

func (s StatefulSetSpecMapper) ModifySchema(schema *types.Schema, schemas *types.Schemas) error

func (StatefulSetSpecMapper) ToInternal

func (s StatefulSetSpecMapper) ToInternal(data map[string]interface{})

type Status

type Status struct {
}

func (Status) FromInternal

func (s Status) FromInternal(data map[string]interface{})

func (Status) ModifySchema

func (s Status) ModifySchema(schema *types.Schema, schemas *types.Schemas) error

func (Status) ToInternal

func (s Status) ToInternal(data map[string]interface{})

Jump to

Keyboard shortcuts

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