Documentation
¶
Index ¶
- func ParseStringMatch(str string) map[string]interface{}
- type AliasField
- type AliasValue
- type Bytes
- type ConfigContent
- type DefaultMissing
- type Destination
- type Duration
- type HealthMapper
- type HostPath
- type JSONKeys
- type MapToSlice
- type MaybeStringer
- type NewObject
- type ObjectsToSlice
- func NewCRDs(field string) ObjectsToSlice
- func NewConfigMapping(field string) ObjectsToSlice
- func NewDeviceMapping(field string) ObjectsToSlice
- func NewExposedPorts(field string) ObjectsToSlice
- func NewMatch(field string) ObjectsToSlice
- func NewMounts(field string) ObjectsToSlice
- func NewPermission(field string) ObjectsToSlice
- func NewPortBinding(field string) ObjectsToSlice
- func NewSecretMapping(field string) ObjectsToSlice
- func NewTmpfs(field string) ObjectsToSlice
- type PrettyMatch
- type RouteSet
- type SchedulingMapper
- type Shlex
- type SingleSlice
- type StringMatch
- type StringMatchMap
- type To
- type ToObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseStringMatch ¶
Types ¶
type AliasField ¶
func (AliasField) FromInternal ¶
func (d AliasField) FromInternal(data map[string]interface{})
func (AliasField) ModifySchema ¶
func (AliasField) ToInternal ¶
func (d AliasField) ToInternal(data map[string]interface{}) error
type AliasValue ¶
func (AliasValue) FromInternal ¶
func (d AliasValue) FromInternal(data map[string]interface{})
func (AliasValue) ModifySchema ¶
func (AliasValue) ToInternal ¶
func (d AliasValue) ToInternal(data map[string]interface{}) error
type Bytes ¶
type Bytes struct {
Field string
}
func (Bytes) FromInternal ¶
func (Bytes) ModifySchema ¶
func (Bytes) ToInternal ¶
type ConfigContent ¶
type ConfigContent struct { }
func (ConfigContent) FromInternal ¶
func (d ConfigContent) FromInternal(data map[string]interface{})
func (ConfigContent) ModifySchema ¶
func (ConfigContent) ToInternal ¶
func (d ConfigContent) ToInternal(data map[string]interface{}) error
type DefaultMissing ¶
type DefaultMissing struct { Field string Default interface{} }
func (DefaultMissing) FromInternal ¶
func (d DefaultMissing) FromInternal(data map[string]interface{})
func (DefaultMissing) ModifySchema ¶
func (DefaultMissing) ToInternal ¶
func (d DefaultMissing) ToInternal(data map[string]interface{}) error
type Destination ¶
type Destination struct {
Field string
}
func (Destination) FromInternal ¶
func (d Destination) FromInternal(data map[string]interface{})
func (Destination) ModifySchema ¶
func (Destination) ToInternal ¶
func (d Destination) ToInternal(data map[string]interface{}) error
type Duration ¶
func (Duration) FromInternal ¶
func (Duration) ModifySchema ¶
func (Duration) ToInternal ¶
type HealthMapper ¶
type HealthMapper struct {
Field string
}
func (HealthMapper) FromInternal ¶
func (d HealthMapper) FromInternal(data map[string]interface{})
func (HealthMapper) ModifySchema ¶
func (HealthMapper) ToInternal ¶
func (d HealthMapper) ToInternal(data map[string]interface{}) error
type HostPath ¶
type HostPath struct {
Field string
}
func (HostPath) FromInternal ¶
func (HostPath) ModifySchema ¶
func (HostPath) ToInternal ¶
type JSONKeys ¶
type JSONKeys struct { }
func (JSONKeys) FromInternal ¶
func (JSONKeys) ModifySchema ¶
func (JSONKeys) ToInternal ¶
type MapToSlice ¶
func (MapToSlice) FromInternal ¶
func (d MapToSlice) FromInternal(data map[string]interface{})
func (MapToSlice) ModifySchema ¶
func (MapToSlice) ToInternal ¶
func (d MapToSlice) ToInternal(data map[string]interface{}) error
type MaybeStringer ¶
type MaybeStringer interface {
MaybeString() interface{}
}
type NewObject ¶
type NewObject func() MaybeStringer
type ObjectsToSlice ¶
func NewCRDs ¶
func NewCRDs(field string) ObjectsToSlice
func NewConfigMapping ¶
func NewConfigMapping(field string) ObjectsToSlice
func NewDeviceMapping ¶
func NewDeviceMapping(field string) ObjectsToSlice
func NewExposedPorts ¶
func NewExposedPorts(field string) ObjectsToSlice
func NewMatch ¶
func NewMatch(field string) ObjectsToSlice
func NewMounts ¶
func NewMounts(field string) ObjectsToSlice
func NewPermission ¶
func NewPermission(field string) ObjectsToSlice
func NewPortBinding ¶
func NewPortBinding(field string) ObjectsToSlice
func NewSecretMapping ¶
func NewSecretMapping(field string) ObjectsToSlice
func NewTmpfs ¶
func NewTmpfs(field string) ObjectsToSlice
func (ObjectsToSlice) FromInternal ¶
func (p ObjectsToSlice) FromInternal(data map[string]interface{})
func (ObjectsToSlice) ModifySchema ¶
func (ObjectsToSlice) ToInternal ¶
func (p ObjectsToSlice) ToInternal(data map[string]interface{}) error
type PrettyMatch ¶
type PrettyMatch struct { Cookies map[string]string `json:"cookies,omitempty"` From string `json:"from,omitempty"` Headers map[string]string `json:"headers,omitempty"` Method string `json:"method,omitempty"` Path string `json:"path,omitempty"` Port int64 `json:"port,omitempty"` Scheme string `json:"scheme,omitempty"` }
func (*PrettyMatch) MaybeString ¶
func (p *PrettyMatch) MaybeString() interface{}
type RouteSet ¶
type RouteSet struct {
Field string
}
func (RouteSet) FromInternal ¶
func (RouteSet) ModifySchema ¶
func (RouteSet) ToInternal ¶
type SchedulingMapper ¶
type SchedulingMapper struct {
Field string
}
func (SchedulingMapper) FromInternal ¶
func (d SchedulingMapper) FromInternal(data map[string]interface{})
func (SchedulingMapper) ModifySchema ¶
func (SchedulingMapper) ToInternal ¶
func (d SchedulingMapper) ToInternal(data map[string]interface{}) error
type Shlex ¶
type Shlex struct {
Field string
}
func (Shlex) FromInternal ¶
func (Shlex) ModifySchema ¶
func (Shlex) ToInternal ¶
type SingleSlice ¶
type SingleSlice struct {
Field string
}
func (SingleSlice) FromInternal ¶
func (d SingleSlice) FromInternal(data map[string]interface{})
func (SingleSlice) ModifySchema ¶
func (SingleSlice) ToInternal ¶
func (d SingleSlice) ToInternal(data map[string]interface{}) error
type StringMatch ¶
type StringMatch struct {
Field string
}
func (StringMatch) FromInternal ¶
func (d StringMatch) FromInternal(data map[string]interface{})
func (StringMatch) ModifySchema ¶
func (StringMatch) ToInternal ¶
func (d StringMatch) ToInternal(data map[string]interface{}) error
type StringMatchMap ¶
type StringMatchMap struct {
Field string
}
func (StringMatchMap) FromInternal ¶
func (d StringMatchMap) FromInternal(data map[string]interface{})
func (StringMatchMap) ModifySchema ¶
func (StringMatchMap) ToInternal ¶
func (d StringMatchMap) ToInternal(data map[string]interface{}) error
type To ¶
type To struct {
Field string
}
func (To) FromInternal ¶
func (To) ModifySchema ¶
func (To) ToInternal ¶
Source Files
¶
- alias_field.go
- alias_value.go
- bytes.go
- colon_map.go
- config_content.go
- config_mapping.go
- crds.go
- default_missing.go
- destination.go
- device_mapping.go
- duration.go
- exposed_ports.go
- health.go
- host_path.go
- json_keys.go
- match.go
- mounts.go
- objects_to_slice.go
- permission.go
- port_binding.go
- routeset.go
- scheduling_mapper.go
- secret_mapping.go
- shlex.go
- single_slice.go
- string_match.go
- string_match_map.go
- tmpfs.go
- to.go
Click to show internal directories.
Click to hide internal directories.