Documentation ¶
Index ¶
- type ClusterRuleInfo
- type InfoFlag
- func (f *InfoFlag) Apply(ctx context.Context, update types.ArrayUpdateSpec, ...) error
- func (f *InfoFlag) Process(ctx context.Context) error
- func (f *InfoFlag) Register(ctx context.Context, fs *flag.FlagSet)
- func (f *InfoFlag) Rule(ctx context.Context) (*ClusterRuleInfo, error)
- func (f *InfoFlag) Rules(ctx context.Context) ([]types.BaseClusterRuleInfo, error)
- type SpecFlag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterRuleInfo ¶
type ClusterRuleInfo struct { // only ClusterDependencyRuleInfo VmGroup string DependsOnVmGroup string // contains filtered or unexported fields }
func GetExtendedClusterRuleInfo ¶
func GetExtendedClusterRuleInfo(rule types.BaseClusterRuleInfo) ClusterRuleInfo
type InfoFlag ¶
type InfoFlag struct { *flags.ClusterFlag Long bool // contains filtered or unexported fields }
func (*InfoFlag) Apply ¶
func (f *InfoFlag) Apply(ctx context.Context, update types.ArrayUpdateSpec, info types.BaseClusterRuleInfo) error
type SpecFlag ¶
type SpecFlag struct { types.ClusterRuleInfo types.ClusterVmHostRuleInfo types.ClusterAffinityRuleSpec types.ClusterAntiAffinityRuleSpec }
Click to show internal directories.
Click to hide internal directories.