Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecutableContainerFromK8sContainer ¶
func ExecutableContainerFromK8sContainer(c *v1.Container) *types.ExecutableContainer
ExecutableContainerFromK8sContainer creates an instance of an operableContainer from a v1.Container reference. This object will be passed around to accept transforms, and will eventually overwrite fields from the creating v1.Container in the manifest-under-transformation's pod spec.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func NewAdapter ¶
func (*Adapter) Apply ¶
func (a *Adapter) Apply()
Apply takes the relevant fields from the operable container and applies them to the referenced v1.Container from the manifest's pod spec
func (*Adapter) GetContainer ¶
func (a *Adapter) GetContainer() *types.ExecutableContainer
Click to show internal directories.
Click to hide internal directories.