mapper

package
v0.0.0-...-3e7be7a Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 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{}) error

type ContainerProbeHandler

type ContainerProbeHandler struct {
}

func (ContainerProbeHandler) FromInternal

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

func (ContainerProbeHandler) ModifySchema

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

func (ContainerProbeHandler) ToInternal

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

type ContainerStatus

type ContainerStatus struct {
}

func (ContainerStatus) FromInternal

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

func (ContainerStatus) ModifySchema

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

func (ContainerStatus) ToInternal

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

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{}) error

type CredentialMapper

type CredentialMapper struct {
}

func (CredentialMapper) FromInternal

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

func (CredentialMapper) ModifySchema

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

func (CredentialMapper) ToInternal

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

type DropFromSchema

type DropFromSchema struct {
	mapper.Drop
}

DropFromSchema This mapper differs from the existing drop mapper in that it does not remove the field if it is present, only removing the field from the schema. This is so that fields that must be present for formatters and stores will be available, but not shown on the schema

func NewDropFromSchema

func NewDropFromSchema(name string) *DropFromSchema

func (DropFromSchema) FromInternal

func (d DropFromSchema) FromInternal(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{}) error

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{}) error

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{}) error

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{}) error

type NodeAddressAnnotationMapper

type NodeAddressAnnotationMapper struct {
}

func (NodeAddressAnnotationMapper) FromInternal

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

func (NodeAddressAnnotationMapper) ModifySchema

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

func (NodeAddressAnnotationMapper) ToInternal

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

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{}) error

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{}) error

type PersistVolumeClaim

type PersistVolumeClaim struct {
}

func (PersistVolumeClaim) FromInternal

func (p PersistVolumeClaim) FromInternal(data map[string]interface{})

func (PersistVolumeClaim) ModifySchema

func (p PersistVolumeClaim) ModifySchema(schema *types.Schema, schemas *types.Schemas) error

func (PersistVolumeClaim) ToInternal

func (p PersistVolumeClaim) ToInternal(data map[string]interface{}) error

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{}) error

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{}) error

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{}) error

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{}) error

Jump to

Keyboard shortcuts

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