package rule

import "github.com/vmware/govmomi/cli/cluster/rule"

Index

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

type SpecFlag

func (*SpecFlag) Register

func (s *SpecFlag) Register(ctx context.Context, f *flag.FlagSet)

Source Files

change.go create.go info.go info_flag.go ls.go remove.go

Version
v0.48.1 (latest)
Published
Feb 11, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
2 months ago

Tools for package owners.