mapper

package
v0.0.0-...-b050266 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2018 License: Apache-2.0 Imports: 12 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 NodeSelectorTermToStrings

func NodeSelectorTermToStrings(term v1.NodeSelectorTerm) []string

func StringsToNodeSelectorTerm

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

Types

type ContainerPorts

type ContainerPorts struct {
}

func (ContainerPorts) FromInternal

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

func (ContainerPorts) ModifySchema

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

func (ContainerPorts) ToInternal

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

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 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 NamespaceReference

type NamespaceReference struct {
	VersionPath string
	// contains filtered or unexported fields
}

func (*NamespaceReference) FromInternal

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

func (*NamespaceReference) ModifySchema

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

func (*NamespaceReference) ToInternal

func (n *NamespaceReference) 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{})

type WorkloadAnnotations

type WorkloadAnnotations struct {
}

func (WorkloadAnnotations) FromInternal

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

func (WorkloadAnnotations) ModifySchema

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

func (WorkloadAnnotations) ToInternal

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

Jump to

Keyboard shortcuts

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