func (s *pluginService) GetPlugin(
	ctx context.Context,
	owner string,
	name string,
) (plugin *v1alpha1.Plugin, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.GetPlugin(
		ctx,
		&v1alpha1.GetPluginRequest{
			Owner: owner,
			Name:  name,
		},
	)
	if err != nil {
		return nil, err
	}
	return response.Plugin, nil
}
// GetPlugin returns the plugin, if found.
GetPlugin returns the plugin, if found.
// GetPlugin returns the plugin if found .
func (s *pluginService) GetPlugin(
	ctx context.Context,
	owner string,
	name string,
) (plugin *v1alpha1.Plugin, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.GetPlugin(
		ctx,
		&v1alpha1.GetPluginRequest{
			Owner: owner,
			Name:  name,
		},
	)
	if err != nil {
		return nil, err
	}
	return response.Plugin, nil
}
func ( s * pluginService ) GetPlugin ( ctx context . Context , owner string , name string , ) ( plugin * v1alpha1 . Plugin , _ error ) { if s . contextModifier != nil { ctx = s . contextModifier ( ctx ) } response , err := s . client . GetPlugin ( ctx , & v1alpha1 . GetPluginRequest { Owner : owner , Name : name , } , ) if err != nil { return nil , err } return response . Plugin , nil }
GetPlugin returns the plugin, if found.
GetPlugin returns the plugin if found .