rule

package
v0.0.0-...-3617f28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 NewInfoFlag

func NewInfoFlag(ctx context.Context) (*InfoFlag, context.Context)

func (*InfoFlag) Apply

func (*InfoFlag) Process

func (f *InfoFlag) Process(ctx context.Context) error

func (*InfoFlag) Register

func (f *InfoFlag) Register(ctx context.Context, fs *flag.FlagSet)

func (*InfoFlag) Rule

func (f *InfoFlag) Rule(ctx context.Context) (*ClusterRuleInfo, error)

func (*InfoFlag) Rules

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL