Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrDebugCmpNotInitialized = errors.New("call Up.Run() successfully before calling other methods")
)
View Source
var ErrResourceKindNotSupported = errors.New("resource kind not supported")
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
// contains filtered or unexported fields
}
func NewAction ¶
func NewAction( environment sdk.EnvironmentItem, ) *Action
func (*Action) GetDebugCmp ¶
func (action *Action) GetDebugCmp(resource sdk.ComponentResourceItem, overrideClusterServer string) (*debug.DebugComponent, error)
type Down ¶
type Down struct {
Action
}
func NewDown ¶
func NewDown( environment sdk.EnvironmentItem, ) *Down
func (*Down) Run ¶
func (down *Down) Run(parameters *DownParameters) error
type DownParameters ¶
type DownParameters struct {
Resource sdk.ComponentResourceItem
OverrideClusterServer string
}
type Up ¶
type Up struct {
Action
// contains filtered or unexported fields
}
func NewUp ¶
func NewUp( environment sdk.EnvironmentItem, ) *Up
func (*Up) GetSelectedContainerName ¶
func (*Up) Run ¶
func (up *Up) Run(parameters *UpParameters) error
type UpParameters ¶
type UpParameters struct {
Resource sdk.ComponentResourceItem
ManualSelectSingleResource bool
ForceRecreateResource bool
OverrideClusterServer string
Options *UpOptions
}
func (*UpParameters) FillFromOptions ¶
func (params *UpParameters) FillFromOptions() error
Click to show internal directories.
Click to hide internal directories.