Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildOption ¶
type BuildOption func(*PodExec)
BuildOption represents the various build options against PodExec operation
func IgnoreErrors ¶
func IgnoreErrors() BuildOption
IgnoreErrors is a buildOption that is used ignore errors
type PodExec ¶
type PodExec struct {
// contains filtered or unexported fields
}
PodExec represents the details of pod exec options
func BuilderForYAMLObject ¶
BuilderForYAMLObject returns a new instance of Builder for a given template object
func (*PodExec) Apply ¶
func (p *PodExec) Apply(opts ...BuildOption) *PodExec
Apply applies all build options in PodExec
func (*PodExec) AsAPIPodExec ¶
func (p *PodExec) AsAPIPodExec() (*api_core_v1.PodExecOptions, error)
AsAPIPodExec validate and returns PodExecOptions object pointer and error depending on ignoreErrors opt and errors
Click to show internal directories.
Click to hide internal directories.