Documentation ¶
Index ¶
- Constants
- type Actions
- type ArgsError
- type EntryPoint
- func (ep *EntryPoint) PostHookRunPart(actionType, action, extraArgs string, isPrivateKey, builtinAction bool) error
- func (ep *EntryPoint) PreHookRunPart(actionType, action, extraArgs string, isPrivateKey, builtinAction bool) error
- func (ep *EntryPoint) Render() (string, error)
- func (ep *EntryPoint) SprayRunPart(actionType, action, extraArgs string, isPrivateKey, builtinAction bool) error
- type Playbooks
Constants ¶
View Source
const ( PBAction = "playbook" SHAction = "shell" ResetPB = "reset.yml" ScalePB = "scale.yml" ClusterPB = "cluster.yml" RemoveNodePB = "remove-node.yml" UpgradeClusterPB = "upgrade-cluster.yml" PingPB = "ping.yml" RepoPB = "enable-repo.yml" FirewallPB = "disable-firewalld.yml" KubeconfigPB = "kubeconfig.yml" ClusterInfoPB = "cluster-info.yml" UpdateHostsPB = "update-hosts.yml" RemovePkgsPB = "remove-pkgs.yml" PreCheckPB = "precheck.yml" RenewCertsPB = "renew-certs.yml" KubeVipConfigPB = "config-for-kube-vip.yml" ConfigInsecureRegistryPB = "config-insecure-registry.yml" NfConntrackPB = "enable-nf-conntrack.yml" MountXFSPquotaPB = "mount-xfs-pquota.yml" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actions ¶
func NewActions ¶
func NewActions() *Actions
type ArgsError ¶ added in v0.1.1
type ArgsError struct {
// contains filtered or unexported fields
}
type EntryPoint ¶
type EntryPoint struct { PreHookCMDs []string SprayCMD string PostHookCMDs []string Actions *Actions }
func NewEntryPoint ¶
func NewEntryPoint() *EntryPoint
func (*EntryPoint) PostHookRunPart ¶
func (ep *EntryPoint) PostHookRunPart(actionType, action, extraArgs string, isPrivateKey, builtinAction bool) error
func (*EntryPoint) PreHookRunPart ¶
func (ep *EntryPoint) PreHookRunPart(actionType, action, extraArgs string, isPrivateKey, builtinAction bool) error
func (*EntryPoint) Render ¶
func (ep *EntryPoint) Render() (string, error)
func (*EntryPoint) SprayRunPart ¶
func (ep *EntryPoint) SprayRunPart(actionType, action, extraArgs string, isPrivateKey, builtinAction bool) error
Click to show internal directories.
Click to hide internal directories.