Documentation ¶
Index ¶
- func CreateManifests(ctx context.Context, k8sC client.Client, manifests string) error
- func CreateObjects(ctx context.Context, k8sC client.Client, objs []runtime.Object) error
- func DeploymentReady(ctx context.Context, k8s client.Client, name string, namespace string) (bool, error)
- func NewClient() (*rest.Config, client.Client, error)
- func NewDecoder() runtime.Decoder
- func ParseManifest(manifestData []byte) (runtime.Object, *schema.GroupVersionKind, error)
- func ParseManifestFile(fileLocation string) (runtime.Object, *schema.GroupVersionKind, error)
- func PortForward(ctx context.Context, kcfg *rest.Config, name apimachinerytypes.NamespacedName, ...) (chan struct{}, error)
- func PortForwardDeployment(ctx context.Context, k8sC client.Client, kcfg *rest.Config, ...) (chan struct{}, error)
- func PortForwardService(ctx context.Context, k8sC client.Client, kcfg *rest.Config, ...) (chan struct{}, error)
- func WaitForDeployment(ctx context.Context, k8s client.Client, desiredDep metav1.ObjectMeta) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateManifests ¶
func CreateObjects ¶
func DeploymentReady ¶
func NewDecoder ¶
func ParseManifest ¶
func ParseManifestFile ¶
func PortForward ¶
func PortForward(ctx context.Context, kcfg *rest.Config, name apimachinerytypes.NamespacedName, port int) (chan struct{}, error)
func PortForwardDeployment ¶ added in v0.0.17
func PortForwardDeployment(ctx context.Context, k8sC client.Client, kcfg *rest.Config, name apimachinerytypes.NamespacedName, port int) (chan struct{}, error)
func PortForwardService ¶ added in v0.0.17
func PortForwardService(ctx context.Context, k8sC client.Client, kcfg *rest.Config, name apimachinerytypes.NamespacedName, port int) (chan struct{}, error)
func WaitForDeployment ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.