Skip to content

add utility method to list installed plugins by index - #549

Merged
k8s-ci-robot merged 1 commit into
kubernetes-sigs:masterfrom
ahmetb:list-plugins-from-index
Mar 13, 2020
Merged

k8s-ci-robot merged 1 commit into
kubernetes-sigs:masterfrom
ahmetb:list-plugins-from-index

Conversation

@ahmetb

@ahmetb ahmetb commented Mar 12, 2020

Copy link
Copy Markdown
Member

Extract core of ListInstalledPlugins to filter installed plugin "by index"
(this will be used for krew index delete, to check if an index is being
deleted that has plugins installed).

/assign @corneliusweig

Extract core of ListInstalledPlugins to filter installed plugin "by index"
(this will be used for `krew index delete`, to check if an index is being
deleted that has plugins installed).

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 12, 2020
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Mar 12, 2020
}
}

func TestInstalledPluginsFromIndex(t *testing.T) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chriskim06 I'm hoping this is a good test example for reproducing elsewhere.

@corneliusweig corneliusweig left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve
/hold
Due to pending comment.

Comment thread internal/installation/util.go
@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm "Looks good to me", indicates that a PR is ready to be merged. labels Mar 12, 2020
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahmetb, corneliusweig

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [ahmetb,corneliusweig]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@corneliusweig

Copy link
Copy Markdown
Contributor

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 13, 2020
@k8s-ci-robot
k8s-ci-robot merged commit f7fed5b into kubernetes-sigs:master Mar 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants