Documentation ¶
Index ¶
- func Install(client *kube.Client, opts Options, crdOnly bool) error
- func ManagerManifests(opts Options) ([]string, error)
- func Prereq(opts Options) []runtime.Object
- func PrereqManifests(opts Options) ([]string, error)
- func WatchKUDOUntilReady(client kubernetes.Interface, opts Options, timeout int64) bool
- type KudoCrds
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ManagerManifests ¶
ManagerManifests provides a slice of strings for the deployment and service manifest
func PrereqManifests ¶
PrereqManifests provides a slice of strings for each pre requisite manifest
func WatchKUDOUntilReady ¶
func WatchKUDOUntilReady(client kubernetes.Interface, opts Options, timeout int64) bool
WatchKUDOUntilReady waits for the KUDO pod to become available.
Returns true if it exists. If the timeout was reached and it could not find the pod, it returns false.
Types ¶
type KudoCrds ¶ added in v0.8.0
type KudoCrds struct { Operator runtime.Object OperatorVersion runtime.Object Instance runtime.Object }
KudoCrds represents custom resource definitions needed to run KUDO
func CRDs ¶
func CRDs() KudoCrds
CRDs returns the runtime.Object representation of all the CRDs KUDO requires
type Options ¶
type Options struct { // Version is the version of the manager `0.5.0` for example (must NOT include the `v` in `v0.5.0`) Version string // namespace to init into (default is kudo-system) Namespace string // TerminationGracePeriodSeconds defines the termination grace period for a pod TerminationGracePeriodSeconds int64 // Image defines the image to be used Image string }
Options is the configurable options to init
func NewOptions ¶
NewOptions provides an option struct with defaults
Click to show internal directories.
Click to hide internal directories.