{"modulePath":"github.com/kcp-dev/cli","version":"v0.34.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package plugin\n\n## Types\n\n```go\ntype BindOptions struct {\n\t*base.Options\n\t// APIExportRef is the argument accepted by the command. It contains the\n\t// reference to where APIExport exists. For ex: \u003cabsolute_ref_to_workspace\u003e:\u003capiexport\u003e.\n\tAPIExportRef string\n\t// Name of the APIBinding.\n\tAPIBindingName string\n\t// BindWaitTimeout is how long to wait for the APIBinding to be created and successful.\n\tBindWaitTimeout time.Duration\n\t// AcceptedPermissionClaims is the list of accepted permission claims for the APIBinding.\n\tAcceptedPermissionClaims []string\n\t// RejectedPermissionClaims is the list of rejected permission claims for the APIBinding.\n\tRejectedPermissionClaims []string\n\t// AcceptAllPermissionClaims indicates whether all permission claims from the APIExport\n\t// should be accepted.\n\tAcceptAllPermissionClaims bool\n\t// RejectAllPermissionClaims indicates whether all permission claims from the APIExport\n\t// should be rejected.\n\tRejectAllPermissionClaims bool\n\t// contains filtered or unexported fields\n}\n```\nBindOptions contains the options for creating an APIBinding.\n\n```go\nfunc NewBindOptions(streams genericclioptions.IOStreams) *BindOptions\n```\nNewBindOptions returns new BindOptions.\n\n```go\nfunc (b *BindOptions) BindFlags(cmd *cobra.Command)\n```\nBindFlags binds fields to cmd's flagset.\n\n```go\nfunc (b *BindOptions) Complete(args []string) error\n```\nComplete ensures all fields are initialized.\n\n```go\nfunc (b *BindOptions) Run(ctx context.Context) error\n```\nRun creates an apibinding for the user.\n\n```go\nfunc (b *BindOptions) Validate() error\n```\nValidate validates the BindOptions are complete and usable.\n\n","path":"github.com/kcp-dev/cli/pkg/bind/plugin","name":"plugin","synopsis":"","isRedistributable":true}
