Documentation ¶
Index ¶
- func GetNetworkId(name string) string
- type Network
- type NetworkDocker
- type NetworkReference
- type Networks
- type Port
- type Ports
- type Readiness
- type ReadinessDocker
- type ReadinessReference
- type Readinesses
- type Resource
- type ResourceDocker
- type ResourceReference
- type Resources
- type Volume
- type Volumes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNetworkId ¶
Types ¶
type Network ¶
type Network struct { Reference NetworkReference Docker NetworkDocker }
func NewNetwork ¶
func NewNetwork(network v1.ContainerNetwork) *Network
func (*Network) Disconnect ¶
func (*Network) FindNetworkAlias ¶
type NetworkDocker ¶
type NetworkReference ¶
type Networks ¶
func NewNetworks ¶
func NewNetworks(networks []v1.ContainerNetwork) *Networks
func (*Networks) Add ¶
func (networks *Networks) Add(network v1.ContainerNetwork)
type Ports ¶
type Ports struct {
Ports []*Port
}
func NewPorts ¶
func NewPorts(ports []v1.ContainerPort) *Ports
func (*Ports) Add ¶
func (ports *Ports) Add(port v1.ContainerPort)
type Readiness ¶
type Readiness struct { Reference ReadinessReference Docker ReadinessDocker }
func NewReadiness ¶
func NewReadiness(readiness v1.ContainerReadiness) *Readiness
type ReadinessDocker ¶
type ReadinessReference ¶
type Readinesses ¶
type Readinesses struct {
Readinesses []*Readiness
}
func NewReadinesses ¶
func NewReadinesses(readinesses []v1.ContainerReadiness) *Readinesses
func (*Readinesses) Add ¶
func (Readinesses *Readinesses) Add(Readiness v1.ContainerReadiness)
type Resource ¶
type Resource struct { Reference ResourceReference Docker ResourceDocker }
func NewResource ¶
func NewResource(resource v1.ContainerResource) *Resource
type ResourceDocker ¶
type ResourceReference ¶
type Resources ¶
type Resources struct {
Resources []*Resource
}
func NewResources ¶
func NewResources(resources []v1.ContainerResource) *Resources
func (*Resources) Add ¶
func (resources *Resources) Add(resource v1.ContainerResource)
type Volumes ¶
func NewVolumes ¶
func NewVolumes(volumes []v1.ContainerVolume, config *configuration.Configuration) (*Volumes, error)
func (*Volumes) RemoveResources ¶
Click to show internal directories.
Click to hide internal directories.