func (s *pluginService) DeletePlugin(
	ctx context.Context,
	owner string,
	name string,
) (_ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	_, err := s.client.DeletePlugin(
		ctx,
		&v1alpha1.DeletePluginRequest{
			Owner: owner,
			Name:  name,
		},
	)
	if err != nil {
		return err
	}
	return nil
}
// DeletePlugin deletes the plugin, if it exists. Note that deleting
// a plugin may cause breaking changes for templates using that plugin,
// and should be done with extreme care.
DeletePlugin deletes the plugin, if it exists. Note that deleting
a plugin may cause breaking changes for templates using that plugin,
and should be done with extreme care.
// DeletePlugin deletes the plugin if it exists . Note that deleting // a plugin may cause breaking changes for templates using that plugin // and should be done with extreme care .
func (s *pluginService) DeletePlugin(
	ctx context.Context,
	owner string,
	name string,
) (_ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	_, err := s.client.DeletePlugin(
		ctx,
		&v1alpha1.DeletePluginRequest{
			Owner: owner,
			Name:  name,
		},
	)
	if err != nil {
		return err
	}
	return nil
}
func ( s * pluginService ) DeletePlugin ( ctx context . Context , owner string , name string , ) ( _ error ) { if s . contextModifier != nil { ctx = s . contextModifier ( ctx ) } _ , err := s . client . DeletePlugin ( ctx , & v1alpha1 . DeletePluginRequest { Owner : owner , Name : name , } , ) if err != nil { return err } return nil }
DeletePlugin deletes the plugin, if it exists.
DeletePlugin deletes the plugin if it exists .