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
- func WebhookManifests(ns string) ([]string, error)
- 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.
func WebhookManifests ¶
WebhookManifests provides webhook related resources as set of strings with serialized yaml
Types ¶
type KudoCrds ¶ added in v0.8.0
type KudoCrds struct { Operator *apiextv1beta1.CustomResourceDefinition OperatorVersion *apiextv1beta1.CustomResourceDefinition Instance *apiextv1beta1.CustomResourceDefinition }
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 // Enable validation Webhooks []string ServiceAccount string }
Options is the configurable options to init
Click to show internal directories.
Click to hide internal directories.